Function at 0x40126a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
xor edx, edx
mov ecx, edi
mov ebx, dword [edi + 0x3c]
add ebx, edi
sub eax, dword [0x40101c]
mov dword [ebp - 0xc], eax
sbb edx, edx
neg eax
mov dword [ebp - 8], edx
movzx esi, word [ebx + 0x14]
adc edx, 0
neg edx
mov dword [ebp - 0x10], esi
push edx
mov edx, dword [ebx + 0xa0]
push eax
mov eax, dword [esi + ebx + 0x24]
add eax, dword [0x401028]
push eax
push dword [ebx + 0xa4]
call fcn.00401048
mov edx, dword [esi + ebx + 0x28]
add esp, 0x10
mov eax, dword [0x401028]
sub edx, eax
cmp edx, 1
jbe 0x4012e0
mov ecx, dword [esi + ebx + 0x24]
add ecx, eax
add ecx, edi
call fcn.004011d2
mov eax, dword [0x401020]
add esi, 0x40
add esi, ebx
cmp eax, 1
jbe 0x401315
mov edx, dword [esi + 0x10]
sub edx, dword [0x40102c]
cmp edx, 1
jbe 0x401312
mov ecx, dword [esi + 0xc]
add ecx, dword [0x40102c]
add ecx, edi
call fcn.004011d2
mov eax, dword [0x401020]
add esi, 0x28
cmp eax, 2
jbe 0x401340
mov edx, dword [esi + 0x10]
sub edx, dword [0x401030]
cmp edx, 1
jbe 0x40133d
mov ecx, dword [esi + 0xc]
add ecx, dword [0x401030]
add ecx, edi
call fcn.004011d2
mov eax, dword [0x401020]
add esi, 0x28
cmp eax, 3
jbe 0x40136b
mov edx, dword [esi + 0x10]
sub edx, dword [0x401034]
cmp edx, 1
jbe 0x401368
mov ecx, dword [esi + 0xc]
add ecx, dword [0x401034]
add ecx, edi
call fcn.004011d2
mov eax, dword [0x401020]
add esi, 0x28
cmp eax, 4
jbe 0x401396
mov edx, dword [esi + 0x10]
sub edx, dword [0x401038]
cmp edx, 1
jbe 0x401393
mov ecx, dword [esi + 0xc]
add ecx, dword [0x401038]
add ecx, edi
call fcn.004011d2
mov eax, dword [0x401020]
add esi, 0x28
cmp eax, 5
jbe 0x4013c1
mov edx, dword [esi + 0x10]
sub edx, dword [0x40103c]
cmp edx, 1
jbe 0x4013be
mov ecx, dword [esi + 0xc]
add ecx, dword [0x40103c]
add ecx, edi
call fcn.004011d2
mov eax, dword [0x401020]
add esi, 0x28
cmp eax, 6
jbe 0x4013ec
mov edx, dword [esi + 0x10]
sub edx, dword [0x401040]
cmp edx, 1
jbe 0x4013e9
mov ecx, dword [esi + 0xc]
add ecx, dword [0x401040]
add ecx, edi
call fcn.004011d2
mov eax, dword [0x401020]
add esi, 0x28
cmp eax, 7
jbe 0x40140c
mov edx, dword [esi + 0x10]
mov eax, dword [0x401044]
sub edx, eax
cmp edx, 1
jbe 0x40140c
mov ecx, dword [esi + 0xc]
add ecx, eax
add ecx, edi
call fcn.004011d2
cmp dword [0x401014], 0
je 0x401455
lea eax, [ebx + 0x88]
cmp dword [eax], 0
je 0x401455
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 4
push 8
push eax
call esi
mov eax, dword [0x401014]
lea ecx, [ebx + 0x88]
mov dword [ecx], eax
mov eax, dword [0x401018]
mov dword [ebx + 0x8c], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 8
push ecx
call esi
mov eax, dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 8]
mov edx, dword [ebx + 0xa0]
push dword [ebp - 0xc]
mov eax, dword [eax + ebx + 0x24]
add eax, dword [0x401028]
push eax
push dword [ebx + 0xa4]
call fcn.00401048
mov edx, dword [0x401004]
add esp, 0x10
push dword [0x401010]
push dword [0x40100c]
push ecx
mov ecx, edi
call fcn.0040110c
mov eax, dword [section..text]
add esp, 0xc
add eax, edi
call eax
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]