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

Disassembly:
mov eax, 0x58
call fcn.10071fa0
mov eax, dword [0x100f51d4]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x64]
push esi
mov dword [esp + 0x18], eax
xor esi, esi
mov eax, dword [esp + 0x70]
push edi
mov dword [esp + 0x10], eax
xor edi, edi
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
test ebx, ebx
jns 0x10067809
mov ebx, 6
mov dword [esp + 0x88], ebx
fld qword [esp + 0x7c]
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
mov eax, dword [esp + 0x8c]
jne 0x1006782b
fchs
mov dword [esp + 0x18], 0x2d
jmp 0x10067845
test al, 2
je 0x10067839
mov dword [esp + 0x18], 0x2b
jmp 0x10067845
test al, 4
je 0x10067845
mov dword [esp + 0x18], 0x20
fld st(0)
call fcn.10072090
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmp ebx, 9
jle 0x10067865
mov ebx, 9
mov dword [esp + 0x88], ebx
fld1
mov eax, ebx
fld st(0)
fld qword [0x100e76f0]
test ebx, ebx
je 0x1006787c
fmul st(1), st(0)
sub eax, 1
jne 0x10067875
fld st(1)
call fcn.10072090
mov ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fsubp st(2)
fld qword [0x100cf188]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jp 0x100678b1
inc ecx
mov dword [esp + 0x2c], ecx
mov eax, ebx
test ebx, ebx
je 0x100678be
fmul st(2), st(0)
sub eax, 1
jne 0x100678b7
fstp st(0)
fild dword [esp + 0x24]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fsubp st(3)
fxch st(2)
fmulp st(1)
fld st(0)
call fcn.10072090
mov ebx, eax
mov dword [esp + 0x24], ebx
fild dword [esp + 0x24]
fstp qword [esp + 0x24]
fsub qword [esp + 0x24]
fcompp
fnstsw ax
test ah, 1
jne 0x100678f5
inc ebx
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jl 0x10067903
inc dword [esp + 0x20]
sub ebx, eax
mov ebp, dword [esp + 0x20]
jmp 0x10067910
mov eax, 0x66666667
mov dword [esp + 0x24], esi
imul ebp
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
add eax, eax
sub ebp, eax
mov al, byte [ebp + str.0123456789]
mov ebp, ecx
mov byte [esp + esi + 0x3c], al
inc esi
test ebp, ebp
je 0x10067942
cmp esi, 0x14
jl 0x10067910
cmp dword [esp + 0x24], 0x13
jne 0x10067950
mov esi, 0x13
jmp 0x10067959
cmp esi, 0x14
jae 0x10067bb7
mov ebp, dword [esp + 0x88]
mov byte [esp + esi + 0x3c], 0
mov eax, 0x66666667
mov dword [esp + 0x24], edi
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
add eax, eax
sub ebx, eax
mov al, byte [ebx + str.0123456789]
mov ebx, ecx
mov byte [esp + edi + 0x50], al
inc edi
cmp edi, ebp
jl 0x10067965
cmp dword [esp + 0x24], 0x13
mov ebp, dword [esp + 0x30]
jne 0x100679a4
mov edi, 0x13
jmp 0x100679ad
cmp edi, 0x14
jae 0x10067bb7
mov ecx, dword [esp + 0x84]
xor eax, eax
cmp dword [esp + 0x18], eax
mov edx, 0
mov byte [esp + edi + 0x50], 0
setne al
sub ecx, eax
mov eax, dword [esp + 0x88]
sub ecx, esi
sub ecx, eax
sub eax, edi
sets dl
xor ebx, ebx
dec edx
and edx, eax
mov eax, dword [esp + 0x8c]
add ecx, 0xffffffff
mov dword [esp + 0x20], edx
sets bl
dec ebx
and ebx, ecx
test al, 1
je 0x100679f8
neg ebx
and eax, 0x10
test ebx, ebx
jle 0x10067a8a
test eax, eax
je 0x10067a66
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10067a36
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x28]
push ebp
call fcn.100676f0
add esp, 0x14
test eax, eax
je 0x10067ba2
dec ebx
mov dword [esp + 0x18], 0
test ebx, ebx
jle 0x10067a8a
lea ebx, [ebx]
push 0x30
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x28]
push ebp
call fcn.100676f0
add esp, 0x14
test eax, eax
je 0x10067ba2
dec ebx
test ebx, ebx
jg 0x10067a40
jmp 0x10067a8a
push 0x20
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x28]
push ebp
call fcn.100676f0
add esp, 0x14
test eax, eax
je 0x10067ba2
dec ebx
test ebx, ebx
jg 0x10067a66
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10067ab0
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x28]
push ebp
call fcn.100676f0
add esp, 0x14
test eax, eax
je 0x10067ba2
test esi, esi
jle 0x10067adc
movsx eax, byte [esp + esi + 0x3b]
dec esi
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x28]
push ebp
call fcn.100676f0
add esp, 0x14
test eax, eax
je 0x10067ba2
test esi, esi
jg 0x10067ab4
cmp dword [esp + 0x88], 0
jg 0x10067af0
test byte [esp + 0x8c], 8
je 0x10067b37
mov esi, dword [esp + 0x1c]
push 0x2e
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
push ebp
call fcn.100676f0
add esp, 0x14
test eax, eax
je 0x10067ba2
test edi, edi
jle 0x10067b3b
movsx eax, byte [esp + edi + 0x4f]
dec edi
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
push ebp
call fcn.100676f0
add esp, 0x14
test eax, eax
je 0x10067ba2
test edi, edi
jg 0x10067b14
jmp 0x10067b3b
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x20], 0
mov edi, dword [esp + 0x10]
jle 0x10067b68
push 0x30
push dword [esp + 0x18]
push edi
push esi
push ebp
call fcn.100676f0
add esp, 0x14
test eax, eax
je 0x10067ba2
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
test eax, eax
jg 0x10067b46
test ebx, ebx
jns 0x10067b8a
lea esp, [esp]
push 0x20
push dword [esp + 0x18]
push edi
push esi
push ebp
call fcn.100676f0
add esp, 0x14
test eax, eax
je 0x10067ba2
add ebx, 1
js 0x10067b70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10071699
add esp, 0x58
ret
mov ecx, dword [esp + 0x64]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10071699
add esp, 0x58
ret
call fcn.1007180a
int3