Function at 0x4324a0
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 [0x4db76c]
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
cmp eax, dword [0x4d89bc]
jl 0x4324ce
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x4db768]
cmp byte [esi + 0x17], 0
jne 0x4324dd
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x4324ea
mov ecx, esi
call fcn.004013b0
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x432502
test byte [esi + 0x15], 4
je 0x4324fd
push esi
call fcn.00435af0
mov eax, dword [esi + 8]
jmp 0x432512
cmp al, 2
jne 0x43250d
call fcn.00401260
jmp 0x432512
mov eax, 0x4de000
push 0x7f
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0049ef24
mov ebx, dword [0x4d89c0]
xor eax, eax
inc dword [0x4db76c]
add ebx, 0x108
add esp, 0xc
mov word [esp + 0x12e], ax
mov ecx, 0x42
mov dword [0x4d89c0], ebx
mov esi, 0x4db448
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x4de0d0
mov dword [ebx + 0x2c], eax
call fcn.0041c0b0
cmp dword [0x4db77c], 0
xorps xmm0, xmm0
movlpd qword [0x4debb8], xmm0
je 0x43257f
push 0x4db558
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [ebx + 0xee], 0
jne 0x4325a3
mov byte [ebx + 0xee], 1
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x24], 0xffffffff
cmp dword [0x4debc4], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x4325bb
cmp dword [0x4debc0], 0
jne 0x4325c4
cmp byte [ebx + 0xee], 0
je 0x4325fc
cmp byte [ebx + 0xee], 0
mov byte [ebx + 0xec], 0
jne 0x4325fc
cmp dword [0x4debc4], 0
jge 0x4325e9
mov dword [ebx + 0xe0], 0xffffffff
jmp 0x4325fc
call esi
mov dword [ebx + 0xdc], eax
mov eax, dword [0x4debc4]
mov dword [ebx + 0xe0], eax
mov eax, dword [0x4deb24]
mov ebx, dword [0x4deb20]
mov ecx, dword [0x4deb8c]
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [0x4deb88]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [0x4deb24], ebx
mov dword [0x4deb8c], eax
mov dword [0x4deb20], edi
call esi
mov edx, dword [esp + 0xc]
mov dword [0x4debcc], eax
mov dword [0x4debc8], eax
mov dword [0x4deb88], eax
cmp byte [edx], 5
jne 0x4326ae
mov ecx, dword [0x4de01c]
cmp ecx, dword [0x4de020]
jne 0x432669
call fcn.00405473
mov ecx, dword [0x4de01c]
mov edx, dword [esp + 0xc]
cmp ecx, dword [0x4de018]
jb 0x43267e
mov eax, dword [0x4de700]
mov dword [ecx], eax
mov ecx, dword [0x4de01c]
add ecx, 0xc
mov dword [0x4de01c], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0x4c7370
mov dword [ecx + 8], 0
mov ecx, dword [edx + 0xc]
call fcn.00432430
sub dword [0x4de01c], 0xc
mov esi, eax
jmp 0x4326ec
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x30], 0
push eax
push 0x4c7370
mov dword [esp + 0x30], edi
call fcn.00473000
mov esi, eax
test esi, esi
je 0x4326ec
mov esi, dword [esp + 0x10]
neg esi
sbb esi, esi
add esi, 4
mov eax, dword [0x4d89c0]
lea ecx, [esp + 0x30]
mov eax, dword [eax + 0xc4]
mov dword [0x4db770], eax
mov eax, dword [esp + 0x14]
mov dword [0x4deb88], eax
mov eax, dword [esp + 0x18]
mov dword [0x4deb24], eax
mov eax, dword [esp + 0x1c]
mov dword [0x4deb20], ebx
mov dword [0x4deb8c], eax
call fcn.00403aa0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4