Function at 0x44d730
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf80e
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x50b080]
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 - 0x64], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], 0
call fcn.00445e20
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0040d620
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x60], 3
cmp ecx, 7
jbe 0x44d7cc
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44d7c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44da14
push ecx
push edx
call fcn.004906cd
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 - 0x2c], xmm0
mov dword [ebp - 0x18], esi
movups xmmword [ebp - 0x3c], xmm0
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 0x44d9b6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x44d9b6
cmp dword [ebp - 0x40], eax
je 0x44d9b6
mov byte [ebp - 4], 3
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x44da19
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x40]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x64], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d861
sub ecx, dword [ebp - 0x64]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040db20
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0xa
jb 0x44da23
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push ecx
cmova eax, dword [ebp - 0x2c]
push eax
push 0xa
push str.MBAMTemp_
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
call fcn.00442700
mov dword [ebp - 0x60], 7
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.0040dab0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x44d90c
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44d902
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44da28
push ecx
push edx
call fcn.004906cd
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 0x44d970
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x44d970
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x4c], eax
mov eax, edi
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0x48], 0
jbe 0x44d945
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44d99b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push str.Error__d_calling_CreateDirectory
push eax
call fcn.00411010
mov edx, 0x6dc
jmp 0x44d98a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push str.Error__d_calling_ConvertStringSecurityDescriptorToSecurityDescriptor
push eax
call fcn.00411010
mov edx, 0x6e3
mov esi, dword [ebp - 0x14]
mov ecx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBUtils.cpp
push esi
call fcn.004474b0
add esp, 0x10
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44d9b3
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 0x44d9c4
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 7
jbe 0x44d9f7
mov ecx, dword [ebp - 0x2c]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x44d9ed
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44da28
push esi
push ecx
call fcn.004906cd
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.00490396
mov esp, ebp
pop ebp
ret
call fcn.004958ff
push 0x80004005
call fcn.00404ea0
call fcn.0040ddc0
call fcn.004958ff
int3