Function at 0x4118c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453c58
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x46a180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 0x134], esi
cmp dword [esi + 0x14], 7
jbe 0x411900
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x411b0f
cmp dword [esi + 0x14], 7
mov edi, esi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], esi
jbe 0x41192f
mov edi, dword [esi]
mov dword [ebp - 0x12c], edi
test eax, eax
je 0x411a0e
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00432ee0
add esp, 0xc
mov ecx, 0x4589f4
mov edx, 0x100
movzx eax, word [ecx]
cmp ax, dx
jae 0x4119a5
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x128], 1
cmp ecx, 0x4589f8
jne 0x411957
mov eax, dword [esi + 0x10]
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
movzx eax, word [ecx]
cmp ax, dx
jae 0x411996
cmp byte [ebp + eax - 0x128], 0
jne 0x41199f
cmp ecx, edi
je 0x411a0e
sub ecx, 2
jmp 0x411984
sub ecx, edi
sar ecx, 1
jmp 0x411a11
mov eax, dword [ebp - 0x130]
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
movzx edi, word [ecx]
mov eax, 0x5c
mov esi, 0x4589f4
lea edx, [eax - 0x5a]
cmp ax, di
je 0x4119fe
nop dword [eax]
cmp edx, 1
je 0x4119e6
movzx eax, word [esi + 2]
add esi, 2
dec edx
cmp ax, di
jne 0x4119d0
test esi, esi
jne 0x4119fe
cmp ecx, dword [ebp - 0x12c]
je 0x4119f3
sub ecx, 2
jmp 0x4119b7
mov esi, dword [ebp - 0x134]
or ecx, 0xffffffff
jmp 0x411a11
sub ecx, dword [ebp - 0x12c]
mov esi, dword [ebp - 0x134]
sar ecx, 1
jmp 0x411a11
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x411a9e
cmp dword [esi + 0x10], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
cmovb ecx, dword [esi + 0x10]
mov eax, esi
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jbe 0x411a40
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00403080
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004118c0
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x411a9e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411a94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b32
push ecx
push edx
call fcn.00430e05
add esp, 8
cmp dword [esi + 0x14], 7
jbe 0x411aa6
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x411b0b
call fcn.004102f0
cmp eax, 3
jl 0x411b07
push str.WemeetFileUtil::CreateDirectoryRecursively
push 0x45
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_file_util.cc
push 3
lea ecx, [ebp - 0x110]
call fcn.00404330
lea esi, [eax + 0x10]
mov dword [ebp - 4], 1
push str.CreateDirectory_failed__error_code:
push esi
call fcn.00402c00
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00405220
lea ecx, [ebp - 0x110]
call fcn.00404f70
xor al, al
jmp 0x411b17
mov al, 1
jmp 0x411b17
test eax, 0x410
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004312d2
mov esp, ebp
pop ebp
ret
call fcn.00435fbe
int3