Function at 0x4313cb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x63c00c]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x24], 0
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
call fcn.0044149c
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x43169e
test byte [ebx + 2], 0x20
jne 0x43142e
cmp dword [edi + 0x188], 0
jne 0x43142e
inc dword [edi + 0x48]
mov ecx, eax
mov esi, dword [edi + 0x48]
push esi
push 0xa
pop edx
call fcn.00428998
pop ecx
push esi
mov esi, dword [ebp - 0x28]
mov ecx, esi
push 1
push 0x30
pop edx
call fcn.004289ac
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov cl, byte [ebx]
cmp cl, 0x11
je 0x431443
cmp cl, 0x40
je 0x431476
cmp cl, 0x6e
jne 0x43168d
mov eax, dword [ebx + 0x38]
lea ecx, [ebp - 0x18]
inc dword [edi + 0x48]
xor edx, edx
push dword [edi + 0x48]
mov dword [ebp - 0x20], eax
call fcn.0043f75c
add esp, 4
mov ecx, esi
cmp byte [ebx], 0x6e
push dword [ebp - 0x14]
push edx
jne 0x431637
mov byte [ebp - 0x18], 6
push 0x74
jmp 0x43163d
cmp dword [ebp + 8], 0
je 0x43148d
push dword [ebp + 8]
mov ecx, esi
push 0
push 0x74
pop edx
call fcn.004289ac
pop ecx
pop ecx
mov ecx, dword [ebx + 8]
call fcn.0042f88f
mov byte [ebp - 0x19], al
mov ecx, esi
mov eax, dword [edi + 0x44]
mov dword [ebx + 0x24], eax
inc dword [edi + 0x44]
push 1
push dword [ebx + 0x24]
push 0x73
pop edx
call fcn.004289ac
push 0x14
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0044f970
add esp, 0x14
mov dword [ebp - 0x48], 1
cmp dword [ebx + 0x38], 0
je 0x431532
push dword [ebx + 0x24]
lea ecx, [ebp - 0x18]
push 7
pop edx
call fcn.0043f75c
mov al, byte [ebp - 0x19]
add esp, 4
mov edx, dword [ebx + 0x38]
mov byte [ebp - 0x17], al
xor eax, eax
push eax
push eax
push eax
mov eax, ecx
mov ecx, edi
push eax
call fcn.00443278
add esp, 0x10
test eax, eax
jne 0x43169e
mov eax, dword [ebx + 0x38]
mov eax, dword [eax]
test eax, eax
je 0x431623
cmp dword [eax], 0
jle 0x431623
mov eax, dword [eax + 0xc]
mov ecx, edi
mov edx, dword [ebx + 8]
push dword [eax]
call fcn.0042f9de
pop ecx
mov dword [ebp - 0x40], eax
jmp 0x431623
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x431623
mov al, byte [ebp - 0x19]
movzx ecx, al
test al, al
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20], 0x62
cmove ecx, dword [ebp - 0x20]
mov byte [ebp - 0x19], cl
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
call fcn.0043315f
mov dword [ebp - 0x20], eax
call fcn.0043315f
mov ecx, dword [edx]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0xc]
jmp 0x431601
cmp dword [ebp - 0x24], 0
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
je 0x4315a5
mov ecx, eax
call fcn.00430675
test eax, eax
jne 0x4315a2
mov edx, dword [ebp - 0x24]
mov ecx, esi
push 2
lea edx, [edx - 1]
call fcn.00428d51
and dword [ebp - 0x24], 0
pop ecx
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x20]
inc dword [edi + 0x54]
mov edx, eax
mov ecx, edi
call fcn.00431b22
dec dword [edi + 0x54]
mov esi, eax
pop ecx
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x19]
push 1
push eax
push dword [ebp - 0x2c]
push 1
push esi
push 0x59
pop edx
call fcn.004289c1
add esp, 0x14
mov edx, esi
mov ecx, edi
push 1
call fcn.00431987
mov esi, dword [ebp - 0x28]
add esp, 4
mov ecx, esi
push dword [ebp - 0x2c]
push dword [ebx + 0x24]
push 0x6b
pop edx
call fcn.004289ac
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
dec ecx
add eax, 0xc
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
test ecx, ecx
jg 0x431578
mov edx, dword [ebp - 0x20]
mov ecx, edi
call fcn.0043317b
mov edx, dword [ebp - 0x2c]
mov ecx, edi
call fcn.0043317b
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x50]
push 0xfffffffffffffffa
push eax
mov ecx, esi
call fcn.00428d97
pop ecx
pop ecx
jmp 0x43168d
mov byte [ebp - 0x18], 3
push 0x30
pop edx
call fcn.004289ac
mov edx, dword [ebp - 0x20]
pop ecx
pop ecx
mov ecx, dword [edi]
mov edx, dword [edx + 0x2c]
call fcn.0042ff61
push 0x630a7c
push 0
push 0
push 0x7c
pop edx
mov ecx, edi
call fcn.0042fca8
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov edx, ecx
mov dword [ecx + 0x2c], eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00443278
add esp, 0x10
test eax, eax
jne 0x43169e
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x43169e
lea edx, [eax - 1]
mov ecx, esi
call fcn.00428cbe
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044daed
leave
ret