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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax + 0x4c]
mov ebx, dword [eax + 0x44]
mov edi, dword [eax + 0x48]
mov edx, dword [eax + 0x40]
mov dword [esp + 0x30], esi
cmp ebx, esi
mov esi, dword [ecx]
mov dword [esp + 0x2c], edi
mov edi, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov esi, dword [ecx + 4]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x24], edi
mov edi, dword [eax + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], ecx
je 0x100104d9
movzx ecx, byte [eax + 0x14]
movsd xmm0, qword [eax]
imul edi, esi, 0x58
mov edx, dword [eax + 0x10]
mov byte [esp + 7], cl
movzx ecx, byte [eax + 0x24]
movaps xmmword [esp + 0xb0], xmm0
movups xmm0, xmmword [eax + 0x28]
mov dword [esp + 8], edx
mov byte [esp + 6], cl
mov ecx, dword [ebp + 0xc]
movaps xmmword [esp + 0xa0], xmm0
add edi, dword [ecx + 8]
movzx ecx, byte [eax + 0x38]
mov ch, byte [eax + 0x39]
mov eax, dword [eax + 0x20]
mov dword [esp + 0xc], eax
mov eax, edi
mov byte [esp + 5], cl
mov byte [esp + 4], ch
nop word [eax + eax]
mov dword [esp + 0x40], eax
mov eax, dword [ebx]
mov dword [esp + 0x44], esi
mov esi, dword [ebx + 8]
test edx, edx
mov edi, 1
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], eax
mov eax, 1
je 0x100103bb
js 0x1001053f
mov eax, dword [0x10194460]
movzx eax, byte [eax]
push 1
push edx
call fcn.1000d070
add esp, 8
test eax, eax
je 0x1001054b
mov edx, dword [esp + 8]
mov dword [esp + 0x38], ebx
push edx
push dword [esp + 0x18]
mov dword [esp + 0x3c], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x10010400
js 0x1001055a
mov eax, dword [0x10194460]
movzx eax, byte [eax]
push 1
push ebx
call fcn.1000d070
add esp, 8
test eax, eax
je 0x10010566
mov ebx, dword [esp + 0xc]
mov edi, eax
push ebx
push dword [esp + 0x14]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, esi
sub eax, 1
jb 0x10010532
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x78]
push eax
call fcn.10091010
add esp, 0xc
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x34]
movaps xmm0, xmmword [esp + 0xb0]
mov ecx, 0x16
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x94], eax
movzx eax, byte [esp + 7]
mov dword [esp + 0x98], esi
movlps qword [esp + 0x48], xmm0
movaps xmm0, xmmword [esp + 0xa0]
lea esi, [esp + 0x48]
mov byte [esp + 0x5c], al
movzx eax, byte [esp + 6]
mov byte [esp + 0x6c], al
movzx eax, byte [esp + 5]
movups xmmword [esp + 0x80], xmm0
mov byte [esp + 0x9c], al
movzx eax, byte [esp + 4]
mov byte [esp + 0x9d], al
mov eax, dword [esp + 0x40]
mov edi, eax
add eax, 0x58
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
add ebx, 0xc
inc esi
cmp ebx, dword [esp + 0x30]
jne 0x10010370
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100104f6
push 1
push eax
push dword [esp + 0x1c]
call fcn.1000d080
add esp, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1001050d
push 1
push eax
push dword [esp + 0x18]
call fcn.1000d080
add esp, 0xc
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1001052a
shl eax, 2
lea eax, [eax + eax*2]
push 4
push eax
push dword [esp + 0x24]
call fcn.1000d080
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1016fbf4
push 0
push eax
call fcn.100e1b70
xor eax, eax
push dword [esp + 8]
push eax
call fcn.100d0890
mov eax, 1
push dword [esp + 8]
push eax
call fcn.100d0890
xor eax, eax
push dword [esp + 0xc]
push eax
call fcn.100d0890
mov eax, 1
push dword [esp + 0xc]
push eax
call fcn.100d0890
nop word cs:[eax + eax]
nop
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp esi, ebx
je 0x10010637
mov eax, dword [eax + 8]
sub ebx, esi
mov dword [ebp - 0x14], ecx
mov ecx, edx
xor esi, esi
shr ebx, 2
shl ecx, 4
add edx, ebx
mov dword [ebp - 0x10], edx
lea eax, [ecx + eax + 0xc]
mov dword [ebp - 0x18], eax
jmp 0x100105dc
mov edi, dword [ebp - 0x18]
mov dword [edi + esi*4 - 0xc], ecx
mov dword [edi + esi*4 - 8], edx
mov dword [edi + esi*4 - 4], eax
mov dword [edi + esi*4], 0
add esi, 4
dec ebx
je 0x10010631
mov eax, dword [ebp + 8]
mov edx, 1
mov ecx, 0
mov eax, dword [eax + esi]
mov dword [ebp - 0x1c], eax
test eax, eax
mov eax, 0
je 0x100105c0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10041590
add esp, 8
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov edx, 0
mov edi, 1
cmp ecx, 0x80000000
cmove eax, edx
mov edx, dword [ebp - 0x24]
cmove edx, edi
mov edi, 0
cmove ecx, edi
jmp 0x100105c0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret