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

Disassembly:
push 0xffffffffffffffff
push 0x56c180
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xa8]
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
test ebx, ebx
je 0x46412b
mov al, byte [esi]
cmp al, 0x2b
je 0x464124
cmp al, 0x2d
jne 0x46412b
mov ebp, 1
jmp 0x46412d
xor ebp, ebp
mov eax, dword [edi + 0x14]
and eax, 0x3000
cmp eax, 0x3000
je 0x464143
mov edx, 0x4444e8
jmp 0x464165
lea eax, [ebp + 2]
mov edx, 0x4444ec
cmp eax, ebx
ja 0x464165
cmp byte [esi + ebp], 0x30
jne 0x464165
mov cl, byte [esi + ebp + 1]
cmp cl, 0x78
je 0x464163
cmp cl, 0x58
jne 0x464165
mov ebp, eax
push edx
push esi
call fcn.0054a680
mov dword [esp + 0x34], eax
mov eax, 0x2e
mov word [esp + 0x40], ax
call fcn.0054a96c
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + 0x40], al
lea eax, [esp + 0x40]
push eax
push esi
call fcn.0054a680
add esp, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00467470
push eax
mov dword [esp + 0x7c], 0
call fcn.0045de70
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], 0xffffffff
test ecx, ecx
je 0x4641db
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x4641db
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x14]
push 0x30
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
push 0
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], al
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
call fcn.004659d0
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x14]
cmovae eax, dword [esp + 0x3c]
push eax
lea eax, [ebx + esi]
mov dword [esp + 0x7c], 1
mov edx, dword [ecx]
push eax
push esi
call dword [edx + 0x1c]
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00467470
push eax
mov byte [esp + 0x7c], 2
call fcn.0045e0f0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov byte [esp + 0x78], 1
mov esi, eax
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x464270
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x464270
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.004674a0
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x78], 3
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4642b5
mov eax, dword [esp + 0x9c]
push dword [esp + 0x28]
push eax
lea ebx, [ecx + eax]
push ecx
lea ecx, [esp + 0x48]
call fcn.00467580
jmp 0x46431e
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x9c]
push esi
push dword [esp + 0xa8]
push ecx
lea ecx, [esp + 0x48]
lea ebx, [eax + edi]
call fcn.00467580
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x3c]
push esi
push dword [esp + 0xa4]
inc eax
push eax
call fcn.00467580
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp dword [esp + 0x50], 0x10
mov cl, al
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push esi
push edi
push edx
mov byte [eax + edx], cl
lea ecx, [esp + 0x48]
call fcn.00467580
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x68], 0x10
lea esi, [esp + 0x54]
cmovae esi, dword [esp + 0x54]
mov al, byte [esi]
cmp al, 0x7f
je 0x464363
test al, al
jle 0x464363
movsx ecx, al
mov eax, ebx
sub eax, ebp
cmp ecx, eax
jae 0x464363
push dword [esp + 0x20]
sub ebx, ecx
lea ecx, [esp + 0x40]
push 1
push ebx
call fcn.00467580
cmp byte [esi + 1], 0
lea eax, [esi + 1]
cmovg esi, eax
mov al, byte [esi]
cmp al, 0x7f
jne 0x464332
cmp dword [edi + 0x24], 0
mov ebx, dword [esp + 0x4c]
jl 0x464380
jg 0x464375
cmp dword [edi + 0x20], 0
jbe 0x464380
mov esi, dword [edi + 0x20]
cmp esi, ebx
jbe 0x464380
sub esi, ebx
jmp 0x464382
xor esi, esi
mov eax, dword [edi + 0x14]
and eax, 0x1c0
cmp eax, 0x40
je 0x46446f
cmp eax, 0x100
je 0x464406
push esi
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x94]
push dword [esp + 0x94]
push eax
push dword [esp + 0x94]
call fcn.00465480
mov ecx, eax
xor esi, esi
cmp dword [esp + 0x68], 0x10
push ebp
mov eax, dword [ecx]
mov dword [esp + 0xa4], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
push eax
push dword [ecx + 4]
lea eax, [esp + 0x44]
push dword [ecx]
push eax
push dword [esp + 0xac]
call fcn.004651f0
add esp, 0x30
jmp 0x4644a1
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x3c]
push ebp
cmovae eax, dword [esp + 0x40]
push eax
push dword [esp + 0x94]
lea eax, [esp + 0x2c]
push dword [esp + 0x94]
push eax
push dword [esp + 0x94]
call fcn.004651f0
mov ecx, eax
push esi
push dword [esp + 0xb0]
mov eax, dword [ecx]
mov dword [esp + 0xa8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x40]
push dword [ecx + 4]
push dword [ecx]
push eax
push dword [esp + 0xac]
call fcn.00465480
add esp, 0x30
xor esi, esi
jmp 0x4644a1
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x3c]
push ebp
cmovae eax, dword [esp + 0x40]
push eax
push dword [esp + 0x94]
lea eax, [esp + 0x2c]
push dword [esp + 0x94]
push eax
push dword [esp + 0x94]
call fcn.004651f0
add esp, 0x18
mov ecx, dword [eax]
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
sub ebx, ebp
push ebx
mov ebx, dword [esp + 0x84]
add eax, ebp
push eax
push edx
push ecx
lea eax, [esp + 0x30]
mov dword [esp + 0x9c], edx
push eax
push ebx
call fcn.004651f0
mov ebp, dword [esp + 0x4c]
push esi
push dword [esp + 0xb0]
mov ecx, dword [eax]
mov dword [esp + 0xa8], ecx
mov eax, dword [eax + 4]
push eax
push ecx
push ebp
push ebx
mov dword [esp + 0xbc], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.00465480
add esp, 0x30
cmp dword [esp + 0x68], 0x10
jb 0x464528
push dword [esp + 0x54]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
jb 0x464550
push dword [esp + 0x3c]
call fcn.00549eaf
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0054a992
add esp, 0x68
ret