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

Disassembly:
push 0xffffffffffffffff
push 0x4d8c72
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], 0
mov byte [esp + 0x124], 0
mov byte [esp + 0x14c], 1
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
mov byte [esp + 0x14c], 2
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
mov dword [esp + 0x30], esi
cmp esi, eax
je 0x459e0f
mov eax, dword [esp + 0x98]
lea esp, [esp]
cmp dword [esi + 0x18], 0
lea ecx, [esi + 8]
mov dword [esp + 0x9c], ecx
je 0x459e00
lea eax, [ecx + 0x18]
mov dword [esp + 0xa8], eax
lea eax, [ecx + 0x24]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [esp + 0xa0], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [esp + 0xa8]
sar edx, 2
mov edi, edx
shr edi, 0x1f
mov ecx, dword [eax + 4]
add edi, edx
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jne 0x459df9
cmp dword [esp + 0x120], 0x10
lea eax, [esp + 0x10c]
mov dword [esp + 0x11c], 0
cmovae eax, dword [esp + 0x10c]
mov byte [eax], 0
mov eax, dword [esp + 0x9c]
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x4592fa
mov eax, dword [eax]
lea ecx, [esp + 0x10c]
push ecx
mov ecx, eax
call fcn.00421be0
xorps xmm0, xmm0
add esp, 4
movdqu xmmword [esp + 0xdc], xmm0
movq qword [esp + 0xec], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [esp + 0xe4], eax
and eax, 0xffffff00
mov dword [esp + 0xe4], eax
and eax, 0xfffffeff
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov byte [esp + 0x14c], 8
xor ecx, ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x94], ecx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x459904
mov esi, dword [esp + 0xa8]
xor edi, edi
mov dword [esp + 0x9c], edi
mov edi, edi
cmp dword [esp + 0x138], 0x10
lea eax, [esp + 0x124]
mov dword [esp + 0x134], 0
cmovae eax, dword [esp + 0x124]
mov byte [eax], 0
lea eax, [esp + 0xf4]
cmp dword [esp + 0x108], 0x10
mov dword [esp + 0x104], 0
cmovae eax, dword [esp + 0xf4]
mov byte [eax], 0
mov ecx, dword [esi]
add ecx, edi
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x459409
mov ecx, dword [ecx]
lea eax, [esp + 0x124]
push eax
call fcn.00421be0
mov eax, dword [esp + 0xa4]
add esp, 4
mov ecx, dword [eax]
add ecx, edi
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x45942f
mov ecx, dword [ecx]
lea eax, [esp + 0xf4]
push eax
call fcn.00421be0
add esp, 4
cmp dword [esp + 0x134], 0
je 0x4598cc
xorps xmm0, xmm0
movdqu xmmword [esp + 0xac], xmm0
movq qword [esp + 0xbc], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [esp + 0xb4], eax
and eax, 0xffffff00
mov dword [esp + 0xb4], eax
and eax, 0xfffffeff
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov byte [esp + 0x14c], 0xe
lea ecx, [esp + 0xf4]
mov byte [esp + 0x54], 4
mov eax, dword [esp + 0x54]
or eax, 0x100
mov dword [esp + 0x54], eax
cmp dword [esp + 0x108], 0x10
mov edx, dword [esp + 0x104]
cmovae ecx, dword [esp + 0xf4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.0049d160
mov dword [esp + 0x4c], eax
mov byte [esp + 0x14c], 0xf
lea eax, [esp + 0x124]
cmp dword [esp + 0x138], 0x10
lea edi, [esp + 0x124]
lea ecx, [esp + 0xac]
cmovae eax, dword [esp + 0x124]
cmovae edi, dword [esp + 0x124]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x134]
add eax, dword [esp + 0xa4]
push eax
push edi
call fcn.0049efd0
mov edi, eax
mov byte [esp + 0x14c], 0x10
movsx edx, byte [edi + 8]
mov cl, byte [esp + 0x54]
mov eax, dword [esp + 0x54]
mov byte [edi + 8], cl
mov ecx, eax
xor ecx, edx
and ecx, 0xff
xor eax, ecx
mov dword [esp + 0x54], eax
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa8], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 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 + 0x54]
shl edx, 8
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x54], eax
mov ecx, dword [edi + 0xc]
mov dword [esp + 0xa4], ecx
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x58], ecx
mov dword [edi + 0x14], 0
mov dword [esp + 0x60], eax
mov byte [esp + 0x14c], 0xe
movsx eax, byte [esp + 0x54]
cmp eax, 4
je 0x45965f
add eax, 0xfffffffa
cmp eax, 1
ja 0x45967f
mov edi, dword [esp + 0xa8]
mov dword [esp + 0xa8], edi
test edi, edi
je 0x45967f
mov byte [esp + 0x14c], 0x12
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x18]
push eax
call fcn.0049fe20
mov byte [esp + 0x14c], 0xe
push dword [edi]
call fcn.004b17b6
add esp, 4
push edi
call fcn.004b17b6
jmp 0x459675
test dword [esp + 0x54], 0x100
je 0x45967f
push dword [esp + 0xa8]
call fcn.004b1c23
mov ecx, dword [esp + 0xa8]
add esp, 4
test ecx, ecx
je 0x45969f
push 0x49d7f0
push dword [ecx - 4]
lea edi, [ecx - 4]
push 4
push ecx
call fcn.004b407b
push edi
call fcn.004b1ec2
add esp, 4
lea eax, [esp + 0xac]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x38]
movlpd qword [esp + 0x50], xmm0
call fcn.0049dda0
mov byte [esp + 0x14c], 0x15
lea ecx, [esp + 0xdc]
call fcn.0049ea40
push eax
lea ecx, [esp + 0xe0]
call fcn.0049eaf0
mov edi, eax
mov byte [esp + 0x14c], 0x16
movsx edx, byte [edi + 8]
mov cl, byte [esp + 0x3c]
mov byte [edi + 8], cl
mov eax, dword [esp + 0x3c]
xor edx, eax
and edx, 0xff
xor eax, edx
mov dword [esp + 0x3c], eax
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x34]
mov dword [edi], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 8]
xor eax, ecx
mov edx, ecx
and eax, 0x100
xor eax, ecx
shr edx, 8
mov dword [edi + 8], eax
and edx, 1
mov eax, dword [esp + 0x3c]
shl edx, 8
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x3c], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x40]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esp + 0x48], ecx
mov byte [esp + 0x14c], 0xe
movsx eax, byte [esp + 0x3c]
cmp eax, 4
je 0x4597d1
add eax, 0xfffffffa
cmp eax, 1
ja 0x4597e7
mov edi, dword [esp + 0x34]
mov dword [esp + 0xa4], edi
test edi, edi
je 0x4597e7
mov byte [esp + 0x14c], 0x18
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x2c]
push eax
call fcn.0049fe20
mov byte [esp + 0x14c], 0xe
push dword [edi]
call fcn.004b17b6
add esp, 4
push edi
call fcn.004b17b6
jmp 0x4597e4
test dword [esp + 0x3c], 0x100
je 0x4597e7
push dword [esp + 0x34]
call fcn.004b1c23
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45980b
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 + 0x34], xmm0
mov byte [esp + 0x14c], 8
movsx eax, byte [esp + 0xb4]
cmp eax, 4
je 0x459876
add eax, 0xfffffffa
cmp eax, 1
ja 0x459892
mov edi, dword [esp + 0xac]
mov dword [esp + 0xa4], edi
test edi, edi
je 0x459892
mov byte [esp + 0x14c], 0x1c
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x28]
push eax
call fcn.0049fe20
mov byte [esp + 0x14c], 8
push dword [edi]
call fcn.004b17b6
add esp, 4
push edi
call fcn.004b17b6
jmp 0x45988f
test dword [esp + 0xb4], 0x100
je 0x459892
push dword [esp + 0xac]
call fcn.004b1c23
add esp, 4
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4598b9
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
mov edi, dword [esp + 0x9c]
xorps xmm0, xmm0
movlpd qword [esp + 0xac], xmm0
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
add edi, 0x18
inc dword [esp + 0x94]
imul ecx
mov dword [esp + 0x9c], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x94], eax
jb 0x4593b0
mov esi, dword [esp + 0x30]
xorps xmm0, xmm0
movdqu xmmword [esp + 0xc4], xmm0
movq qword [esp + 0xd4], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [esp + 0xcc], eax
and eax, 0xffffff00
mov dword [esp + 0xcc], eax
and eax, 0xfffffeff
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov byte [esp + 0x14c], 0x24
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x68]
call fcn.0049dda0
mov byte [esp + 0x14c], 0x25
lea edi, [esp + 0x10c]
cmp dword [esp + 0x120], 0x10
lea edx, [esp + 0x10c]
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0xc4]
cmovae edi, dword [esp + 0x10c]
cmovae edx, dword [esp + 0x10c]
add eax, edi
push eax
push edx
call fcn.0049efd0
mov edi, eax
mov byte [esp + 0x14c], 0x26
movsx edx, byte [edi + 8]
mov cl, byte [esp + 0x6c]
mov byte [edi + 8], cl
mov eax, dword [esp + 0x6c]
xor edx, eax
and edx, 0xff
xor eax, edx
mov dword [esp + 0x6c], eax
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x64]
mov dword [edi], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], ecx
mov ecx, dword [edi + 8]
xor eax, ecx
mov edx, ecx
and eax, 0x100
xor eax, ecx
shr edx, 8
mov dword [edi + 8], eax
and edx, 1
mov eax, dword [esp + 0x6c]
shl edx, 8
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x6c], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x70]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x74], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x14c], 0x24
movsx eax, byte [esp + 0x6c]
cmp eax, 4
je 0x459ab7
add eax, 0xfffffffa
cmp eax, 1
ja 0x459acd
mov edi, dword [esp + 0x64]
mov dword [esp + 0xa0], edi
test edi, edi
je 0x459acd
mov byte [esp + 0x14c], 0x28
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x20]
push eax
call fcn.0049fe20
mov byte [esp + 0x14c], 0x24
push dword [edi]
call fcn.004b17b6
add esp, 4
push edi
call fcn.004b17b6
jmp 0x459aca
test dword [esp + 0x6c], 0x100
je 0x459acd
push dword [esp + 0x64]
call fcn.004b1c23
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
je 0x459af1
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
lea eax, [esp + 0xc4]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x80]
movlpd qword [esp + 0x68], xmm0
call fcn.0049dda0
mov byte [esp + 0x14c], 0x2b
mov ecx, dword [esp + 0x2c]
call fcn.0049ea40
mov ecx, dword [esp + 0x2c]
push eax
call fcn.0049eaf0
mov edi, eax
mov byte [esp + 0x14c], 0x2c
movsx edx, byte [edi + 8]
mov cl, byte [esp + 0x84]
mov byte [edi + 8], cl
mov ecx, dword [esp + 0x84]
mov eax, ecx
xor eax, edx
and eax, 0xff
xor ecx, eax
mov dword [esp + 0x84], ecx
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x7c]
mov dword [edi], eax
mov eax, dword [esp + 0x80]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [edi + 8]
xor eax, ecx
mov edx, ecx
and eax, 0x100
xor eax, ecx
shr edx, 8
mov dword [edi + 8], eax
and edx, 1
mov eax, dword [esp + 0x84]
shl edx, 8
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x84], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x88]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x88], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x8c], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esp + 0x90], ecx
mov byte [esp + 0x14c], 0x24
movsx eax, byte [esp + 0x84]
cmp eax, 4
je 0x459c4e
add eax, 0xfffffffa
cmp eax, 1
ja 0x459c67
mov edi, dword [esp + 0x7c]
mov dword [esp + 0xa0], edi
test edi, edi
je 0x459c67
mov byte [esp + 0x14c], 0x2e
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x30]
push eax
call fcn.0049fe20
mov byte [esp + 0x14c], 0x24
push dword [edi]
call fcn.004b17b6
add esp, 4
push edi
call fcn.004b17b6
jmp 0x459c64
test dword [esp + 0x84], 0x100
je 0x459c67
push dword [esp + 0x7c]
call fcn.004b1c23
add esp, 4
mov eax, dword [esp + 0x88]
test eax, eax
je 0x459c8e
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 + 0x7c], xmm0
mov byte [esp + 0x14c], 8
movsx eax, byte [esp + 0xcc]
cmp eax, 4
je 0x459cf9
add eax, 0xfffffffa
cmp eax, 1
ja 0x459d15
mov edi, dword [esp + 0xc4]
mov dword [esp + 0xa0], edi
test edi, edi
je 0x459d15
mov byte [esp + 0x14c], 0x32
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.0049fe20
mov byte [esp + 0x14c], 8
push dword [edi]
call fcn.004b17b6
add esp, 4
push edi
call fcn.004b17b6
jmp 0x459d12
test dword [esp + 0xcc], 0x100
je 0x459d15
push dword [esp + 0xc4]
call fcn.004b1c23
add esp, 4
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x459d3c
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 + 0xc4], xmm0
mov byte [esp + 0x14c], 2
movsx eax, byte [esp + 0xe4]
cmp eax, 4
je 0x459daa
add eax, 0xfffffffa
cmp eax, 1
ja 0x459dc6
mov edi, dword [esp + 0xdc]
mov dword [esp + 0xa0], edi
test edi, edi
je 0x459dc6
mov byte [esp + 0x14c], 0x36
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x24]
push eax
call fcn.0049fe20
mov byte [esp + 0x14c], 2
push dword [edi]
call fcn.004b17b6
add esp, 4
push edi
call fcn.004b17b6
jmp 0x459dc3
test dword [esp + 0xe4], 0x100
je 0x459dc6
push dword [esp + 0xdc]
call fcn.004b1c23
add esp, 4
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x459ded
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 + 0xdc], xmm0
mov eax, dword [esp + 0x98]
mov esi, dword [esi]
mov dword [esp + 0x30], esi
cmp esi, dword [eax + 0x30]
jne 0x459260
mov byte [esp + 0x14c], 1
cmp dword [esp + 0x108], 0x10
jb 0x459e30
push dword [esp + 0xf4]
call fcn.004b17b6
add esp, 4
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
mov byte [esp + 0x14c], 0
cmp dword [esp + 0x138], 0x10
jb 0x459e6f
push dword [esp + 0x124]
call fcn.004b17b6
add esp, 4
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], 0
mov byte [esp + 0x124], 0
mov dword [esp + 0x14c], 0xffffffff
cmp dword [esp + 0x120], 0x10
jb 0x459eb1
push dword [esp + 0x10c]
call fcn.004b17b6
add esp, 4
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x144
ret 4