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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8cf3d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x14], eax
call fcn.007865e8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x14]
mov edx, dword [ecx + 0x2e8]
or edx, 8
mov dword [ecx + 0x2e8], edx
mov dword [ecx], 0xaf77e0
mov eax, dword [0x9a63e0]
mov dword [ecx + 4], eax
mov ebx, dword [esi]
mov dword [ecx + 0x394], ebx
add esi, 4
push esi
call dword [0xaf792c]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x150]
mov edx, dword [0xa44d58]
mov eax, dword [ebp - 0x3c]
movzx ebx, byte [0xa4575c]
mov dword [eax + 0x398], edx
xor ecx, ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x34], ecx
test bl, 1
jne 0x4599a0
mov edx, dword [0xa45764]
mov ecx, dword [0xa457c0]
mov dword [0xa457b4], 0
or ebx, 0xffffff01
mov dword [0xa457b8], edx
mov dword [0xa457bc], ecx
mov byte [0xa4575c], bl
mov edx, dword [0xa457b4]
mov ebx, dword [0xa457b8]
mov esi, dword [0xa457bc]
push 1
mov dword [eax + 0x38], edx
mov edx, dword [ebp - 0x3c]
push 0x9a63e8
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], esi
mov eax, dword [edx + 0x38]
mov edi, dword [edx + 0x3c]
mov ecx, dword [edx + 0x40]
mov dword [edx + 0x74], eax
mov dword [edx + 0x78], edi
mov dword [edx + 0x7c], ecx
mov dword [edx + 0x60], 0
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], edi
mov dword [edx + 0x58], ecx
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], edi
mov dword [edx + 0x4c], ecx
mov ecx, edx
call fcn.007b9a88
mov ebx, dword [ebp - 0x3c]
mov edx, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x40]
push 0x37
mov dword [ebx + 0x39c], eax
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x314], 0
mov dword [ebx + 0x300], eax
mov dword [ebx + 0x304], edx
mov dword [ebx + 0x310], 0
mov dword [ebx + 0x308], ecx
mov dword [ebx + 0x30c], 0
call fcn.0077a684
mov esi, eax
push 0x37
call fcn.0077a698
mov ebx, eax
push 0x37
call fcn.0077a6b4
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
push eax
push ebx
push esi
call fcn.007868f8
mov ecx, dword [ebp - 0x3c]
movzx eax, word [ecx + 0x334]
mov word [ecx + 0x346], ax
call fcn.007b4f54
mov ecx, dword [ebp - 0x3c]
push 0x2f
call fcn.00787550
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x3dc], 0x3ecccccd
xor eax, eax
mov dword [edx + 0x3d4], eax
mov dword [edx + 0x3d8], 0
mov dword [edx + 0x3d0], eax
mov dword [edx + 0x3e0], eax
add edx, 0x458
push edx
push 0x9a63a0
call fcn.0058836c
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x454], eax
xor esi, esi
lea ebx, [esi + esi]
lea eax, [ebx + ebx]
push dword [eax + 0x900184]
add ecx, 0x38
push ecx
call fcn.00509590
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + ebx*2 + 0x434], eax
add esi, 1
cmp esi, 2
jl 0x459aca
cmp esi, 8
jge 0x459b45
mov eax, esi
neg eax
add eax, 8
cmp eax, 6
jl 0x459b32
xor eax, eax
mov dword [ecx + esi*4 + 0x434], eax
mov dword [ecx + esi*4 + 0x438], eax
mov dword [ecx + esi*4 + 0x43c], eax
mov dword [ecx + esi*4 + 0x440], eax
mov dword [ecx + esi*4 + 0x444], eax
add esi, 5
cmp esi, 2
jl 0x459b05
mov dword [ecx + esi*4 + 0x434], 0
add esi, 1
cmp esi, 8
jl 0x459b32
push 6
push 0x900060
add ecx, 0x380
call fcn.0044d268
mov ecx, dword [ebp - 0x3c]
mov edx, 0xffff
push 0x37
xor eax, eax
mov dword [ecx + 0x3a8], eax
mov dword [ecx + 0x3e8], eax
mov word [ecx + 0x3cc], dx
call fcn.0077a6cc
pop ecx
mov edx, dword [ebp - 0x3c]
fld dword [eax]
fnstcw word [ebp - 0x38]
movzx eax, word [ebp - 0x38]
and eax, 0xfffff3ff
or eax, 0x400
mov dword [ebp - 0x30], eax
fldcw word [ebp - 0x30]
fistp dword [ebp - 0x28]
fldcw word [ebp - 0x38]
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x459baa
cmp eax, 0x19
jle 0x459baf
mov eax, 4
imul eax, dword [0xa45774]
push 0x37
mov dword [edx + 0x424], eax
add eax, 0xfffffff9
mov dword [edx + 0x428], eax
call fcn.0077a6cc
pop ecx
mov eax, dword [eax + 0x18]
test eax, eax
jle 0x459bd9
cmp eax, 4
jle 0x459bde
mov eax, 1
mov edx, dword [ebp - 0x3c]
push 0x37
add eax, 8
mov dword [edx + 0x42c], eax
call fcn.0077a6cc
pop ecx
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + 0x1c]
test eax, eax
jl 0x459c01
cmp eax, 0xe
jle 0x459c0d
mov dword [ecx + 0x430], 0
jmp 0x459c13
mov dword [ecx + 0x430], eax
movsx edx, word [ecx + 0x334]
mov dword [ecx + 0x3c8], 0
xor ebx, ebx
mov dword [ecx + 0x3ec], ebx
mov dword [ecx + 0x3f0], 0
lea eax, [edx]
shr eax, 0x1f
add edx, eax
mov dword [ecx + 0x3f8], 0
sar edx, 1
mov dword [ecx + 0x3f4], edx
mov dword [ecx + 0x37c], ebx
mov dword [ecx + 0x3fc], 0x3f800000
mov esi, 2
lea ebx, [esi + esi]
add ebx, ebx
add ebx, ecx
mov eax, dword [ebx + 0x434]
test eax, eax
je 0x459c89
push eax
call fcn.005cdcc0
pop ecx
mov dword [ebx + 0x434], 0
mov ecx, dword [ebp - 0x3c]
add esi, 1
cmp esi, 8
jl 0x459c64
mov eax, dword [ecx + 0x37c]
cmp eax, 4
je 0x459ca6
mov dword [ecx + 0x3e8], 0
lea eax, [eax + eax*4]
push dword [eax*4 + 0x9a6284]
call fcn.00459158
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x37c]
lea edx, [eax + eax*4]
mov eax, dword [edx*4 + 0x9a6288]
test eax, eax
je 0x459cd1
call eax
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8