Function at 0x49b320
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58a79d
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
call fcn.0049b6c0
add esp, 4
mov dword [esp + 0x140], 0
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x26]
mov ecx, dword [0x601fe8]
cmp ecx, eax
je 0x49b3a7
mov dword [0x601fe8], eax
test ecx, ecx
je 0x49b3a7
call fcn.0049b610
movzx edx, word [esp + 0x26]
movzx eax, word [esp + 0x22]
movzx ecx, word [esp + 0x20]
push edx
push eax
push ecx
push str._04d_02d_02d
lea edi, [esp + 0x24]
call fcn.0049b880
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0x10
push 0
push edx
call esi
movzx eax, byte [ebp + 0xf]
movzx ecx, byte [ebp + 0xe]
push eax
push ecx
movzx edx, bh
movzx eax, bl
push edx
push eax
push str._d._d._d._d
call fcn.0049b880
mov ecx, dword [esp + 0x28]
add esp, 0x14
push 0
push ecx
call esi
lea edx, [esp + 0x18]
push edx
call fcn.004030f0
mov byte [esp + 0x140], 1
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0049af50
add esp, 4
test al, al
je 0x49b487
mov edx, dword [esp + 0x18]
push 3
lea ecx, [esp + 0x38]
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ecx
call fcn.004084d0
mov byte [esp + 0x140], 2
mov eax, dword [esp + 0x30]
push eax
push 0x5e05d8
lea edi, [esp + 0x1c]
call fcn.0049b880
add esp, 8
mov byte [esp + 0x140], 1
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x49b47c
push eax
call fcn.004a4132
add esp, 4
mov edx, dword [esp + 0x14]
push 0
push edx
call esi
jmp 0x49b505
lea eax, [esp + 0x1c]
push eax
call fcn.004030f0
mov ebx, 3
mov byte [esp + 0x140], bl
push edi
push str.Url2Folder_fail__url___s_
lea edi, [esp + 0x24]
call fcn.00402e20
mov edx, dword [esp + 0x24]
add esp, 8
push ebx
lea ecx, [esp + 0x38]
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ecx
call fcn.004084d0
mov byte [esp + 0x140], 4
mov ecx, dword [esp + 0x30]
call fcn.004930a0
mov byte [esp + 0x140], bl
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x49b4f3
push eax
call fcn.004a4132
add esp, 4
mov byte [esp + 0x140], 1
lea edx, [esp + 0x1c]
push edx
call fcn.00403090
push 0
call fcn.004a4642
add esp, 4
mov esi, eax
mov edi, edx
call fcn.0049ae50
push eax
push edi
push esi
push str._I64d__u.txt
lea edi, [esp + 0x24]
call fcn.0049b880
mov eax, dword [esp + 0x24]
push 0x5e0618
push eax
call fcn.004aa8fd
mov esi, dword [ebp + 8]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x49b553
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov byte [esi + 4], 1
call fcn.0049b5a0
mov byte [esp + 0x140], 0
lea ecx, [esp + 0x18]
push ecx
call fcn.00403090
mov dword [esp + 0x140], 0xffffffff
lea edx, [esp + 0x14]
push edx
call fcn.00403090
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14