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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x101366b4]
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.0x1011225f.15
movzx eax, byte [eax + 0x1011268a]
mov dword [esp + 0x10], 1
jmp dword [eax*4 + 0x10112652]
and esi, 0xfffffffe
je case.0x1011225f.22
push esi
call fcn.10117fe0
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 0x101122ab
push ebp
call fcn.10117f0a
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.10117cfd
add esp, 0x6c
ret 0x20
mov ecx, dword [esp + 0x18]
mov ebx, ebp
jmp 0x101122b7
mov ebp, dword [esp + 0x1c]
push dword [esp + 0x24]
push ecx
push esi
push ebx
call fcn.101139c9
movzx esi, ax
test ebp, ebp
je 0x101122d1
push ebp
call fcn.10117f0a
pop ecx
mov ax, si
jmp 0x10112296
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 0x101124b3
xor edx, edx
cmp eax, edx
jl 0x101124d4
jg 0x101124b3
cmp esi, edx
jb 0x101124d4
jmp 0x101124b3
mov eax, dword [ebx]
mov byte [esp + 0x44], 0xa
mov dword [esp + 0x47], eax
cmp dx, 0xffee
je 0x101124b3
test eax, eax
js 0x101124d4
jmp 0x101124b3
movzx eax, word [ebx]
mov byte [esp + 0x44], 5
mov word [esp + 0x47], ax
cmp dx, 0xffef
je 0x101124b3
test ax, ax
jmp 0x10112326
mov al, byte [ebx]
mov byte [esp + 0x44], 3
mov byte [esp + 0x47], al
cmp dx, 0xffe4
je 0x101124b3
cmp dx, 0xfff9
je 0x101124b3
test al, al
jmp 0x10112326
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 0x101124d4
mov al, byte [ebx + 0x1c]
mov byte [esp + 0x44], al
mov eax, dword [ebx + 0xc]
jmp 0x1011237a
mov al, byte [ebx + 0x1c]
mov byte [esp + 0x44], al
mov eax, dword [ebx + 0x10]
jmp 0x1011237a
mov cl, byte [ebx + 0x1e]
mov al, byte [ebx + 0x1c]
add al, cl
movsx ebp, cl
mov byte [esp + 0x44], al
mov eax, 0x101361d8
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.1011dab0
mov esi, eax
mov edi, edx
mov eax, dword [ebp + 0x101361b4]
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 0x101124d8
mov dword [esp + 0x20], edx
jmp 0x101124d8
push 7
pop esi
sub edi, esi
je 0x10112426
dec edi
jne 0x1011242d
movsd xmm0, qword [ebx]
jmp 0x1011242d
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.1010f10d
movzx edx, ax
mov dword [esp + 0x20], edx
test dx, dx
je 0x101124d0
cmp dx, word [esp + 0x10]
je 0x101124d0
mov ax, dx
jmp 0x10112296
mov ebp, ebx
jmp 0x101124d4
mov eax, dword [ebx]
mov byte [esp + 0x45], 4
cmp esi, 4
jne 0x1011249f
mov edx, dword [esp + 0x10]
mov byte [esp + 0x44], 0xa
test eax, eax
js 0x10112497
mov dword [esp + 0x47], eax
jmp 0x101124b7
neg eax
mov dword [esp + 0x47], eax
jmp 0x101124d8
mov edx, dword [ebx + 4]
mov byte [esp + 0x44], 0x13
mov dword [esp + 0x47], edx
mov dword [esp + 0x4b], eax
test eax, eax
js 0x101124bd
mov edx, dword [esp + 0x10]
mov byte [esp + 0x46], dl
jmp 0x101124d8
neg edx
push 0
pop esi
adc eax, esi
mov dword [esp + 0x47], edx
neg eax
mov dword [esp + 0x4b], eax
jmp 0x101124d4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov al, byte [ebp]
cmp al, byte [ecx]
ja 0x101124eb
mov al, byte [ebp + 1]
cmp al, byte [ecx + 1]
je 0x10112633
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 0x10112518
dec ebx
cmp ebx, edx
jg 0x1011250d
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 0x10112567
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push eax
call fcn.101137b6
cmp dword [esp + 0x1c], 0
je 0x10112556
cmp byte [ebp + 1], 0
jle 0x101125ef
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 0x1011252d
jmp 0x10112588
jge 0x1011258c
xor esi, esi
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.1011385f
mov ecx, dword [esp + 0x18]
inc byte [ebp + 1]
mov al, byte [ebp + 1]
cmp al, byte [ecx + 1]
jl 0x1011256b
push 0x10
pop esi
mov ebx, dword [esp + 0x28]
mov al, byte [ecx]
mov byte [esp + 0x17], al
cmp byte [ebx + 0x101361a3], al
jbe 0x10112600
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 0x101125cd
mov eax, dword [esp + 0x60]
or eax, dword [esp + 0x64]
je 0x101125f9
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, eax
push ecx
call fcn.101137b6
mov dl, byte [esp + 0x17]
mov cl, dl
dec dl
mov byte [esp + 0x17], dl
test cl, cl
jne 0x101125b9
mov ax, word [esp + 0x10]
jmp 0x10112296
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.101180b0
xor eax, eax
sub esi, ebx
push esi
push eax
lea eax, [ebp + 3]
add eax, ebx
push eax
call fcn.10117f50
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 0x10112296