Function at 0x4d6650
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x562902
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x2b4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2d4]
mov edi, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2cc]
push 0xffffffffffffffff
mov dword [esp + 0x50], ecx
push edi
lea ecx, [esp + 0x58]
mov esi, edx
mov dword [esp + 0x50], eax
call fcn.0049eff0
mov dword [esp + 0x50], vtable.cWCStr.0
xor ebx, ebx
push esi
mov dword [esp + 0x2c0], ebx
call fcn.00408dc0
add esp, 4
test al, al
jne 0x4d66e8
push edi
push esi
lea edx, [esp + 0x58]
push 0x56be54
push edx
call fcn.00401080
add esp, 0x10
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push ebx
lea ecx, [esp + 0x2c]
call fcn.0049ab60
mov edx, dword [esp + 0x54]
push ebx
lea ecx, [esp + 0x64]
push ecx
push edx
mov byte [esp + 0x2c8], 1
call fcn.004ba2a0
add esp, 0xc
test eax, eax
je 0x4d6745
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
xor eax, eax
xor edi, edi
or eax, edx
or ecx, edi
or eax, ecx
je 0x4d6745
push 0xffffffffffffffff
push 0x570b68
lea ecx, [esp + 0x30]
call fcn.0049aed0
jmp 0x4d6779
push esi
call fcn.00408dc0
add esp, 4
test al, al
jne 0x4d675a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 0xef
mov byte [esp + 0x1d], 0xbb
mov byte [esp + 0x1e], 0xbf
call fcn.0049af70
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x20]
call fcn.0049eff0
mov esi, vtable.cWCSF.0
mov dword [esp + 0x18], esi
movzx ecx, word [esp + 0x42]
movzx edx, word [esp + 0x40]
movzx eax, word [esp + 0x3e]
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ecx
movzx ecx, word [esp + 0x4c]
push edx
movzx edx, word [esp + 0x48]
push eax
movzx eax, word [esp + 0x4e]
push ecx
movzx ecx, word [esp + 0x56]
push edx
mov edx, dword [esp + 0x2e8]
push eax
push ecx
push edx
mov byte [esp + 0x2e8], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x4c]
push str._04X:_04X__d___02d__02d__04d__02d:_02d:_02d:_03d
push eax
call fcn.00403e80
add esp, 0x30
push eax
lea ecx, [esp + 0x38]
call fcn.0049b360
mov edi, vtable.cWCS.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2bc], 1
mov dword [esp + 0x18], edi
call fcn.0049ee80
cmp ebp, ebx
je 0x4d6865
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x20]
call fcn.0049eff0
mov dword [esp + 0x18], esi
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebp
push ebp
lea ecx, [esp + 0x2c]
push 0x57dfac
push ecx
mov byte [esp + 0x2d8], 3
call fcn.00403e80
add esp, 0x10
push eax
lea ecx, [esp + 0x38]
call fcn.0049b360
lea ecx, [esp + 0x18]
mov byte [esp + 0x2bc], 1
mov dword [esp + 0x18], edi
call fcn.0049ee80
mov ebp, dword [esp + 0x4c]
cmp ebp, ebx
je 0x4d68bc
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x20]
call fcn.0049eff0
mov dword [esp + 0x18], esi
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x28]
push str.____s
push edx
mov byte [esp + 0x2d4], 4
call fcn.00403e80
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
call fcn.0049b360
lea ecx, [esp + 0x18]
mov byte [esp + 0x2bc], 1
mov dword [esp + 0x18], edi
call fcn.0049ee80
mov edi, dword [esp + 0x2d8]
mov ebp, dword [esp + 0x2dc]
mov eax, edi
or eax, ebp
je 0x4d6945
push 0xffffffffffffffff
push 0x57dfa8
lea ecx, [esp + 0x30]
call fcn.0049af70
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x20]
call fcn.0049eff0
mov dword [esp + 0x18], esi
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebx
push 0x3e8
push ebp
push edi
mov byte [esp + 0x2d8], 5
call fcn.0051c280
push ebx
push 0x3e8
push edx
push eax
call fcn.0051c9f0
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.004d60c0
push eax
lea ecx, [esp + 0x38]
call fcn.0049b360
lea ecx, [esp + 0x18]
mov byte [esp + 0x2bc], 1
mov dword [esp + 0x18], vtable.cWCS.0
call fcn.0049ee80
push 0xffffffffffffffff
push 0x570b68
lea ecx, [esp + 0x30]
call fcn.0049af70
mov ecx, dword [esp + 0x2d0]
mov edx, dword [esp + 0x48]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.0049af70
test byte [0x5be920], 1
jne 0x4d69d0
or dword [0x5be920], 1
push 0x5be8ec
mov dword [0x5be904], 0xbcdd
mov byte [0x5be908], bl
mov dword [0x5be910], ebx
mov dword [0x5be914], ebx
mov dword [0x5be918], 0xffffffff
mov byte [0x5be91c], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x56a8e0
mov dword [0x5be90c], ebx
mov dword [0x5be904], 0xbcaa
call fcn.005194de
add esp, 4
push ebx
mov ecx, 0x5be904
call fcn.004017c0
push 0x5be8ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], ebx
cmp edx, ebx
jne 0x4d69f6
xor eax, eax
jmp 0x4d6a09
mov eax, edx
lea esi, [eax + 1]
jmp 0x4d6a00
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4d6a00
sub eax, esi
push 1
lea ecx, [esp + 0x48]
push ecx
push 1
push eax
push edx
mov edx, dword [esp + 0x68]
push edx
call fcn.004a0ee0
add esp, 0x18
push 0x5be8ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x28]
mov byte [esp + 0x2bc], bl
call fcn.0049ac30
lea ecx, [esp + 0x50]
mov dword [esp + 0x2bc], 0xffffffff
mov dword [esp + 0x50], vtable.cWCS.0
call fcn.0049ee80
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.0051916c
add esp, 0x2ac
ret