Function at 0x445c50
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 [0x4e69d0]
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
cmp eax, dword [0x4e40f0]
jl 0x445c7e
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x4e69cc]
mov al, byte [0x4e68a7]
mov byte [esp + 0xf], al
mov byte [0x4e68a7], 1
cmp byte [esi + 0x17], 0
jne 0x445c9d
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x445caa
mov ecx, esi
call fcn.00401560
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x445cc2
test byte [esi + 0x15], 4
je 0x445cbd
push esi
call fcn.00449270
mov ecx, dword [esi + 8]
jmp 0x445d10
cmp al, 2
jne 0x445d0b
mov ecx, dword [0x4e96e4]
test ecx, ecx
jne 0x445d10
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x445cf3
push 0xf
call esi
test eax, eax
mov ecx, 0x4bac24
mov edx, 0x4bac30
cmove ecx, edx
jmp 0x445d10
push 0
call fcn.00405f50
cmp eax, 0xffffffff
mov ecx, 0x4bac30
cmovne ecx, dword [0x4e96e0]
jmp 0x445d10
mov ecx, 0x4e82d8
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 [0x4e40f4]
xor eax, eax
inc dword [0x4e69d0]
add ebx, 0x108
add esp, 0xc
mov word [esp + 0x136], ax
mov ecx, 0x42
mov dword [0x4e40f4], ebx
mov esi, 0x4e68b0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x4e8b78
mov dword [ebx + 0x2c], eax
call fcn.0042c920
cmp dword [0x4e69e4], 0
xorps xmm0, xmm0
movlpd qword [0x4e9680], xmm0
je 0x445d8f
mov eax, dword [0x4e5b50]
mov ecx, 0x4bac30
test eax, eax
je 0x445d88
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov al, byte [ebx + 0xee]
test al, al
jne 0x445db6
mov byte [ebx + 0xee], 1
mov al, 1
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
cmp dword [0x4e968c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x445dce
cmp dword [0x4e9688], 0
jne 0x445dd2
test al, al
je 0x445e05
mov byte [ebx + 0xec], 0
test al, al
jne 0x445e05
cmp dword [0x4e968c], 0
jge 0x445df2
mov dword [ebx + 0xe0], 0xffffffff
jmp 0x445e05
call esi
mov dword [ebx + 0xdc], eax
mov eax, dword [0x4e968c]
mov dword [ebx + 0xe0], eax
mov ecx, dword [0x4e95e8]
mov eax, dword [0x4e95e4]
mov edx, dword [0x4e9650]
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4e964c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov dword [0x4e95e8], eax
mov dword [0x4e9650], ecx
mov dword [0x4e95e4], edi
call esi
mov ebx, dword [esp + 0x10]
mov dword [0x4e9694], eax
mov dword [0x4e9690], eax
mov dword [0x4e964c], eax
cmp byte [ebx], 5
jne 0x445ece
push 0x4cffd8
call fcn.0040c090
mov eax, dword [0x4e40f4]
mov edi, dword [ebx + 0xc]
mov dword [0x4e91c4], edi
cmp byte [eax + 0xf9], 0
je 0x445ea8
mov eax, dword [0x4e7590]
mov dword [eax*4 + 0x4e7bd8], edi
call esi
mov ecx, dword [0x4e7590]
mov dword [ecx*4 + 0x4e7598], eax
inc ecx
xor eax, eax
cmp ecx, 0x190
cmovge ecx, eax
mov dword [0x4e7590], ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00478d80
mov esi, eax
cmp esi, 1
jne 0x445ec5
mov ecx, edi
call fcn.004446b0
mov esi, eax
sub dword [0x4e5aec], 0xc
jmp 0x445f0c
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 0x4cffd8
mov dword [esp + 0x38], edi
call fcn.00490090
mov esi, eax
test esi, esi
je 0x445f0c
mov esi, dword [esp + 0x14]
neg esi
sbb esi, esi
add esi, 4
mov eax, dword [0x4e40f4]
lea ecx, [esp + 0x38]
mov eax, dword [eax + 0xc4]
mov dword [0x4e69d4], eax
mov eax, dword [esp + 0x18]
mov dword [0x4e95e4], eax
mov eax, dword [esp + 0x1c]
mov dword [0x4e964c], eax
mov eax, dword [esp + 0x20]
mov dword [0x4e95e8], eax
mov eax, dword [esp + 0x24]
mov dword [0x4e9650], eax
call fcn.00404850
mov al, byte [esp + 0xf]
pop edi
mov byte [0x4e68a7], al
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4