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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x101d5abc]
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 0x101192fd
movzx eax, al
mov esi, dword [eax*4 + 0x10008400]
jmp 0x10119351
sub esp, 0x10
lea eax, [edi + 0x30]
lea ecx, [ebp - 0x18]
push eax
call fcn.10119d13
lea ecx, [ebp - 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10119312
sub ecx, edx
jmp 0x10119324
cmp byte [ebp + ecx - 0x18], 0x20
jne 0x10119374
sub ecx, 1
jns 0x1011931d
lea ecx, [ebp - 0x18]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1011932f
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 0x1011938b
mov al, byte [edi + 0x1b]
cmp al, 2
jb 0x10119367
cmp al, 8
jbe 0x1011936d
and al, 0xc0
cmp al, 0x80
jne 0x10119384
mov ebx, 0x1002cf48
jmp 0x10119390
inc ecx
cmp ecx, 0x11
jae 0x10119934
mov byte [ebp + ecx - 0x18], bl
jmp 0x10119329
mov ebx, 0x1002cf54
jmp 0x10119390
mov ebx, 0x1002cfa8
xor eax, eax
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x23c], eax
cmp byte [edi + 0x17], al
je 0x101193b8
push 0x1002cfb8
mov edx, 0x100
lea ecx, [ebp - 0x23c]
call fcn.10045073
mov al, byte [edi + 0x18]
cmp al, 3
jl 0x101193c6
push 0x1002cf8c
jmp 0x101193cf
cmp al, 0xfd
jg 0x101193df
push 0x1002cf98
mov edx, 0x100
lea ecx, [ebp - 0x23c]
call fcn.10045073
mov ecx, esi
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x101193e6
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 0x101193fc
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 0x10119414
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 0x10119923
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.1004503e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x348]
jne 0x101194a0
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.1004503e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x348]
jne 0x101194d5
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.1004503e
lea eax, [ebp - 0x23c]
mov edx, esi
mov esi, dword [ebp - 0x350]
mov ecx, esi
push eax
call fcn.10045073
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x348]
jne 0x1011952d
sub ecx, edx
add esi, 2
sar ecx, 1
push 0x1002cf60
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.1004503e
mov ecx, dword [ebp - 0x344]
mov edx, esi
push 0x100264c4
call fcn.10045073
mov eax, dword [ebx + 0x10]
mov edx, esi
mov esi, dword [ebp - 0x344]
add eax, ebx
push eax
mov ecx, esi
call fcn.10045073
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x348]
jne 0x10119595
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.10045073
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 ecx, word [edi + 6]
mov word [ebx + 0x3c], cx
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 + 0x46], cx
mov word [ebx + 0x44], dx
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]
shr al, 1
movzx ecx, al
movsx ax, byte [edi + 0x1e]
push 3
sub cx, ax
mov word [ebx + 0x66], cx
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 0x1011969b
mov al, byte [edi + 0x1b]
cmp al, 2
jb 0x1011968d
cmp al, 8
jbe 0x10119693
and al, 0xc0
cmp al, 0x80
jne 0x10119697
mov al, 0x12
jmp 0x1011969d
mov al, 0x22
jmp 0x1011969d
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 0x101196c7
mov eax, 0x2bc
mov byte [ebx + 0xae], 8
jmp 0x101196d7
cmp al, 0xfd
jg 0x101196db
mov eax, 0xc8
mov byte [ebx + 0xae], 3
mov word [ebx + 0x2e], ax
mov word [ebx + 0x36], si
cmp byte [edi + 3], 2
push 0x20
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
pop eax
sub al, cl
mov byte [ebx + 0x6f], al
movzx eax, cl
mov ecx, edx
sub esi, eax
inc esi
test esi, esi
jle 0x10119732
mov al, byte [ebx + 0x6c]
add al, cl
mov byte [ebp + ecx - 0x33c], al
inc ecx
cmp ecx, esi
jl 0x10119721
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 0x101197c6
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 0x101197a7
mov edi, edx
mov word [ebx + 0x72], di
movzx edx, word [ebp + eax*2 - 0x23c]
jmp 0x101197ad
mov edx, dword [ebp - 0x350]
movzx edx, dx
cmp dx, cx
jae 0x101197bb
mov ecx, edx
mov word [ebx + 0x70], cx
inc eax
cmp eax, esi
jl 0x1011977c
mov edi, dword [ebp - 0x358]
cmp byte [edi + 0x18], 3
jl 0x101197dd
push 0x20
pop eax
or word [ebx + 0x34], ax
movzx ecx, word [ebx + 0x34]
movzx eax, word [ebx + 0x34]
jmp 0x101197e3
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp byte [edi + 0x17], 0
movzx eax, ax
je 0x10119804
or ecx, 1
mov edx, 0x2710
mov word [ebx + 0x34], cx
mov esi, 0xc51
movzx eax, cx
xor ecx, ecx
jmp 0x1011980b
xor edx, edx
inc edx
xor ecx, ecx
mov esi, ecx
movzx eax, ax
mov dword [ebx + 0x88], esi
mov dword [ebx + 0x8c], edx
test al, 0x21
jne 0x10119825
or eax, 0x40
mov word [ebx + 0x34], ax
cmp byte [edi + 0xd], 0
jne 0x10119832
or dword [ebx + 0x30], 0x1000
mov dword [ebx + 0x7c], ecx
mov eax, 0x12c
movsx ecx, word [ebx + 0x4c]
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x80], eax
mov eax, ecx
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.101885f0
leave
ret 4
call fcn.10188b5c
int3