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

Disassembly:
push edi
push esi
push ebp
push ebx
mov ebp, dword [esp + 0x14]
sub esp, 0x84
mov dword [esp], ebp
lea eax, [esp + 0x10]
mov dword [esp + 4], 1
lea edx, [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0045dff0
test eax, eax
je 0x48f9d0
mov eax, dword [esp + 0x14]
cmp eax, 0x31000
jb 0x48f468
cmp eax, 0x33001
jbe 0x48f499
mov dword [esp + 0x4c], 2
mov dword [esp], 0x80000004
call fcn.00464470
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.00464480
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
lea edi, [esp + 0x18]
xor eax, eax
mov ecx, 0xd
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esp], ebp
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.0045d5a0
cmp eax, dword [esp + 0x10]
je 0x48f4d1
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
lea eax, [esp + 0x18]
mov dword [esp + 4], 0x34
mov dword [esp], eax
call fcn.00464470
lea eax, [esp + 0x1c]
mov dword [esp + 4], 0xc
mov dword [esp], eax
call fcn.0045e260
lea eax, [esp + 0x28]
mov dword [esp + 4], 0xc
mov dword [esp], eax
call fcn.0045e260
mov edx, dword [0x4f7aa0]
mov eax, dword [esp + 0x3c]
imul edx, dword [esp + 0x40]
imul eax, eax, 0x18
mov ebx, dword [esp + 0x48]
add eax, dword [0x4f7a80]
add edx, eax
mov eax, ebx
and eax, 0xff0000
je 0x48f53d
sar eax, 0x10
mov dword [esp + 0x78], eax
jmp 0x48f566
test ebx, 0x80
je 0x48f550
mov eax, 2
mov dword [esp + 0x78], eax
jmp 0x48f566
test bl, 4
je 0x48f560
mov eax, 1
mov dword [esp + 0x78], eax
jmp 0x48f566
xor eax, eax
mov dword [esp + 0x78], eax
test ebx, 0x1000000
je 0x48fa39
add edx, dword [esp + 0x44]
mov eax, dword [0x504988]
mov dword [esp], edx
mov dword [esp + 0x7c], edx
call dword [eax + 0x130]
mov esi, eax
test esi, esi
je 0x48fa00
mov ecx, dword [esp + 0x7c]
mov edi, esi
xor eax, eax
push ecx
shr ecx, 2
rep stosd dword es:[edi], eax
pop ecx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x4f7a80]
xor edx, edx
add eax, esi
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x5c], eax
mov dword [esi + 4], edx
mov byte [esi + 3], 1
mov byte [esi + 2], dl
mov byte [esi + 1], dl
mov byte [esi], 7
mov dword [esp + 4], ecx
mov dword [esp], esi
call fcn.0048db40
lea eax, [esp + 0x28]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 2
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0048de40
fld dword [0x526ecc]
fmul dword [esp + 0x1c]
fld dword [0x526ed0]
fxch st(1)
fstp dword [esi + 0x44]
fmul dword [esp + 0x20]
fld dword [0x526ed4]
fxch st(1)
fstp dword [esi + 0x48]
fmul dword [esp + 0x24]
mov eax, dword [esp + 0x78]
xor edx, edx
fstp dword [esi + 0x4c]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], edx
mov dword [esi + 0x78], edx
mov dword [esp + 8], edx
mov dword [esp + 4], 8
lea eax, [esp + 0x14]
mov dword [esp], ebp
mov dword [esp + 0xc], eax
call fcn.0045dff0
test eax, eax
je 0x48f93c
mov eax, dword [esp + 0x14]
cmp eax, 0x31000
jb 0x48f65d
cmp eax, 0x33001
jbe 0x48f68e
mov dword [esp + 0x60], 2
mov dword [esp], 0x80000004
call fcn.00464470
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.00464480
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
lea eax, [esi + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00495110
test eax, eax
je 0x48f9dd
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48f776
lea eax, [esp + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], 9
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
call fcn.0045dff0
test eax, eax
je 0x48f753
mov eax, dword [esp + 0x14]
cmp eax, 0x31000
jb 0x48f6eb
cmp eax, 0x33001
jbe 0x48f732
mov dword [esp + 0x68], 2
mov dword [esp], 0x80000004
call fcn.00464470
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.00464480
mov dword [esp], esi
call fcn.0048dbc0
mov dword [esp], esi
mov eax, dword [0x504988]
call dword [eax + 0x134]
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
lea edx, [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov eax, ebp
mov ecx, esi
call fcn.0048e860
mov dword [esi + 0x1c], eax
test eax, eax
je 0x48f95f
jmp 0x48f813
mov dword [esp], esi
call fcn.0048dbc0
mov dword [esp], esi
mov eax, dword [0x504988]
call dword [eax + 0x134]
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
lea eax, [esp + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], 0xa
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
call fcn.0045dff0
test eax, eax
je 0x48f919
mov eax, dword [esp + 0x14]
cmp eax, 0x31000
jb 0x48f7b0
cmp eax, 0x33001
jbe 0x48f7f7
mov dword [esp + 0x70], 2
mov dword [esp], 0x80000004
call fcn.00464470
mov dword [esp + 0x74], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.00464480
mov dword [esp], esi
call fcn.0048dbc0
mov dword [esp], esi
mov eax, dword [0x504988]
call dword [eax + 0x134]
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
lea edx, [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov eax, ebp
mov ecx, esi
call fcn.0048f050
mov dword [esi + 0x1c], eax
test eax, eax
je 0x48f9ba
lea eax, [esi + 0x3c]
lea edx, [esi + 0x3c]
lea ecx, [esi + 0x34]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x3c], edx
lea edx, [esi + 0x2c]
mov dword [esi + 0x38], ecx
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x28], edx
lea edx, [esi + 0x50]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], eax
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.0048d920
mov dword [esp], esi
call fcn.0048d9c0
mov dword [esp], esi
mov dword [esp + 4], 0
call fcn.0048e3a0
mov ecx, dword [esi + 0x14]
xor ebx, ebx
test ecx, ecx
jle 0x48f8a2
mov edi, esi
lea esi, [esi]
lea edi, [edi]
mov eax, dword [edi + 0x10]
mov edx, dword [eax + ebx*4]
mov eax, dword [edx]
test eax, eax
je 0x48f89b
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0048fd20
mov ecx, dword [edi + 0x14]
inc ebx
cmp ebx, ecx
jl 0x48f880
mov esi, edi
mov dword [esp], 0x4f7a80
mov dword [esp + 4], esi
call fcn.004735e0
xor eax, eax
mov dword [esp], 0x4f7a80
mov dword [0x506a84], eax
mov dword [0x506a80], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00476eb0
test eax, eax
je 0x48f997
mov eax, dword [0x506a80]
test eax, eax
je 0x48f900
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [0x506a84]
mov dword [esp], 0x4f7a80
mov dword [esp + 0xc], eax
call fcn.00477080
mov dword [esp], esi
call fcn.0048dc40
test eax, eax
je 0x48f982
add esp, 0x84
mov eax, esi
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.0048dbc0
mov dword [esp], esi
mov eax, dword [0x504988]
call dword [eax + 0x134]
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.0048dbc0
mov dword [esp], esi
mov eax, dword [0x504988]
call dword [eax + 0x134]
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.0048dbc0
mov dword [esp], esi
mov eax, dword [0x504988]
call dword [eax + 0x134]
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.0048df90
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.0048dbc0
mov dword [esp], esi
mov eax, dword [0x504988]
call dword [eax + 0x134]
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.0048dbc0
mov dword [esp], esi
mov eax, dword [0x504988]
call dword [eax + 0x134]
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp], esi
call fcn.0048dbc0
mov dword [esp], esi
mov eax, dword [0x504988]
call dword [eax + 0x134]
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x7c]
mov dword [esp], 0x80000013
mov dword [esp + 0x54], 2
mov dword [esp + 4], eax
call fcn.00464470
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.00464480
add esp, 0x84
xor eax, eax
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, edx
mov edx, dword [esp + 0x38]
lea ecx, [edx*8]
lea ecx, [ecx + edx*4]
add eax, ecx
test bl, 0x10
je 0x48fa53
lea eax, [eax + edx*4]
test bl, 8
je 0x48fa5b
lea eax, [eax + edx*4]
mov ecx, dword [esp + 0x78]
test ecx, ecx
jbe 0x48fa6e
add ecx, ecx
add ecx, ecx
add ecx, ecx
imul ecx, edx
add eax, ecx
mov edx, dword [esp + 0x34]
lea edx, [eax + edx*8]
jmp 0x48f572