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

Disassembly:
push 0xffffffffffffffff
push 0x10162cfd
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x180]
mov esi, dword [esp + 0x184]
mov ebp, dword [esp + 0x19c]
xor edi, edi
mov dword [esp + 0x24], edi
mov ecx, 0xf
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
mov dword [esp + 0x178], 1
cmp dword [esi + 0x228], edi
je 0x1004895b
mov dword [esi + 0x224], 0x102bfd28
jmp 0x1004896d
lea eax, [esi + 0x90]
mov dword [esi + 0x224], eax
mov dword [esi + 0x228], edi
fld qword [0x1016b9a0]
fld qword [esp + 0x1a0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x10048ea9
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x10048ea9
mov edi, dword [esp + 0x188]
mov edx, dword [esi + 0x224]
xor ecx, ecx
cmp dword [edx + edi*4], ecx
jne 0x10048a00
push 0xffffffffffffffff
fstp st(0)
mov esi, 0xf
mov dword [ebx + 0x14], ecx
push ecx
mov dword [ebx + 0x18], esi
lea eax, [esp + 0x40]
mov byte [ebx + 4], cl
push eax
mov ecx, ebx
call fcn.10009790
mov dword [esp + 0x24], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x100489ef
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.100ee438
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
jmp 0x10048ef4
fld qword [0x1016b960]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx edx, word [esp + 0x18]
mov word [esi + edi*4 + 0x22c], dx
fldcw word [esp + 0x14]
fmul qword [0x1016b998]
fnstcw word [esp + 0x14]
fadd qword [0x1016b948]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
mov ax, 0xb
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx edx, word [esp + 0x18]
sub ax, dx
mov word [esi + edi*4 + 0x22e], ax
fldcw word [esp + 0x14]
jne 0x10048a7d
mov word [esi + edi*4 + 0x22e], cx
jmp 0x10048a8d
cmp ax, 3
jb 0x10048a8d
mov word [esi + edi*4 + 0x22e], 3
push 0x9c41
call fcn.100ff4c8
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x10048acc
lea eax, [esp + 0x38]
push eax
mov ecx, ebx
call fcn.10009a70
mov dword [esp + 0x24], 1
mov byte [esp + 0x178], 0
lea ecx, [esp + 0x38]
call fcn.10006120
jmp 0x10048ef9
push 0xbb80
mov dword [esp + 0x24], 0
call fcn.100ff4c8
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x10048afd
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100ff58b
add esp, 4
lea edx, [esp + 0x38]
push edx
jmp 0x10048aa7
mov eax, dword [esp + 0x14]
push 0x9c41
push 0
push eax
call fcn.101004d0
mov ecx, dword [esp + 0x28]
push 0xbb80
push 0
push ecx
call fcn.101004d0
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x1b4]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x1b4]
push ecx
mov ecx, dword [esp + 0x1b4]
push ebp
push edx
mov edx, dword [esp + 0x1b8]
push eax
push ecx
push edx
push edi
lea ecx, [esp + 0x68]
call fcn.10046340
add esp, 0x3c
test eax, eax
jne 0x10048b81
mov eax, dword [esp + 0x14]
push eax
call fcn.100ff58b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100ff58b
add esp, 8
lea edx, [esp + 0x38]
push edx
jmp 0x10048aa7
push 0x1016b5d0
push ebp
call fcn.101022f0
mov ecx, eax
add esp, 8
test ecx, ecx
mov dword [esp + 0x54], eax
je 0x10048ba0
add ecx, 1
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x1a8]
test eax, eax
jne 0x10048d1f
mov eax, dword [esp + 0x20]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x18], ebp
jle 0x10048e2d
mov eax, dword [esp + 0x1c]
add eax, 0xffffffee
mov dword [esp + 0x28], eax
jmp 0x10048bd8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x10048c29
test ebp, ebp
jle 0x10048c29
movzx esi, word [eax]
movzx edx, word [eax - 4]
add edx, esi
movzx esi, word [eax + 0x14]
cmp esi, edx
jl 0x10048c29
mov edx, ecx
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x10048bf3
mov edi, dword [esp + 0x14]
sub ecx, edx
mov ebp, ecx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x10048c07
mov eax, dword [esp + 0x28]
mov ecx, ebp
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + 0x1a]
mov edx, ecx
mov edi, edi
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x10048c30
mov edi, dword [esp + 0x14]
sub ecx, edx
mov esi, edx
mov edx, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10048c46
add dword [esp + 0x28], 0x18
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebp, 1
and ecx, 3
cmp ebp, dword [esp + 0x20]
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x18], ebp
jl 0x10048bd0
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x10048e2d
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov bl, 0x25
lea ebx, [ebx]
movzx eax, word [ebp + 2]
movzx ecx, word [ebp]
add eax, dword [esp + 0x30]
add ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x64], 0x7c
mov byte [esp + 0x65], bl
mov byte [esp + 0x66], 0x64
mov byte [esp + 0x67], 0x2c
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], 0x64
mov byte [esp + 0x6a], 0
call fcn.101012b0
lea eax, [esp + 0x7c]
add esp, 0x10
mov ecx, eax
jmp 0x10048ce0
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10048ce0
mov edi, dword [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10048cf4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
add ebp, 0x18
sub dword [esp + 0x18], 1
rep movsb byte es:[edi], byte [esi]
jne 0x10048c90
jmp 0x10048e29
cmp eax, 1
jne 0x10048e2d
xor ebp, ebp
cmp dword [esp + 0x20], ebp
jle 0x10048e2d
mov bl, 0x25
test ebp, ebp
mov eax, dword [esp + 0x1c]
jne 0x10048d83
movzx ecx, word [eax + 2]
movzx edx, word [eax]
add ecx, dword [esp + 0x30]
add edx, dword [esp + 0x2c]
push ecx
add eax, 8
push edx
push eax
mov byte [esp + 0x60], bl
mov byte [esp + 0x61], 0x73
mov byte [esp + 0x62], 0x24
mov byte [esp + 0x63], bl
mov byte [esp + 0x64], 0x64
mov byte [esp + 0x65], 0x24
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], 0x64
mov byte [esp + 0x68], 0
lea eax, [esp + 0x60]
jmp 0x10048dd3
lea edx, [ebp + ebp*2]
movzx ecx, word [eax + edx*8 + 2]
add ecx, dword [esp + 0x30]
lea eax, [eax + edx*8]
movzx edx, word [eax]
add edx, dword [esp + 0x2c]
push ecx
add eax, 8
push edx
push eax
mov byte [esp + 0x6c], 0x7c
mov byte [esp + 0x6d], bl
mov byte [esp + 0x6e], 0x73
mov byte [esp + 0x6f], 0x24
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], 0x64
mov byte [esp + 0x72], 0x24
mov byte [esp + 0x73], bl
mov byte [esp + 0x74], 0x64
mov byte [esp + 0x75], 0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.101012b0
lea eax, [esp + 0x80]
add esp, 0x14
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10048df0
mov edi, dword [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10048e04
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
add ebp, 1
cmp ebp, dword [esp + 0x20]
rep movsb byte es:[edi], byte [esi]
jl 0x10048d36
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10048e36
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.100098b0
push esi
call fcn.100ff58b
mov edx, dword [esp + 0x20]
push edx
call fcn.100ff58b
add esp, 8
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [esp + 0x40]
mov esi, 0xf
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x14], edi
push eax
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.10009790
mov dword [esp + 0x24], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x10048ea3
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.100ee438
add esp, 4
mov dword [esp + 0x50], esi
jmp 0x10048ef0
push 0xffffffffffffffff
fstp st(0)
mov dword [ebx + 0x18], ecx
push edi
lea edx, [esp + 0x40]
mov dword [ebx + 0x14], edi
push edx
mov ecx, ebx
mov byte [ebx + 4], 0
call fcn.10009790
mov dword [esp + 0x24], 1
mov byte [esp + 0x178], 0
cmp dword [esp + 0x50], 0x10
jb 0x10048ee8
mov eax, dword [esp + 0x3c]
push eax
call fcn.100ee438
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
mov eax, ebx
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.100ffa66
add esp, 0x168
ret