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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
call fcn.1008a481
xor eax, eax
push ebp
push 0x515ed6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x1019932a
mov al, 1
jmp 0x10199357
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10199349
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x10199349
lea eax, [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 0xc]
call fcn.1008a079
movzx eax, byte [eax]
mov edx, dword [0x6f98f0]
cmp al, byte [edx]
setne al
test al, al
je 0x1019935f
mov al, 1
jmp 0x10199366
cmp dword [ebp + 8], 0x38
setne al
test al, al
je 0x10199374
mov ebx, 0xfffffffa
jmp 0x10199541
lea eax, [esi + 0x18]
call fcn.10089e5d
cmp dword [esi + 0x20], 0
jne 0x1019938e
mov dword [esi + 0x20], 0x515b80
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x1019939b
mov dword [esi + 0x24], 0x515b78
cmp dword [ebp - 4], 0xffffffff
jne 0x101993a8
mov dword [ebp - 4], 6
test edi, edi
jge 0x101993b5
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x101993e9
cmp dword [ebp + 0x14], 9
jg 0x101993e9
cmp dword [ebp - 8], 8
jne 0x101993e9
cmp edi, 8
jl 0x101993e9
cmp edi, 0xf
jg 0x101993e9
cmp dword [ebp - 4], 0
jl 0x101993e9
cmp dword [ebp - 4], 9
jg 0x101993e9
cmp dword [ebp + 0x10], 0
jl 0x101993e9
cmp dword [ebp + 0x10], 2
jle 0x101993f3
mov ebx, 0xfffffffe
jmp 0x10199541
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.1019920d
mov ebx, eax
test ebx, ebx
jne 0x10199414
mov ebx, 0xfffffffc
jmp 0x10199541
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.1019920d
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.1019920d
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.1019920d
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.1019920d
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x101994df
cmp dword [ebx + 0x38], 0
je 0x101994df
cmp dword [ebx + 0x3c], 0
je 0x101994df
cmp dword [ebx + 8], 0
jne 0x101994ff
lea eax, [esi + 0x18]
mov edx, 0x6f9978
mov ecx, 0
call fcn.1008a1b5
mov eax, esi
call fcn.10199921
mov ebx, 0xfffffffc
jmp 0x10199541
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.10199591
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x515edd
lea eax, [ebp + 0xc]
call fcn.10089e5d
ret