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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10285008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0xd0
push 0
push esi
mov edi, edx
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x14]
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x101ffbd2
add eax, 8
jmp 0x101ffbd5
add eax, 7
mov ecx, dword [ebx + 0x18]
test ecx, 0x40000
je 0x101ffbe1
inc eax
test cl, 4
je 0x101ffbe9
add eax, 2
lea edx, [edi + 0x78]
cmp dword [edx], edx
je 0x101ffbf1
inc eax
lea edx, [edi + 0x80]
cmp dword [edx], edx
je 0x101ffbfc
inc eax
test ecx, 0x800
je 0x101ffc05
inc eax
test ecx, 0x1000
je 0x101ffc0e
inc eax
and dword [esi + 4], 0
mov edx, esi
mov dword [esi], eax
imul eax, eax, 0xc
push 0x20
pop ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
add eax, ecx
mov ecx, ebx
mov dword [esi + 0x14], eax
call fcn.101ff94a
test eax, eax
jne 0x101ffe99
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x18]
cmp dword [ebp + 0xc], 0
mov dword [esi + 0x20], eax
lea ecx, [eax + 0x340]
mov dword [esi + 0x24], ecx
je 0x101ffc61
mov eax, dword [ebx + 0x54]
add dword [esi + 0x90], eax
mov dword [esi + 0x28], 0xa8
mov eax, dword [esi + 0x28]
mov edx, edi
add eax, ecx
mov ecx, ebx
push esi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
call fcn.101fed34
test eax, eax
jne 0x101ffe99
push esi
mov edx, edi
mov ecx, ebx
call fcn.101fee48
test eax, eax
jne 0x101ffe99
lea eax, [edi + 0x78]
cmp dword [eax], eax
je 0x101ffca8
mov edx, esi
mov ecx, edi
call fcn.101feeff
test eax, eax
jne 0x101ffe99
lea edx, [edi + 0x80]
mov ecx, dword [edx]
cmp ecx, edx
je 0x101ffce1
and dword [ebp - 8], 0
mov esi, dword [ebp - 8]
lea eax, [ecx - 0x24]
add esi, 0x28
mov eax, dword [eax + 0x18]
imul eax, dword [ebx + 0x70]
mov ecx, dword [ecx]
add eax, dword [ebx + 0x6c]
add esi, eax
cmp ecx, edx
jne 0x101ffcbb
mov eax, esi
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
add eax, 0x18
add dword [esi + 0x64], eax
test dword [ebx + 0x18], 0x40000
je 0x101ffd09
push esi
mov edx, edi
call fcn.101fef62
test eax, eax
je 0x101ffd17
and dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0x10
jmp 0x101ffd17
and dword [esi + 0xc8], 0
and dword [esi + 0xc4], 0
test dword [ebx + 0x18], 0x100
je 0x101ffd2f
cmp dword [edi + 0x10], 0
je 0x101ffd2f
mov edx, edi
mov ecx, ebx
call fcn.10205959
lea ecx, [edi + 0x68]
mov eax, dword [ecx]
cmp eax, ecx
je 0x101ffd67
mov esi, eax
lea eax, [esi - 0xa4]
mov edx, edi
push dword [eax + 0x90]
mov esi, dword [esi]
mov ecx, ebx
push dword [eax + 0x8c]
push dword [eax + 0x88]
call fcn.1020c0fd
lea eax, [edi + 0x68]
cmp esi, eax
jne 0x101ffd3a
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x30]
xor edx, edx
add ecx, dword [esi + 0x2c]
mov eax, dword [edi + 0x8c]
add dword [esi + 0x78], eax
mov eax, dword [edi + 0x88]
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x44], ecx
add ecx, dword [esi + 0x40]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], ecx
add ecx, dword [esi + 0x4c]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x5c], ecx
add ecx, dword [esi + 0x58]
shl eax, 4
add dword [esi + 0x6c], eax
mov eax, dword [esi + 0x84]
mov dword [esi + 0x60], ecx
add ecx, dword [esi + 0x64]
mov dword [esi + 0xc0], ecx
add ecx, dword [esi + 0xc4]
add eax, ecx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x88], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x94], eax
test ecx, ecx
je 0x101ffde9
mov eax, dword [ebp + 0x10]
add eax, 4
add edx, dword [eax]
lea eax, [eax + 0xc]
dec ecx
jne 0x101ffde1
mov edi, dword [ebp + 0x18]
mov ecx, dword [edi]
jmp 0x101ffe16
lea eax, [ecx - 8]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x101ffe16
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
add eax, 4
add edx, dword [eax]
lea eax, [eax + 0xc]
dec dword [ebp - 8]
jne 0x101ffe0c
cmp ecx, edi
jne 0x101ffdf0
mov edi, dword [esi + 0x90]
add edi, dword [ebp - 0x10]
mov eax, dword [ebx + 0x18]
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edx
and eax, 2
je 0x101ffe67
test ecx, ecx
jne 0x101ffe43
cmp dword [esi + 0x78], ecx
jbe 0x101ffe67
mov eax, dword [ebx + 0x14]
push 0x100a66dc
push 4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x102dc578]
call esi
add esp, 0xc
mov eax, 0x80070057
jmp 0x101ffe99
neg eax
sbb eax, eax
and dword [esi + 0xa4], 0
and eax, 0xc
add eax, 4
add ecx, eax
lea eax, [edi + edx]
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
add eax, ecx
mov dword [esi + 0x74], eax
mov dword [esi + 0x7c], eax
add eax, dword [esi + 0x78]
mov dword [esi + 0xa0], eax
xor eax, eax
mov dword [esi + 0x6c], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10236010
mov esp, ebp
pop ebp
ret 0x14