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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax]
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov edx, dword [edi + 0x14]
mov eax, dword [edx + eax*4]
mov ebx, dword [eax + 0x30]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [edx + ebx*4]
mov ecx, dword [edx + eax*4]
mov edx, ecx
mov eax, dword [edi + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 4]
and eax, 0x1001
cmp eax, 1
jne 0x10194515
mov eax, dword [ebx]
and esi, 0xfff00000
mov dword [ebp - 0xc], eax
and eax, 0x1f
mov dword [ebp - 0x14], eax
mov eax, dword [edx]
mov ecx, eax
and ecx, 0x40
mov dword [ebp - 0x18], ecx
cmp esi, 0x10000000
jne 0x1019436a
or eax, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x30], eax
jmp 0x10194515
and dword [ebp - 0xc], 0x40
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
test eax, 0xe000000
jne 0x101943c8
cmp esi, 0x10100000
je 0x101943b1
cmp esi, 0x10300000
je 0x101943b1
cmp esi, 0x10400000
je 0x101943b1
cmp esi, 0x10d00000
je 0x101943b1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
cmp esi, 0x10e00000
jne 0x101943c8
mov ecx, dword [ebx]
and ecx, 0xe000000
or ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [edx], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
cmp esi, 0x10100000
je 0x10194412
cmp esi, 0x10300000
je 0x101943fa
cmp esi, 0x10400000
je 0x101943f5
cmp esi, 0x10500000
je 0x101943f0
cmp esi, 0x10700000
jne 0x10194433
or dword [edx], 4
jmp 0x10194433
or eax, 4
jmp 0x1019440e
mov eax, dword [ebp - 0x14]
and eax, 0xc
cmp eax, 0xc
jne 0x10194408
push 4
pop eax
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x10194433
mov eax, dword [ebp - 0x14]
mov ecx, eax
shr ecx, 1
and eax, 4
and ecx, 4
add eax, eax
or ecx, eax
mov eax, dword [ebp - 0x14]
and eax, 0xfffffff3
or ecx, eax
or ecx, dword [ebp - 0x20]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x20], eax
mov edi, eax
mov eax, dword [ebx + 4]
mov eax, dword [edi + eax*4]
mov edi, dword [ebp - 0x24]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
test eax, 0x100
je 0x101946ce
cmp dword [ebx + 8], 0xffffffff
jne 0x101946ce
mov eax, 0x10800000
cmp esi, eax
ja 0x101945f5
je 0x101945e8
cmp esi, 0x10100000
je 0x101945de
cmp esi, 0x10300000
je 0x101945bc
cmp esi, 0x10400000
je 0x1019458b
cmp esi, 0x10500000
je 0x10194578
cmp esi, 0x10600000
je 0x1019452e
cmp esi, 0x10700000
jne 0x10194515
test ecx, ecx
jne 0x10194520
fld qword [ebx + 0x20]
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x101944d8
fstp st(1)
push 0x1002dd04
fstp st(0)
push 0xfa3
jmp 0x101944eb
fucompp
fnstsw ax
test ah, 0x44
jp 0x10194520
push 0x1002dca4
push 0xfa1
mov eax, dword [ebp + 8]
push dword [eax + 0x3c]
push edi
call fcn.101a1278
add esp, 0x10
fldz
push ecx
push ecx
fstp qword [esp]
push 0
push 0
push dword [edi + 0x78]
mov ecx, edi
call fcn.101a18b9
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x30], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fld qword [ebx + 0x20]
call sub.msvcrt.dll__CIsqrt
fld1
fdivrp st(1)
jmp 0x101944fc
fldz
test ecx, ecx
jne 0x10194544
fld qword [ebx + 0x20]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x10194544
fstp st(0)
jmp 0x10194515
fld qword [ebx + 0x20]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x10194560
push 0x10036ec4
fstp st(0)
push 0xfa2
jmp 0x101944eb
call sub.msvcrt.dll__CIlog
fstp qword [ebp - 0x34]
fld qword [0x10039c78]
call sub.msvcrt.dll__CIlog
fdivr qword [ebp - 0x34]
jmp 0x101944fc
fld qword [0x10039c78]
fld qword [ebx + 0x20]
call sub.msvcrt.dll__CIpow
jmp 0x101944fc
fld qword [ebx + 0x20]
push ecx
push ecx
fstp qword [esp]
call fcn.1003b8a2
pop ecx
pop ecx
test eax, eax
je 0x101944fa
fld qword [ebx + 0x20]
push ecx
fst qword [ebp - 0x34]
push ecx
fstp qword [esp]
call sub.msvcrt.dll_floor
fsubr qword [ebp - 0x34]
pop ecx
pop ecx
jmp 0x101944fc
test ecx, ecx
jne 0x101945d4
fldz
fld qword [ebx + 0x20]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x101944fc
fstp st(0)
fld1
fdiv qword [ebx + 0x20]
jmp 0x101944fc
fld qword [ebx + 0x20]
fchs
jmp 0x101944fc
fld qword [ebx + 0x20]
call sub.msvcrt.dll__CIsin
jmp 0x101944fc
cmp esi, 0x10900000
je 0x101946c1
cmp esi, 0x10a00000
je 0x10194682
cmp esi, 0x10b00000
je 0x10194643
cmp esi, 0x10c00000
je 0x10194636
cmp esi, 0x10d00000
je 0x101944fa
cmp esi, 0x10e00000
jne 0x10194515
jmp 0x101944fa
fld qword [ebx + 0x20]
call sub.msvcrt.dll__CIatan
jmp 0x101944fc
test ecx, ecx
jne 0x10194664
fld qword [ebx + 0x20]
fld qword [0x10039f30]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x10194671
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x10194673
fld qword [ebx + 0x20]
call sub.msvcrt.dll__CIacos
jmp 0x101944fc
fstp st(0)
push 0x10036edc
push 0xfa6
jmp 0x101944eb
test ecx, ecx
jne 0x101946a3
fld qword [ebx + 0x20]
fld qword [0x10039f30]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x101946b0
fld1
fcompp
fnstsw ax
test ah, 5
jnp 0x101946b2
fld qword [ebx + 0x20]
call sub.msvcrt.dll__CIasin
jmp 0x101944fc
fstp st(0)
push 0x10036ef4
push 0xfa5
jmp 0x101944eb
fld qword [ebx + 0x20]
call sub.msvcrt.dll__CIcos
jmp 0x101944fc
mov eax, dword [ebp - 0x14]
test al, 1
je 0x101946e6
cmp esi, 0x10400000
jne 0x101946e6
push ecx
push ecx
fldz
jmp 0x101944fe
test al, 2
je 0x101946f2
cmp esi, 0x10400000
je 0x101946dd
test al, 8
je 0x10194756
cmp esi, 0x10600000
je 0x10194728
cmp esi, 0x10700000
jne 0x10194756
test ecx, ecx
jne 0x10194515
mov eax, dword [ebp + 8]
push 0x1002dd04
push 0xfa3
push dword [eax + 0x3c]
push edi
call fcn.101a1278
pop ecx
pop ecx
jmp 0x101946df
test ecx, ecx
jne 0x10194515
test al, 4
jne 0x10194515
mov eax, dword [ebp + 8]
push 0x10036ec4
push 0xfa2
push dword [eax + 0x3c]
push edi
call fcn.101a1278
add esp, 0x10
jmp 0x10194515
mov eax, dword [ebp - 0x18]
test eax, 0x200
je 0x10194778
cmp esi, 0x10d00000
je 0x101946dd
cmp esi, 0x10e00000
je 0x101946dd
test ecx, ecx
jne 0x10194515
test al, 2
je 0x10194515
cmp esi, 0x10100000
jne 0x101947a4
mov ecx, dword [ebx + 0x48]
mov eax, dword [edi + 0x18]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
and eax, 0xfff00000
cmp eax, esi
je 0x10194802
cmp esi, 0x10300000
jne 0x101947c0
mov ecx, dword [ebx + 0x48]
mov eax, dword [edi + 0x18]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
and eax, 0xfff00000
cmp eax, esi
je 0x10194802
cmp esi, 0x10500000
jne 0x101947df
mov ecx, dword [ebx + 0x48]
mov eax, dword [edi + 0x18]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
and eax, 0xfff00000
cmp eax, 0x10600000
je 0x10194802
cmp esi, 0x10600000
jne 0x1019484f
mov ecx, dword [ebx + 0x48]
mov eax, dword [edi + 0x18]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
and eax, 0xfff00000
cmp eax, 0x10500000
jne 0x10194515
mov eax, dword [edi + 0x18]
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [eax + 0xc]
cmp edx, ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 8]
jbe 0x10194833
mov eax, dword [eax + 0x10]
mov edi, dword [ebp - 0x1c]
cmp dword [eax], edi
je 0x1019482d
inc ecx
add eax, 4
cmp ecx, dword [ebp - 0x18]
jb 0x10194820
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax + 0xc]
jae 0x1019484f
lfence
mov eax, dword [eax + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x30]
jmp 0x10194362
cmp esi, 0x10300000
jne 0x10194941
mov ecx, dword [edi + 0x18]
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
and eax, 0xfff00000
cmp eax, 0x20500000
jne 0x10194515
mov esi, dword [ecx + 0xc]
xor eax, eax
test esi, esi
je 0x10194897
mov ebx, dword [ecx + 0x10]
mov edx, dword [ebp - 0x1c]
cmp dword [ebx], edx
je 0x10194894
inc eax
add ebx, 4
cmp eax, esi
jb 0x10194888
mov edx, dword [ebp - 8]
mov edi, dword [edi + 0x14]
xor ebx, ebx
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x18], edi
mov edi, esi
shl edi, 2
mov dword [ebp - 0x28], edi
imul edi, esi, 0xfffffffc
mov dword [ebp - 0x30], edi
lea edi, [ecx + eax*4]
add eax, esi
mov dword [ebp - 0x24], edi
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
mov ecx, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edi + 4]
mov eax, dword [ecx + eax*4]
test byte [eax + 4], 2
je 0x1019491c
mov eax, dword [edi + 0x48]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
and eax, 0xfff00000
cmp eax, 0x10700000
jne 0x1019491c
xor esi, esi
cmp dword [ecx + 0xc], esi
jbe 0x10194911
mov eax, dword [ecx + 0x10]
mov edx, dword [ebp - 0x10]
cmp dword [eax], edx
je 0x1019490e
inc esi
add eax, 4
cmp esi, dword [ecx + 0xc]
jb 0x10194901
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
cmp dword [eax + esi*4], ecx
je 0x10194939
mov edi, dword [ebp - 0x24]
inc ebx
mov eax, dword [ebp - 0x1c]
add edi, dword [ebp - 0x28]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], eax
cmp ebx, 2
jb 0x101948be
jmp 0x10194515
mov eax, dword [edi + 0x30]
jmp 0x10194362
cmp esi, 0x10500000
jne 0x10194515
mov eax, dword [ebx + 0x48]
mov ecx, dword [edi + 0x18]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
and eax, 0xfff00000
cmp eax, 0x20500000
jne 0x10194515
mov esi, dword [ecx + 0xc]
xor edx, edx
test esi, esi
je 0x10194983
mov eax, dword [ecx + 0x10]
mov ebx, dword [ebp - 0x1c]
cmp dword [eax], ebx
je 0x10194983
inc edx
add eax, 4
cmp edx, esi
jb 0x10194977
mov eax, esi
xor ebx, ebx
shl eax, 2
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 8]
mov ecx, dword [edi + 0x14]
lea esi, [eax + edx*4]
mov edx, dword [edi + 0x10]
mov eax, dword [esi]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx + 4]
mov eax, dword [edx + eax*4]
test byte [eax + 4], 2
je 0x10194a07
mov eax, dword [ecx + 0x48]
mov ecx, dword [edi + 0x18]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
and eax, 0xfff00000
cmp eax, 0x10600000
jne 0x10194a07
xor edx, edx
cmp dword [ecx + 0xc], edx
jbe 0x101949dd
mov eax, dword [ecx + 0x10]
mov edi, dword [esi]
cmp dword [eax], edi
je 0x101949da
inc edx
add eax, 4
cmp edx, dword [ecx + 0xc]
jb 0x101949cd
mov edi, dword [ebp - 0x24]
mov eax, dword [ecx + 8]
mov ecx, dword [edi + 0x14]
mov eax, dword [eax + edx*4]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
and eax, 0xc
cmp al, 0xc
je 0x101944fa
mov edx, dword [edi + 0x10]
add esi, dword [ebp - 0x30]
inc ebx
cmp ebx, 2
jb 0x10194999
jmp 0x10194515
mov ecx, dword [edi + 0x14]
jmp 0x101949f9