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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100edb49
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x101401a0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x101401a0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x54], eax
mov al, byte [ebp + 0x1c]
mov byte [esp + 0x50], al
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.10014064
xor ebx, ebx
push eax
mov dword [esp + 0xac], ebx
call fcn.10012172
or dword [esp + 0xac], 0xffffffff
pop ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
cmp ecx, ebx
je 0x10017e8e
call fcn.100140ab
push eax
call fcn.1001408e
pop ecx
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x78]
push eax
call fcn.10011895
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xa8], 1
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [esp + 0x58]
mov byte [esp + 0x4c], al
call fcn.10002d18
mov byte [esp + 0xa8], 2
mov al, byte [esi]
cmp al, 0x2b
je 0x10017ed3
mov dword [esp + 0x44], ebx
cmp al, 0x2d
jne 0x10017edb
mov dword [esp + 0x44], 1
call fcn.100a8540
mov eax, dword [eax]
push dword [esp + 0x18]
mov al, byte [eax]
push 0x65
push esi
mov byte [esp + 0x40], al
mov word [esp + 0x41], 0x65
call fcn.100a3510
add esp, 0xc
push dword [esp + 0x18]
mov dword [esp + 0x18], eax
movsx eax, byte [esp + 0x38]
push eax
push esi
call fcn.100a3510
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x10017f21
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x90], 0x10
mov eax, dword [esp + 0x7c]
jae 0x10017f33
lea eax, [esp + 0x7c]
cmp byte [eax], 0x7f
je 0x10018070
cmp dword [esp + 0x90], 0x10
mov eax, dword [esp + 0x7c]
jae 0x10017f4e
lea eax, [esp + 0x7c]
cmp byte [eax], 0
jle 0x10018070
push dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push esi
call fcn.10002776
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x10017f7e
push 0x30
push dword [esp + 0x24]
lea ecx, [esp + 0x60]
call fcn.1000352f
jmp 0x10017fad
cmp dword [esp + 0x24], ebx
jne 0x10017f9b
push 0x30
push dword [esp + 0x34]
lea ecx, [esp + 0x60]
call fcn.1000352f
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], ebx
push 0x30
push dword [esp + 0x24]
sub eax, esi
push eax
lea ecx, [esp + 0x64]
call fcn.10014f50
mov eax, dword [esp + 0x24]
push 0x30
lea ecx, [esp + 0x5c]
cmp eax, ebx
jne 0x10017fc6
push dword [esp + 0x34]
call fcn.1000352f
jmp 0x10017fee
push dword [esp + 0x3c]
sub eax, esi
mov dword [esp + 0x2c], eax
inc eax
push eax
call fcn.10014f50
push 0x30
push dword [esp + 0x34]
lea ecx, [esp + 0x60]
push dword [esp + 0x2c]
call fcn.10014f50
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x90], 0x10
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x30], ebx
jae 0x10018004
lea esi, [esp + 0x7c]
lea eax, [esp + 0x34]
push eax
push ebx
lea ecx, [esp + 0x60]
call fcn.100010d8
push eax
call fcn.100ab110
pop ecx
pop ecx
mov dword [esp + 0x14], eax
jmp 0x10018052
test al, al
jle 0x10018058
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x44]
movsx eax, al
cmp eax, ecx
jae 0x10018058
sub dword [esp + 0x14], eax
push ebx
push 1
push dword [esp + 0x1c]
lea ecx, [esp + 0x64]
call fcn.10014f50
lea eax, [esi + 1]
cmp byte [eax], 0
jle 0x10018052
mov esi, eax
mov al, byte [esi]
cmp al, 0x7f
jne 0x10018021
push ebx
lea ecx, [esp + 0x5c]
call fcn.100010d8
mov esi, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x24]
add eax, dword [esp + 0x38]
add eax, dword [esp + 0x30]
cmp ecx, ebx
jl 0x100180a5
jg 0x1001808e
cmp dword [edi + 0x20], ebx
jbe 0x100180a5
mov edx, dword [edi + 0x20]
mov dword [esp + 0x28], ecx
cmp edx, eax
jbe 0x100180a5
sub edx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], edx
jmp 0x100180a9
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 0x14]
and eax, 0x1c0
cmp eax, 0x40
je 0x1001811b
cmp eax, 0x100
jne 0x100180ed
cmp dword [esp + 0x44], ebx
jbe 0x100180ed
push 1
push esi
push dword [ebp + 0x14]
lea eax, [esp + 0x30]
push dword [ebp + 0x10]
push eax
push dword [esp + 0x30]
call fcn.1001868f
mov ecx, dword [eax]
add esp, 0x18
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
inc esi
dec dword [esp + 0x18]
mov dword [ebp + 0x14], eax
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push dword [esp + 0x54]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [esp + 0x30]
call fcn.100186c3
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], ebx
mov dword [ebp + 0x14], eax
add esp, 0x18
movsx eax, byte [esp + 0x34]
push dword [esp + 0x18]
push eax
push esi
call fcn.100a3510
add esp, 0xc
cmp eax, ebx
je 0x100181ef
push dword [esp + 0x4c]
sub eax, esi
lea ebx, [eax + 1]
lea eax, [ebx - 1]
push eax
push esi
push dword [ebp + 0x14]
lea eax, [esp + 0x34]
push dword [ebp + 0x10]
push eax
push dword [esp + 0x34]
call fcn.100186ec
mov ecx, dword [eax]
add esp, 0x1c
push dword [esp + 0x30]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
push 0x30
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x30]
call fcn.100186c3
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x60]
mov dword [ebp + 0x14], eax
mov eax, dword [ecx]
add esp, 0x18
call dword [eax + 4]
mov byte [esp + 0x3c], al
mov eax, dword [ebp + 0x10]
push dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
call fcn.10018786
push dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0x30
push ecx
push eax
mov dword [ebp + 0x10], eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x30]
mov dword [ebp + 0x14], ecx
call fcn.100186c3
mov ecx, dword [eax]
sub dword [esp + 0x30], ebx
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
add esp, 0x18
add esi, ebx
mov dword [ebp + 0x14], eax
xor ebx, ebx
push dword [esp + 0x18]
push 0x65
push esi
call fcn.100a3510
add esp, 0xc
cmp eax, ebx
je 0x1001829e
push dword [esp + 0x4c]
sub eax, esi
lea ebx, [eax + 1]
lea eax, [ebx - 1]
push eax
push esi
push dword [ebp + 0x14]
lea eax, [esp + 0x4c]
push dword [ebp + 0x10]
push eax
push dword [esp + 0x34]
call fcn.100186ec
mov ecx, dword [eax]
add esp, 0x1c
push dword [esp + 0x20]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
push 0x30
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x30]
call fcn.100186c3
mov ecx, dword [eax]
and dword [esp + 0x38], 0
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
add esp, 0x18
test byte [edi + 0x14], 4
mov dword [ebp + 0x14], ecx
mov ecx, 0x1012f4b0
jne 0x10018272
mov ecx, 0x1012f4b4
push 1
push ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x30]
call fcn.1001868f
mov ecx, dword [eax]
sub dword [esp + 0x30], ebx
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
add esp, 0x18
add esi, ebx
mov dword [ebp + 0x14], eax
xor ebx, ebx
push dword [esp + 0x4c]
lea eax, [esp + 0x40]
push dword [esp + 0x1c]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [esp + 0x34]
call fcn.100186ec
mov ecx, dword [eax]
add esp, 0x1c
push dword [esp + 0x20]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
push 0x30
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x30]
call fcn.100186c3
mov ecx, dword [eax]
push dword [esp + 0x2c]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
push dword [esp + 0x6c]
mov dword [ebp + 0x14], eax
push eax
push ecx
push dword [esp + 0x7c]
mov dword [edi + 0x20], ebx
push dword [esp + 0x48]
mov dword [edi + 0x24], ebx
call fcn.100186c3
add esp, 0x30
push ebx
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 1
call fcn.100015c0
lea ecx, [esp + 0x58]
call fcn.10002740
or dword [esp + 0xa8], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x80]
call fcn.100015c0
lea ecx, [esp + 0x78]
call fcn.10002740
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.100a1c30
mov esp, ebp
pop ebp
ret