Function at 0x43b6f0
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 [0x4e97fc]
push ebx
push esi
push edi
mov dword [esp + 0x14], ecx
cmp eax, dword [0x4e7020]
jl 0x43b71e
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x4e97f8]
mov al, byte [0x4e96d3]
mov byte [esp + 0x13], al
mov byte [0x4e96d3], 1
cmp byte [esi + 0x17], 0
jne 0x43b73d
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x43b74a
mov ecx, esi
call fcn.00401350
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x43b762
test byte [esi + 0x15], 4
je 0x43b75d
push esi
call fcn.0043f2b0
mov ecx, dword [esi + 8]
jmp 0x43b7b5
cmp al, 2
jne 0x43b7b0
mov ecx, dword [0x4ec4f4]
test ecx, ecx
jne 0x43b7b5
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x43b793
push 0xf
call esi
test eax, eax
mov ecx, 0x4bfb84
mov edx, 0x4bfb90
cmove ecx, edx
jmp 0x43b7b5
push 0
mov ecx, 0x4ec4e8
call fcn.00405930
cmp eax, 0xffffffff
mov ecx, 0x4bfb90
cmovne ecx, dword [0x4ec4f0]
jmp 0x43b7b5
mov ecx, 0x4eb0f0
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 [0x4e7024]
xor eax, eax
inc dword [0x4e97fc]
add ebx, 0x108
add esp, 0xc
mov word [esp + 0x136], ax
mov ecx, 0x42
mov dword [0x4e7024], ebx
mov esi, 0x4e96e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x4eb990
mov dword [ebx + 0x2c], eax
call fcn.00423e80
cmp dword [0x4e9810], 0
xorps xmm0, xmm0
movlpd qword [0x4ec490], xmm0
je 0x43b834
mov eax, dword [0x4e8a24]
mov ecx, 0x4bfb90
test eax, eax
je 0x43b82d
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 0x43b85b
mov byte [ebx + 0xee], 1
mov al, 1
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
cmp dword [0x4ec49c], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x43b877
cmp dword [0x4ec498], 0
jne 0x43b877
test al, al
je 0x43b8aa
mov byte [ebx + 0xec], 0
test al, al
jne 0x43b8aa
cmp dword [0x4ec49c], 0
jge 0x43b897
mov dword [ebx + 0xe0], 0xffffffff
jmp 0x43b8aa
call edi
mov dword [ebx + 0xdc], eax
mov eax, dword [0x4ec49c]
mov dword [ebx + 0xe0], eax
mov ecx, dword [0x4ec400]
mov eax, dword [0x4ec3fc]
mov edx, dword [0x4ec468]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4ec464]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov dword [0x4ec400], eax
mov dword [0x4ec468], ecx
mov dword [0x4ec3fc], ebx
call edi
mov dword [0x4ec4a4], eax
mov dword [0x4ec4a0], eax
mov dword [0x4ec464], eax
mov eax, dword [esp + 0x14]
cmp byte [eax], 5
mov esi, dword [eax + 0xc]
jne 0x43b962
mov eax, dword [0x4e7024]
mov dword [0x4ebfdc], esi
cmp byte [eax + 0xf9], 0
je 0x43b943
mov eax, dword [0x4ea3a4]
mov dword [eax*4 + 0x4ea9e8], esi
call edi
mov ecx, dword [0x4ea3a4]
mov dword [ecx*4 + 0x4ea3a8], eax
inc ecx
xor eax, eax
cmp ecx, 0x190
cmovge ecx, eax
mov dword [0x4ea3a4], ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00477ad0
mov edi, eax
cmp edi, 1
jne 0x43b99e
mov ecx, esi
call fcn.00439ed0
mov edi, eax
jmp 0x43b99e
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x34], 0
push eax
push 1
lea eax, [esp + 0x34]
mov dword [esp + 0x34], ebx
push eax
push 0x4bfc08
mov edx, esi
mov ecx, esi
call fcn.0048dde0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x43b99e
mov edi, dword [esp + 0x14]
neg edi
sbb edi, edi
add edi, 4
mov eax, dword [0x4e7024]
lea ecx, [esp + 0x38]
mov eax, dword [eax + 0xc4]
mov dword [0x4e9800], eax
mov eax, dword [esp + 0x18]
mov dword [0x4ec3fc], eax
mov eax, dword [esp + 0x1c]
mov dword [0x4ec464], eax
mov eax, dword [esp + 0x20]
mov dword [0x4ec400], eax
mov eax, dword [esp + 0x24]
mov dword [0x4ec468], eax
call fcn.004048d0
mov al, byte [esp + 0x13]
mov byte [0x4e96d3], al
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4