Function at 0x46e340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x24], ebx
mov edi, dword [ebx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [ebx]
call fcn.0046eafa
movsx edx, word [edx + 0x2a]
mov ecx, dword [ebx + 0x28]
push 2
mov dword [ebp - 0x28], eax
pop eax
add edx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [esi + 0x38]
push edx
push ecx
mov dword [ebp - 0x10], eax
lea eax, [ecx + 1]
mov dword [ebp - 8], edx
mov ecx, edi
push 0x6e
pop edx
mov dword [ebx + 0x28], eax
call fcn.0044337d
mov ecx, dword [ebx + 0x2c]
mov edx, esi
mov dword [ebp - 0x14], eax
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
inc eax
add eax, ecx
mov ecx, ebx
mov dword [ebp - 0x20], eax
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x2c], eax
xor eax, eax
push eax
push 4
push eax
push eax
push dword [ebp + 0x18]
call fcn.0047732f
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x46e576
mov esi, dword [ebp - 4]
mov ecx, edi
push esi
push dword [ebp - 0x10]
push 0x7d
pop edx
call fcn.0044337d
mov edx, dword [ebp + 0x10]
inc esi
pop ecx
pop ecx
push esi
test edx, edx
je 0x46e3ec
mov ecx, ebx
call fcn.004546c5
jmp 0x46e3fa
push dword [ebp - 0x10]
mov ecx, edi
push 0x7d
pop edx
call fcn.0044337d
pop ecx
mov eax, dword [ebp + 8]
xor esi, esi
pop ecx
xor ecx, ecx
cmp cx, word [eax + 0x2a]
jge 0x46e44e
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + esi*4]
mov eax, dword [ebp - 4]
add eax, 2
add eax, esi
push eax
test ecx, ecx
js 0x46e42f
mov eax, dword [ebp + 0xc]
imul edx, ecx, 0x18
mov ecx, ebx
mov edx, dword [edx + eax + 8]
call fcn.004546c5
pop ecx
jmp 0x46e442
push esi
push dword [ebp - 0x10]
mov edx, 0x9f
mov ecx, edi
call fcn.004432f9
add esp, 0xc
mov eax, dword [ebp + 8]
inc esi
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x46e408
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x30]
call fcn.0047349c
mov dword [ebp - 0x10], eax
mov ecx, edi
test eax, eax
je 0x46e479
mov edx, dword [ebp - 0x14]
call fcn.00443953
cmp dword [ebx + 0x7c], 0
mov esi, dword [ebp - 0xc]
jne 0x46e4b2
mov byte [ebx + 0x14], 0
jmp 0x46e4b2
push dword [ebp - 0x20]
push dword [ebp - 8]
push dword [ebp - 4]
push 0x65
pop edx
call fcn.004432f9
mov esi, dword [ebp - 0xc]
add esp, 0xc
mov ecx, edi
push dword [ebp - 0x1c]
push esi
push 0x75
pop edx
call fcn.0044337d
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x20]
push esi
push 0x76
pop edx
call fcn.004432f9
add esp, 0x14
cmp dword [ebp - 0x10], 0
jne 0x46e4f7
mov ecx, dword [ebp - 0x18]
call fcn.00477b60
push esi
push 0x25
pop edx
mov ecx, edi
call fcn.00443369
xor esi, esi
mov dword [ebp - 0x14], eax
pop ecx
cmp dword [ebp - 8], esi
jle 0x46e4f7
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, edi
add eax, esi
push eax
push esi
push ebx
push 0x63
pop edx
call fcn.004432f9
add esp, 0xc
inc esi
cmp esi, dword [ebp - 8]
jl 0x46e4d9
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.0046f880
push 0xfffffffffffffff8
push dword [ebp - 0x28]
mov ecx, edi
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push 0xc
pop edx
call fcn.00443422
mov eax, dword [ebp + 0x1c]
add esp, 0x14
movzx edx, ax
cmp eax, 0xa
mov ecx, edi
push 2
pop eax
cmove edx, eax
call fcn.004437ff
mov ecx, ebx
call fcn.0045b9ff
cmp dword [ebp - 0x10], 0
jne 0x46e56e
mov esi, dword [ebp - 0x14]
mov ecx, edi
mov ebx, dword [ebp - 0xc]
lea eax, [esi + 1]
push eax
push ebx
push 7
pop edx
call fcn.0044337d
mov edx, esi
mov ecx, edi
call fcn.00443817
push 0
push ebx
push 0x72
pop edx
mov ecx, edi
call fcn.0044337d
add esp, 0x10
jmp 0x46e576
mov ecx, dword [ebp - 0x18]
call fcn.00477b60
pop edi
pop esi
pop ebx
leave
ret