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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov edx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [0x10051158]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor esi, esi
lea ecx, [ebp - 0x2c]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ebp - 0x4c], edx
push dword [edx + 8]
call fcn.10001af8
lea eax, [ebp - 0x34]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax - 4], eax
cmp dword [edi], 0x3038
je 0x10001754
lea edi, [ebp - 0x38]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebx + 4]
mov dword [ebp - 0x20], ebx
mov ecx, edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x10040040
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.10001e68
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], esi
cmp dword [ebx + 8], 0x3038
lea ebx, [ebx + 8]
jne 0x10001723
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax]
add eax, 4
mov dword [ebp - 0x4c], eax
cmp esi, eax
je 0x10001a13
mov edi, dword [esi + 0x44]
cmp edi, 0x3038
sete al
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
cmp edx, ecx
je 0x10001905
mov dword [ebp - 0x48], edi
mov byte [ebp - 0x44], 1
mov edi, dword [edx + 0x10]
mov ebx, dword [edx + 0x14]
cmp ebx, 0xffffffff
je 0x100017b9
cmp edi, 0x3141
jg 0x100017c4
lea ecx, [edi - 0x3020]
cmp ecx, 0x22
ja case.0x100017aa.12336
jmp dword [ecx*4 + 0x10040088]
cmp dword [esi + 0x1c], ebx
jmp 0x10001898
mov ch, byte [ebp - 0x44]
and ch, 1
jmp 0x100018c0
cmp edi, 0x3142
je 0x100018a6
cmp edi, 0x3147
je 0x100018ae
cmp edi, 0x348d
jne case.0x100017aa.12336
cmp dword [esi + 0xa8], ebx
jmp 0x100018b4
mov ecx, dword [esi + 0x7c]
jmp 0x10001816
cmp dword [esi + 0x90], ebx
jmp 0x100018b4
mov ecx, dword [esi + 0x8c]
jmp 0x10001816
cmp dword [esi + 0x38], ebx
jmp 0x100018b4
mov ecx, dword [esi + 0x4c]
and ecx, ebx
cmp ecx, ebx
jmp 0x100018b4
cmp dword [ebp - 0x48], ebx
jmp 0x100018b4
cmp dword [esi + 0x54], ebx
jmp 0x10001898
cmp dword [esi + 0x24], ebx
jmp 0x10001898
cmp dword [esi + 0x88], ebx
jmp 0x10001898
cmp dword [esi + 0x68], ebx
jmp 0x100018b4
cmp dword [esi + 0x48], ebx
jmp 0x100018b4
cmp dword [esi + 0x40], ebx
jmp 0x100018b4
cmp dword [esi + 0x70], ebx
jmp 0x100018b4
cmp dword [esi + 0x50], ebx
jmp 0x10001898
cmp dword [esi + 0x30], ebx
jmp 0x10001898
cmp dword [esi + 0x3c], ebx
jmp 0x100018b4
cmp dword [esi + 0x28], ebx
jmp 0x10001898
cmp dword [esi + 0x84], ebx
jmp 0x10001898
cmp dword [esi + 0x20], ebx
jmp 0x10001898
cmp dword [esi + 0x94], ebx
jmp 0x100018b4
cmp dword [esi + 0x34], ebx
jmp 0x10001898
cmp dword [esi + 0x6c], ebx
jmp 0x100018b4
cmp dword [esi + 0x9c], ebx
jmp 0x100018b4
cmp dword [esi + 0x80], ebx
jmp 0x10001898
cmp dword [esi + 0x78], ebx
jmp 0x100018b4
cmp dword [esi + 0x2c], ebx
setge byte [ebp - 0x44]
jmp case.0x100017aa.12330
cmp dword [esi + 0x98], ebx
jmp 0x100018b4
cmp dword [esi + 0xa0], ebx
jmp 0x100018b4
cmp dword [esi + 0xa4], ebx
sete byte [ebp - 0x44]
mov ch, 1
test byte [ebp - 0x44], 1
je 0x10001909
cmp edi, 0x3027
movzx ecx, ch
movzx eax, al
cmove eax, ecx
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x100018e0
mov edi, ebx
mov ebx, dword [ebx]
test ebx, ebx
jne 0x100018d6
jmp 0x100018f6
mov edi, dword [edx + 8]
cmp dword [edi], edx
je 0x100018f6
add edx, 8
mov ecx, dword [edx]
lea edx, [ecx + 8]
mov edi, dword [ecx + 8]
cmp dword [edi], ecx
jne 0x100018ea
mov edx, edi
lea ecx, [ebp - 0x34]
cmp edi, ecx
jne 0x10001788
jmp 0x10001909
mov byte [ebp - 0x44], 1
and al, byte [ebp - 0x44]
test al, 1
je case.0x100017aa.12353
lea eax, [esi + 0x10]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
cmp edi, ebx
jae 0x1000192e
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x28], edi
jmp case.0x100017aa.12353
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
sub edi, eax
mov eax, edi
sar eax, 2
mov ecx, eax
mov dword [ebp - 0x50], eax
inc eax
cmp eax, 0x40000000
jae 0x10001aeb
sub ebx, dword [ebp - 0x44]
mov ecx, ebx
sar ecx, 2
sar ebx, 1
cmp ebx, eax
cmovb ebx, eax
cmp ecx, 0x1fffffff
mov eax, 0x3fffffff
cmovae ebx, eax
test ebx, ebx
je 0x10001991
cmp ebx, 0x40000000
jae 0x10001af3
lea eax, [ebx*4]
push eax
call fcn.10029cb5
add esp, 4
mov dword [ebp - 0x48], eax
jmp 0x10001998
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x48]
mov dword [edx + eax*4], ecx
test edi, edi
jle 0x100019b8
push edi
mov eax, dword [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call fcn.10021370
add esp, 0xc
mov edx, dword [ebp - 0x48]
lea eax, [edx + ebx*4]
mov ecx, dword [ebp - 0x50]
lea ecx, [edx + ecx*4]
add ecx, 4
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x44], 0
je case.0x100017aa.12353
push dword [ebp - 0x44]
call fcn.1001e3ab
add esp, 4
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100019f2
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x100019e8
jmp 0x10001a08
mov eax, dword [esi + 8]
cmp dword [eax], esi
je 0x10001a08
add esi, 8
mov ecx, dword [esi]
lea esi, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x100019fc
mov esi, eax
cmp eax, dword [ebp - 0x4c]
jne 0x10001767
mov edi, dword [ebp + 8]
test edi, edi
je 0x10001aa3
mov ebx, dword [ebp + 0x10]
lea esi, [ebp - 0x40]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.100014fe
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x28]
mov dl, byte [esi + 4]
lea eax, [ebp - 0x18]
mov byte [eax + 4], dl
mov edx, dword [esi]
mov dword [eax], edx
push eax
push ecx
push dword [ebp - 0x44]
call fcn.10001ef4
add esp, 0xc
test ebx, ebx
jle 0x10001aae
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x44], esi
sub esi, ecx
xor eax, eax
dec eax
test esi, esi
cmovns eax, esi
xor edx, edx
inc edx
test eax, eax
cmovle edx, eax
mov eax, ecx
sub eax, dword [ebp - 0x44]
cmp eax, esi
cmovle eax, esi
shr eax, 2
imul eax, edx
xor edx, edx
test eax, eax
cmovs eax, edx
cmp eax, edx
je 0x10001ab0
mov esi, dword [ecx + edx*4]
mov esi, dword [esi + 0x38]
mov dword [edi + edx*4], esi
inc edx
cmp ebx, edx
jne 0x10001a87
mov eax, ebx
jmp 0x10001ab0
xor ebx, ebx
xor eax, eax
jmp 0x10001ab2
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
sar eax, 2
jmp 0x10001ab0
xor eax, eax
mov bl, 1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
lea ecx, [ebp - 0x38]
push dword [ecx + 4]
call fcn.10001e3a
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10001ad5
mov dword [ebp - 0x28], eax
push eax
call fcn.1001e3ab
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e3d8
mov eax, ebx
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
lea ecx, [ebp - 0x2c]
call fcn.1001dcac
call fcn.1002cb4e