Function at 0x43a940
Capabilities:
Check for time delay via gettickcount
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3cc
cmp byte [ebp + 0x18], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x24], ecx
jne 0x43a9a8
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.004668b0
cmp byte [esi], 0
jne 0x43a98e
mov eax, dword [0x49d3c8]
mov dword [eax + 0x30], 0x57
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x10], 0
jne 0x43a99b
mov dword [ebp + 0x10], 1
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0x30], 0
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a9b0
sub eax, edx
cmp eax, 0x104
jb 0x43a9d8
mov edx, dword [0x49d3c8]
mov dword [edx + 0x30], 0x6f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 8]
push 0x3f
push eax
lea ecx, [esp + 0x170]
push ecx
call fcn.0047a8e0
lea edx, [esp + 0x2dc]
add esp, 0xc
mov byte [esp + 0x1a7], 0
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43aa01
lea edx, [esp + 0x1c8]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43aa16
lea edx, [esp + 0x1c8]
push 0x5c
push edx
call fcn.00478bf7
add esp, 8
test eax, eax
je 0x43aa4f
mov byte [eax + 1], 0
lea eax, [esp + 0x1c8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43aa44
sub eax, edx
jmp 0x43aa59
mov byte [esp + 0x1c8], 0
xor eax, eax
mov ebx, 0x103
lea edx, [esp + 0x2d0]
lea ecx, [esp + eax + 0x1c8]
sub ebx, eax
push 0x5c
push edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ebx
call fcn.00478bf7
add esp, 8
test eax, eax
je 0x43aa88
inc eax
jmp 0x43aa8f
lea eax, [esp + 0x2d0]
mov edi, 0x495114
mov dword [esp + 0x1c], eax
call fcn.00408bf0
test eax, eax
jne 0x43aaa8
mov dword [ebp + 0x10], 2
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x2d4]
xor edi, edi
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x43adb8
jmp 0x43aaea
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x18]
call esi
sub eax, dword [0x4a3104]
mov edx, dword [0x49d3c8]
cmp eax, dword [edx + 0xb0]
jbe 0x43ab2d
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1bc]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43ab26
push 1
push 0xffffffffffffffff
call fcn.00401340
add esp, 8
call esi
mov dword [0x4a3104], eax
test byte [esp + 0x28], 0x10
je 0x43ab61
cmp byte [esp + 0x54], 0x2e
jne 0x43ab56
mov al, byte [esp + 0x55]
test al, al
je 0x43ad99
cmp al, 0x2e
jne 0x43ab56
cmp byte [esp + 0x56], 0
je 0x43ad99
cmp dword [ebp + 0x10], 1
jne 0x43ab6b
jmp 0x43ad99
cmp dword [ebp + 0x10], 3
je 0x43ad99
lea eax, [esp + 0x54]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ab72
sub eax, edx
cmp eax, ebx
jbe 0x43ab91
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0x30], 0x6f
jmp 0x43ad95
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x54]
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43aba0
lea ebx, [esp + 0x168]
cmp byte [esp + 0x168], cl
je 0x43ad6f
mov edi, edi
movzx esi, byte [ebx]
test esi, 0xffffff80
jne 0x43abdd
push 2
push esi
call fcn.0047814e
add esp, 8
test eax, eax
je 0x43abdd
and esi, 0xffffffdf
mov eax, esi
movsx eax, al
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x43abf5.44
movzx edx, byte [eax + 0x43af4c]
jmp dword [edx*4 + 0x43af20]
mov edi, 1
jmp case.0x43abf5.44
mov edi, 2
jmp case.0x43abf5.44
cmp edi, 1
jne 0x43ac5c
or dword [esp + 0x28], 0x20
jmp 0x43ac62
cmp edi, 2
jne 0x43ac6b
and dword [esp + 0x28], 0xffffffdf
jmp 0x43ad63
and al, 0x28
fucompi st(1)
clc
add byte [eax], al
add byte [ebx - 0x7af0fc01], al
int1
add byte [eax], al
add byte [ebx + 0x20282474], al
cmp edi, 3
jne case.0x43abf5.44
xor dword [esp + 0x28], 0x20
jmp case.0x43abf5.44
add byte [eax], ah
inc ebx
cmp byte [ebx], 0
jne 0x43abc0
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x1cc]
pop ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x43ad99
invalid
inc dword [esp + 0x10]
mov esi, dword [eax + 0x24]
adc al, 0x8d
inc esp
and al, 0x28
push eax
push esi
call dword [ebp + sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43aae0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp + 0x14]
test bl, bl
je 0x43aef7
cmp dword [esp + 0x18], 2
jbe 0x43aef7
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
inc edx
lea eax, [esp + 0x1cc]
inc eax
iretd
mov edi, dword [esp + 0x10]
cmp byte [ebp + 0x18], 0
jne 0x43af12
mov eax, edi
cdq
push 0x18
push edx
push eax
mov eax, dword [0x4a13a4]
call 0x3ff0d0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14