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

Disassembly:
sub esp, 0x20
cmp word [esp + 0x2c], 0x64
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x38]
push ebx
push ebp
mov ebp, dword [eax + 4]
push esi
mov esi, dword [eax + 0x34]
push edi
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
mov byte [esp + 0x34], 0
jbe 0x10017b3a
add dword [esp + 0x3c], 0xff9c
mov eax, dword [esp + 0x38]
xor dl, dl
test eax, eax
mov byte [esp + 0x13], dl
jl 0x10017ef2
lea esp, [esp]
mov ebx, dword [esp + 0x3c]
cmp bx, 4
mov cl, byte [eax + esi]
jne 0x10017bf7
test dl, dl
jne 0x10017c86
cmp cl, 5
jne 0x10017c48
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + eax*2]
lea ecx, [ecx + ecx*2]
shl ecx, 2
movzx edx, word [ecx + ebp + 4]
cmp byte [edx + edi + 8], 0x46
jne 0x10017c48
movzx ecx, word [ecx + ebp + 4]
mov cl, byte [ecx + edi + 6]
xor edx, edx
mov dl, cl
and edx, 0x80
je 0x10017bb0
test cl, 1
je 0x10017c48
jmp 0x10017bb8
test edx, edx
jne 0x10017c48
mov dl, byte [eax + esi + 1]
cmp dl, 2
lea ecx, [eax + 1]
jne 0x10017bce
cmp byte [ecx + esi + 1], 1
jne 0x10017bce
add ecx, 2
mov ebx, dword [esp + 0x38]
cmp ecx, ebx
jge 0x10017c48
lea edx, [ecx + 2]
lea esp, [esp]
cmp byte [edx + esi - 2], 1
jne 0x10017bef
cmp ebx, edx
je 0x10017edf
inc ecx
inc edx
cmp ecx, ebx
jl 0x10017be0
jmp 0x10017c48
cmp bx, 3
jne 0x10017c44
test dl, dl
jne 0x10017c86
cmp cl, 5
jne 0x10017c48
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + eax*2]
lea edx, [ecx + ecx*2]
movzx ecx, word [ebp + edx*4 + 4]
mov dl, byte [ecx + edi + 8]
add ecx, edi
cmp dl, 0x46
jne 0x10017c48
mov edx, dword [esp + 0x38]
sub edx, eax
cmp edx, 4
jge 0x10017c48
mov dl, byte [ecx + 6]
test dl, dl
js 0x10017c48
cmp byte [eax + esi + 1], 1
je 0x10017edf
jmp 0x10017c48
test dl, dl
jne 0x10017c86
mov ecx, dword [esp + 0x24]
cmp byte [eax + ecx], 0x2c
je 0x10017c86
cmp byte [eax + esi], 5
jne 0x10017c86
mov edx, dword [esp + 0x18]
movzx ecx, word [edx + eax*2]
lea ecx, [ecx + ecx*2]
movzx edx, word [ebp + ecx*4 + 4]
mov cl, byte [edx + edi + 8]
add edx, edi
cmp cl, 0x46
je 0x10017c86
cmp cl, 0x50
jne 0x10017edf
cmp byte [edx + 0xa], 0x53
je 0x10017edf
mov edx, dword [esp + 0x24]
mov bl, byte [eax + edx]
cmp bl, 0x29
jne 0x10017cad
lea ecx, [eax - 1]
test ecx, ecx
jl 0x10017cad
lea esp, [esp]
cmp byte [ecx + edx], 0x28
je 0x10017d79
dec ecx
jns 0x10017ca0
mov ecx, dword [esp + 0x38]
inc ecx
cmp eax, ecx
jge 0x10017def
cmp byte [eax + esi], 6
je 0x10017ceb
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + eax*4]
mov edx, dword [0x10060eb0]
cmp ecx, dword [edx + 0xbc]
je 0x10017ceb
cmp ecx, dword [edx + 0x10c]
je 0x10017ceb
cmp bl, 0x3b
je 0x10017ceb
cmp bl, 0x3a
jne 0x10017def
cmp word [esp + 0x3c], 3
mov edx, dword [esp + 0x20]
mov edx, dword [edx + eax*4]
jne 0x10017d12
cmp byte [esp + 0x13], 1
jne 0x10017d12
cmp byte [esp + 0x34], 1
jne 0x10017d12
cmp eax, 1
jg 0x10017d12
mov byte [esp + 0x34], 0
mov ecx, dword [0x10060eb0]
cmp edx, dword [ecx + 0x6c]
je 0x10017d22
cmp edx, dword [ecx + 0x78]
jne 0x10017d84
test eax, eax
jle 0x10017d84
cmp byte [eax + esi - 1], 3
jne 0x10017d84
cmp byte [eax + esi + 1], 3
jne 0x10017d84
mov esi, dword [esp + 0x18]
movzx ecx, word [esi + eax*2 - 2]
lea ecx, [ecx + ecx*2]
movzx ecx, word [ebp + ecx*4 + 4]
mov dword [esp + 0x2c], ecx
movzx ecx, word [esi + eax*2 + 2]
mov esi, dword [esp + 0x2c]
lea ecx, [ecx + ecx*2]
movzx ecx, word [ebp + ecx*4 + 4]
mov dword [esp + 0x2c], eax
mov al, byte [esi + edi + 3]
xor al, byte [ecx + edi + 3]
mov esi, dword [esp + 0x14]
test al, 0xc
mov eax, dword [esp + 0x2c]
jne 0x10017d84
mov byte [esp + 0x34], 0
jmp 0x10017def
mov dl, byte [esp + 0x13]
mov eax, ecx
jmp 0x10017b50
cmp word [esp + 0x3c], 4
jne 0x10017ddd
cmp byte [eax + esi], 6
jne 0x10017ddd
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + eax*2]
lea ecx, [ecx + ecx*2]
movzx ecx, word [ebp + ecx*4 + 4]
cmp byte [ecx + edi + 3], 0x63
jne 0x10017ddd
test eax, eax
jle 0x10017db8
cmp byte [eax + esi - 1], 4
je 0x10017ea8
cmp eax, 1
jle 0x10017eeb
mov dl, byte [eax + esi - 1]
mov cl, byte [eax + esi + 1]
cmp dl, cl
je 0x10017def
cmp byte [eax + esi - 2], cl
jne 0x10017eeb
cmp dl, byte [eax + esi + 2]
jmp 0x10017de9
mov ecx, dword [0x10060eb0]
cmp edx, dword [ecx + 0xe4]
jne 0x10017eeb
cmp bl, 0x2c
jne 0x10017e9c
lea edx, [eax - 1]
test edx, edx
mov byte [esp + 0x13], 1
mov byte [esp + 0x34], 0
jl 0x10017e9c
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
lea esi, [edx + ecx]
sub edi, ecx
lea ebx, [ebx]
mov cl, byte [edi + esi]
cmp cl, 6
mov bl, byte [esi]
je 0x10017e55
cmp cl, 5
jne 0x10017e5a
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + edx*2]
lea ecx, [ecx + ecx*2]
movzx ecx, word [ebp + ecx*4 + 4]
mov ebp, dword [esp + 0x1c]
mov cl, byte [ecx + ebp + 8]
cmp cl, 0x46
mov ebp, dword [esp + 0x28]
je 0x10017e5a
cmp cl, 0x50
je 0x10017e5a
mov byte [esp + 0x34], 1
cmp bl, 0x2c
je 0x10017e71
cmp bl, 0x3b
je 0x10017e94
cmp bl, 0x3a
je 0x10017e94
dec edx
dec esi
test edx, edx
jge 0x10017e20
jmp 0x10017e94
cmp byte [esp + 0x34], 1
je 0x10017e81
mov ecx, eax
sub ecx, edx
cmp ecx, 3
jge 0x10017e94
sub eax, edx
cmp eax, 0xc
jge 0x10017e8d
mov byte [esp + 0x34], 0
mov eax, edx
mov byte [esp + 0x13], 0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
dec eax
js 0x10017eeb
mov dl, byte [esp + 0x13]
jmp 0x10017b50
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jle 0x10017edf
mov edx, dword [esp + 0x14]
lea esi, [eax + edx - 2]
mov edx, dword [esp + 0x20]
lea edi, [edx + eax*4 - 8]
mov edx, dword [esp + 0x14]
mov dl, byte [ecx + edx]
cmp dl, byte [esi]
je 0x10017ed6
mov edx, dword [esp + 0x20]
mov edx, dword [edx + ecx*4]
cmp edx, dword [edi]
jne 0x10017eeb
dec ecx
dec esi
sub edi, 4
cmp ecx, eax
jg 0x10017ec0
pop edi
pop esi
pop ebp
mov ax, 0xa
pop ebx
add esp, 0x20
ret
cmp byte [esp + 0x34], 1
je 0x10017edf
xor ecx, ecx
test eax, eax
setne cl
pop edi
pop esi
pop ebp
pop ebx
dec ecx
and ecx, 5
mov ax, cx
add esp, 0x20
ret