Function at 0x4d4c50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x88], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x40]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x30]
push 0x259
push str..._.._base_files_file_util_win.cc
push str.CreateTemporaryDirInDir
push edi
call fcn.0046dd60
add esp, 0x10
mov ecx, esi
push 0
push edi
call fcn.004745e0
xor eax, eax
dec eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea ecx, [esp + 0x30]
call fcn.0046c1e0
mov byte [esp + 3], 1
lea edi, [esp + 0x20]
xor ecx, ecx
mov dword [esp + 4], ecx
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov ecx, edi
push dword [ebp + 0xc]
call fcn.004696d0
call fcn.004490d0
push eax
lea esi, [esp + 0xc]
push esi
call fcn.004d3430
add esp, 8
movzx ebx, byte [esp + 0x13]
mov ecx, esi
test bl, bl
jns 0x4d4d0f
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
cmp ebx, 0x7ffffff0
jae 0x4d4f63
cmp ebx, 5
jae 0x4d4d2e
mov byte [esp + 0x1f], bl
lea esi, [esp + 0x14]
test ebx, ebx
jne 0x4d4d5c
jmp 0x4d4d6a
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
mov esi, ecx
call fcn.0048e8dd
mov ecx, esi
add esp, 4
mov esi, eax
mov dword [esp + 0x14], eax
or edi, 0x80000000
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x20]
mov dword [esp + 0x18], ebx
lea eax, [ebx + ebx]
push eax
push ecx
push esi
call fcn.00491bb0
add esp, 0xc
mov word [esi + ebx*2], 0
movzx eax, byte [esp + 0x1f]
test al, al
cmovs eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
cmovns edx, ecx
mov ecx, edi
push eax
push edx
call fcn.0046b8a0
cmp byte [esp + 0x1f], 0
jns 0x4d4da3
push dword [esp + 0x14]
call fcn.0048e90d
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x4d4db6
push dword [esp + 8]
call fcn.0048e90d
add esp, 4
mov ecx, edi
push 0x5f
call fcn.0046baf0
push 0x7fffffff
push 0
call fcn.00446110
add esp, 8
push eax
lea esi, [esp + 0xc]
push esi
call fcn.00446310
add esp, 8
movzx ebx, byte [esp + 0x13]
mov ecx, esi
test bl, bl
jns 0x4d4def
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
cmp ebx, 0x7ffffff0
jae 0x4d4f63
cmp ebx, 5
jae 0x4d4e0e
mov byte [esp + 0x1f], bl
lea esi, [esp + 0x14]
test ebx, ebx
jne 0x4d4e3c
jmp 0x4d4e4a
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
mov esi, ecx
call fcn.0048e8dd
mov ecx, esi
add esp, 4
mov esi, eax
mov dword [esp + 0x14], eax
or edi, 0x80000000
mov dword [esp + 0x1c], edi
lea edi, [esp + 0x20]
mov dword [esp + 0x18], ebx
lea eax, [ebx + ebx]
push eax
push ecx
push esi
call fcn.00491bb0
add esp, 0xc
mov word [esi + ebx*2], 0
movzx eax, byte [esp + 0x1f]
test al, al
cmovs eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
cmovns edx, ecx
mov ecx, edi
push eax
push edx
call fcn.0046b8a0
cmp byte [esp + 0x1f], 0
jns 0x4d4e83
push dword [esp + 0x14]
call fcn.0048e90d
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x4d4e96
push dword [esp + 8]
call fcn.0048e90d
add esp, 4
movzx eax, byte [esp + 0x2b]
mov edx, edi
test al, al
jns 0x4d4ea9
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
push eax
push edx
lea ebx, [esp + 0x1c]
push ebx
call fcn.0046cb30
lea esi, [esp + 0x30]
mov ecx, esi
push ebx
call fcn.00443f80
mov ecx, ebx
call fcn.0046c2c0
cmp byte [esp + 0x3b], 0
jns 0x4d4ed6
mov esi, dword [esp + 0x30]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4d4f41
cmp byte [esp + 0x2b], 0
jns 0x4d4ef6
push dword [esp + 0x20]
call fcn.0048e90d
add esp, 4
mov eax, dword [esp + 4]
cmp eax, 0x31
lea eax, [eax + 1]
setb byte [esp + 3]
mov ecx, eax
cmp eax, 0x32
jne 0x4d4ccd
lea ecx, [esp + 0x30]
call fcn.0046c2c0
lea ecx, [esp + 0x40]
call fcn.00474640
mov bl, byte [esp + 3]
and bl, 1
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.0048f468
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x30]
push eax
call fcn.00443f20
cmp byte [esp + 0x2b], 0
jns 0x4d4f10
push dword [esp + 0x20]
call fcn.0048e90d
add esp, 4
jmp 0x4d4f10
lea ecx, [esp + 0x14]
call fcn.004d0930
int3