Function at 0x43a074
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov byte [ebp - 1], 0
xor edi, edi
mov eax, esi
call fcn.00424700
mov edx, dword [0x45b3e0]
mov byte [edx], al
mov eax, dword [0x45b3e0]
movzx eax, byte [eax]
imul eax, eax, 0x422
lea ebx, [eax*8 + 0x4dd3b4]
cmp byte [ebp + 0x38], 0
jne 0x43a12c
mov eax, dword [ebx + 0x14]
push eax
call fcn.00427fc0
test al, al
je 0x43a0cb
fld qword [ebx + 0x30]
fcomp qword [0x45b088]
fnstsw ax
sahf
jae 0x43a0ec
cmp dword [ebx + 0x14], 0x384
je 0x43a0ec
cmp dword [ebx + 0x10], 2
jne 0x43a0e6
push 0x1e
push esi
call sym.FRDrive.dll_GetClockSupports
test al, al
je 0x43a0ec
cmp dword [ebx + 0x10], 2
jle 0x43a12c
push 1
mov eax, dword [ebp + 0x34]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
call sym.FRDrive.dll_WriteICCardEx
mov byte [ebp - 1], al
jmp 0x43a259
call sub.kernel32.dll_GetTickCount
mov ebx, eax
inc edi
lea eax, [ebp - 0x42]
xor ecx, ecx
mov edx, 0x32
call fcn.00402f40
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x42]
push eax
push esi
call sym.FRDrive.dll_ReadICCard
or al, byte [ebp + 0x38]
je 0x43a23f
cmp byte [ebp + 0x38], 0
je 0x43a1bc
cmp dword [ebp - 0x10], 0
jne 0x43a1bc
push 0
mov eax, dword [ebp + 0x34]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
call sym.FRDrive.dll_WriteICCardEx
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x43a259
jmp 0x43a23f
cmp byte [ebp + 0x38], 0
jne 0x43a21a
cmp dword [ebp - 0x10], 0
je 0x43a21a
lea eax, [ebp - 0x42]
mov edx, dword [ebp + 0xc]
call fcn.0040861c
test eax, eax
jne 0x43a21a
push 1
mov eax, dword [ebp + 0x34]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
call sym.FRDrive.dll_WriteICCardEx
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x43a259
jmp 0x43a23f
push 1
push esi
call sym.FRDrive.dll_GetClockVersionOrd
cmp eax, 2
jne 0x43a231
push 3
push esi
call sym.FRDrive.dll_SetClockState
jmp 0x43a259
push 0x64
push 0x9c4
call sub.kernel32.dll_Beep
jmp 0x43a259
cmp edi, 3
jg 0x43a259
call sub.kernel32.dll_GetTickCount
sub eax, ebx
mov edx, dword [0x45b430]
cmp eax, dword [edx]
jbe 0x43a133
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34