Function at 0x52eb60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c72c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x474
push ebx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
push esi
mov dword [ebp - 0x1c], ecx
push edi
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov esi, 1
mov dword [ebp - 4], esi
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x60]
push ecx
push str.timestamp
push edx
call fcn.005bed70
add esp, 0xc
test al, al
je 0x52ebd5
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x10]
jmp 0x52ec27
push 0xc
call fcn.00611c8b
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x52ec00
push 0x66f16a
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
call fcn.0060f0f0
mov dword [edi], eax
jmp 0x52ec02
xor edi, edi
mov byte [ebp - 4], 2
mov esi, edi
mov dword [ebp - 0x10], esi
test edi, edi
jne 0x52ec19
push 0x8007000e
call fcn.0060f000
mov byte [ebp - 4], 4
mov ebx, 1
mov dword [ebp - 0x20], ebx
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x18]
call fcn.00404700
mov dword [ebp - 4], 6
test bl, 1
je 0x52ec81
and ebx, 0xfffffffe
mov dword [ebp - 0x20], ebx
test esi, esi
je 0x52ec81
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x52ec7a
mov eax, dword [esi]
test eax, eax
je 0x52ec61
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x52ec71
push eax
call fcn.00611a0b
add esp, 4
push esi
call fcn.0060faf6
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x52ec8c
mov eax, dword [eax]
jmp 0x52ec8e
xor eax, eax
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.0052c580
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
add esp, 8
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x34], edx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x52ecdb
movzx edx, word [ebp - 0x32]
mov dword [ebp - 0x10], edx
fild dword [ebp - 0x10]
fdiv qword [0x66f918]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
lea eax, [ebp - 0x70]
push eax
sub esp, 8
fstp qword [esp]
call fcn.00425380
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x30]
push 0xa
lea eax, [ebp - 0x480]
push eax
push ecx
call fcn.006125c4
lea eax, [ebp - 0x480]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x52ed20
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x480]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401670
push 1
push 0x671930
lea ecx, [ebp - 0x14]
call fcn.00401710
mov ecx, dword [ebp - 0x2c]
push 0xa
lea eax, [ebp - 0x480]
push eax
push ecx
call fcn.006125c4
lea eax, [ebp - 0x480]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x52ed70
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x480]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401710
push 4
push str..jpg
lea ecx, [ebp - 0x14]
call fcn.00401710
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x278]
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x52edb0
lea eax, [ebp - 0x278]
add eax, 0xfffffffe
jmp 0x52edd0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x52edd0
mov ecx, dword [str.Data]
mov edx, dword [0x67a948]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [eax], ecx
mov ecx, dword [0x67a94c]
mov dword [eax + 4], edx
push 0
lea edx, [ebp - 0x278]
push edx
mov dword [eax + 8], ecx
call ebx
lea edi, [ebp - 0x278]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x52ee10
mov eax, dword [0x66ea40]
mov dword [edi], eax
mov eax, str.Last
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x52ee30
lea edi, [ebp - 0x278]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x52ee46
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [ebp - 0x278]
push ecx
call ebx
lea edi, [ebp - 0x278]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x52ee76
mov edx, dword [0x66ea40]
mov eax, dword [ebp - 0x1c]
add eax, 0x410
mov dword [edi], edx
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x52ee94
lea edi, [ebp - 0x278]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x52eeb0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [ebp - 0x278]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
lea edi, [ebp - 0x278]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x52eee0
mov ecx, dword [0x66ea40]
mov eax, 0x67a46c
mov dword [edi], ecx
mov edx, eax
jmp 0x52ef00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x52ef00
lea edi, [ebp - 0x278]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x52ef16
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea edx, [ebp - 0x278]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call ebx
lea edi, [ebp - 0x278]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x52ef46
mov eax, dword [0x66ea40]
lea ecx, [ebp - 0x278]
push ecx
push 0
lea ecx, [ebp - 0x14]
mov dword [edi], eax
call fcn.004490e0
mov edi, dword [ebp - 0x14]
push ecx
mov esi, esp
add edi, 0xfffffff0
mov dword [ebp - 0x10], esp
push edi
mov dword [ebp - 0x24], esi
call fcn.004011f0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 8
mov edx, dword [ebp + 8]
push edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
call fcn.0052e310
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x52efe1
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x52efda
mov eax, dword [esi]
test eax, eax
je 0x52efc1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x52efd1
push eax
call fcn.00611a0b
add esp, 4
push esi
call fcn.0060faf6
add esp, 4
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 4], 0xffffffff
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x52f00f
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4