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

Disassembly:
push 0xffffffffffffffff
push 0x538993
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x596700]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x596700]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0xac]
xor ecx, ecx
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x38], ecx
cmp ebx, dword [esi + 0x34]
jne 0x48482c
mov edx, dword [esi + 0x4c]
test edx, edx
je 0x48482c
mov eax, dword [esi + 0x44]
cmp eax, 0x20
jne 0x4847c4
add edx, 0xfffffff9
push edx
mov edx, dword [esi + 0x48]
add edx, 4
push edx
mov ecx, esi
push edi
call fcn.00453e03
jmp 0x484a07
cmp eax, 0x10
jne 0x4847d6
lea eax, [edx - 4]
push eax
mov eax, dword [esi + 0x48]
add eax, 2
push eax
jmp 0x4847b7
cmp eax, 8
jne 0x4847e7
lea eax, [edx - 0xc]
push eax
mov eax, dword [esi + 0x48]
add eax, 9
jmp 0x4847d3
cmp eax, 2
jne 0x484810
cmp dword [esi + 0x14], 8
jb 0x4847f6
mov ebx, dword [esi]
jmp 0x4847f8
mov ebx, esi
mov eax, dword [esi + 0x48]
push ecx
mov ecx, esp
lea eax, [ebx + eax*2]
mov dword [ecx], eax
mov ecx, edi
call fcn.00482c8f
pop ecx
jmp 0x484a07
mov ecx, esi
cmp eax, 0x80
jne 0x484826
lea eax, [edx - 3]
push eax
mov eax, dword [esi + 0x48]
add eax, 2
push eax
jmp 0x4847b9
push edx
push dword [esi + 0x48]
jmp 0x4847b9
xor eax, eax
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ecx
mov word [esp + 0x64], ax
mov dword [esp + 0xa0], ecx
mov ecx, ebx
mov eax, dword [esi + 0x58]
sar ecx, 0x10
movzx edx, bx
shl edx, 5
mov ebx, dword [eax + ecx*4]
cmp dword [ebx + edx + 0x14], 0
jne 0x4849ee
mov eax, dword [ebx + edx + 8]
and eax, 0x2fffff
cmp eax, dword [ebx + edx + 4]
je 0x4849ee
mov ecx, dword [ebx + edx + 8]
mov eax, ecx
mov ebp, dword [ebx + edx + 4]
sar eax, 0x16
sub ebp, eax
mov eax, 0x2fffff
and ecx, eax
sub ebp, ecx
mov dword [esp + 0x18], ebp
mov ebp, dword [ebx + edx + 8]
and ebp, eax
add ebp, dword [ebx + edx]
cmp dword [esi + 0x14], 8
jb 0x4848a4
mov eax, dword [esi]
jmp 0x4848a6
mov eax, esi
lea ebx, [eax + ebp*2]
push 0x3c
push ebx
call fcn.0050ceea
mov edx, dword [esp + 0x20]
pop ecx
pop ecx
test eax, eax
je 0x4849ba
sub eax, ebx
sar eax, 1
cmp eax, edx
jge 0x4849ba
cmp dword [esi + 0x14], 8
jb 0x4848d5
mov ecx, dword [esi]
jmp 0x4848d7
mov ecx, esi
mov eax, dword [esi + 0x50]
and dword [esp + 0x1c], 0
or dword [esp + 0x20], 0xffffffff
and dword [esp + 0x5c], 0
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x60], 7
mov word [esp + 0x4c], ax
lea ebx, [edx + ebp]
mov byte [esp + 0xa0], 1
cmp ebp, ebx
jge 0x4849b4
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x1c]
call fcn.00483d91
cmp dword [esp + 0x3c], 2
jne 0x484956
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + eax*2]
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x80]
call fcn.00482c8f
pop ecx
mov byte [esp + 0xa0], 2
jmp 0x484984
cmp dword [esp + 0x3c], 8
jne 0x4849aa
mov eax, dword [esp + 0x44]
mov ecx, esi
add eax, 0xfffffff4
push eax
mov eax, dword [esp + 0x44]
add eax, 9
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00453e03
mov byte [esp + 0xa0], 3
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.00454308
push 0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xa8], 1
call fcn.00451108
cmp dword [esp + 0x24], ebx
jl 0x484917
lea ecx, [esp + 0x4c]
jmp 0x4849e5
cmp dword [esi + 0x14], 8
jb 0x4849c2
mov esi, dword [esi]
push ecx
mov ecx, esp
lea eax, [esi + ebp*2]
mov dword [ecx], eax
lea ecx, [esp + 0x80]
call fcn.00482c8f
pop ecx
push eax
lea ecx, [esp + 0x68]
call fcn.004615ca
lea ecx, [esp + 0x7c]
push 0
push 1
call fcn.00451108
lea eax, [esp + 0x64]
mov ecx, edi
push eax
call fcn.0045056e
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.00451108
mov eax, edi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00508163
add esp, 0x90
ret 8