Function at 0x4b9070
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5ad0a0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0056cdb0
test edi, edi
mov ebp, eax
jne 0x4b90b9
or eax, 0xffffffff
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x10
ret 8
call fcn.004021f0
mov edx, eax
mov ebx, 1
call fcn.0056cea0
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4b90a1
mov eax, dword [ebp]
cmp eax, dword [edi]
jne 0x4b90a1
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x24]
push eax
call fcn.00578327
mov dword [esi + 0x24], ebx
movzx eax, byte [edi + 0x20]
push eax
mov dword [esi + 0x20], eax
call fcn.0057740a
add esp, 8
cmp eax, ebx
mov dword [esi + 0x24], eax
jne 0x4b9117
lea eax, [ebx - 8]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov ecx, dword [esi + 0x20]
push ecx
add edi, 0x21
push edi
push eax
call fcn.0057e7b0
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x24]
lea edi, [esp + 0x10]
call fcn.004040f0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jle 0x4b9172
lea ecx, [eax - 1]
mov eax, edi
call fcn.004129b0
cmp ax, 0x5c
je 0x4b9172
push 0x5c
call fcn.00404400
lea edi, [esi + 0x304]
lea eax, [esp + 0x10]
call fcn.004035d0
mov edx, dword [esp + 0x28]
lea edi, [esp + 0x10]
call fcn.004040f0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
cmp eax, ebx
jle 0x4b91b0
lea ecx, [eax - 1]
mov eax, edi
call fcn.004129b0
cmp ax, 0x5c
je 0x4b91b0
push 0x5c
call fcn.00404400
lea ebp, [esi + 0x308]
lea eax, [esp + 0x10]
mov edi, ebp
call fcn.004035d0
lea eax, [esp + 0x24]
push ebp
push eax
mov ebx, str.SyncTemp
call fcn.00412480
add esp, 8
lea edi, [esi + 0x30c]
mov byte [esp + 0x1c], 1
call fcn.004035d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.00404510
mov ecx, dword [edi]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x5c
call fcn.00404400
lea edx, [esp + 0x24]
push ebp
push edx
mov ebx, 0x5c886c
call fcn.00412480
mov eax, dword [eax]
add esp, 8
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [esp + 0x24]
call fcn.00404510
lea eax, [esi + 0x304]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, 0x5c2190
call fcn.00412480
mov eax, dword [eax]
push eax
call fcn.00470480
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call fcn.00404510
test bl, bl
je 0x4b9285
lea ecx, [esp + 0x10]
call fcn.00404510
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x28]
lea edx, [esi + 0x2f0]
push edx
call fcn.004b6750
mov edi, dword [esi + 0x28]
xor ebx, ebx
cmp edi, ebx
je 0x4b92b0
mov eax, edi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov edi, dword [edi]
call edx
cmp edi, ebx
jne 0x4b929e
mov dword [esi + 0x318], ebx
mov dword [esi + 0x314], ebx
mov dword [esi + 0x31c], ebx
mov dword [esi + 0x320], ebx
lea ebx, [esi + 0x328]
mov edx, 0x5bce10
call fcn.00407ea0
mov eax, dword [esi + 0x310]
push 0
push 0x32
push 0x1bfc
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x10]
call fcn.00404510
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x10
ret 8