Function at 0x445150
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4e5b94]
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
cmp eax, dword [0x4e30f8]
jl 0x44517e
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x4e5b90]
mov al, byte [0x4e5867]
mov byte [esp + 0xf], al
mov byte [0x4e5867], 1
cmp byte [esi + 0x17], 0
jne 0x44519d
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x4451aa
mov ecx, esi
call fcn.00401590
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4451c2
test byte [esi + 0x15], 4
je 0x4451bd
push esi
call fcn.00448490
mov ecx, dword [esi + 8]
jmp 0x445210
cmp al, 2
jne 0x44520b
mov ecx, dword [0x4e88b4]
test ecx, ecx
jne 0x445210
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x4451f3
push 0xf
call esi
test eax, eax
mov ecx, 0x4b9c04
mov edx, 0x4b9c10
cmove ecx, edx
jmp 0x445210
push 0
call fcn.00405c70
cmp eax, 0xffffffff
mov ecx, 0x4b9c10
cmovne ecx, dword [0x4e88b0]
jmp 0x445210
mov ecx, 0x4e7470
push 0x7f
push ecx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov ebx, dword [0x4e30fc]
xor eax, eax
inc dword [0x4e5b94]
add ebx, 0x108
add esp, 0xc
mov word [esp + 0x136], ax
mov ecx, 0x42
mov dword [0x4e30fc], ebx
mov esi, 0x4e5870
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x4e7d50
mov dword [ebx + 0x2c], eax
call fcn.0042aa30
cmp dword [0x4e5ba4], 0
xorps xmm0, xmm0
movlpd qword [0x4e8850], xmm0
je 0x44527e
push 0x4e5980
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov al, byte [ebx + 0xee]
test al, al
jne 0x4452a5
mov byte [ebx + 0xee], 1
mov al, 1
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
cmp dword [0x4e885c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x4452bd
cmp dword [0x4e8858], 0
jne 0x4452c1
test al, al
je 0x4452f4
mov byte [ebx + 0xec], 0
test al, al
jne 0x4452f4
cmp dword [0x4e885c], 0
jge 0x4452e1
mov dword [ebx + 0xe0], 0xffffffff
jmp 0x4452f4
call esi
mov dword [ebx + 0xdc], eax
mov eax, dword [0x4e885c]
mov dword [ebx + 0xe0], eax
mov ecx, dword [0x4e87bc]
mov eax, dword [0x4e87b8]
mov edx, dword [0x4e8824]
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4e8820]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov dword [0x4e87bc], eax
mov dword [0x4e8824], ecx
mov dword [0x4e87b8], edi
call esi
mov ebx, dword [esp + 0x10]
mov dword [0x4e8864], eax
mov dword [0x4e8860], eax
mov dword [0x4e8820], eax
cmp byte [ebx], 5
jne 0x4453bd
push 0x4cee70
call fcn.0040bda0
mov eax, dword [0x4e30fc]
mov edi, dword [ebx + 0xc]
mov dword [0x4e8398], edi
cmp byte [eax + 0xf9], 0
je 0x445397
mov eax, dword [0x4e6728]
mov dword [eax*4 + 0x4e6d70], edi
call esi
mov ecx, dword [0x4e6728]
mov dword [ecx*4 + 0x4e6730], eax
inc ecx
xor eax, eax
cmp ecx, 0x190
cmovge ecx, eax
mov dword [0x4e6728], ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00478520
mov esi, eax
cmp esi, 1
jne 0x4453b4
mov ecx, edi
call fcn.00443ba0
mov esi, eax
sub dword [0x4e4acc], 0xc
jmp 0x4453fb
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 1
lea eax, [esp + 0x30]
mov dword [esp + 0x38], 0
push eax
push 0x4cee70
mov dword [esp + 0x38], edi
call fcn.0048f7f0
mov esi, eax
test esi, esi
je 0x4453fb
mov esi, dword [esp + 0x14]
neg esi
sbb esi, esi
add esi, 4
mov eax, dword [0x4e30fc]
lea ecx, [esp + 0x38]
mov eax, dword [eax + 0xc4]
mov dword [0x4e5b98], eax
mov eax, dword [esp + 0x18]
mov dword [0x4e87b8], eax
mov eax, dword [esp + 0x1c]
mov dword [0x4e8820], eax
mov eax, dword [esp + 0x20]
mov dword [0x4e87bc], eax
mov eax, dword [esp + 0x24]
mov dword [0x4e8824], eax
call fcn.00404750
mov al, byte [esp + 0xf]
pop edi
mov byte [0x4e5867], al
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4