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

Disassembly:
push 0xffffffffffffffff
push 0x6258ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
mov eax, dword [0x646d58]
push ebx
mov ebx, dword [esp + 0xe8]
push ebp
mov ebp, ecx
push esi
mov ecx, eax
lea edx, [esp + 0x40]
push edi
mov dword [esp + 0x44], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
call fcn.0049e360
mov eax, dword [ebx + 0x10]
xor edx, edx
lea edi, [esp + 0x74]
mov ecx, dword [eax]
cmp dword [ecx + 0x10], 3
setne dl
dec edx
and ecx, edx
mov dword [esp + 0x24], ecx
lea esi, [ecx + 0x498]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x74]
push eax
push eax
mov dword [esp + 0x28], eax
call fcn.0049bcd0
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x78]
call fcn.0049bc40
mov ecx, ebx
call fcn.0049dcc0
mov edx, dword [ebp]
push eax
mov ecx, dword [edx + 0x24]
call fcn.00490db0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 4]
xor esi, esi
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], esi
cmp eax, 1
mov dword [esp + 0x3c], eax
jne 0x4b9178
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x494]
test eax, eax
je 0x4b9178
mov eax, dword [ebx + 0x38]
lea edx, [eax + eax*4]
shl edx, 2
push edx
call fcn.004865f0
mov edi, eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x14], edi
add esp, 4
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
mov edx, ecx
mov esi, dword [esp + 0x10]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x38]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x18], ecx
jle 0x4b94a3
cmp eax, 1
jne 0x4b9193
mov ebx, dword [ebx + 0x3c]
jmp 0x4b9199
mov eax, dword [ebx + 0x3c]
mov ebx, dword [eax + ecx*4]
cmp ebx, 0xffffffff
je 0x4b9482
test ecx, ecx
je 0x4b91ba
mov edx, dword [esp + 0xf4]
mov eax, dword [edx + 0x40]
fld dword [eax + ecx*4 - 4]
fstp dword [esp + 0x28]
jmp 0x4b91c2
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], 0
call fcn.0049ba20
mov ecx, dword [esp + 0x24]
push ebx
call fcn.004a5250
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4b9482
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x28]
mov ecx, 6
lea esi, [esp + 0x74]
lea edi, [esp + 0x5c]
push edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x60]
call fcn.0049bc40
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 8]
test eax, eax
je 0x4b93bd
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4b9282
mov edi, dword [esp + 0x18]
test edi, edi
jle 0x4b926d
lea eax, [edi + edi*4]
lea esi, [ebx + eax*4]
mov eax, dword [esi]
test eax, eax
je 0x4b926a
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
push ecx
mov ecx, dword [eax + 0x24]
sub edx, ecx
mov ecx, dword [eax + 0x28]
push edx
mov edx, dword [esi + 4]
add ecx, edx
push ecx
mov ecx, dword [ebp + 4]
push eax
call fcn.004919e0
dec edi
jne 0x4b9244
push ebx
call fcn.00486620
mov esi, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x10], 0
cmp dword [esi], 0
jne 0x4b935b
mov edx, dword [esp + 0xf4]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4b935b
mov eax, dword [esi + 8]
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x4b935b
mov eax, ebx
mov ebx, dword [ebx]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x4b92f6
push 0x1c
call fcn.00486570
mov esi, eax
add esp, 4
mov dword [esp + 0x40], esi
xor eax, eax
cmp esi, eax
mov dword [esp + 0xec], eax
je 0x4b92df
mov ecx, esi
call fcn.004acff0
mov eax, esi
mov dword [edi + 0xc], eax
mov dword [esp + 0xec], 0xffffffff
mov dword [eax + 0x18], 1
jmp 0x4b9345
mov ecx, dword [eax + 0x18]
cmp ecx, 1
jle 0x4b9345
dec ecx
push 0x1c
mov dword [eax + 0x18], ecx
call fcn.00486570
mov esi, eax
add esp, 4
mov dword [esp + 0x40], esi
test esi, esi
mov dword [esp + 0xec], 1
je 0x4b932e
mov eax, dword [edi + 0xc]
mov ecx, esi
push eax
call fcn.004ad070
jmp 0x4b9330
xor esi, esi
mov dword [edi + 0xc], esi
mov dword [esp + 0xec], 0xffffffff
mov dword [esi + 0x18], 1
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
test ebx, ebx
mov dword [edi + 8], ecx
jne 0x4b92ab
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
lea edx, [esp + 0x5c]
push 0
push edx
push eax
push ecx
lea ecx, [esp + 0xd8]
call fcn.00491ac0
mov ecx, dword [ebp + 4]
mov dword [esp + 0xec], 2
call fcn.00491020
mov edx, dword [esi + 8]
lea ecx, [esp + 0xc8]
push edx
call fcn.00491ba0
mov ecx, dword [ebp + 4]
call fcn.00491030
lea ecx, [esp + 0xc8]
mov dword [esp + 0xec], 0xffffffff
call fcn.00491b20
jmp 0x4b9482
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4b9482
cmp dword [esp + 0x3c], 1
jne 0x4b943b
mov eax, dword [esp + 0x24]
mov ecx, ebp
push eax
call fcn.004b9690
lea ecx, [esp + 0x5c]
push ecx
push ebx
mov ecx, eax
call fcn.004b9770
mov edx, dword [esp + 0x6c]
mov esi, eax
push edx
call fcn.0049bfa0
mov edi, eax
mov eax, dword [esp + 0x74]
push eax
call fcn.0049bfa0
mov ecx, dword [esp + 0x18]
add esp, 8
test ecx, ecx
je 0x4b941f
mov edx, dword [esp + 0x18]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
jmp 0x4b9482
mov edx, dword [esi + 0x24]
mov ecx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esi + 0x28]
push ecx
mov ecx, dword [ebp + 4]
add edx, edi
push eax
push edx
push esi
call fcn.004919e0
jmp 0x4b9482
add esi, 0xc
mov ecx, 6
lea edi, [esp + 0xb0]
lea eax, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0xb4]
call fcn.0049bc40
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0xb4]
push 0
push ecx
mov ecx, dword [eax + 0x24]
push 0xff
push edx
push ecx
mov ecx, ebp
call fcn.004c7000
mov edx, dword [esp + 0xf4]
mov ecx, dword [esp + 0x18]
inc ecx
mov ebx, edx
mov eax, dword [edx + 0x38]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x4b9189
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4b9595
mov eax, dword [ebx + 0x38]
push 0
push eax
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.004b95b0
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
add esp, 0x10
sub edx, ecx
sub eax, edi
lea ecx, [esp + 0x8c]
push 0
push 0x108
push edx
push eax
call fcn.004b3500
push 0
lea ecx, [esp + 0x90]
mov dword [esp + 0xf0], 3
call fcn.004b3a30
mov eax, dword [ebx + 0x38]
xor edi, edi
test eax, eax
jle 0x4b9556
mov eax, dword [esi]
test eax, eax
je 0x4b9547
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [eax + 0x24]
sub ecx, edx
mov edx, dword [esp + 0x44]
sub ecx, edx
mov edx, dword [eax + 0x28]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esi + 4]
sub edx, eax
add edx, ecx
lea ecx, [esp + 0xa4]
push edx
call fcn.004b3d50
mov eax, dword [ebx + 0x38]
inc edi
add esi, 0x14
cmp edi, eax
jl 0x4b950a
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x94]
push edx
push eax
call fcn.004919e0
push esi
call fcn.00486620
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0xec], 0xffffffff
call fcn.004b35c0
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe0
ret 4