Function at 0x455fd0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b27ce
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4e96d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov edi, dword [eax]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x456372
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x456372
push 0x72
lea ecx, [ebp + 8]
call fcn.0041d2b0
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [edi + 0x38]
push dword [ebx]
push str.__s_:__s...
push eax
call fcn.0041b160
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
add esp, 0x10
add edx, 0xfffffff0
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x456076
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x456085
call fcn.0046f84e
mov eax, dword [ecx]
push dword [ebp - 0x18]
call dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
call fcn.0046c0e0
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.0046e8e0
cmp byte [0x4f3c01], 0
jne 0x4560ff
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4560f4
push 0x4f3c01
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0xa0
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUI_agent_install_action.cpp
push 0x20
call fcn.0046bf00
jmp 0x4560f6
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x4f40e4], eax
mov ecx, dword [ebp - 0x18]
call fcn.0046e8f0
mov ecx, dword [0x4f40e4]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00410ed0
mov byte [ebp - 4], 3
mov ecx, dword [0x4f40e4]
push dword [eax]
push 0x4cfd18
mov edx, dword [ecx]
push ecx
call dword [edx + 0x48]
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45615d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x4f40e4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4f40e4]
lea ecx, [ecx + 0xd0]
call fcn.0046e8f0
push 0x134
lea ecx, [ebp - 0x1c]
call fcn.0041d2b0
mov dword [ebp - 0x18], eax
push 0x81
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0041d2b0
push ebx
mov byte [ebp - 4], 5
push dword [ebp - 0x18]
push eax
push ecx
mov ecx, edi
call fcn.0045e320
mov byte [ebp - 4], 4
mov ecx, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4561cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4561eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov edx, ebx
call fcn.00410c50
mov dword [ebp + 8], eax
push 0x81
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0041d2b0
mov byte [ebp - 4], 7
push dword [ebp + 8]
push eax
push ecx
mov ecx, edi
call fcn.0045e3c0
mov byte [ebp - 4], 6
mov ecx, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45623c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45625c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 0xb7
je 0x456372
push 0x81
lea ecx, [ebp - 0x20]
mov dword [edi + 0x30], 3
call fcn.0041d2b0
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0045e460
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4562a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret