Function at 0x1011185f
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.0x10111771.15
movzx eax, byte [eax + 0x10111b9c]
mov dword [esp + 0x10], 1
jmp dword [eax*4 + 0x10111b64]
and esi, 0xfffffffe
je case.0x10111771.22
push esi
call fcn.101174f0
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 0x101117bd
push ebp
call fcn.1011741a
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.1011720d
add esp, 0x6c
ret 0x20
mov ecx, dword [esp + 0x18]
mov ebx, ebp
jmp 0x101117c9
mov ebp, dword [esp + 0x1c]
push dword [esp + 0x24]
push ecx
push esi
push ebx
call fcn.10112edb
movzx esi, ax
test ebp, ebp
je 0x101117e3
push ebp
call fcn.1011741a
pop ecx
mov ax, si
jmp 0x101117a8
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 0x101119c5
xor edx, edx
cmp eax, edx
jl 0x101119e6
jg 0x101119c5
cmp esi, edx
jb 0x101119e6
jmp 0x101119c5
mov eax, dword [ebx]
mov byte [esp + 0x44], 0xa
mov dword [esp + 0x47], eax
cmp dx, 0xffee
je 0x101119c5
test eax, eax
js 0x101119e6
jmp 0x101119c5
movzx eax, word [ebx]
mov byte [esp + 0x44], 5
mov word [esp + 0x47], ax
cmp dx, 0xffef
je 0x101119c5
test ax, ax
jmp 0x10111838
mov al, byte [ebx]
mov byte [esp + 0x44], 3
mov byte [esp + 0x47], al
cmp dx, 0xffe4
je 0x101119c5
cmp dx, 0xfff9
je 0x101119c5
test al, al
jmp 0x10111838
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 0x101119e6
mov al, byte [ebx + 0x1c]
mov byte [esp + 0x44], al
mov eax, dword [ebx + 0xc]
jmp 0x1011188c
mov al, byte [ebx + 0x1c]
mov byte [esp + 0x44], al
mov eax, dword [ebx + 0x10]
jmp 0x1011188c
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.1011cfc0
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 0x101119ea
mov dword [esp + 0x20], edx
jmp 0x101119ea
push 7
pop esi
sub edi, esi
je 0x10111938
dec edi
jne 0x1011193f
movsd xmm0, qword [ebx]
jmp 0x1011193f
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.1010e61f
movzx edx, ax
mov dword [esp + 0x20], edx
test dx, dx
je 0x101119e2
cmp dx, word [esp + 0x10]
je 0x101119e2
mov ax, dx
jmp 0x101117a8
mov ebp, ebx
jmp 0x101119e6
mov eax, dword [ebx]
mov byte [esp + 0x45], 4
cmp esi, 4
jne 0x101119b1
mov edx, dword [esp + 0x10]
mov byte [esp + 0x44], 0xa
test eax, eax
js 0x101119a9
mov dword [esp + 0x47], eax
jmp 0x101119c9
neg eax
mov dword [esp + 0x47], eax
jmp 0x101119ea
mov edx, dword [ebx + 4]
mov byte [esp + 0x44], 0x13
mov dword [esp + 0x47], edx
mov dword [esp + 0x4b], eax
test eax, eax
js 0x101119cf
mov edx, dword [esp + 0x10]
mov byte [esp + 0x46], dl
jmp 0x101119ea
neg edx
push 0
pop esi
adc eax, esi
mov dword [esp + 0x47], edx
neg eax
mov dword [esp + 0x4b], eax
jmp 0x101119e6
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov al, byte [ebp]
cmp al, byte [ecx]
ja 0x101119fd
mov al, byte [ebp + 1]
cmp al, byte [ecx + 1]
je 0x10111b45
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 0x10111a2a
dec ebx
cmp ebx, edx
jg 0x10111a1f
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 0x10111a79
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push eax
call fcn.10112cc8
cmp dword [esp + 0x1c], 0
je 0x10111a68
cmp byte [ebp + 1], 0
jle 0x10111b01
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 0x10111a3f
jmp 0x10111a9a
jge 0x10111a9e
xor esi, esi
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.10112d71
mov ecx, dword [esp + 0x18]
inc byte [ebp + 1]
mov al, byte [ebp + 1]
cmp al, byte [ecx + 1]
jl 0x10111a7d
push 0x10
pop esi
mov ebx, dword [esp + 0x28]
mov al, byte [ecx]
mov byte [esp + 0x17], al
cmp byte [ebx + 0x1013516b], al
jbe 0x10111b12
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 0x10111adf
mov eax, dword [esp + 0x60]
or eax, dword [esp + 0x64]
je 0x10111b0b
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, eax
push ecx
call fcn.10112cc8
mov dl, byte [esp + 0x17]
mov cl, dl
dec dl
mov byte [esp + 0x17], dl
test cl, cl
jne 0x10111acb
mov ax, word [esp + 0x10]
jmp 0x101117a8
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.101175c0
xor eax, eax
sub esi, ebx
push esi
push eax
lea eax, [ebp + 3]
add eax, ebx
push eax
call fcn.10117460
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 0x101117a8