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

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
call fcn.0048df30
mov eax, dword [0x80e01c]
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x44]
mov eax, dword [eax + 0x40]
push ecx
push edx
push eax
call fcn.0048e690
movsx eax, word [0x532ae2]
mov edx, dword [0x533994]
add esp, 0xc
mov ebp, dword [0x7e70c8]
add eax, 0x1c
mov ebx, 0x7ffa40
mov dword [esp + 0x3c], 0x10
lea ecx, [eax + eax*2]
mov dword [esp + 0x2c], ebx
lea eax, [edx + ecx*8]
mov dword [esp + 0x4c], eax
mov al, byte [ebx - 0xd]
test al, al
je 0x48c024
lea edx, [ebx - 0x40]
mov edi, 0x80d72c
mov ecx, edx
mov esi, edx
mov eax, dword [ecx]
mov dword [0x80d720], eax
mov eax, dword [ecx + 4]
mov dword [0x80d724], eax
lea eax, [ebx - 0x1c]
mov ecx, dword [ecx + 8]
mov dword [0x80d728], ecx
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
mov dword [0x80d75c], ecx
mov ecx, dword [eax + 4]
mov dword [0x80d760], ecx
mov ecx, dword [0x80e01c]
mov eax, dword [eax + 8]
mov dword [0x80d764], eax
mov eax, 0x80d728
mov esi, dword [ecx + 0x40]
mov edi, dword [eax - 8]
sub edi, esi
mov dword [eax - 8], edi
mov esi, dword [ecx + 0x44]
mov edi, dword [eax - 4]
add eax, 0xc
sub edi, esi
mov dword [eax - 0x10], edi
mov esi, dword [ecx + 0x48]
mov edi, dword [eax - 0xc]
sub edi, esi
cmp eax, 0x80d770
mov dword [eax - 0xc], edi
jl 0x48b816
push edx
push 0x80d6a0
push 0x80d720
call fcn.0043aa60
mov eax, dword [0x80d720]
add esp, 0xc
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x6000
jg 0x48c024
mov eax, dword [0x80d724]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x6000
jg 0x48c024
mov eax, dword [0x80d728]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x6000
jg 0x48c024
xor edx, edx
mov dl, byte [ebx]
test edx, edx
mov dword [esp + 0x38], edx
jle 0x48bb0b
mov eax, 0x80d6a4
mov ecx, 0x80d8a8
mov dword [esp + 0x30], edx
mov ebx, dword [ebp + 8]
movsx edx, word [eax - 4]
movsx edi, word [eax - 2]
mov dword [esp + 0x24], ebx
mov ebx, dword [ebp + 4]
mov dword [esp + 0x28], ebx
mov ebx, dword [ebp]
mov dword [esp + 0x20], ebx
imul ebx, edx
mov edx, dword [esp + 0x28]
imul edx, edi
mov edi, dword [ebp + 0xc]
movsx esi, word [eax]
add edx, edi
mov edi, edx
mov edx, dword [esp + 0x24]
imul edx, esi
add edi, ebx
add edx, edi
mov edi, dword [ebp + 0x14]
sar edx, 0xe
mov dword [esp + 0x50], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x1c], edx
mov ebx, edx
movsx edx, word [eax - 4]
imul ebx, edx
movsx edx, word [eax - 2]
mov dword [esp + 0x48], edi
imul edi, edx
mov edx, dword [ebp + 0x1c]
add edi, edx
mov edx, dword [esp + 0x18]
imul edx, esi
add edi, ebx
add edx, edi
mov edi, dword [ebp + 0x24]
sar edx, 0xe
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 0x28]
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x40], edx
mov ebx, edx
movsx edx, word [eax - 4]
imul ebx, edx
movsx edx, word [eax - 2]
mov dword [esp + 0x34], edi
imul edi, edx
mov edx, dword [ebp + 0x2c]
add edi, edx
mov edx, dword [esp + 0x14]
imul edx, esi
add edi, ebx
mov ebx, dword [esp + 0x20]
add edx, edi
movsx edi, word [eax + 6]
sar edx, 0xe
mov dword [esp + 0x58], edx
movsx edx, word [eax + 4]
imul ebx, edx
mov edx, dword [esp + 0x28]
imul edx, edi
mov edi, dword [ebp + 0xc]
movsx esi, word [eax + 8]
add edx, edi
mov edi, edx
mov edx, dword [esp + 0x24]
imul edx, esi
add edi, ebx
mov ebx, dword [esp + 0x48]
add edx, edi
mov edi, dword [esp + 0x1c]
sar edx, 0xe
mov dword [esp + 0x68], edx
movsx edx, word [eax + 4]
imul edi, edx
movsx edx, word [eax + 6]
imul ebx, edx
mov edx, dword [ebp + 0x1c]
add ebx, edx
mov edx, dword [esp + 0x18]
imul edx, esi
add ebx, edi
mov edi, dword [esp + 0x40]
add edx, ebx
sar edx, 0xe
mov dword [esp + 0x6c], edx
movsx edx, word [eax + 4]
imul edi, edx
mov edx, dword [esp + 0x34]
mov ebx, edx
movsx edx, word [eax + 6]
imul ebx, edx
add ebx, dword [ebp + 0x2c]
mov edx, ebx
mov ebx, dword [esp + 0x14]
imul ebx, esi
mov esi, dword [esp + 0x20]
add edx, edi
add ebx, edx
movsx edx, word [eax + 0xc]
imul esi, edx
movsx edi, word [eax + 0xe]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x28]
imul esi, edi
mov edx, dword [ebp + 0xc]
movsx edi, word [eax + 0x10]
add esi, edx
mov edx, dword [esp + 0x24]
imul edx, edi
mov edi, dword [esp + 0x10]
add esi, edi
mov edi, dword [esp + 0x48]
add edx, esi
mov esi, dword [esp + 0x1c]
sar edx, 0xe
mov dword [esp + 0x5c], edx
movsx edx, word [eax + 0xc]
imul esi, edx
movsx edx, word [eax + 0xe]
imul edi, edx
movsx edx, word [eax + 0x10]
mov dword [esp + 0x10], esi
mov esi, dword [ebp + 0x1c]
add edi, esi
mov esi, dword [esp + 0x18]
imul esi, edx
add edi, dword [esp + 0x10]
movsx edx, word [eax + 0xc]
add esi, edi
mov edi, dword [ebp + 0x2c]
sar esi, 0xe
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x40]
imul esi, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], esi
movsx esi, word [eax + 0xe]
imul edx, esi
movsx esi, word [eax + 0x10]
add edx, edi
mov edi, dword [esp + 0x14]
imul edi, esi
add edx, dword [esp + 0x10]
add edi, edx
mov dx, word [esp + 0x50]
mov word [ecx - 0x108], dx
mov dx, word [esp + 0x54]
sar ebx, 0xe
sar edi, 0xe
mov word [ecx - 0x106], dx
mov edx, dword [esp + 0x58]
add eax, 0x18
mov dword [ecx - 8], edx
mov dx, word [esp + 0x68]
mov word [ecx - 0x104], dx
mov dx, word [esp + 0x6c]
mov word [ecx - 0x102], dx
mov dx, word [esp + 0x5c]
mov dword [ecx - 4], ebx
mov word [ecx - 0x100], dx
mov dx, word [esp + 0x60]
mov word [ecx - 0xfe], dx
mov edx, dword [esp + 0x30]
mov dword [ecx], edi
add ecx, 0xc
dec edx
mov dword [esp + 0x30], edx
jne 0x48b8b1
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
lea eax, [edx + edx*2 - 1]
mov edi, 0x80d8a0
test eax, eax
mov dword [esp + 0x30], 0
jle 0x48c024
mov al, byte [ebx - 0xd]
cmp al, 0x10
jae 0x48bb3a
and eax, 0xff
shl eax, 6
sar eax, 4
mov esi, eax
jmp 0x48bb3f
mov esi, 0x40
mov eax, dword [edi]
cmp eax, 0x3000
jle 0x48bb57
mov ecx, 0x5000
sub ecx, eax
imul ecx, esi
sar ecx, 0xd
mov esi, ecx
mov ebx, dword [0x753854]
mov edx, esi
or dh, 0x42
push ebx
mov ebx, dword [edi + 4]
shl edx, 8
movsx ecx, word [edi - 0xfe]
or edx, esi
push ebx
movsx ebx, word [edi - 0xfa]
movsx eax, word [edi - 0x100]
shl edx, 8
or esi, edx
push ebx
movsx edx, word [edi - 0xfc]
mov ebx, dword [edi]
push edx
push ebx
mov ebx, dword [edi + 4]
push ecx
push eax
push ebx
movsx ebx, word [edi - 0xfa]
push ebx
push edx
mov edx, dword [edi]
push edx
push ecx
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.00483770
fld dword [esp + 0xd4]
call fcn.0049da5c
fld dword [esp + 0xd8]
mov dword [esp + 0x50], eax
call fcn.0049da5c
fld dword [esp + 0xf4]
mov dword [esp + 0x4c], eax
call fcn.0049da5c
fld dword [esp + 0xf8]
mov dword [esp + 0x58], eax
call fcn.0049da5c
movsx ecx, word [0x753c10]
fld dword [esp + 0xfc]
movsx edx, word [0x753bec]
mov dword [esp + 0x54], eax
push ecx
movsx eax, word [0x753bbc]
movsx ecx, word [0x753c04]
push edx
push eax
push ecx
call fcn.0049da5c
fld dword [esp + 0xec]
push eax
lea edx, [esp + 0x68]
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.0049da5c
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x70]
push ecx
push edx
call fcn.00486410
add esp, 0x60
test al, al
je 0x48c004
fild dword [esp + 0x18]
mov eax, 0xff000000
push 6
mov dword [esp + 0xb4], eax
mov dword [esp + 0xd4], eax
fstp dword [esp + 0xa0]
fild dword [esp + 0x18]
lea eax, [esp + 0xc0]
lea ecx, [esp + 0xa0]
push eax
push ecx
fstp dword [esp + 0xac]
fild dword [esp + 0x2c]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xd8], esi
fstp dword [esp + 0xc8]
fild dword [esp + 0x28]
fstp dword [esp + 0xcc]
fild dword [edi]
fdivr dword [0x753ba8]
fmul dword [0x753c24]
fst dword [esp + 0xb4]
fst dword [esp + 0xd4]
fmul dword [0x753bf4]
fsubr dword [0x753b9c]
fst dword [esp + 0xb0]
fstp dword [esp + 0xd0]
call dword [0x5339a0]
mov eax, dword [edi]
add esp, 0xc
cmp eax, 0x4000
jg 0x48bd13
mov edx, dword [esp + 0x2c]
xor ebx, ebx
mov ecx, 0x4000
mov bl, byte [edx - 3]
sub ecx, eax
imul ebx, ecx
sar ebx, 0x10
cmp ebx, 4
jge 0x48bd18
mov ebx, 4
mov esi, dword [esp + 0x2c]
xor ecx, ecx
mov al, byte [esi - 0xd]
cmp al, 0x10
jae 0x48bd55
mov cl, byte [esi - 0x10]
and eax, 0xff
imul ecx, eax
sar ecx, 4
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov cl, byte [esi - 0xf]
xor edx, edx
mov dl, byte [esi - 0xe]
imul ecx, eax
mov esi, edx
imul esi, eax
sar ecx, 4
mov dword [esp + 0x24], ecx
sar esi, 4
jmp 0x48bd6c
mov cl, byte [esi - 0xf]
xor eax, eax
mov al, byte [esi - 0x10]
xor edx, edx
mov dl, byte [esi - 0xe]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov esi, edx
mov edx, dword [edi]
cmp edx, 0x3000
jle 0x48bd9f
mov eax, 0x5000
sub eax, edx
mov edx, eax
imul edx, dword [esp + 0x28]
sar edx, 0xd
mov dword [esp + 0x28], edx
mov edx, eax
imul edx, ecx
imul eax, esi
sar edx, 0xd
sar eax, 0xd
mov dword [esp + 0x24], edx
mov esi, eax
mov edx, dword [0x753854]
push edx
mov edx, dword [edi + 4]
push edx
movsx edx, word [edi - 0xfa]
movsx ecx, word [edi - 0xfe]
movsx eax, word [edi - 0x100]
push edx
movsx edx, word [edi - 0xfc]
push edx
mov edx, dword [edi]
push edx
mov edx, dword [edi + 4]
push ecx
push eax
push edx
movsx edx, word [edi - 0xfa]
push edx
movsx edx, word [edi - 0xfc]
push edx
mov edx, dword [edi]
push edx
push ecx
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.00483770
fld dword [esp + 0xd4]
call fcn.0049da5c
fld dword [esp + 0xd8]
mov dword [esp + 0x50], eax
call fcn.0049da5c
fld dword [esp + 0xdc]
mov dword [esp + 0x4c], eax
call fcn.0049da5c
fld dword [esp + 0xf4]
mov dword [esp + 0x48], eax
call fcn.0049da5c
fld dword [esp + 0xf8]
mov dword [esp + 0x58], eax
call fcn.0049da5c
fld dword [esp + 0xfc]
mov dword [esp + 0x54], eax
call fcn.0049da5c
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
sub ecx, eax
push 0x80d720
shl ecx, 8
mov dword [0x80d720], ecx
mov ecx, dword [esp + 0x58]
sub edx, ecx
mov dword [0x80d728], 0
shl edx, 8
mov dword [0x80d724], edx
call fcn.00458830
mov eax, dword [0x80d720]
mov ecx, dword [0x80d724]
mov dword [0x80d728], eax
mov dword [0x80d724], eax
neg ecx
imul eax, ebx
mov edx, dword [esp + 0x4c]
imul ebx, ecx
mov dword [0x80d720], ecx
mov ecx, dword [esp + 0x74]
add ecx, edx
add esp, 0x3c
sar ecx, 1
sar eax, 0xc
sar ebx, 0xc
cmp ecx, 0x40
jle 0x48c004
mov edx, dword [0x753854]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
sub ecx, eax
sub edx, ebx
push ecx
mov ecx, dword [esp + 0x20]
sub ecx, eax
push edx
push ecx
mov ecx, dword [esp + 0x2c]
mov edx, ecx
sub edx, ebx
push edx
mov edx, dword [esp + 0x34]
add edx, eax
push edx
mov edx, dword [esp + 0x3c]
add edx, ebx
add ebx, ecx
push edx
mov edx, dword [esp + 0x34]
add eax, edx
push eax
lea eax, [esp + 0xc0]
push ebx
push eax
call fcn.00483420
mov eax, 0xff000000
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xdc], eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x78]
or esi, 0xffffff00
mov ebx, dword [esp + 0x54]
push 0
fld dword [eax + 8]
fld dword [eax + 0x10]
fld dword [eax + 0x14]
mov dx, word [eax]
mov word [esp + 0xa4], 2
fld st(2)
shl esi, 8
fstp dword [esp + 0xaa]
or esi, ecx
mov ecx, dword [eax + 0xc]
fst dword [esp + 0xae]
fld st(1)
mov word [esp + 0xa6], dx
lea edx, [esp + 0xa4]
fstp dword [esp + 0xb2]
mov eax, ecx
push edx
fstp dword [esp + 0xba]
push 2
mov dword [esp + 0xc6], eax
fstp dword [esp + 0xc2]
shl esi, 8
fstp dword [esp + 0xca]
push 3
push 1
lea eax, [esp + 0xdc]
or esi, ebx
push 0
push eax
mov dword [esp + 0xf4], esi
mov dword [esp + 0x154], esi
mov dword [esp + 0x134], esi
mov dword [esp + 0x114], esi
mov dword [esp + 0x8c], ecx
mov word [esp + 0xc0], 0
mov dword [esp + 0xde], ecx
call fcn.004820b0
add esp, 0x48
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
xor eax, eax
inc ecx
mov al, byte [ebx]
add edi, 4
mov dword [esp + 0x30], ecx
lea edx, [eax + eax*2 - 1]
cmp ecx, edx
jl 0x48bb24
mov eax, dword [esp + 0x3c]
add ebx, 0x44
dec eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], eax
jne 0x48b7b9
mov eax, dword [0x7e70c8]
pop edi
sub eax, 0x30
pop esi
pop ebp
mov dword [0x7e70c8], eax
pop ebx
add esp, 0x10c
ret