Function at 0x46b550
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d795d
push eax
mov eax, 0x402c
mov dword fs:[0], esp
call fcn.0054d540
mov edx, dword [ebp + 8]
mov eax, 0x6e3a60
push ebx
test edx, edx
mov dword [ebp - 0x30], 0
mov ecx, eax
mov dword [ebp - 0x24], 0x4000000
cmovne ecx, edx
mov dword [ebp - 0x30], 0
push esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x4000000
push edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x21], 4
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
xor edi, edi
mov edx, dword [ebp + 0xc]
test edx, edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmovne eax, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 0x4000000
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x4000000
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x11], 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
push 4
push edi
push edi
push ecx
mov byte [ebp - 0x23], 1
call fcn.005498d0
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054d21c
push edi
mov ebx, eax
push esi
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x34]
push ebx
push esi
call fcn.005498d0
add esp, 0x24
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test ebx, ebx
jne 0x46b697
push 4
push ebx
push ebx
push esi
mov byte [ebp - 0x23], 1
call fcn.005498d0
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054d21c
push edi
mov ebx, eax
push esi
mov dword [ebp - 0x2c], ebx
push ebx
push dword [ebp - 0x34]
call fcn.005498d0
add esp, 0x24
push 0
push 0x2200000
push 3
push 0
push 0
push 0xc0000008
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push esi
push str.CreateFileW_for_directory__08p_n
mov dword [ebp - 0x34], esi
call fcn.00537430
add esp, 8
cmp esi, 0xffffffff
jne 0x46b6e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push str.Unable_to_open__s:__d_n
call fcn.00537430
add esp, 0xc
mov byte [ebp + 0xb], 0
jmp 0x46b8fd
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push 0x6e95fc
push eax
call fcn.0049f120
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0x6e4544
call fcn.0049efd0
test al, al
jne 0x46b75d
mov edi, dword [ebp - 0x10]
test edi, edi
jne 0x46b96c
call fcn.005368d0
mov ecx, eax
push edi
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov dword [ebp - 0x10], edi
call fcn.005368d0
push edi
mov ecx, eax
push edi
push 0x22f
push str.c:_buildslave_steam_rel_client_win32_build_srcpublic_tier1utlstring.h
mov eax, dword [ecx]
push 2
call dword [eax + 8]
mov dword [ebp - 0x10], eax
mov byte [eax], 0x5c
mov eax, dword [ebp - 0x10]
mov byte [eax + 1], 0
mov esi, dword [ebp - 0x10]
mov edi, 0x6e3a60
mov dword [ebp - 0x20], 0
test esi, esi
mov dword [ebp - 0x14], 0x4000000
mov eax, edi
mov dword [ebp - 0x1c], 0
cmovne eax, esi
mov dword [ebp - 0x18], 0
test eax, eax
mov dword [ebp - 0x20], eax
push 0x3ffc
cmovne edi, eax
mov byte [ebp - 0x11], 4
lea eax, [ebp - 0x4034]
mov dword [ebp + 8], edi
push 0
push eax
mov dword [ebp - 0x20], edi
call fcn.0054f8a0
push 4
push 0
push 0
push edi
mov dword [ebp - 0x4038], 0xa0000003
mov byte [ebp - 0x13], 1
call fcn.005498d0
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054d21c
push 0
mov edi, eax
push esi
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.005498d0
push 0x208
lea eax, [ebp - 0x4028]
push edi
push eax
call fcn.00547940
add esp, 0x3c
test edi, edi
jne 0x46b844
push 4
push edi
push edi
push esi
mov byte [ebp - 0x13], 1
call fcn.005498d0
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054d21c
push 0
mov edi, eax
push esi
mov dword [ebp - 0x1c], edi
push edi
push dword [ebp + 8]
call fcn.005498d0
add esp, 0x24
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46b850
sub ecx, edx
sar ecx, 1
add ecx, ecx
push str.Attaching_reparse_point_n
mov word [ebp - 0x402e], cx
lea eax, [ecx + 2]
mov word [ebp - 0x402c], ax
movzx eax, cx
add eax, 0xc
mov dword [ebp - 0x4034], eax
call fcn.00537430
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x38]
add esp, 4
mov dword [ebp - 0x38], 0
push 0
push eax
mov eax, dword [ebp - 0x4034]
push 0
push 0
add eax, 8
push eax
lea eax, [ebp - 0x4038]
push eax
push 0x900a4
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp + 8], eax
test eax, eax
jne 0x46b8d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.junction_ioctl_failed:__d_n
call fcn.00537430
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], 0
setne byte [ebp + 0xb]
mov byte [ebp - 4], 1
call fcn.005368d0
push 0
push dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov byte [ebp - 4], 0
cmp byte [ebp - 0x13], 0
je 0x46b910
push edi
call fcn.0054d225
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x4000000
mov dword [ebp - 4], 0xffffffff
push ebx
call fcn.0054d225
mov al, byte [ebp + 0xb]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
pop edi
pop esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x4000000
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x46b970
sub edi, ecx
lea esi, [edi + 2]
cmp esi, 0x7fff0000
jbe 0x46b989
call fcn.0049efb0
call fcn.005368d0
push 0
mov ecx, eax
push 0
push 0x26e
push str.c:_buildslave_steam_rel_client_win32_build_srcpublic_tier1utlstring.h
mov eax, dword [ecx]
push esi
call dword [eax + 8]
push edi
push dword [ebp - 0x10]
mov esi, eax
push esi
call fcn.0054f320
add esp, 0xc
mov word [esi + edi], 0x5c
call fcn.005368d0
mov ecx, eax
push 0
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov dword [ebp - 0x10], esi
jmp 0x46b760