Function at 0x43b7e0
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 [0x4e97dc]
push ebx
push esi
push edi
mov dword [esp + 0x14], ecx
cmp eax, dword [0x4e7020]
jl 0x43b80e
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x4e97d8]
mov al, byte [0x4e96b3]
mov byte [esp + 0x13], al
mov byte [0x4e96b3], 1
cmp byte [esi + 0x17], 0
jne 0x43b82d
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x43b83a
mov ecx, esi
call fcn.00401380
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x43b852
test byte [esi + 0x15], 4
je 0x43b84d
push esi
call fcn.0043f3f0
mov ecx, dword [esi + 8]
jmp 0x43b8a5
cmp al, 2
jne 0x43b8a0
mov ecx, dword [0x4ec4bc]
test ecx, ecx
jne 0x43b8a5
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x43b883
push 0xf
call esi
test eax, eax
mov ecx, 0x4bfb94
mov edx, 0x4bfba0
cmove ecx, edx
jmp 0x43b8a5
push 0
mov ecx, 0x4ec4b0
call fcn.00405990
cmp eax, 0xffffffff
mov ecx, 0x4bfba0
cmovne ecx, dword [0x4ec4b8]
jmp 0x43b8a5
mov ecx, 0x4eb0b8
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 [0x4e97dc]
add ebx, 0x108
add esp, 0xc
mov word [esp + 0x136], ax
mov ecx, 0x42
mov dword [0x4e7024], ebx
mov esi, 0x4e96c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x4eb958
mov dword [ebx + 0x2c], eax
call fcn.00423e50
cmp dword [0x4e97f0], 0
xorps xmm0, xmm0
movlpd qword [0x4ec458], xmm0
je 0x43b924
mov eax, dword [0x4e8a04]
mov ecx, 0x4bfba0
test eax, eax
je 0x43b91d
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 0x43b94b
mov byte [ebx + 0xee], 1
mov al, 1
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
cmp dword [0x4ec464], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x43b967
cmp dword [0x4ec460], 0
jne 0x43b967
test al, al
je 0x43b99a
mov byte [ebx + 0xec], 0
test al, al
jne 0x43b99a
cmp dword [0x4ec464], 0
jge 0x43b987
mov dword [ebx + 0xe0], 0xffffffff
jmp 0x43b99a
call esi
mov dword [ebx + 0xdc], eax
mov eax, dword [0x4ec464]
mov dword [ebx + 0xe0], eax
mov ecx, dword [0x4ec3c8]
mov eax, dword [0x4ec3c4]
mov edx, dword [0x4ec430]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [0x4ec42c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov dword [0x4ec3c8], eax
mov dword [0x4ec430], ecx
mov dword [0x4ec3c4], ebx
call esi
mov dword [0x4ec46c], eax
mov dword [0x4ec468], eax
mov dword [0x4ec42c], eax
mov eax, dword [esp + 0x14]
cmp byte [eax], 5
mov edi, dword [eax + 0xc]
jne 0x43ba52
mov eax, dword [0x4e7024]
mov dword [0x4ebfa4], edi
cmp byte [eax + 0xf9], 0
je 0x43ba33
mov eax, dword [0x4ea36c]
mov dword [eax*4 + 0x4ea9b0], edi
call esi
mov ecx, dword [0x4ea36c]
mov dword [ecx*4 + 0x4ea370], eax
inc ecx
xor eax, eax
cmp ecx, 0x190
cmovge ecx, eax
mov dword [0x4ea36c], ecx
push 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00477b80
mov esi, eax
cmp esi, 1
jne 0x43ba8e
mov ecx, edi
call fcn.00439fc0
mov esi, eax
jmp 0x43ba8e
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 0x4bfc18
mov edx, edi
mov ecx, edi
call fcn.0048def0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x43ba8e
mov esi, dword [esp + 0x14]
neg esi
sbb esi, esi
add esi, 4
mov eax, dword [0x4e7024]
lea ecx, [esp + 0x38]
mov eax, dword [eax + 0xc4]
mov dword [0x4e97e0], eax
mov eax, dword [esp + 0x18]
mov dword [0x4ec3c4], eax
mov eax, dword [esp + 0x1c]
mov dword [0x4ec42c], eax
mov eax, dword [esp + 0x20]
mov dword [0x4ec3c8], eax
mov eax, dword [esp + 0x24]
mov dword [0x4ec430], eax
call fcn.00404920
mov al, byte [esp + 0x13]
pop edi
mov byte [0x4e96b3], al
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4