Function at 0x4608a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x24], ebp
mov ecx, 0xe
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esi + 8]
call fcn.00462a10
xor eax, eax
lea edi, [esi + 0x9c]
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov dword [esp + 0x60], ebp
mov ecx, 0xb
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
mov eax, 2
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x64], 1
mov word [esp + 0x68], 0xe
mov word [esp + 0x6a], 0x190
mov dword [esp + 0x70], 0x10000
mov byte [esp + 0x74], 6
mov dword [esp + 0x7a], ebp
mov word [esp + 0x7e], 0xc8
mov word [esp + 0x76], ax
mov word [esp + 0x78], ax
call fcn.00440940
mov edi, dword [eax + 0xc]
cmp edi, ebp
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esi + 0xa30], ebp
jbe 0x46094b
lea eax, [edi - 1]
mov dword [esi + 0xa30], eax
cmp edi, 1
seta cl
cmp ebx, ebp
setne al
lea edx, [ebx + 1]
cmp edx, edi
mov byte [esp + 0x19], al
setb dl
test cl, cl
mov byte [esp + 0x1b], al
lea eax, [esi + 0x9c]
mov dword [esi + 0xa34], ebx
mov byte [esp + 0x18], cl
mov byte [esp + 0x1a], dl
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], 0xfffffe80
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0x17f
mov dword [esp + 0x38], 0x1c
mov dword [esp + 0x4c], eax
je 0x4609aa
mov dword [esp + 0x28], ebp
mov dword [eax], ebp
jmp 0x4609b8
mov dword [esp + 0x28], 1
mov dword [eax], 3
xor eax, eax
cmp ebx, ebp
setne al
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
add eax, 2
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0xa4]
test al, al
je 0x4609e2
lea ecx, [edi + 2]
mov dword [esp + 0x40], ecx
jmp 0x4609f0
xor edx, edx
cmp ebx, ebp
setne dl
add edx, 2
mov dword [esp + 0x40], edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 8]
call fcn.004636a0
test al, al
jne 0x460a33
push 0x530474
lea ecx, [esp + 0x14]
push ebp
push ecx
mov dword [esp + 0x1c], 0x53a6cc
mov dword [esp + 0x20], 0x28d
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x90
ret 4
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.0043ce90
lea ecx, [esi + 0x944]
mov dword [esp + 0x20], eax
call fcn.0049b0b0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
lea ecx, [esi + 0x944]
call fcn.00498530
push ebp
lea ecx, [esi + 0x944]
call fcn.00497c30
cmp ebx, ebp
mov dword [esp + 0x6c], 0xffffff
je 0x460a89
mov ecx, dword [esp + 0x20]
add ecx, 0x580
mov dword [esp + 0x60], ecx
jmp 0x460a91
mov dword [esp + 0x60], 0x53a6f8
lea edx, [esp + 0x60]
push edx
lea ecx, [esi + 0x944]
call fcn.0049db30
test al, al
jne 0x460ad7
push 0x530474
lea eax, [esp + 0x14]
push ebp
push eax
mov dword [esp + 0x1c], 0x53a6cc
mov dword [esp + 0x20], 0x2a8
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x90
ret 4
mov al, byte [esp + 0xa4]
test al, al
mov dword [esi + 0xa28], 0xffffff42
mov dword [esi + 0xa2c], 0x1e
je 0x460b0d
dec edi
test edi, edi
mov dword [esi + 0xa38], ebp
mov dword [esi + 0xa3c], ebp
mov dword [esp + 0x20], edi
mov ebp, edi
jg 0x460b40
mov ecx, 2
lea edx, [esp + 0x19]
sub ecx, edx
mov edi, 1
mov ebp, 0x53a5d8
lea ebx, [esi + 0xa0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0x18
jmp 0x460d20
mov edi, dword [esp + 0x20]
lea ecx, [ecx]
lea ecx, [ebp + 3]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.0043ce90
xor edx, edx
cmp eax, edx
mov dword [esp + 0x10], eax
je 0x460c7e
mov ecx, dword [esi + 0xa28]
mov eax, dword [esp + 0x24]
sub ecx, 0x4d
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xa2c]
lea eax, [esi + eax*4 + 0x9c]
mov dword [esp + 0x30], ecx
add ecx, 0x1a
cmp ebp, edi
mov dword [esp + 0x4c], eax
mov dword [esi + 0xa2c], ecx
mov dword [esp + 0x34], 0x10d
mov dword [esp + 0x38], 0x1a
mov dword [esp + 0x28], edx
mov dword [eax], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
jne 0x460bba
mov dword [esp + 0x3c], edx
jmp 0x460bc1
lea ecx, [eax + 1]
mov dword [esp + 0x3c], ecx
cmp ebp, 1
jne 0x460bd2
xor eax, eax
cmp ebx, edx
setne al
add eax, 2
jmp 0x460bd3
dec eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 8]
mov dword [esp + 0x44], eax
call fcn.004636a0
test al, al
je 0x460cb0
mov edx, ebp
imul edx, edx, 0xd8
lea edi, [edx + esi - 4]
mov ecx, edi
call fcn.0049b0b0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, edi
call fcn.00498530
push 0
mov ecx, edi
call fcn.00497c30
mov eax, dword [esp + 0x10]
xor edx, edx
cmp ebp, ebx
setg dl
lea ecx, [esp + 0x60]
add eax, 0x580
push ecx
mov ecx, edi
mov dword [esp + 0x64], eax
dec edx
and edx, 0x7f7f7f
add edx, 0x808080
mov dword [esp + 0x70], edx
call fcn.0049db30
test al, al
je 0x460ce3
cmp ebp, ebx
jne 0x460c70
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add edx, 7
add eax, 5
mov dword [esi + 0xa38], edx
mov dword [esi + 0xa3c], eax
dec ebp
test ebp, ebp
jg 0x460b39
jmp 0x460b0d
push 0x530474
push edx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x53a6cc
mov dword [esp + 0x20], 0x2c6
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x90
ret 4
push 0x530474
lea edx, [esp + 0x14]
push 0
push edx
mov dword [esp + 0x1c], 0x53a6cc
mov dword [esp + 0x20], 0x2fc
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x90
ret 4
push 0x530474
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x1c], 0x53a6cc
mov dword [esp + 0x20], 0x30f
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x90
ret 4
mov ecx, dword [esp + 0x10]
lea ebx, [ebx]
mov edx, dword [esi + 0xa28]
mov eax, dword [ebp - 8]
add eax, edx
mov edx, dword [ebp - 4]
mov dword [esp + 0x2c], eax
add edx, dword [esi + 0xa2c]
mov eax, dword [ebp]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 4]
mov dword [esp + 0x34], eax
lea eax, [esp + edi + 0x18]
mov dword [esp + 0x38], edx
cmp byte [eax], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x4c], ebx
je 0x460d6b
mov dword [esp + 0x28], 0
mov dword [ebx], 0
jmp 0x460d79
mov dword [esp + 0x28], 1
mov dword [ebx], 3
add eax, ecx
xor edx, edx
mov ecx, 3
div ecx
mov eax, edi
mov dword [esp + 0x40], 0
inc edx
mov dword [esp + 0x44], edx
xor edx, edx
div ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 8]
inc edx
mov dword [esp + 0x4c], edx
mov dl, byte [esp + 0xa8]
neg dl
sbb edx, edx
and edx, 4
mov dword [esp + 0x40], edx
call fcn.004636a0
test al, al
je 0x460e56
mov eax, dword [esp + 0x1c]
add eax, 0x18
inc edi
add ebx, 4
add ebp, 0x18
cmp eax, 0x60
mov dword [esp + 0x1c], eax
jb 0x460d16
mov eax, dword [esi + 0x94]
test eax, eax
je 0x460e0a
lea edx, [esp + 0x90]
push edx
mov ecx, esi
call fcn.00460110
mov ecx, dword [esi + 0x94]
lea eax, [esp + 0x90]
push eax
call fcn.0041f180
mov eax, dword [esi + 0x98]
test eax, eax
je 0x460e36
lea ecx, [esp + 0x90]
push ecx
mov ecx, esi
call fcn.00460180
mov ecx, dword [esi + 0x98]
lea edx, [esp + 0x90]
push edx
call fcn.0041f180
lea ecx, [esi + 8]
call fcn.00462550
mov eax, dword [esi + 4]
or eax, 6
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x90
ret 4
push 0x530474
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x1c], 0x53a6cc
mov dword [esp + 0x20], 0x34e
call fcn.0041ce50
add esp, 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x90
ret 4