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

Disassembly:
push 0xffffffffffffffff
push 0x4d8a7c
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
mov byte [esp + 0x9c], 1
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
cmp esi, eax
je 0x458dc4
jmp 0x458ab0
cmp dword [esp + 0x70], 0x10
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], 0
lea ecx, [esi + 0x10]
cmovae eax, dword [esp + 0x5c]
mov byte [eax], 0
lea eax, [esp + 0x74]
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x84], 0
cmovae eax, dword [esp + 0x74]
mov byte [eax], 0
cmp dword [ecx + 0x14], 8
jb 0x458af3
mov ecx, dword [ecx]
mov edx, dword [esi + 0x20]
lea eax, [esp + 0x5c]
push eax
call fcn.00421be0
lea ecx, [esi + 0x28]
add esp, 4
cmp dword [ecx + 0x14], 8
jb 0x458b0e
mov ecx, dword [ecx]
mov edx, dword [esi + 0x38]
lea eax, [esp + 0x74]
push eax
call fcn.00421be0
mov eax, dword [esp + 0x70]
lea edi, [esp + 0x60]
add esp, 4
lea edx, [esp + 0x5c]
cmp dword [esp + 0x70], 0x10
mov ecx, ebx
cmovae edi, dword [esp + 0x5c]
cmovae edx, dword [esp + 0x5c]
add eax, edi
push eax
push edx
call fcn.0049efd0
mov edi, eax
lea ecx, [esp + 0x74]
mov eax, dword [esp + 0x3c]
and eax, 0xffffff04
or eax, 4
mov dword [esp + 0x3c], eax
or eax, 0x100
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x88], 0x10
mov edx, dword [esp + 0x84]
cmovae ecx, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.0049d160
mov ebx, eax
mov dword [esp + 0x34], ebx
mov byte [esp + 0x9c], 2
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.0049dda0
mov byte [esp + 0x9c], 3
mov ecx, edi
call fcn.0049ea40
push eax
mov ecx, edi
call fcn.0049eaf0
mov edi, eax
mov byte [esp + 0x9c], 4
movsx edx, byte [edi + 8]
mov cl, byte [esp + 0x1c]
mov byte [edi + 8], cl
mov ecx, dword [esp + 0x1c]
mov eax, ecx
xor eax, edx
and eax, 0xff
xor ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi]
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 8]
xor eax, ecx
mov edx, ecx
and eax, 0x100
shr edx, 8
xor eax, ecx
and edx, 1
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
shl edx, 8
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esp + 0x28], ecx
mov byte [esp + 0x9c], 2
movsx eax, byte [esp + 0x1c]
cmp eax, 4
je 0x458cc0
add eax, 0xfffffffa
cmp eax, 1
ja 0x458cd6
mov edi, dword [esp + 0x14]
mov dword [esp + 0x54], edi
test edi, edi
je 0x458cd6
mov byte [esp + 0x9c], 6
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x60]
push eax
call fcn.0049fe20
mov byte [esp + 0x9c], 2
push dword [edi]
call fcn.004b17b6
add esp, 4
push edi
call fcn.004b17b6
jmp 0x458cd3
test dword [esp + 0x1c], 0x100
je 0x458cd6
push dword [esp + 0x14]
call fcn.004b1c23
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x458cfa
push 0x49d7f0
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.004b407b
push edi
call fcn.004b1ec2
add esp, 4
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
mov byte [esp + 0x9c], 1
movsx eax, byte [esp + 0x3c]
cmp eax, 4
je 0x458d58
add eax, 0xfffffffa
cmp eax, 1
ja 0x458d6b
mov dword [esp + 0x54], ebx
test ebx, ebx
je 0x458d6b
mov byte [esp + 0x9c], 0xa
mov ecx, ebx
mov eax, dword [ebx]
push eax
push dword [eax]
lea eax, [esp + 0x58]
push eax
call fcn.0049fe20
mov byte [esp + 0x9c], 1
push dword [ebx]
call fcn.004b17b6
add esp, 4
push ebx
call fcn.004b17b6
jmp 0x458d68
test dword [esp + 0x2c], 0x100
je 0x458d6b
push ebx
call fcn.004b1c23
add esp, 4
cmp byte [esi + 0xd], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
jne 0x458db7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x458d9c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x458db7
lea ecx, [ecx]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x458d90
jmp 0x458db7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x458db5
cmp esi, dword [eax + 8]
jne 0x458db5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x458da5
mov esi, eax
mov ebx, dword [esp + 0x30]
cmp esi, dword [ebp + 0x20]
jne 0x458ab0
mov eax, dword [ebp + 0x28]
mov esi, dword [eax]
cmp esi, eax
je 0x4590a7
cmp dword [esp + 0x70], 0x10
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], 0
cmovae eax, dword [esp + 0x5c]
mov byte [eax], 0
lea eax, [esp + 0x74]
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x84], 0
cmovae eax, dword [esp + 0x74]
mov byte [eax], 0
cmp dword [esi + 0x1c], 8
jb 0x458e14
mov ecx, dword [esi + 8]
jmp 0x458e17
lea ecx, [esi + 8]
mov edx, dword [esi + 0x18]
lea eax, [esp + 0x5c]
push eax
call fcn.00421be0
lea ecx, [esi + 0x20]
add esp, 4
cmp dword [ecx + 0x14], 8
jb 0x458e32
mov ecx, dword [ecx]
mov edx, dword [esi + 0x30]
lea eax, [esp + 0x74]
push eax
call fcn.00421be0
mov eax, dword [esp + 0x70]
lea edi, [esp + 0x60]
add esp, 4
lea edx, [esp + 0x5c]
cmp dword [esp + 0x70], 0x10
mov ecx, ebx
cmovae edi, dword [esp + 0x5c]
cmovae edx, dword [esp + 0x5c]
add eax, edi
push eax
push edx
call fcn.0049efd0
mov edi, eax
lea ecx, [esp + 0x74]
mov eax, dword [esp + 0x3c]
and eax, 0xffffff04
or eax, 4
mov dword [esp + 0x3c], eax
or eax, 0x100
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x88], 0x10
mov edx, dword [esp + 0x84]
cmovae ecx, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.0049d160
mov ebx, eax
mov dword [esp + 0x34], ebx
mov byte [esp + 0x9c], 0xd
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.0049dda0
mov byte [esp + 0x9c], 0xe
mov ecx, edi
call fcn.0049ea40
push eax
mov ecx, edi
call fcn.0049eaf0
mov edi, eax
mov byte [esp + 0x9c], 0xf
movsx edx, byte [edi + 8]
mov cl, byte [esp + 0x1c]
mov byte [edi + 8], cl
mov ecx, dword [esp + 0x1c]
mov eax, ecx
xor eax, edx
and eax, 0xff
xor ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi]
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 8]
xor eax, ecx
mov edx, ecx
and eax, 0x100
shr edx, 8
xor eax, ecx
and edx, 1
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
shl edx, 8
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esp + 0x28], ecx
mov byte [esp + 0x9c], 0xd
movsx eax, byte [esp + 0x1c]
cmp eax, 4
je 0x458fe4
add eax, 0xfffffffa
cmp eax, 1
ja 0x458ffa
mov edi, dword [esp + 0x14]
mov dword [esp + 0x50], edi
test edi, edi
je 0x458ffa
mov byte [esp + 0x9c], 0x11
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x60]
push eax
call fcn.0049fe20
mov byte [esp + 0x9c], 0xd
push dword [edi]
call fcn.004b17b6
add esp, 4
push edi
call fcn.004b17b6
jmp 0x458ff7
test dword [esp + 0x1c], 0x100
je 0x458ffa
push dword [esp + 0x14]
call fcn.004b1c23
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45901e
push 0x49d7f0
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.004b407b
push edi
call fcn.004b1ec2
add esp, 4
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
mov byte [esp + 0x9c], 1
movsx eax, byte [esp + 0x3c]
cmp eax, 4
je 0x45907c
add eax, 0xfffffffa
cmp eax, 1
ja 0x45908f
mov dword [esp + 0x50], ebx
test ebx, ebx
je 0x45908f
mov byte [esp + 0x9c], 0x15
mov ecx, ebx
mov eax, dword [ebx]
push eax
push dword [eax]
lea eax, [esp + 0x5c]
push eax
call fcn.0049fe20
mov byte [esp + 0x9c], 1
push dword [ebx]
call fcn.004b17b6
add esp, 4
push ebx
call fcn.004b17b6
jmp 0x45908c
test dword [esp + 0x2c], 0x100
je 0x45908f
push ebx
call fcn.004b1c23
add esp, 4
mov esi, dword [esi]
xorps xmm0, xmm0
mov ebx, dword [esp + 0x30]
movlpd qword [esp + 0x34], xmm0
cmp esi, dword [ebp + 0x28]
jne 0x458dd1
mov byte [esp + 0x9c], 0
cmp dword [esp + 0x88], 0x10
jb 0x4590c5
push dword [esp + 0x74]
call fcn.004b17b6
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
mov dword [esp + 0x9c], 0xffffffff
cmp dword [esp + 0x70], 0x10
jb 0x4590fe
push dword [esp + 0x5c]
call fcn.004b17b6
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x8c
ret 4