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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov eax, dword [edx]
lea esi, [edx + 0x28]
push edi
mov dword [ebx + 0x20], eax
lea edi, [ebx + 0x3c]
mov eax, dword [edx + 4]
push 6
mov dword [ebx + 4], eax
mov eax, dword [edx + 8]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
xor esi, esi
mov dword [ebx + 0x60], eax
mov eax, dword [edx + 0xc]
mov dword [ebx + 0x64], eax
mov eax, 0x101bf378
mov dword [ebx], 0x100064dc
cmp dword [edx + 0x40], esi
jne 0x101001b1
mov eax, 0x101bf3f8
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x34], eax
xor eax, eax
shr edi, 3
cmp dword [ebp + 0xc], eax
mov dword [ebp - 8], edi
setne al
mov dword [ebx + 0x78], edi
cmp dword [edx + 4], 0x29
mov dword [ebx + 0xc], eax
mov eax, dword [edx + 0x4c]
mov dword [ebx + 8], ecx
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x18], eax
je 0x101001ed
cmp dword [edx + 4], 0x28
je 0x101001ed
mov eax, esi
jmp 0x101001f0
xor eax, eax
inc eax
mov dword [ebx + 0x1c], eax
mov eax, dword [edx + 0x48]
mov dword [ebx + 0x10], eax
mov eax, dword [edx + 0x4c]
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x5c], esi
test eax, eax
je 0x10100293
shr eax, 0x10
lea edi, [ebx + 0x24]
movzx eax, al
lea esi, [ebp - 0x24]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
mov eax, dword [edx + 0x4c]
shr eax, 8
movzx eax, al
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fld qword [0x100359f0]
fmul st(1), st(0)
fxch st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [ebp - 0x24]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
mov eax, dword [edx + 0x4c]
movzx eax, al
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fmul st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [ebp - 0x20]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
mov eax, dword [edx + 0x4c]
shr eax, 0x18
mov dword [ebp - 4], eax
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fmul st(1)
fstp dword [ebp - 0x1c]
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fmul qword [ebp - 0x14]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 8]
xor esi, esi
cmp ecx, 2
jne 0x101002a1
cmp dword [edx + 4], 0x3d
je 0x101002ab
mov dword [ebx + 0x10], esi
sub ecx, 3
neg ecx
sbb ecx, ecx
and dword [ebx + 0x10], ecx
mov eax, dword [ebx + 0x48]
sub eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x4c]
mov esi, dword [ebx + 0x44]
sub esi, dword [ebx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x50]
sub eax, ecx
mov dword [ebx + 0x68], esi
mov dword [ebp - 0x10], eax
mov dword [ebx + 0x70], eax
mov eax, edi
imul eax, esi
cmp dword [ebp + 0xc], 0
mov dword [ebx + 0x74], eax
je 0x10100316
mov eax, dword [ebx + 0x3c]
imul ecx, dword [edx + 0xc]
imul eax, edi
mov dword [ebx + 0x44], esi
add ecx, dword [edx]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x40]
imul eax, dword [ebp - 0xc]
add ecx, dword [ebp - 4]
add eax, ecx
xor edi, edi
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x50], eax
jmp 0x10100318
xor edi, edi
cmp dword [edx + 0x44], edi
je 0x1010034e
xor ecx, ecx
lea eax, [esi + 2]
push 0x10
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.100fa56f
mov dword [ebx + 0x5c], eax
test eax, eax
je 0x1010034e
mov ecx, dword [ebx + 0x68]
add ecx, 2
shl ecx, 4
push ecx
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc