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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104c
call fcn.10055700
mov eax, dword [0x1006d258]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x100625b0
push 1
push 0x100625b4
push 1
push str.ksnetcomm.reader
push 0x10071118
call fcn.100122f0
add esp, 0x18
push 0x1000
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.1004e3d0
add esp, 0xc
mov dword [ebp - 0x1014], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1018], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1018]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x10028524
mov edx, dword [ebp - 0x1014]
lea eax, [ebp + edx - 0x1010]
push eax
mov ecx, dword [0x100b8450]
push ecx
call fcn.1002c630
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x10028337
mov eax, dword [ebp - 8]
jmp 0x1002856f
cmp dword [ebp - 8], 0
jle 0x1002834c
mov edx, dword [ebp - 0x1014]
add edx, dword [ebp - 8]
mov dword [ebp - 0x1014], edx
cmp dword [ebp - 0x1014], 0
jle 0x10028517
mov eax, dword [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1010]
push ecx
call fcn.10011d40
mov dword [ebp - 0x101c], eax
cmp dword [ebp - 0x101c], 0
jne 0x1002837d
jmp 0x10028392
cmp dword [ebp - 0x101c], 2
jne 0x1002838d
jmp 0x100282f1
jmp 0x10028524
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0x100d]
mov byte [edx], al
mov ecx, dword [ebp - 0x1014]
sub ecx, 6
mov dword [ebp - 0x1014], ecx
movsx edx, word [0x100b8454]
cmp edx, 1
jne 0x100284fb
mov byte [ebp - 0x1028], 0
xor eax, eax
mov dword [ebp - 0x1027], eax
mov dword [ebp - 0x1023], eax
mov word [ebp - 0x101f], ax
mov dword [ebp - 0x102c], 0
mov ecx, dword [0x100b8458]
push ecx
push str.COM_d
lea edx, [ebp - 0x1028]
push edx
call fcn.1002c1d0
add esp, 0xc
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1030], eax
mov ecx, dword [ebp - 0x1030]
add ecx, 1
mov dword [ebp - 0x1034], ecx
mov edx, dword [ebp - 0x1030]
mov al, byte [edx]
mov byte [ebp - 0x1035], al
add dword [ebp - 0x1030], 1
cmp byte [ebp - 0x1035], 0
jne 0x10028418
mov ecx, dword [ebp - 0x1030]
sub ecx, dword [ebp - 0x1034]
mov dword [ebp - 0x103c], ecx
mov edx, dword [ebp - 0x103c]
mov byte [ebp + edx - 0x1028], 0x1c
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1040], eax
mov ecx, dword [ebp - 0x1040]
add ecx, 1
mov dword [ebp - 0x1044], ecx
mov edx, dword [ebp - 0x1040]
mov al, byte [edx]
mov byte [ebp - 0x1045], al
add dword [ebp - 0x1040], 1
cmp byte [ebp - 0x1045], 0
jne 0x10028471
mov ecx, dword [ebp - 0x1040]
sub ecx, dword [ebp - 0x1044]
mov dword [ebp - 0x104c], ecx
mov edx, dword [ebp - 0x104c]
mov dword [ebp - 0x102c], edx
mov eax, dword [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x1028]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.1004ec60
add esp, 0xc
mov eax, dword [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x100c]
push ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x102c]
push edx
call fcn.1004ec60
add esp, 0xc
mov eax, dword [ebp - 0x1014]
add eax, dword [ebp - 0x102c]
mov dword [ebp - 0x1014], eax
jmp 0x10028515
mov ecx, dword [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x100c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.1004ec60
add esp, 0xc
jmp 0x10028524
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100282f1
push 0x1000
push 0
lea ecx, [ebp - 0x1010]
push ecx
call fcn.1004e3d0
add esp, 0xc
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
jbe 0x10028549
mov eax, 0xfffffa4c
jmp 0x1002856f
push 0x100625d0
push 1
push str.ReaderSerialRead
push 1
push str.ksnetcomm.reader
push 0x10071118
call fcn.100122f0
add esp, 0x18
mov eax, dword [ebp - 0x1014]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10048168
mov esp, ebp
pop ebp
ret 0xc