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

Disassembly:
push 0xffffffffffffffff
push 0x4de9d9
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5134a8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov edi, ecx
mov esi, edx
xor ebp, ebp
push 0x4f6168
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ebp
call fcn.00401f40
mov ebx, 1
mov dword [esp + 0x84], ebx
cmp esi, ebp
jne 0x459998
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.00406040
mov byte [esp + 0x84], 0
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x20], ebx
jb 0x459979
mov edx, dword [esp + 0x3c]
push edx
call fcn.00460940
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
call fcn.00401050
jmp 0x459bce
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4599a0
sub eax, edx
mov ebx, eax
mov byte [esp + 0x14], cl
xor eax, eax
mov ecx, ebx
and ecx, 0x8000000f
mov dword [esp + 0x2c], ebx
mov word [esp + 0x15], ax
mov byte [esp + 0x17], al
jns 0x4599cd
dec ecx
or ecx, 0xfffffff0
inc ecx
mov eax, ebx
cdq
and edx, 0xf
add eax, edx
mov ebp, eax
sar ebp, 4
mov dword [esp + 0x28], ecx
test ebp, ebp
jle 0x459a8c
mov ebx, esi
mov dword [esp + 0x24], ebp
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], eax
push ecx
lea eax, [esp + 0x68]
mov dword [esp + 0x70], edx
call fcn.00458db0
xor edi, edi
lea ecx, [ecx]
movzx edx, byte [esp + edi + 0x54]
push edx
lea eax, [esp + 0x18]
push str._02X
push eax
call fcn.00463360
lea eax, [esp + 0x20]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459a50
sub eax, edx
push eax
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x3c]
call fcn.0040db70
inc edi
cmp edi, 0x10
jl 0x459a30
add ebx, 0x10
sub dword [esp + 0x24], 1
jne 0x4599ec
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
test ecx, ecx
jg 0x459a98
test ebx, ebx
jne 0x459b1f
xor eax, eax
push ecx
shl ebp, 4
add ebp, esi
lea edx, [esp + 0x68]
push ebp
push edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
call fcn.00470490
mov esi, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x68]
call fcn.00458db0
xor esi, esi
movzx ecx, byte [esp + esi + 0x54]
push ecx
lea edx, [esp + 0x18]
push str._02X
push edx
call fcn.00463360
lea eax, [esp + 0x20]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459b01
sub eax, edx
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
call fcn.0040db70
inc esi
cmp esi, 0x10
jl 0x459ae2
cmp dword [esp + 0x34], 0xfffffffd
mov dword [edi], 0
jne 0x459b32
mov dword [edi], 0xfffffffd
push 0xffffffffffffffff
mov byte [esp + 0x88], 2
push 0
lea ecx, [esp + 0x3c]
mov esi, 0xf
push ecx
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], 0
mov ecx, edi
mov byte [edi + 8], 0
call fcn.00401ff0
mov byte [esp + 0x84], 0
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x20], 1
jb 0x459b81
mov edx, dword [esp + 0x3c]
push edx
call fcn.00460940
add esp, 4
mov dword [esp + 0x50], esi
xor esi, esi
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], esi
mov byte [esp + 0x40], 0
call fcn.0045e1c0
mov eax, dword [esp + 0x34]
cmp eax, 0xfffffffd
je 0x459bc5
cmp eax, esi
je 0x459bc1
jmp 0x459bb0
mov dword [eax], esi
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
cmp eax, esi
jne 0x459bb0
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x18]
call fcn.0045e200
mov eax, edi
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00460640
add esp, 0x74
ret 4