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

Disassembly:
sub esp, 0xb8
mov eax, dword [0x10021994]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xbc]
push ebx
push ebp
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
mov al, 9
push edi
xor ebp, ebp
xor ebx, ebx
push ebp
mov dword [esp + 0x20], 0x16
mov word [esp + 0x24], 0xf1ef
mov byte [esp + 0x26], al
mov byte [esp + 0x27], al
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
call fcn.1001a360
mov esi, eax
add esp, 4
test esi, esi
je 0x10017067
lea ebx, [ebx]
cmp byte [esi], 0x46
jne 0x10017023
lea edx, [esi + 2]
lea edi, [esp + 0x10]
call fcn.10016580
cmp eax, dword [esp + 0x18]
je 0x10016ff1
test ebx, ebx
je 0x10016fed
add word [esp + 0x26], 1
mov ecx, ebp
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x10016fd6
mov edx, dword [esp + 0x1c]
sub ecx, edi
lea ecx, [edx + ecx + 5]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov edi, dword [sym.imp.MSVCR80.dll_isspace]
mov ebx, esi
mov esi, dword [esp + 0x10]
movsx edx, byte [esi]
push edx
call edi
add esp, 4
test eax, eax
je 0x10017021
lea ebx, [ebx]
movsx eax, byte [esi + 1]
add esi, 1
push eax
call edi
add esp, 4
test eax, eax
jne 0x10017010
mov ebp, esi
mov eax, dword [esp + 0x14]
add eax, 1
push eax
mov dword [esp + 0x18], eax
call fcn.1001a360
mov esi, eax
add esp, 4
test esi, esi
jne 0x10016fb0
test ebx, ebx
je 0x10017067
add word [esp + 0x26], 1
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10017050
mov ecx, dword [esp + 0x1c]
sub eax, edx
lea edx, [ecx + eax + 5]
mov dword [esp + 0x1c], edx
xor esi, esi
push esi
call fcn.1001a360
add esp, 4
test eax, eax
je 0x10017096
cmp byte [eax], 0x4c
jne 0x10017086
add word [esp + 0x28], 1
add dword [esp + 0x1c], 8
add esi, 1
push esi
call fcn.1001a360
add esp, 4
test eax, eax
jne 0x10017076
push 0
mov dword [esp + 0x18], 0
call fcn.1001a360
mov ebx, dword [sym.imp.MSVCR80.dll_strchr]
add esp, 4
test eax, eax
je 0x10017170
cmp byte [eax], 0x53
jne 0x10017154
add word [esp + 0x2a], 1
add eax, 2
push 0x3a
push eax
call ebx
mov ebp, dword [sym.imp.MSVCR80.dll_isspace]
mov edi, eax
movsx eax, byte [edi + 1]
lea esi, [edi + 1]
push eax
mov dword [esp + 0x1c], edi
call ebp
add esp, 0xc
test eax, eax
je 0x10017101
lea ebx, [ebx]
movsx ecx, byte [esi + 1]
add esi, 1
push ecx
call ebp
add esp, 4
test eax, eax
jne 0x100170f0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10017106
sub eax, edx
mov edx, dword [esp + 0x1c]
lea eax, [edx + eax + 0x13]
push 0x5b
push edi
mov dword [esp + 0x24], eax
call ebx
add esp, 8
test eax, eax
je 0x10017154
add eax, 1
push 0x3a
push eax
call ebx
add esp, 8
test eax, eax
je 0x10017154
jmp 0x10017140
add dword [esp + 0x1c], 6
add eax, 1
push 0x3a
push eax
call ebx
add esp, 8
test eax, eax
jne 0x10017140
mov eax, dword [esp + 0x14]
add eax, 1
push eax
mov dword [esp + 0x18], eax
call fcn.1001a360
add esp, 4
test eax, eax
jne 0x100170b6
mov ecx, dword [0x1002230c]
test ecx, ecx
mov esi, dword [esp + 0x1c]
mov ebx, 1
je 0x100171a9
add word [esp + 0x2c], bx
lea eax, [ecx + 4]
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10017190
sub eax, edi
lea esi, [esi + eax + 3]
mov dword [esp + 0x1c], esi
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10017183
mov ecx, dword [0x100223ec]
test ecx, ecx
je 0x100171d9
add word [esp + 0x2e], bx
lea eax, [ecx + 4]
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100171c0
sub eax, edi
lea esi, [esi + eax + 7]
mov dword [esp + 0x1c], esi
mov ecx, dword [ecx]
test ecx, ecx
jne 0x100171b3
mov ecx, dword [0x10022418]
test ecx, ecx
je 0x10017209
add word [esp + 0x30], bx
lea eax, [ecx + 4]
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100171f0
sub eax, edi
lea esi, [esi + eax + 5]
mov dword [esp + 0x1c], esi
mov ecx, dword [ecx]
test ecx, ecx
jne 0x100171e3
mov ebx, dword [esp + 0x34]
push 0x16
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.1001b190
neg eax
sbb eax, eax
xor esi, esi
add eax, 1
or dword [0x10021f44], eax
push esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], esi
call fcn.1001a360
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x1001735d
cmp byte [ebp], 0x46
jne 0x100172f1
lea edx, [ebp + 2]
lea edi, [esp + 0x10]
call fcn.10016580
mov edi, eax
cmp edi, dword [esp + 0x18]
je 0x100172c1
cmp dword [esp + 0x34], 0
je 0x100172bd
push 4
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.1001b190
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10017297
sub eax, edx
add eax, 1
push eax
push esi
push ebx
call fcn.1001b190
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x10]
movsx eax, byte [esi]
mov edi, dword [sym.imp.MSVCR80.dll_isspace]
push eax
mov dword [esp + 0x38], ebp
call edi
add esp, 4
test eax, eax
je 0x100172f1
lea esp, [esp]
movsx ecx, byte [esi + 1]
add esi, 1
push ecx
call edi
add esp, 4
test eax, eax
jne 0x100172e0
mov eax, dword [esp + 0x14]
add eax, 1
push eax
mov dword [esp + 0x18], eax
call fcn.1001a360
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x10017250
cmp dword [esp + 0x34], eax
je 0x1001735d
push 4
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.1001b190
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10017337
sub eax, edx
add eax, 1
push eax
push esi
push ebx
call fcn.1001b190
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
xor esi, esi
push esi
call fcn.1001a360
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x100173c5
cmp byte [eax], 0x4c
jne 0x100173b1
lea edx, [eax + 2]
lea edi, [esp + 0x10]
call fcn.10016580
mov edx, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x44], eax
call fcn.10016580
mov dword [esp + 0x48], eax
push 8
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.1001b190
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
add esi, 1
push esi
call fcn.1001a360
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jne 0x10017370
push 0
mov dword [esp + 0x18], 0
call fcn.1001a360
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x10017633
cmp byte [eax], 0x53
jne 0x10017613
lea edx, [eax + 2]
lea edi, [esp + 0x10]
call fcn.10016580
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
call fcn.10016580
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCR80.dll_isspace]
mov word [esp + 0x64], ax
movsx ecx, byte [esi]
push ecx
call edi
add esp, 4
test eax, eax
je 0x10017432
movsx edx, byte [esi + 1]
add esi, 1
push edx
call edi
add esp, 4
test eax, eax
jne 0x10017421
movsx eax, byte [esi + 1]
add esi, 1
push eax
call edi
add esp, 4
test eax, eax
je 0x10017454
movsx ecx, byte [esi + 1]
add esi, 1
push ecx
call edi
add esp, 4
test eax, eax
jne 0x10017443
push 0x20
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov ebp, eax
mov edx, ebp
sub edx, esi
add edx, 1
push edx
lea eax, [esp + 0x80]
push esi
push eax
mov dword [esp + 0x24], ebp
call fcn.1001abb0
lea edi, [esp + 0x24]
mov edx, ebp
call fcn.10016580
mov edx, dword [esp + 0x24]
mov dword [esp + 0x7a], eax
call fcn.10016580
mov edx, dword [esp + 0x24]
mov dword [esp + 0x7e], eax
call fcn.10016580
mov edx, dword [esp + 0x24]
mov byte [esp + 0x82], al
call fcn.10016580
mov esi, dword [esp + 0x24]
mov byte [esp + 0x83], al
mov word [esp + 0x84], 0
movsx ecx, byte [esi]
push ecx
call dword [sym.imp.MSVCR80.dll_isspace]
mov ebp, dword [sym.imp.MSVCR80.dll_isspace]
add esp, 0x18
test eax, eax
je 0x100174f1
lea ebx, [ebx]
movsx edx, byte [esi + 1]
add esi, 1
push edx
call ebp
add esp, 4
test eax, eax
jne 0x100174e0
cmp byte [esi], 0x5b
mov eax, esi
jne 0x10017595
lea esp, [esp]
lea esi, [eax + 1]
movsx eax, byte [esi]
push eax
call ebp
add esp, 4
test eax, eax
je 0x10017521
movsx ecx, byte [esi + 1]
add esi, 1
push ecx
call ebp
add esp, 4
test eax, eax
jne 0x10017510
cmp byte [esi], 0x5d
mov dword [esp + 0x10], esi
je 0x10017595
lea edi, [esp + 0x10]
mov edx, esi
call fcn.10016580
movsx ecx, word [esp + 0x70]
mov esi, dword [esp + 0x10]
lea edx, [ecx + ecx*2]
mov word [esp + edx*2 + 0x4c], ax
movsx eax, byte [esi]
push eax
call ebp
add esp, 4
test eax, eax
je 0x10017564
movsx ecx, byte [esi + 1]
add esi, 1
push ecx
call ebp
add esp, 4
test eax, eax
jne 0x10017553
lea edx, [esi + 1]
lea edi, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.10016580
mov dx, word [esp + 0x70]
movsx ecx, dx
lea ecx, [ecx + ecx*2]
add dx, 1
mov dword [esp + ecx*2 + 0x4e], eax
mov eax, dword [esp + 0x10]
mov word [esp + 0x70], dx
jmp 0x10017500
movsx edi, word [esp + 0x70]
push 0x12
lea edx, [esp + 0x64]
push edx
push ebx
call fcn.1001b190
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
lea eax, [esp + 0x74]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100175c0
sub eax, edx
add eax, 1
push eax
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.1001b190
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
test edi, edi
jle 0x10017613
lea esi, [esp + 0x4c]
push 6
push esi
push ebx
call fcn.1001b190
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
add esi, 6
sub edi, 1
jne 0x100175f2
mov eax, dword [esp + 0x14]
add eax, 1
push eax
mov dword [esp + 0x18], eax
call fcn.1001a360
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jne 0x100173e3
mov esi, dword [0x1002230c]
test esi, esi
je 0x1001769c
lea ecx, [ecx]
movzx ecx, word [esi + 0x24]
push 2
lea edx, [esp + 0x3c]
push edx
push ebx
mov dword [esp + 0x44], ecx
call fcn.1001b190
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
lea ecx, [esi + 4]
mov eax, ecx
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10017670
sub eax, edi
add eax, 1
push eax
push ecx
push ebx
call fcn.1001b190
mov esi, dword [esi]
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
test esi, esi
jne 0x10017640
mov esi, dword [0x100223ec]
test esi, esi
je 0x1001772c
lea ebx, [ebx]
movzx eax, word [esi + 0x28]
push 2
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0x24]
push edx
push ebx
mov dword [esp + 0x48], ecx
call fcn.1001b190
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
push 4
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.1001b190
add esp, 0x18
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
lea ecx, [esi + 4]
mov eax, ecx
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10017700
sub eax, edi
add eax, 1
push eax
push ecx
push ebx
call fcn.1001b190
mov esi, dword [esi]
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
test esi, esi
jne 0x100176b0
mov esi, dword [0x10022418]
test esi, esi
je 0x100177c6
lea ebx, [ebx]
movzx ecx, word [esi + 0x24]
mov dword [esp + 0x38], ecx
movzx edx, word [esi + 0x28]
push 2
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x24]
push ecx
push ebx
mov dword [esp + 0x48], eax
call fcn.1001b190
neg eax
sbb eax, eax
push 2
lea edx, [esp + 0x50]
push edx
add eax, 1
or dword [0x10021f44], eax
push ebx
call fcn.1001b190
add esp, 0x18
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
lea ecx, [esi + 4]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10017796
sub eax, edi
add eax, 1
push eax
push ecx
push ebx
call fcn.1001b190
mov esi, dword [esi]
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
or dword [0x10021f44], eax
test esi, esi
jne 0x10017740
call fcn.1001a390
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001b1c6
add esp, 0xb8
ret