Function at 0x110c8530
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8a8
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x134]
mov ebx, dword [esi + 0x934]
push 0x208
lea eax, [ebp - 0x43c]
push 0
push eax
mov dword [ebp - 0x8a8], esi
mov dword [ebp - 0x8a4], edi
call sub.MSVCR100.dll_memset
push str._PROMPT_
push ebx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 0x14
test eax, eax
jne 0x110c85b8
mov ecx, dword [esi + 0x938]
mov edx, dword [edi]
mov edx, dword [edx + 0x5c]
lea eax, [ebp - 0x43c]
push eax
push ecx
mov ecx, edi
call edx
test eax, eax
jne 0x110c85b2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
lea ebx, [ebp - 0x43c]
cmp word [ebx], 0
jne 0x110c85fe
mov eax, dword [esi + 0x938]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push 0
call fcn.110c3f80
add esp, 8
xor ecx, ecx
test eax, eax
setne cl
pop edi
mov dword [esi + 0x938], eax
mov dword [esi + 0x93c], 1
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x93c]
cmp eax, 1
jne 0x110c861d
mov edx, dword [esi + 0x938]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push 0
push ebx
jmp 0x110c895e
cmp eax, 2
jne 0x110c86c6
mov ecx, dword [esi + 0x134]
push 0x62
call fcn.110c6fe0
test al, al
je 0x110c863e
mov ebx, str..pdf
jmp 0x110c8654
mov ecx, dword [esi + 0x134]
push 0x61
call fcn.110c6fe0
test al, al
je 0x110c86c6
mov ebx, 0x1121b604
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x640]
movzx edx, word [ebp - 0x642]
movzx eax, word [ebp - 0x644]
push ebx
push ecx
push edx
push eax
mov ecx, edi
call fcn.110c2fa0
push eax
lea ecx, [ebp - 0x63c]
push str._s__02d__02d__02d_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea edx, [ebp - 0x854]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x854]
push ecx
push 0x111fb8fc
call fcn.111be4a0
jmp 0x110c8963
push 0x24
push ebx
lea edi, [ebp - 0x234]
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 8
test eax, eax
je 0x110c87eb
sub eax, ebx
sar eax, 1
lea esi, [eax + eax]
push esi
push ebx
push edi
call sub.MSVCR100.dll_memcpy
push 0x14
add ebx, esi
lea edx, [ebp - 0x2c]
push ebx
add edi, esi
push edx
mov dword [ebp - 0x8a0], edi
call dword [sym.imp.MSVCR100.dll_wcsncpy]
add esp, 0x18
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, 0x18
mov esi, str._CLIENTNAME_
lea edi, [ebp - 0x2c]
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x110c8758
sub eax, 4
add esi, 4
add edi, 4
cmp eax, 4
jae 0x110c8720
test eax, eax
je 0x110c877f
mov dl, byte [esi]
cmp dl, byte [edi]
jne 0x110c8758
cmp eax, 1
jbe 0x110c877f
mov cl, byte [esi + 1]
cmp cl, byte [edi + 1]
jne 0x110c8758
cmp eax, 2
jbe 0x110c877f
mov dl, byte [esi + 2]
cmp dl, byte [edi + 2]
je 0x110c877f
cmp dword [ebp - 0x2c], 0x230024
je 0x110c8804
mov eax, dword [ebp - 0x8a0]
mov cx, word [ebx]
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x8a0], eax
add ebx, 2
jmp 0x110c87cb
mov ecx, dword [ebp - 0x8a4]
call fcn.110c2fa0
mov esi, dword [ebp - 0x8a0]
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x110c8794
mov eax, esi
lea edx, [eax + 2]
jmp 0x110c87b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110c87b0
sub eax, edx
sar eax, 1
lea edx, [esi + eax*2]
mov dword [ebp - 0x8a0], edx
add ebx, 0x18
push 0x24
push ebx
call dword [sym.imp.MSVCR100.dll_wcschr]
mov edi, dword [ebp - 0x8a0]
add esp, 8
test eax, eax
jne 0x110c86e0
mov esi, dword [ebp - 0x8a8]
mov ecx, edi
sub ecx, ebx
nop
movzx eax, word [ebx]
mov word [ecx + ebx], ax
add ebx, 2
test ax, ax
jne 0x110c87f0
jmp 0x110c8920
add ebx, 4
cmp word [ebx], 0
jne 0x110c8812
mov ebx, str..prn
mov edi, dword [ebp - 0x8a0]
mov eax, 0x1124b64c
mov edx, edi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x110c8821
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x110c8834
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x110c8844
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x89c]
push eax
lea ecx, [ebp - 0x234]
push ecx
xor edi, edi
mov dword [ebp - 0x87c], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x8a4], eax
cmp eax, 0xffffffff
je 0x110c88e7
jmp 0x110c8890
cmp word [ebp - 0x870], 0
lea esi, [ebp - 0x870]
je 0x110c88b9
movzx edx, word [esi]
push edx
call dword [sym.imp.MSVCR100.dll_iswdigit]
add esp, 4
test eax, eax
jne 0x110c88b9
add esi, 2
cmp word [esi], ax
jne 0x110c88a0
push esi
call dword [sym.imp.MSVCR100.dll__wtoi]
add esp, 4
cmp eax, edi
jle 0x110c88c9
mov edi, eax
mov ecx, dword [ebp - 0x8a4]
lea eax, [ebp - 0x89c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x110c8890
mov eax, dword [ebp - 0x8a4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x880]
or edx, dword [ebp - 0x87c]
je 0x110c88fd
inc edi
mov eax, dword [ebp - 0x8a0]
push ebx
push edi
push str._03d_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp - 0x8a8]
mov edi, dword [ebp - 0x8a0]
add esp, 0x10
lea ecx, [ebp - 0x234]
sub edi, ecx
sar edi, 1
cmp edi, 0x104
jbe 0x110c8949
push 0x246d
push str...ctl32Connect.cpp
push str.op___obuf____tsizeof__obuf_
call fcn.11067750
add esp, 0xc
mov edx, dword [esi + 0x938]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.111b7990
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
mov dword [esi + 0x938], eax
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret