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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x8c]
xorps xmm0, xmm0
mov eax, dword [esp + 0x80]
push ebx
push ebp
mov dword [esp + 0x1c], ecx
lea ebp, [esp + 0x3c]
xor ecx, ecx
mov dx, word [esp + 0x80]
test eax, eax
mov dword [esp + 0x18], ecx
push esi
push edi
mov dword [esp + 0x1c], ecx
mov edi, ebp
lea ecx, [esp + 0x44]
mov ebx, dword [esp + 0x84]
cmovne ecx, eax
mov esi, dword [esp + 0x8c]
xor eax, eax
mov dword [esp + 0x34], ebx
stosd dword es:[edi], eax
mov dword [esp + 0x18], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movsx edi, dx
lea eax, [edi + 0x1c]
cmp eax, 0x2e
ja case.0x10111570.15
movzx eax, byte [eax + 0x1011199b]
mov dword [esp + 0x10], 1
jmp dword [eax*4 + 0x10111963]
and esi, 0xfffffffe
je case.0x10111570.22
push esi
call fcn.10117340
pop ecx
mov ebp, eax
xor eax, eax
push eax
push eax
push esi
push ebp
shr esi, 1
push esi
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test esi, esi
jne 0x101115bc
push ebp
call fcn.1011726a
pop ecx
xor eax, eax
inc eax
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011705d
add esp, 0x6c
ret 0x20
mov ecx, dword [esp + 0x18]
mov ebx, ebp
jmp 0x101115c8
mov ebp, dword [esp + 0x1c]
push dword [esp + 0x24]
push ecx
push esi
push ebx
call fcn.10112cda
movzx esi, ax
test ebp, ebp
je 0x101115e2
push ebp
call fcn.1011726a
pop ecx
mov ax, si
jmp 0x101115a7
mov esi, dword [ebx]
mov eax, dword [ebx + 4]
mov byte [esp + 0x44], 0x13
mov dword [esp + 0x47], esi
mov dword [esp + 0x4b], eax
cmp dx, 0xffe5
je 0x101117c4
xor edx, edx
cmp eax, edx
jl 0x101117e5
jg 0x101117c4
cmp esi, edx
jb 0x101117e5
jmp 0x101117c4
mov eax, dword [ebx]
mov byte [esp + 0x44], 0xa
mov dword [esp + 0x47], eax
cmp dx, 0xffee
je 0x101117c4
test eax, eax
js 0x101117e5
jmp 0x101117c4
movzx eax, word [ebx]
mov byte [esp + 0x44], 5
mov word [esp + 0x47], ax
cmp dx, 0xffef
je 0x101117c4
test ax, ax
jmp 0x10111637
mov al, byte [ebx]
mov byte [esp + 0x44], 3
mov byte [esp + 0x47], al
cmp dx, 0xffe4
je 0x101117c4
cmp dx, 0xfff9
je 0x101117c4
test al, al
jmp 0x10111637
mov al, byte [ebx + 0x1c]
mov byte [esp + 0x44], al
mov eax, dword [ebx + 8]
xor esi, esi
mov dword [esp + 0x47], eax
cmp word [ebx + 4], si
sete byte [esp + 0x46]
jmp 0x101117e5
mov al, byte [ebx + 0x1c]
mov byte [esp + 0x44], al
mov eax, dword [ebx + 0xc]
jmp 0x1011168b
mov al, byte [ebx + 0x1c]
mov byte [esp + 0x44], al
mov eax, dword [ebx + 0x10]
jmp 0x1011168b
mov cl, byte [ebx + 0x1e]
mov al, byte [ebx + 0x1c]
add al, cl
movsx ebp, cl
mov byte [esp + 0x44], al
mov eax, 0x101351a0
shl ebp, 2
mov byte [esp + 0x45], cl
sub eax, ebp
xor ecx, ecx
push ecx
push dword [eax]
push ecx
push dword [ebx + 0x18]
call fcn.1011ce10
mov esi, eax
mov edi, edx
mov eax, dword [ebp + 0x1013517c]
mov ebp, dword [esp + 0x34]
mul dword [ebp + 0x14]
add eax, esi
mov dword [esp + 0x47], eax
adc edx, edi
xor esi, esi
cmp word [ebp + 4], si
lea ebp, [esp + 0x44]
mov dword [esp + 0x4b], edx
mov edx, dword [esp + 0x10]
sete byte [esp + 0x46]
or ecx, ebx
mov ecx, dword [esp + 0x18]
je 0x101117e9
mov dword [esp + 0x20], edx
jmp 0x101117e9
push 7
pop esi
sub edi, esi
je 0x10111737
dec edi
jne 0x1011173e
movsd xmm0, qword [ebx]
jmp 0x1011173e
movss xmm0, dword [ebx]
cvtps2pd xmm0, xmm0
mov al, byte [ecx]
cmp dx, si
push dword [esp + 0x24]
mov byte [esp + 0x48], al
mov al, byte [ecx + 1]
mov byte [esp + 0x49], al
lea eax, [esp + 0x48]
push eax
push 0xf
pop eax
cmove eax, esi
push eax
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.1010e41e
movzx edx, ax
mov dword [esp + 0x20], edx
test dx, dx
je 0x101117e1
cmp dx, word [esp + 0x10]
je 0x101117e1
mov ax, dx
jmp 0x101115a7
mov ebp, ebx
jmp 0x101117e5
mov eax, dword [ebx]
mov byte [esp + 0x45], 4
cmp esi, 4
jne 0x101117b0
mov edx, dword [esp + 0x10]
mov byte [esp + 0x44], 0xa
test eax, eax
js 0x101117a8
mov dword [esp + 0x47], eax
jmp 0x101117c8
neg eax
mov dword [esp + 0x47], eax
jmp 0x101117e9
mov edx, dword [ebx + 4]
mov byte [esp + 0x44], 0x13
mov dword [esp + 0x47], edx
mov dword [esp + 0x4b], eax
test eax, eax
js 0x101117ce
mov edx, dword [esp + 0x10]
mov byte [esp + 0x46], dl
jmp 0x101117e9
neg edx
push 0
pop esi
adc eax, esi
mov dword [esp + 0x47], edx
neg eax
mov dword [esp + 0x4b], eax
jmp 0x101117e5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov al, byte [ebp]
cmp al, byte [ecx]
ja 0x101117fc
mov al, byte [ebp + 1]
cmp al, byte [ecx + 1]
je 0x10111944
lea esi, [ebp + 3]
lea edi, [esp + 0x68]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x68]
push 0x10
mov dword [esp + 0x34], eax
lea eax, [esp + 0x7b]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ebx, esi
sub eax, esi
mov dword [esp + 0x28], ebx
cmp byte [eax + ebx], 0
jne 0x10111829
dec ebx
cmp ebx, edx
jg 0x1011181e
mov al, byte [ebp + 2]
mov dl, byte [ecx + 1]
mov byte [esp + 0x2c], al
mov al, byte [ebp + 1]
mov dword [esp + 0x28], ebx
cmp al, dl
jle 0x10111878
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push eax
call fcn.10112ac7
cmp dword [esp + 0x1c], 0
je 0x10111867
cmp byte [ebp + 1], 0
jle 0x10111900
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
dec byte [ebp + 1]
mov al, byte [ebp + 1]
cmp al, byte [ecx + 1]
jg 0x1011183e
jmp 0x10111899
jge 0x1011189d
xor esi, esi
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.10112b70
mov ecx, dword [esp + 0x18]
inc byte [ebp + 1]
mov al, byte [ebp + 1]
cmp al, byte [ecx + 1]
jl 0x1011187c
push 0x10
pop esi
mov ebx, dword [esp + 0x28]
mov al, byte [ecx]
mov byte [esp + 0x17], al
cmp byte [ebx + 0x1013516b], al
jbe 0x10111911
lea esi, [esp + 0x28]
lea edi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x68]
mov dword [esp + 0x40], eax
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x58]
or eax, dword [esp + 0x5c]
jne 0x101118de
mov eax, dword [esp + 0x60]
or eax, dword [esp + 0x64]
je 0x1011190a
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, eax
push ecx
call fcn.10112ac7
mov dl, byte [esp + 0x17]
mov cl, dl
dec dl
mov byte [esp + 0x17], dl
test cl, cl
jne 0x101118ca
mov ax, word [esp + 0x10]
jmp 0x101115a7
mov ecx, dword [esp + 0x18]
push 0x10
pop esi
mov al, byte [ecx]
mov byte [ebp], al
mov al, byte [esp + 0x2c]
mov byte [ebp + 2], al
lea eax, [esp + 0x68]
push ebx
push eax
lea eax, [ebp + 3]
push eax
call fcn.10117410
xor eax, eax
sub esi, ebx
push esi
push eax
lea eax, [ebp + 3]
add eax, ebx
push eax
call fcn.101172b0
mov ecx, dword [esp + 0x30]
add esp, 0x18
mov eax, dword [esp + 0x24]
mov esi, ebp
mov edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [eax], 0x13
mov ax, word [esp + 0x20]
jmp 0x101115a7