Function at 0x489c60
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x56f0cb
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00462c50
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0
movdqu xmmword [esp + 0x1c], xmm0
movdqu xmmword [esp + 0x2c], xmm0
call fcn.004bf9a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.00487af0
cmp dword [esi + 0x10], 3
mov dword [esp + 0x54], 1
jne 0x489d8f
push dword [esi + 0xc4]
lea ecx, [esp + 0x1c]
push 0x4004
call fcn.004bfa30
cmp dword [esi + 0xc4], 0
je 0x489d1d
mov ecx, dword [esi + 0xc0]
jmp 0x489d1f
xor ecx, ecx
push dword [esi + 0xc4]
add eax, 4
push ecx
push eax
call fcn.0054adf0
add esp, 0xc
lea ecx, [esp + 0x18]
push 0x10
push 0x4008
call fcn.004bfa30
mov ecx, dword [esi + 0x230]
mov edx, eax
mov dword [edx + 4], ecx
mov ecx, dword [esi + 0x234]
mov dword [edx + 8], ecx
lea ecx, [esp + 0x18]
mov eax, dword [esi + 0x58]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], 0
push dword [esi + 0x58]
push 0x4009
call fcn.004bfa30
cmp dword [esi + 0x58], 0
je 0x489d85
mov ecx, dword [esi + 0x54]
push dword [esi + 0x58]
jmp 0x489e6b
push dword [esi + 0x58]
xor ecx, ecx
jmp 0x489e6b
mov eax, dword [0x5a16e8]
test eax, eax
jne 0x489dd3
push 0x34
call fcn.00549e5e
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
mov byte [esp + 0x54], 2
test edi, edi
je 0x489dc7
push 0x34
push 0
push edi
call fcn.0054b440
add esp, 0xc
mov ecx, edi
call fcn.004817e0
jmp 0x489dc9
xor eax, eax
mov byte [esp + 0x54], 1
mov dword [0x5a16e8], eax
imul edi, dword [esi + 0x244], 0x18c
lea ecx, [esp + 0x18]
add edi, dword [eax + 0x18]
push dword [edi + 0x170]
push 0x4004
call fcn.004bfa30
cmp dword [edi + 0x170], 0
je 0x489e05
mov ecx, dword [edi + 0x16c]
jmp 0x489e07
xor ecx, ecx
push dword [edi + 0x170]
add eax, 4
push ecx
push eax
call fcn.0054adf0
add esp, 0xc
lea ecx, [esp + 0x18]
push 0x10
push 0x4008
call fcn.004bfa30
mov ecx, dword [edi + 0x1c]
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
mov ecx, dword [edi + 0x20]
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x18]
mov dword [eax + 0x10], 0
push dword [edi + 0x20]
push 0x4009
call fcn.004bfa30
cmp dword [edi + 0x134], 0
je 0x489e66
mov ecx, dword [edi + 0x130]
jmp 0x489e68
xor ecx, ecx
push dword [edi + 0x20]
push ecx
add eax, 4
push eax
call fcn.0054adf0
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.004c00a0
mov edi, dword [esp + 0x30]
mov edx, dword [esi + 0x218]
mov dword [esp + 0x10], eax
add dword [edi + 4], edx
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x238]
mov edi, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x23c]
mov dword [eax], ecx
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x30]
mov dword [eax], edi
call fcn.004bfb80
mov eax, edi
mov dword [esi + 0x22c], 0
or eax, dword [esi + 0x22c]
mov dword [esi + 0x228], edi
je 0x48a02d
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x40]
push 0
push eax
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
mov eax, dword [edi + 0x354]
movlpd qword [esp + 0x48], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esi + 0x14]
call eax
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x44]
jne 0x489f3b
push eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x18]
lea ecx, [esp + 0x24]
call fcn.0056b080
push eax
push dword [esi + 0x14]
mov eax, dword [edi + 0x348]
call eax
test eax, eax
je 0x48a064
push 0
lea eax, [esp + 0x44]
push eax
push dword [esi + 0x22c]
mov eax, dword [edi + 0x354]
push dword [esi + 0x228]
push dword [esi + 0x14]
call eax
mov eax, dword [esp + 0x40]
cmp eax, dword [esi + 0x228]
jne 0x489ff9
mov eax, dword [esp + 0x44]
cmp eax, dword [esi + 0x22c]
jne 0x489ff9
xor eax, eax
mov dword [esp + 0x10], eax
nop
xor edx, edx
lea ecx, [eax + 0x1000]
cmp edx, dword [esi + 0x21c]
jg 0x489fa1
jl 0x489f9a
cmp ecx, dword [esi + 0x218]
jae 0x489fa1
mov edi, 0x1000
jmp 0x489fa9
mov edi, dword [esi + 0x218]
sub edi, eax
cmp dword [esi + 0x7c], edx
je 0x489fb3
mov ecx, dword [esi + 0x78]
jmp 0x489fb5
xor ecx, ecx
push 0
lea edx, [esp + 0x40]
add eax, ecx
push edx
push edi
push eax
mov eax, dword [esp + 0x1c]
push dword [esi + 0x14]
mov eax, dword [eax + 0x348]
call eax
test eax, eax
je 0x48a064
mov eax, dword [esp + 0x10]
xor ecx, ecx
add eax, edi
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 0x21c]
jg 0x489ff5
jl 0x489f80
cmp eax, dword [esi + 0x218]
jb 0x489f80
mov edi, dword [esp + 0xc]
mov ecx, dword [esi + 0x218]
add ecx, dword [esi + 0x228]
mov eax, dword [esi + 0x21c]
adc eax, dword [esi + 0x22c]
push 0
push 0
push eax
mov eax, dword [edi + 0x354]
push ecx
push dword [esi + 0x14]
call eax
push dword [esi + 0x14]
mov eax, dword [edi + 0x358]
call eax
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], 0xffffffff
call fcn.004bf9c0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0054a992
add esp, 0x4c
ret
mov byte [esp + 0x17], 0
jmp 0x48a032