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

Disassembly:
sub esp, 0xac
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
mov ebx, dword [esp + 0xc0]
xor eax, eax
push ebp
mov ebp, dword [esp + 0xc8]
push esi
mov esi, dword [esp + 0xc0]
push edi
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov word [esi], ax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x38], esi
push eax
push ebx
push edi
mov dword [esp + 0x40], ebp
call fcn.1010d8b1
xor ecx, ecx
inc ecx
cmp ax, cx
jne 0x101126bb
cmp dword [esp + 0x14], 8
jne 0x101126bb
mov eax, dword [esp + 0x10]
push 8
lea eax, [edi + eax*2]
push eax
push dword [0x10135248]
call fcn.1011c31f
add esp, 0xc
test eax, eax
jne 0x101126b8
mov ecx, dword [esp + 0x10]
sub ebx, ecx
mov edx, dword [esp + 0x14]
sub ebx, edx
mov dword [esp + 0x24], ebx
lea eax, [ecx + edx]
lea edi, [edi + eax*2]
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], edi
push eax
lea eax, [esp + 0x14]
push eax
push ebx
push edi
call fcn.1010d8b1
movzx eax, ax
push 3
pop edx
test ax, ax
je 0x10112299
xor ebp, ebp
inc ebp
cmp ax, bp
jne 0x10112262
mov eax, dword [esp + 0x14]
sub eax, edx
je 0x10112242
dec eax
je 0x101121fa
dec eax
je 0x101121cf
dec eax
jne 0x10112262
mov eax, dword [esp + 0x10]
push 6
lea eax, [edi + eax*2]
push eax
push 0x100123b0
call fcn.1011c31f
add esp, 0xc
test eax, eax
jne 0x1011217a
movzx eax, word [esi]
test ax, ax
jne 0x10112164
push 0x11
jmp 0x1011225e
push 0xf
pop ecx
cmp ax, cx
jne 0x10112173
push 0x15
jmp 0x1011225e
push 0x17
jmp 0x1011225e
mov eax, dword [esp + 0x10]
push dword [esp + 0x14]
lea eax, [edi + eax*2]
push eax
push 0x100123c0
call fcn.1011c31f
add esp, 0xc
test eax, eax
jne 0x10112262
movzx eax, word [esi]
test ax, ax
jne 0x101121aa
push 0x12
jmp 0x1011225e
push 0xf
pop ecx
cmp ax, cx
jne 0x101121b9
push 0x16
jmp 0x1011225e
push 0x10
pop ecx
cmp ax, cx
jne 0x101121c8
push 0x18
jmp 0x1011225e
push 0x19
jmp 0x1011225e
mov eax, dword [esp + 0x10]
push 5
lea eax, [edi + eax*2]
push eax
push 0x100123a4
call fcn.1011c31f
add esp, 0xc
test eax, eax
jne 0x10112262
push 0x13
pop eax
xor edx, edx
cmp word [esi], dx
push 0xe
pop ecx
cmove eax, ecx
jmp 0x1011225f
mov eax, dword [esp + 0x10]
push 4
lea eax, [edi + eax*2]
push eax
push 0x1001238c
call fcn.1011c31f
add esp, 0xc
test eax, eax
jne 0x10112219
push 0xd
jmp 0x1011225e
mov eax, dword [esp + 0x10]
push dword [esp + 0x14]
lea eax, [edi + eax*2]
push eax
push 0x10012398
call fcn.1011c31f
add esp, 0xc
test eax, eax
jne 0x10112262
push 0x14
pop eax
xor ecx, ecx
cmp word [esi], cx
push 0x10
jmp 0x101121f4
mov eax, dword [esp + 0x10]
push edx
lea eax, [edi + eax*2]
push eax
push 0x10012384
call fcn.1011c31f
add esp, 0xc
test eax, eax
jne 0x10112262
push 0xf
pop eax
mov word [esi], ax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [edx + ecx]
lea edi, [edi + eax*2]
lea eax, [edx + ecx]
sub ebx, eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push ebx
push edi
call fcn.1010d8b1
movzx eax, ax
push 3
pop edx
test ax, ax
jne 0x10112110
mov ebp, dword [esp + 0x30]
movsx ecx, word [esi]
add ecx, 0xfffffff3
cmp ecx, 0xc
ja case.default.0x101122af
movzx eax, byte [ecx + 0x101126ea]
jmp dword [eax*4 + 0x101126da]
lea eax, [ebp + 8]
jmp 0x101122c8
lea eax, [ebp + 0xc]
jmp 0x101122c8
lea eax, [ebp + 0x10]
jmp 0x101122c8
lea eax, [ebp + 0x14]
push dword [ecx*4 + 0x10135510]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea eax, [ebp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x7c]
push 0x40
push eax
call fcn.10026460
cmp byte [esp + 0x78], 0
lea edi, [esp + 0x78]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
je 0x10112596
mov esi, dword [esp + 0x1c]
lea eax, [edx + ebx]
lea esi, [esi + eax*2]
lea eax, [edx + ebx]
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x24]
sub ebx, eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x28], ebx
push eax
push ebx
push esi
call fcn.1010d8b1
cmp byte [edi], 0xc
mov edx, dword [esp + 0x10]
movzx ecx, ax
jne 0x101123da
movzx esi, word [esi + edx*2]
movzx eax, byte [edi + 1]
cmp si, ax
jne 0x101123c0
cmp esi, 0x2d
jne 0x10112362
xor eax, eax
inc eax
mov word [ebp + 4], ax
jmp 0x1011238a
cmp esi, 0x28
jne 0x10112370
xor eax, eax
inc eax
mov dword [esp + 0x2c], eax
jmp 0x1011238a
cmp esi, 0x2e
jne 0x1011237e
xor eax, eax
inc eax
mov dword [esp + 0x28], eax
jmp 0x1011238a
cmp esi, 0x2c
jne 0x1011238a
lea eax, [ebp + 0x1e]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push 3
pop eax
add edi, eax
lea eax, [edx + ecx]
lea esi, [esi + eax*2]
lea eax, [edx + ecx]
mov dword [esp + 0x1c], esi
sub ebx, eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push ebx
push esi
call fcn.1010d8b1
mov edx, dword [esp + 0x10]
movzx ecx, ax
jmp 0x101123cd
movzx eax, byte [edi + 2]
add edi, 2
mov esi, dword [esp + 0x1c]
add edi, eax
cmp byte [edi], 0xc
je 0x10112347
mov dword [esp + 0x24], ebx
test cx, cx
je 0x1011258e
xor eax, eax
inc eax
cmp cx, ax
jne 0x101123ff
cmp word [esi + edx*2], 0x27
jne 0x101123ff
mov ebx, eax
push 3
pop eax
mov dword [esp + 0x14], ebx
mov ecx, eax
jmp 0x10112403
mov ebx, dword [esp + 0x14]
movzx eax, byte [edi]
inc edi
cmp ax, cx
je 0x10112422
cmp byte [edi - 1], 1
jne case.default.0x101122af
push 2
pop eax
cmp cx, ax
je 0x10112425
xor eax, eax
inc eax
jmp 0x101126be
push 2
pop eax
cmp cx, ax
jne 0x101124c9
mov cl, byte [edi]
test cl, cl
jle 0x1011243d
movzx eax, cl
cmp ebx, eax
jne case.default.0x101122af
test cl, cl
jns 0x1011244b
movsx ecx, cl
neg ecx
movsx eax, bl
cmp eax, ecx
jg case.default.0x101122af
push 0x1e
pop eax
cmp ebx, eax
cmovg ebx, eax
mov eax, dword [esp + 0x1c]
lea esi, [ebx + ebx]
lea eax, [eax + edx*2]
push esi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.10117410
xor eax, eax
mov word [esp + esi + 0x48], ax
lea eax, [esp + 0x48]
push eax
call fcn.1011bec9
mov ebx, dword [esp + 0x24]
add esp, 0x10
cmp dword [esp + 0x28], 0
je 0x1011249d
mov ecx, ebx
mov edx, 0x101351a0
shl ecx, 2
sub edx, ecx
imul eax, dword [edx]
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x2c], 0
je 0x101124b6
mov ecx, dword [esp + 0x20]
push 2
mov word [ecx], ax
pop eax
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x101124c3
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x18], ecx
inc edi
jmp 0x10112577
push 3
pop eax
cmp cx, ax
jne 0x101124f6
movzx ecx, word [esi + edx*2]
movzx eax, byte [edi]
cmp cx, ax
jne case.default.0x101122af
inc edi
cmp ecx, 0x29
jne 0x1011257b
xor eax, eax
mov dword [esp + 0x2c], eax
jmp 0x1011257b
xor eax, eax
inc eax
cmp cx, ax
jne 0x1011257b
movzx eax, byte [edi]
cmp ebx, eax
jne case.default.0x101122af
push 0x1e
pop eax
push eax
lea eax, [esp + 0x40]
push eax
push ebx
lea eax, [edi + 1]
xor ebx, ebx
push eax
inc ebx
xor eax, eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
push dword [esp + 0x14]
lea eax, [esi + eax*2]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.1011c31f
add esp, 0xc
test eax, eax
jne 0x10112586
mov ebx, dword [esp + 0x14]
push 2
pop eax
cmp ebx, eax
jne 0x10112571
push eax
mov eax, dword [esp + 0x14]
lea eax, [esi + eax*2]
push eax
push 0x100123d0
call fcn.1011c31f
mov ebx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x10112571
lea eax, [ebp + 0x1e]
mov dword [esp + 0x20], eax
movzx eax, byte [edi]
inc edi
add edi, eax
mov edx, dword [esp + 0x10]
cmp byte [edi], 0
jne 0x1011230b
jmp 0x10112592
mov ax, bx
jmp 0x101126be
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + ebx]
lea edi, [ecx + eax*2]
lea eax, [edx + ebx]
mov ebx, dword [esp + 0x24]
sub ebx, eax
je 0x101125cd
push 2
pop ebp
movzx eax, word [edi]
push eax
call fcn.1011c0b6
pop ecx
test eax, eax
je 0x101125c1
add edi, ebp
dec ebx
jne 0x101125ae
mov ebp, dword [esp + 0x30]
test ebx, ebx
jne case.default.0x101122af
movzx eax, word [ebp + 0x1c]
push 9
pop edx
cmp ax, dx
jg case.default.0x101122af
movsx ecx, ax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp eax, dword [ecx*4 + 0x1013517c]
jae case.default.0x101122af
movzx eax, word [esi]
push 0x13
pop ecx
cmp ax, cx
jne 0x10112608
cmp dword [ebp + 0xc], 0xb
ja case.default.0x101122af
push 0x14
pop ecx
cmp ax, cx
je 0x10112682
push 0x15
pop ebx
push 0x16
pop ecx
cmp ax, bx
je 0x10112688
cmp ax, cx
je 0x10112688
push 0x17
pop esi
push 0x18
cmp ax, bx
pop ebx
je 0x1011263a
cmp ax, cx
je 0x1011263a
cmp ax, si
je 0x1011263a
cmp ax, bx
jne 0x10112644
cmp dword [ebp + 0x10], 0x3b
ja case.default.0x101122af
cmp ax, cx
je 0x10112656
cmp ax, bx
je 0x10112656
push 0x19
pop esi
cmp ax, si
jne 0x10112660
cmp dword [ebp + 0x14], 0x3b
ja case.default.0x101122af
xor esi, esi
cwde
inc esi
cmp eax, 0x12
je 0x10112674
cmp eax, ecx
je 0x10112674
add eax, 0xffffffe8
cmp eax, esi
ja 0x101126b4
movzx eax, word [ebp + 0x1e]
cmp ax, dx
jle 0x10112695
mov ax, si
jmp 0x101126be
push 0x16
pop ecx
push 0x15
pop ebx
push 0x17
pop esi
cmp dword [ebp + 0xc], esi
jbe 0x10112623
jmp case.default.0x101122af
mov ecx, dword [ebp + 0x18]
mov ebx, 0x101351a0
cwde
xor edx, edx
shl eax, 2
sub ebx, eax
mov eax, ecx
div dword [ebx]
test edx, edx
je 0x101126b4
sub ecx, edx
mov dword [ebp + 0x18], ecx
jmp 0x1011267d
xor eax, eax
jmp 0x101126be
xor ecx, ecx
inc ecx
mov ax, cx
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011705d
add esp, 0xac
ret 0x14