Function at 0x1000b325
Capabilities:
Check for time delay via gettickcount
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x18], 0x3e9
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
push 0x1e
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.1000f350
add esp, 0xc
push 4
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.1000f350
add esp, 0xc
cmp dword [0x1001fb18], 6
je 0x1000b372
cmp dword [0x1001fb18], 2
jne 0x1000b37c
mov eax, 0x3e9
jmp 0x1000b772
cmp dword [0x1001fb18], 1
jne 0x1000b3a2
push 8
mov edx, dword [0x10017050]
push edx
call dword [sym.imp.KERNEL32.dll_PurgeComm]
test eax, eax
jne 0x1000b3a2
mov eax, 0x3e9
jmp 0x1000b772
cmp dword [0x1001fb18], 7
jne 0x1000b3d5
push 0x76
push 0x1b
push str._c_c_
lea eax, [ebp - 0x10]
push eax
call fcn.1000f2f5
add esp, 0x10
push 8
push 2
lea ecx, [ebp - 0x10]
push ecx
call fcn.100021c0
add esp, 0xc
mov dword [ebp - 0x18], eax
jmp 0x1000b415
push 0xd
push 1
push str._cG_c
lea edx, [ebp - 0x10]
push edx
call fcn.1000f2f5
add esp, 0x10
mov dword [0x10024b1c], 1
mov dword [0x10029b24], 1
mov eax, dword [0x1001fb18]
push eax
push 4
lea ecx, [ebp - 0x10]
push ecx
call fcn.100021c0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3e8
je 0x1000b426
mov eax, dword [ebp - 0x18]
jmp 0x1000b772
mov edx, dword [0x1001fb18]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
sub eax, 1
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 6
ja case.0x1000b445.1
mov ecx, dword [ebp - 0x50]
jmp dword [ecx*4 + 0x1000b778]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
add edx, 0xfa0
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x40]
jl 0x1000b500
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [0x10017050]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
cmp dword [ebp - 0x48], 0x11
jb 0x1000b4f2
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [0x10017050]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000b4b0
mov eax, 0x3e9
jmp 0x1000b772
mov edx, dword [ebp + 8]
mov al, byte [ebp - 0x37]
mov byte [edx], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x36]
mov byte [ecx], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 0x34]
mov byte [eax], cl
mov edx, dword [ebp + 0x14]
mov al, byte [ebp - 0x33]
mov byte [edx], al
mov ecx, dword [ebp + 0x18]
mov dl, byte [ebp - 0x30]
mov byte [ecx], dl
mov eax, dword [ebp + 0x1c]
mov cl, byte [ebp - 0x2e]
mov byte [eax], cl
mov edx, dword [ebp + 0x20]
mov al, byte [ebp - 0x2c]
mov byte [edx], al
mov ecx, dword [ebp + 0x24]
mov dl, byte [ebp - 0x2b]
mov byte [ecx], dl
jmp 0x1000b500
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
jmp 0x1000b461
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x14]
jle 0x1000b512
mov eax, 0x3f2
jmp 0x1000b772
jmp 0x1000b76d
push 0x1e
lea ecx, [ebp - 0x38]
push ecx
push 1
mov edx, dword [0x1001705c]
push edx
call dword [0x10029b40]
cmp eax, 0x11
je 0x1000b53b
mov eax, 0x3e9
jmp 0x1000b772
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x37]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0x36]
mov byte [edx], al
mov ecx, dword [ebp + 0x10]
mov dl, byte [ebp - 0x34]
mov byte [ecx], dl
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 0x33]
mov byte [eax], cl
mov edx, dword [ebp + 0x18]
mov al, byte [ebp - 0x30]
mov byte [edx], al
mov ecx, dword [ebp + 0x1c]
mov dl, byte [ebp - 0x2e]
mov byte [ecx], dl
mov eax, dword [ebp + 0x20]
mov cl, byte [ebp - 0x2c]
mov byte [eax], cl
mov edx, dword [ebp + 0x24]
mov al, byte [ebp - 0x2b]
mov byte [edx], al
jmp 0x1000b76d
push 0x11
lea ecx, [ebp - 0x38]
push ecx
call dword [0x10029b58]
cmp eax, 0x11
je 0x1000b59b
mov eax, 0x3e9
jmp 0x1000b772
mov edx, dword [ebp + 8]
mov al, byte [ebp - 0x37]
mov byte [edx], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x36]
mov byte [ecx], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 0x34]
mov byte [eax], cl
mov edx, dword [ebp + 0x14]
mov al, byte [ebp - 0x33]
mov byte [edx], al
mov ecx, dword [ebp + 0x18]
mov dl, byte [ebp - 0x30]
mov byte [ecx], dl
mov eax, dword [ebp + 0x1c]
mov cl, byte [ebp - 0x2e]
mov byte [eax], cl
mov edx, dword [ebp + 0x20]
mov al, byte [ebp - 0x2c]
mov byte [edx], al
mov ecx, dword [ebp + 0x24]
mov dl, byte [ebp - 0x2b]
mov byte [ecx], dl
jmp 0x1000b76d
push 0xbb8
lea eax, [ebp - 4]
push eax
push 0x1e
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [0x10017054]
push edx
call fcn.1000d8b6
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3e8
jne 0x1000b610
cmp dword [ebp - 4], 0x11
je 0x1000b61a
mov eax, 0x3e9
jmp 0x1000b772
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x37]
mov byte [eax], cl
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0x36]
mov byte [edx], al
mov ecx, dword [ebp + 0x10]
mov dl, byte [ebp - 0x34]
mov byte [ecx], dl
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 0x33]
mov byte [eax], cl
mov edx, dword [ebp + 0x18]
mov al, byte [ebp - 0x30]
mov byte [edx], al
mov ecx, dword [ebp + 0x1c]
mov dl, byte [ebp - 0x2e]
mov byte [ecx], dl
mov eax, dword [ebp + 0x20]
mov cl, byte [ebp - 0x2c]
mov byte [eax], cl
mov edx, dword [ebp + 0x24]
mov al, byte [ebp - 0x2b]
mov byte [edx], al
jmp 0x1000b76d
push 0x1388
push 0x1e
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [0x10017064]
push edx
call fcn.1000d4fc
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
je 0x1000b68c
mov eax, 0x3e9
jmp 0x1000b772
movsx eax, byte [ebp - 0x35]
and eax, 0x40
cmp eax, 0x40
jne 0x1000b6a0
mov ecx, dword [ebp + 8]
mov byte [ecx], 0x59
jmp 0x1000b6a6
mov edx, dword [ebp + 8]
mov byte [edx], 0x4e
movsx eax, byte [ebp - 0x35]
and eax, 0x20
cmp eax, 0x20
jne 0x1000b6ba
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0x59
jmp 0x1000b6c0
mov edx, dword [ebp + 0xc]
mov byte [edx], 0x4e
movsx eax, byte [ebp - 0x35]
and eax, 0x80
cmp eax, 0x80
jne 0x1000b6d8
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0x59
jmp 0x1000b6de
mov edx, dword [ebp + 0x10]
mov byte [edx], 0x4e
movsx eax, byte [ebp - 0x35]
and eax, 4
cmp eax, 4
jne 0x1000b6f2
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 0x59
jmp 0x1000b6f8
mov edx, dword [ebp + 0x14]
mov byte [edx], 0x4e
movsx eax, byte [ebp - 0x37]
and eax, 0x80
cmp eax, 0x80
jne 0x1000b710
mov ecx, dword [ebp + 0x18]
mov byte [ecx], 0x59
jmp 0x1000b716
mov edx, dword [ebp + 0x18]
mov byte [edx], 0x4e
movsx eax, byte [ebp - 0x37]
and eax, 0x20
cmp eax, 0x20
jne 0x1000b72a
mov ecx, dword [ebp + 0x1c]
mov byte [ecx], 0x59
jmp 0x1000b730
mov edx, dword [ebp + 0x1c]
mov byte [edx], 0x4e
movsx eax, byte [ebp - 0x37]
and eax, 8
cmp eax, 8
jne 0x1000b744
mov ecx, dword [ebp + 0x20]
mov byte [ecx], 0x59
jmp 0x1000b74a
mov edx, dword [ebp + 0x20]
mov byte [edx], 0x4e
movsx eax, byte [ebp - 0x37]
and eax, 4
cmp eax, 4
jne 0x1000b75e
mov ecx, dword [ebp + 0x24]
mov byte [ecx], 0x59
jmp 0x1000b764
mov edx, dword [ebp + 0x24]
mov byte [edx], 0x4e
jmp 0x1000b76d
mov eax, 0x3e9
jmp 0x1000b772
mov eax, 0x3e8
mov esp, ebp
pop ebp
ret 0x20