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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x340], edx
xor ebx, ebx
mov dword [ebp - 0x358], edi
mov dword [ebp - 0x348], ebx
mov al, byte [edi + 0x19]
cmp al, 0x47
jae 0x100f1831
movzx eax, al
mov esi, dword [eax*4 + 0x10007a00]
jmp 0x100f1885
sub esp, 0x10
lea eax, [edi + 0x30]
lea ecx, [ebp - 0x18]
push eax
call fcn.100f2269
lea ecx, [ebp - 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f1846
sub ecx, edx
jmp 0x100f1858
cmp byte [ebp + ecx - 0x18], 0x20
jne 0x100f18a8
sub ecx, 1
jns 0x100f1851
lea ecx, [ebp - 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f1863
push 0x11
sub ecx, edx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x344], esi
cmp byte [edi + 0xd], bl
je 0x100f18bf
mov al, byte [edi + 0x1b]
cmp al, 2
jb 0x100f189b
cmp al, 8
jbe 0x100f18a1
and al, 0xc0
cmp al, 0x80
jne 0x100f18b8
mov ebx, 0x10027234
jmp 0x100f18c4
inc ecx
cmp ecx, 0x11
jae 0x100f1e5b
mov byte [ebp + ecx - 0x18], bl
jmp 0x100f185d
mov ebx, 0x10027228
jmp 0x100f18c4
mov ebx, 0x10027250
xor eax, eax
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x23c], eax
cmp byte [edi + 0x17], al
je 0x100f18ec
push 0x10027240
mov edx, 0x100
lea ecx, [ebp - 0x23c]
call fcn.1003f209
mov al, byte [edi + 0x18]
cmp al, 3
jl 0x100f18fa
push 0x10027270
jmp 0x100f1903
cmp al, 0xfd
jg 0x100f1913
push 0x10027260
mov edx, 0x100
lea ecx, [ebp - 0x23c]
call fcn.1003f209
mov ecx, esi
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x100f191a
sub ecx, edx
mov edx, ebx
sar ecx, 1
xor ebx, ebx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x100f1930
sub edx, esi
lea esi, [ebp - 0x23c]
sar edx, 1
lea ebx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, word [ebp - 0x348]
jne 0x100f1948
sub esi, ebx
add edx, 0xd
sar esi, 1
lea eax, [esi + ecx]
imul eax, eax, 3
add eax, edx
mov dword [ebp - 0x350], eax
lea esi, [eax*2 + 0xb8]
push esi
push 8
push dword [ebp - 0x340]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x34c], ebx
test ebx, ebx
je 0x100f1e48
push esi
push eax
push ebx
call sub.msvcrt.dll_memset
mov edx, dword [ebp - 0x350]
add esp, 0xc
xor eax, eax
mov dword [ebx], esi
lea esi, [ebx + 0xb8]
mov dword [ebx + 4], eax
mov ecx, esi
mov dword [ebx + 8], 0xb8
push dword [ebp - 0x344]
lea eax, [esi + edx*2]
mov dword [ebp - 0x340], eax
call fcn.1003f1d4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x348]
jne 0x100f19d4
push dword [ebp - 0x354]
sub ecx, edx
mov edx, dword [ebp - 0x340]
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
sub edx, esi
mov ecx, esi
sar edx, 1
call fcn.1003f1d4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x348]
jne 0x100f1a09
push dword [ebp - 0x344]
sub ecx, edx
add esi, 4
sar ecx, 1
lea ecx, [esi + ecx*2]
mov esi, dword [ebp - 0x340]
sub esi, ecx
mov dword [ebp - 0x350], ecx
mov eax, ecx
sar esi, 1
sub eax, ebx
mov edx, esi
mov dword [ebx + 0x10], eax
call fcn.1003f1d4
lea eax, [ebp - 0x23c]
mov edx, esi
mov esi, dword [ebp - 0x350]
mov ecx, esi
push eax
call fcn.1003f209
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x348]
jne 0x100f1a61
sub ecx, edx
add esi, 2
sar ecx, 1
push 0x10027218
lea ecx, [esi + ecx*2]
mov esi, dword [ebp - 0x340]
sub esi, ecx
mov dword [ebp - 0x344], ecx
mov eax, ecx
sar esi, 1
sub eax, ebx
mov edx, esi
mov dword [ebx + 0x14], eax
call fcn.1003f1d4
mov ecx, dword [ebp - 0x344]
mov edx, esi
push 0x1001f970
call fcn.1003f209
mov eax, dword [ebx + 0x10]
mov edx, esi
mov esi, dword [ebp - 0x344]
add eax, ebx
push eax
mov ecx, esi
call fcn.1003f209
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x348]
jne 0x100f1ac9
sub ecx, edx
mov edx, dword [ebp - 0x340]
sar ecx, 1
inc ecx
lea ecx, [esi + ecx*2]
mov eax, ecx
sub edx, ecx
sub eax, ebx
sar edx, 1
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x23a]
push eax
call fcn.1003f209
xor eax, eax
mov dword [ebx + 0x30], 0x8080022
mov dword [ebx + 0x1c], eax
xor edx, edx
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov ax, word [edi + 0xa]
mov word [ebx + 0x38], ax
xor eax, eax
inc eax
mov word [ebx + 0x3a], ax
movzx eax, word [edi + 6]
mov ecx, eax
mov word [ebx + 0x3c], ax
mov ax, word [edi + 0xa]
sub ax, word [edi + 6]
mov word [ebx + 0x3e], ax
neg eax
mov word [ebx + 0x42], ax
mov word [ebx + 0x48], ax
xor eax, eax
mov word [ebx + 0x4a], ax
mov word [ebx + 0x40], cx
mov word [ebx + 0x44], dx
mov word [ebx + 0x46], cx
movzx eax, word [edi + 0x22]
push 2
pop esi
add eax, esi
shr eax, 2
mov word [ebx + 0x4c], ax
mov ax, word [edi + 8]
mov word [ebx + 0x4e], ax
mov ax, word [edi + 6]
mov word [ebx + 0x50], ax
mov ax, word [edi + 6]
mov word [ebx + 0x52], ax
movzx eax, byte [edi + 0x1f]
mov word [ebx + 0x64], ax
mov al, byte [edi + 0x1f]
movsx cx, byte [edi + 0x1e]
shr al, 1
movzx eax, al
push 3
sub ax, cx
mov word [ebx + 0x66], ax
movzx eax, byte [edi + 0x1f]
mov word [ebx + 0x68], ax
movzx eax, word [edi + 6]
pop ecx
div ecx
mov byte [ebx + 0x2c], 0xff
mov word [ebx + 0x6a], ax
cmp byte [edi + 0xd], 0
je 0x100f1bd1
mov al, byte [edi + 0x1b]
cmp al, 2
jb 0x100f1bc3
cmp al, 8
jbe 0x100f1bc9
and al, 0xc0
cmp al, 0x80
jne 0x100f1bcd
mov al, 0x12
jmp 0x100f1bd3
mov al, 0x22
jmp 0x100f1bd3
mov al, 0x31
mov ecx, ebx
mov byte [ecx + 0x2d], al
mov eax, 0x190
mov word [ebx + 0x2e], ax
mov byte [ebx + 0xae], 6
mov al, byte [edi + 0x18]
cmp al, 3
jl 0x100f1bfd
mov eax, 0x2bc
mov byte [ebx + 0xae], 8
jmp 0x100f1c0d
cmp al, 0xfd
jg 0x100f1c11
mov eax, 0xc8
mov byte [ebx + 0xae], 3
mov word [ebx + 0x2e], ax
mov word [ebx + 0x36], si
cmp byte [edi + 3], 2
sete al
dec al
and al, 0x20
mov byte [ebx + 0x6c], al
cmp byte [edi + 3], 0
sete al
xor edx, edx
dec al
and al, 0x80
add al, 0x7f
mov byte [ebx + 0x6d], al
mov al, 0x2e
mov cl, byte [ebx + 0x6c]
movzx esi, byte [ebx + 0x6d]
sub al, cl
mov byte [ebx + 0x6e], al
mov al, 0x20
sub al, cl
mov byte [ebx + 0x6f], al
movzx eax, cl
mov ecx, edx
sub esi, eax
inc esi
test esi, esi
jle 0x100f1c67
mov al, byte [ebx + 0x6c]
add al, cl
mov byte [ebp + ecx - 0x33c], al
inc ecx
cmp ecx, esi
jl 0x100f1c56
push esi
lea eax, [ebp - 0x23c]
push eax
push esi
lea eax, [ebp - 0x33c]
push eax
push edx
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx eax, byte [ebx + 0x6e]
xor edx, edx
mov ecx, 0xffff
mov ax, word [ebp + eax*2 - 0x23c]
mov word [ebx + 0x74], ax
movzx eax, byte [ebx + 0x6f]
mov ax, word [ebp + eax*2 - 0x23c]
mov word [ebx + 0x76], ax
mov eax, edx
mov dword [ebx + 0x70], ecx
test esi, esi
jle 0x100f1cfd
mov edi, edx
movzx edx, word [ebp + eax*2 - 0x23c]
mov ebx, edx
mov dword [ebp - 0x350], ebx
mov ebx, dword [ebp - 0x34c]
cmp dx, di
jbe 0x100f1cdc
mov edi, edx
mov word [ebx + 0x72], di
movzx edx, word [ebp + eax*2 - 0x23c]
jmp 0x100f1ce2
mov edx, dword [ebp - 0x350]
movzx edx, dx
cmp dx, cx
jae 0x100f1cf0
mov ecx, edx
mov word [ebx + 0x70], cx
inc eax
cmp eax, esi
jl 0x100f1cb1
mov edi, dword [ebp - 0x358]
xor edx, edx
cmp byte [edi + 0x18], 3
movzx eax, word [ebx + 0x34]
jl 0x100f1d11
or eax, 0x20
mov word [ebx + 0x34], ax
movzx eax, ax
cmp byte [edi + 0x17], 0
je 0x100f1d2a
or eax, 1
mov ecx, 0xc51
mov word [ebx + 0x34], ax
mov eax, 0x2710
jmp 0x100f1d2f
xor eax, eax
mov ecx, edx
inc eax
mov dword [ebx + 0x88], ecx
mov dword [ebx + 0x8c], eax
movzx eax, word [ebx + 0x34]
test al, 0x21
jne 0x100f1d4a
or eax, 0x40
mov word [ebx + 0x34], ax
cmp byte [edi + 0xd], 0
jne 0x100f1d57
or dword [ebx + 0x30], 0x1000
movsx ecx, word [ebx + 0x4c]
mov eax, 0x12c
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x80], eax
mov eax, ecx
mov dword [ebx + 0x7c], edx
cdq
and edx, 3
mov dword [ebx + 0x78], 1
add eax, edx
sar eax, 2
movzx edi, ax
mov word [ebx + 0x54], di
movsx ebx, word [ebx + 0x3c]
mov eax, ebx
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx esi, ax
mov eax, dword [ebp - 0x34c]
mov word [eax + 0x56], si
imul eax, ecx, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
movzx ecx, ax
mov eax, dword [ebp - 0x34c]
mov word [eax + 0x58], cx
mov eax, ebx
cdq
and edx, 3
add eax, edx
mov edx, dword [ebp - 0x34c]
sar eax, 2
neg eax
mov word [edx + 0x5a], ax
imul eax, ebx, 3
mov word [edx + 0x5c], di
mov edi, edx
cdq
and edx, 3
mov word [edi + 0x60], cx
add eax, edx
mov word [edi + 0x5e], si
sar eax, 2
xor ecx, ecx
mov word [edi + 0x62], ax
movsx eax, word [edi + 0x4e]
mov dword [edi + 0x98], eax
movsx eax, word [edi + 0x3e]
neg eax
mov dword [edi + 0x90], ecx
mov dword [edi + 0x9c], eax
mov eax, edi
mov dword [edi + 0x94], ebx
mov dword [edi + 0xa0], 0x6e6b6e55
mov dword [edi + 0xa4], ecx
mov dword [edi + 0xa8], ecx
mov word [edi + 0xac], cx
mov dword [edi + 0xaf], ecx
mov word [edi + 0xb3], cx
mov byte [edi + 0xb5], cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10166ce0
mov esp, ebp
pop ebp
ret 4
call fcn.1016706c
int3