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

Disassembly:
push ebp
mov ecx, 0x4c15e0
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
call fcn.0042bb30
mov edx, eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 4]
mov ebp, dword [eax + edx*4]
test ebp, ebp
je 0x4606bf
cmp esi, 0xffffffff
sete byte [esp + 0x1e]
cmp edi, 0xffffffff
sete al
mov edx, eax
test ebx, ebx
je 0x46049c
test al, al
jne 0x4606b6
mov byte [esp + 0x18], al
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4604b7
cmp byte [esp + 0x1e], 0
jne 0x460570
xor dl, byte [esp + 0x1e]
cmp edi, dword [esp + 0x5c]
jae 0x460600
test dl, dl
je 0x460600
test ebx, ebx
je 0x4604dc
cmp byte [esp + 0x18], 0
jne 0x4605b0
mov eax, dword [esp + 0x14]
mov ecx, eax
movzx edx, al
movsx eax, byte [ebp + edx + 0x11d]
test al, al
jne 0x460515
mov eax, dword [ebp]
mov eax, dword [eax + 0x20]
cmp eax, 0x42b4e0
jne 0x4605d0
cmp cl, 0x2a
je 0x460600
mov byte [ebp + edx + 0x11d], cl
movsx eax, cl
lea edx, [eax - 0x30]
cmp dl, 9
ja 0x460600
lea edx, [esi + esi*4]
lea esi, [eax + edx*2 - 0x30]
cmp esi, dword [esp + 0x58]
jg 0x460616
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x460630
add eax, 1
add edi, 1
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 8], eax
jae 0x460646
mov byte [esp + 0x18], 1
xor edx, edx
mov dword [esp + 0x14], 0xffffffff
jmp 0x4604a4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
cmp dword [eax + 8], ecx
jb 0x4604bb
mov ecx, eax
mov eax, dword [eax]
mov byte [esp + 0x1f], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x1f]
cmp eax, 0xffffffff
jne 0x4604bb
mov dword [esp + 0x10], 0
xor edx, 1
jmp 0x4604bb
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x460690
movzx edx, byte [eax]
mov ecx, edx
jmp 0x4604e5
movsx ecx, cl
mov dword [esp + 0x18], edx
mov dword [esp], ecx
mov ecx, ebp
mov dword [esp + 4], 0x2a
call eax
sub esp, 8
mov ecx, eax
mov edx, dword [esp + 0x18]
cmp cl, 0x2a
jne 0x46050b
lea esi, cs:[esi]
test edi, edi
setne dl
cmp dword [esp + 0x54], esi
setle al
test dl, al
je 0x460616
cmp dword [esp + 0x58], esi
jge 0x460670
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
or dword [eax], 4
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x28
mov eax, dword [ebx]
mov ecx, ebx
add edi, 1
call dword [eax + 0x28]
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 8], eax
jb 0x460553
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x460553
mov byte [esp + 0x18], 1
mov edx, 1
xor ebx, ebx
jmp 0x4604a4
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
mov dword [eax], esi
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x28
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov ecx, eax
movzx edx, al
cmp eax, 0xffffffff
jne 0x4604e5
mov edx, 0xff
mov ecx, 0xffffffff
xor ebx, ebx
jmp 0x4604e5
xor esi, esi
xor edi, edi
jmp 0x460547
call fcn.004b8390
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov eax, dword [esp + 0xc8]
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x5c], ecx
mov ecx, 0x4c149c
mov ebp, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
call fcn.0042bb30
mov ebx, dword [esp + 0xd0]
mov edx, dword [ebx + 0x6c]
mov ecx, dword [edx + 4]
cmp eax, dword [edx + 8]
jae 0x46092b
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x46092b
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4c84d8
mov dword [esp + 4], 0x4c81dc
mov dword [esp], eax
call fcn.004b6d10
test eax, eax
je 0x46092b
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x34]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x30]
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x4c], esi
mov esi, dword [eax + 0x40]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x3c], esi
mov esi, dword [eax + 0x4c]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x54], esi
mov esi, dword [eax + 0x54]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x44], ebx
mov ebx, dword [eax + 0x58]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x94], edx
mov dword [esp + 0x64], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 7
call fcn.004637d0
sub esp, 0x24
mov ebp, eax
mov edi, edx
mov esi, eax
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x4608d0
mov edx, dword [esp + 0x60]
cmp edi, 0xffffffff
mov eax, dword [esp + 0xd8]
sete bl
test ebp, ebp
mov dword [eax + 0x18], edx
setne dl
and dl, bl
jne 0x4608e9
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x34], 0xffffffff
sete al
test edx, edx
je 0x4608af
test al, al
jne 0x460910
cmp bl, al
jne 0x4608bd
mov eax, dword [esp + 0xd4]
or dword [eax], 2
add esp, 0xac
mov eax, esi
mov edx, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov eax, dword [esp + 0xd4]
or dword [eax], 4
cmp edi, 0xffffffff
sete bl
test ebp, ebp
setne dl
and dl, bl
je 0x46089b
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [ebp + 8], eax
jb 0x46089b
mov eax, dword [ebp]
mov byte [esp + 0x38], dl
mov ecx, ebp
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
jne 0x46089b
mov ebx, edx
xor esi, esi
jmp 0x46089b
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, dword [ecx + 0xc]
cmp dword [ecx + 8], edx
jb 0x4608af
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp eax, 0xffffffff
sete al
jmp 0x4608af
call fcn.004b8390