Function at 0x4538e0
Capabilities:
Check for time delay via gettickcount
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4f78
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea edi, [eax*4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
xor ebx, edi
shl ebx, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [ebp - 0x40], 0
xor ecx, ebx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x38]
xor edi, edi
mov edx, 2
cmp word [eax], di
je 0x45395c
inc edi
cmp word [eax + edi*2], 0
jne 0x453954
cmp edi, dword [esi + 8]
jbe 0x45398b
xor ecx, ecx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048d929
add esp, 4
mov ebx, eax
push dword [esi]
call fcn.0048d8c3
add esp, 4
mov dword [esi], ebx
mov dword [esi + 8], edi
jmp 0x45398d
mov ebx, dword [esi]
mov ecx, dword [ebp - 0x38]
lea eax, [edi*2 + 2]
push eax
push ecx
push ebx
mov dword [esi + 4], edi
call fcn.004a5400
mov ecx, dword [ebp - 0x34]
add esp, 0xc
mov edx, dword [ebp - 0x34]
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x37
add ax, cx
movzx ecx, ax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x44], ecx
mov ecx, edx
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x37
add ax, cx
mov ecx, edx
mov word [ebp - 0x2e], ax
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x37
add ax, cx
mov ecx, edx
mov word [ebp - 0x2c], ax
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x37
add ax, cx
mov ecx, edx
mov word [ebp - 0x2a], ax
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x37
add ax, cx
mov ecx, edx
mov word [ebp - 0x28], ax
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x37
add ax, cx
mov ecx, edx
mov word [ebp - 0x26], ax
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x37
add ax, cx
cmp edx, 0xa
mov word [ebp - 0x24], ax
sbb eax, eax
and eax, 0xfffffff9
add eax, 0x37
add ax, dx
mov word [ebp - 0x22], ax
xor eax, eax
mov ebx, dword [ebp - 0x3c]
mov word [ebp - 0x20], ax
test ebx, ebx
je 0x453abb
mov edx, dword [esi + 4]
cmp dword [esi + 8], edx
jne 0x453aa4
mov eax, edx
mov ecx, esi
shr eax, 1
add edx, 0x10
add eax, edx
and eax, 0xfffffff0
dec eax
push eax
call fcn.00452050
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, 0x2e
mov word [ecx + edx*2], ax
lea eax, [edx + 1]
xor edx, edx
mov word [ecx + eax*2], dx
mov dword [esi + 4], eax
xor edi, edi
cmp word [ebp - 0x44], di
je 0x453acc
inc edi
cmp word [ebp + edi*2 - 0x30], 0
jne 0x453ac3
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ecx
cmp edi, eax
jbe 0x453af2
add ecx, edi
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
mov ecx, esi
and eax, 0xfffffff0
dec eax
push eax
call fcn.00452050
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea ecx, [eax + ecx*2]
lea eax, [edi*2 + 2]
push eax
lea eax, [ebp - 0x30]
push eax
push ecx
call fcn.004a5400
add dword [esi + 4], edi
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 2
mov ecx, 1
cmove eax, ecx
add dword [ebp - 0x34], eax
test ebx, ebx
je 0x453b80
xor edi, edi
nop dword [eax]
inc edi
cmp word [edi*2 + str..tmp], 0
jne 0x453b30
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ecx
cmp edi, eax
jbe 0x453b62
add ecx, edi
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
mov ecx, esi
and eax, 0xfffffff0
dec eax
push eax
call fcn.00452050
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea ecx, [eax + ecx*2]
lea eax, [edi*2 + 2]
push eax
push str..tmp
push ecx
call fcn.004a5400
add esp, 0xc
add dword [esi + 4], edi
mov edi, dword [esi]
lea ecx, [ebp - 0x80]
call fcn.00402c30
push edi
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0
call fcn.00452c80
mov dword [ebp - 4], 0xffffffff
mov bl, al
push dword [ebp - 0x58]
call fcn.0048d8c3
add esp, 4
test bl, bl
je 0x453bbf
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x453c20
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x453c00
mov eax, dword [ebx]
mov edi, dword [esi]
cmp eax, 0xffffffff
je 0x453be0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x453c0e
mov dword [ebx], 0xffffffff
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jmp 0x453c0c
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x453c42
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x453c20
cmp eax, 0xb7
jne 0x453c30
mov ecx, dword [ebp - 0x40]
inc ecx
mov dword [ebp - 0x40], ecx
cmp ecx, 0x64
jb 0x453945
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 4], 0
mov word [eax], cx
xor al, al
jmp 0x453c44
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret