Function at 0x4492e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af369
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4e006c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], 0
call fcn.00441c40
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.004154d0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x60], 3
cmp edx, 8
jb 0x44937c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x449372
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449593
push edx
push ecx
call fcn.0046a609
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
mov esi, 7
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x18], esi
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 2
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x449535
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x449535
cmp dword [ebp - 0x40], eax
je 0x449535
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.00403c50
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4493f5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407d50
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea eax, [ebp - 0x2c]
mov edx, str.MBAMTemp_
push eax
lea ecx, [ebp - 0x5c]
call fcn.0043e160
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44943b
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.00415840
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x449482
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x449478
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449598
push edx
push ecx
call fcn.0046a609
add esp, 8
push 0
lea eax, [ebp - 0x44]
push eax
push 1
push str.D:_D_OICI_GA___BG__D_OICI_GA___AN__A_OICI_GA___BA__A_OICI_GA___SY_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x4494eb
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4494eb
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x4c], eax
mov eax, edi
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0x48], 0
jb 0x4494bb
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4494e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push str.Error__d_calling_CreateDirectory
push eax
call fcn.00417100
mov edx, 0x72b
jmp 0x449505
mov esi, dword [ebp - 0x14]
jmp 0x449516
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push str.Error__d_calling_ConvertStringSecurityDescriptorToSecurityDescriptor
push eax
call fcn.00417100
mov edx, 0x732
mov esi, dword [ebp - 0x14]
mov ecx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupmbutils.cpp
push esi
call fcn.004433b0
add esp, 0x10
add esi, 0xfffffff0
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x449532
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x449543
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 8
jb 0x449576
mov ecx, dword [ebp - 0x2c]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x44956c
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44959d
push esi
push ecx
call fcn.0046a609
add esp, 8
mov eax, edi
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.0046a0e8
mov esp, ebp
pop ebp
ret
call fcn.0048552c
call fcn.0048552c
call fcn.0048552c
int3