Function at 0x43be90
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1f8
push ebx
push ebp
push esi
lea eax, [esp + 0x6c]
push edi
push eax
mov dword [esp + 0x74], 0x94
call dword [0x4e9174]
xor ebx, ebx
mov eax, dword [esp + 0x80]
mov dword [0x53598c], ebx
cmp eax, ebx
jne 0x43bed2
mov dword [0x532e64], ebx
mov dword [0x53598c], 1
jmp 0x43beee
cmp eax, 2
mov dword [0x532e64], 1
jne 0x43beee
cmp dword [esp + 0x74], 4
jae 0x43beee
mov dword [0x532e64], ebx
call fcn.004531e0
push 6
push 6
push 6
call fcn.004078e0
add esp, 0xc
test ax, ax
jne 0x43bf0d
push 1
call fcn.0044651a
mov ebp, dword [esp + 0x214]
lea ecx, [esp + 0x104]
push 1
push ecx
push 0x51e31c
push ebp
mov byte [esp + 0x114], bl
call fcn.0043c580
add esp, 0x10
test al, al
je 0x43bf41
lea edx, [esp + 0x104]
push edx
jmp 0x43bf42
push ebx
call fcn.004271e0
mov eax, dword [esp + 0x210]
add esp, 4
mov dword [0x53599c], eax
mov dword [0x532e54], eax
call fcn.0041a860
mov edi, 0x532e80
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jae 0x43bfb7
mov esi, dword [0x4e9190]
lea eax, [esp + 0x30]
push 0x40
push eax
push 0x59
push 0x400
call esi
test eax, eax
jne 0x43bf9e
lea ecx, [esp + 0x30]
push 0x40
push ecx
push 3
push 0x400
call esi
lea edx, [esp + 0x30]
push edx
call fcn.0041ad10
push 0x532e80
call fcn.0041a670
add esp, 8
jmp 0x43bfc4
push 0x532e80
call fcn.0041ad10
add esp, 4
cmp byte [0x532ea5], bl
je 0x43c031
cmp dword [0x535990], ebx
jne 0x43c031
lea eax, [esp + 0x30]
push eax
call fcn.0043ba50
add esp, 4
push ebx
push 0x51e310
call dword [0x4e9364]
mov esi, eax
cmp esi, ebx
je 0x43c031
push esi
call dword [0x4e94e8]
push 0xfffffffffffffff0
push esi
call dword [fcn.004e9480]
test eax, 0x20000000
je 0x43c013
push 9
push esi
call dword [fcn.004e93e8]
mov ecx, dword [0x532e60]
push 1
push ebp
push ecx
push esi
call fcn.0043c770
add esp, 0x10
call fcn.00407c90
push ebx
call fcn.0044651a
push ebx
push ebx
push 0x51e308
push ebp
call fcn.0043c580
push ebx
push ebx
and eax, 0xff
push 0x51e300
push ebp
mov dword [0x5359a0], eax
call fcn.0043c580
mov dl, al
push ebx
push ebx
and edx, 0xff
push 0x51e2f8
push ebp
mov dword [esp + 0x40], edx
call fcn.0043c580
mov edx, dword [esp + 0x40]
and eax, 0xff
or edx, eax
add esp, 0x30
mov dword [0x535990], edx
call fcn.0043c320
mov edi, eax
test edi, edi
jne 0x43c093
push eax
call fcn.0044651a
call fcn.00418820
mov dword [0x532e5c], edi
call fcn.00421690
mov eax, dword [0x53599c]
mov esi, dword [0x4e9360]
push 0x51e2e8
push eax
call esi
mov ecx, dword [0x53599c]
push 0x51e2d8
push ecx
mov dword [0x532860], eax
call esi
mov edx, dword [0x5325b4]
mov dword [0x5323a4], eax
push edx
call fcn.0042a680
mov eax, dword [0x535990]
add esp, 4
test eax, eax
je 0x43c0ea
push 0
jmp 0x43c12f
mov al, byte [0x532ea2]
test al, al
je 0x43c0f7
push 3
jmp 0x43c12f
mov al, byte [0x532ea0]
test al, al
je 0x43c12d
mov ecx, dword [0x532e90]
cmp ecx, 0xa
jle 0x43c0f3
mov eax, dword [0x532e94]
cmp eax, 0xa
jle 0x43c0f3
push 0
push eax
mov eax, dword [0x532e8c]
push ecx
mov ecx, dword [0x532e88]
push eax
push ecx
push edi
call dword [fcn.004e9474]
push 0xa
push edi
call dword [fcn.004e93e8]
push edi
call dword [fcn.004e93c4]
mov edx, dword [0x532e60]
push 0
push ebp
push edx
push edi
call fcn.0043c770
mov al, byte [0x532ea1]
mov esi, dword [fcn.004e943c]
add esp, 0x10
test al, al
je 0x43c19b
mov eax, dword [0x535990]
test eax, eax
jne 0x43c19b
mov eax, dword [0x532e60]
push 1
push eax
call fcn.00415c00
mov ecx, dword [0x532e60]
add esp, 8
push 0
push 0
push 0
push 0x229
push ecx
call esi
mov edx, dword [0x532e60]
push eax
push 0x224
push edx
call esi
mov al, byte [0x532ea3]
test al, al
je 0x43c1b3
push 0
push 0x94
push 0x111
push edi
call esi
push edi
call fcn.0042f7e0
add esp, 4
lea eax, [esp + 0x14]
push 0
push 0
push 0
push eax
call dword [0x4e9464]
test eax, eax
je 0x43c2c0
mov ebp, dword [fcn.004e93f8]
mov ebx, dword [0x4e9350]
call fcn.0042ffd0
test eax, eax
je 0x43c200
lea ecx, [esp + 0x14]
push edi
push ecx
call fcn.0042fd10
add esp, 8
test eax, eax
jne 0x43c2a7
mov eax, dword [0x532e60]
lea edx, [esp + 0x14]
push edx
push eax
call dword [0x4e935c]
test eax, eax
jne 0x43c2a7
call ebp
mov esi, eax
mov eax, dword [0x530b44]
cmp eax, esi
je 0x43c274
push esi
push eax
call ebx
test eax, eax
jne 0x43c25d
mov eax, dword [0x532e5c]
cmp eax, esi
je 0x43c244
push esi
push eax
call ebx
test eax, eax
je 0x43c291
mov eax, dword [0x532e5c]
mov edx, dword [0x532860]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call dword [0x4e9358]
test eax, eax
je 0x43c291
jmp 0x43c2a7
cmp esi, dword [0x530b44]
je 0x43c274
push esi
call dword [fcn.004e93e0]
cmp eax, dword [0x530b44]
jne 0x43c291
mov ecx, dword [0x5323a4]
mov edx, dword [0x532e5c]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call dword [0x4e9358]
test eax, eax
jne 0x43c2a7
lea eax, [esp + 0x14]
push eax
call dword [0x4e94e4]
lea ecx, [esp + 0x14]
push ecx
call dword [0x4e94f4]
push 0
push 0
lea edx, [esp + 0x1c]
push 0
push edx
call dword [0x4e9464]
test eax, eax
jne 0x43c1e1
call fcn.004188d0
mov eax, dword [0x5325b8]
mov esi, dword [0x4e9354]
push eax
call esi
mov edi, dword [0x4e9390]
test eax, eax
je 0x43c2e6
mov ecx, dword [0x5325b8]
push ecx
call edi
mov edx, dword [0x5325bc]
push edx
call esi
test eax, eax
je 0x43c2fb
mov eax, dword [0x5325bc]
push eax
call edi
call fcn.0041acd0
call fcn.00428bd0
call fcn.00407c90
call fcn.00453280
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret 0x10