Function at 0x44ca60
Capabilities:
Check for time delay via gettickcount
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4e2e58]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
cmp dword [ebp + 8], 0
je 0x44ca9e
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx + 0x1d0]
test eax, eax
jne 0x44caa5
xor eax, eax
jmp 0x44d65d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x184], 0
je 0x44cb99
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x184]
push eax
call fcn.0044e0a0
add esp, 4
cmp eax, 0x4e20
jbe 0x44cb99
mov ecx, dword [ebp + 8]
add ecx, 0x1d0
push ecx
push str._Timeout:__s_r_n
push 0
call fcn.0044d670
add esp, 0xc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x170], 0
je 0x44cb56
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx + 0x1d0]
test eax, eax
je 0x44cb56
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2d0], 0
je 0x44cb56
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2d4], 0
je 0x44cb56
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2d8], 0
je 0x44cb56
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2d4]
push edx
push 0xa
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2d8]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x2d0]
call fcn.0044e5d0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x19c], 0
jle 0x44cb75
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
push edx
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
push 0x164
push 0
mov eax, dword [ebp + 8]
add eax, 0x16c
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x44d65d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1a4], 0
jbe 0x44d2a6
mov edx, dword [ebp + 8]
push edx
call fcn.0044ad00
add esp, 4
test eax, eax
jbe 0x44d2a6
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x1a8]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
and ecx, 0xffff
mov word [ebp - 0x50], cx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a4]
sub eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1a4], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1a4], 0
jbe 0x44cc3c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a4]
shl ecx, 2
push ecx
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x1a8]
push ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x1a8]
push edx
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
mov eax, dword [ebp + 8]
imul ecx, dword [eax + 0x100], 0x5d2
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x10c]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
add eax, 0x14
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
add ecx, 0xa
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x48]
add edx, 0xa
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x4c]
mov dword [eax + 4], 1
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x10], 0
mov edx, 0xa55a
mov eax, dword [ebp - 0x48]
mov word [eax], dx
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 8]
mov ax, word [edx + 0xf4]
mov word [ecx + 4], ax
mov ecx, dword [ebp - 0x78]
sar ecx, 0x10
mov edx, dword [ebp - 0x48]
mov word [edx + 6], cx
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax + 6]
or ecx, 0xc
mov edx, dword [ebp - 0x48]
mov word [edx + 6], cx
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax + 6]
and ecx, 0xff00
cmp ecx, 0x100
jne 0x44cf40
mov edx, dword [ebp + 8]
cmp dword [edx + 0x170], 1
jne 0x44cf40
lea eax, [ebp - 0x84]
push eax
call fcn.0044e3d0
lea ecx, [ebp - 0x84]
call fcn.0044e3f0
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x7d0
jbe 0x44cd33
mov ecx, dword [ebp - 0x54]
sub ecx, 0x7d0
mov dword [ebp - 0x54], ecx
imul edx, dword [ebp - 0x54], 0x64
mov dword [ebp - 0x54], edx
lea ecx, [ebp - 0x84]
call fcn.0044e310
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
imul eax, dword [ebp - 0x54], 0x64
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x84]
call fcn.0044e1f0
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x84]
call fcn.0044e250
mov dword [ebp - 0x5c], eax
imul ecx, dword [ebp - 0x5c], 0x64
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x84]
call fcn.0044e2b0
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
imul edx, dword [ebp - 0x5c], 0x64
mov dword [ebp - 0x5c], edx
lea ecx, [ebp - 0x84]
call fcn.0044e370
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
push 0x4ad0d0
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
push str.Send_delay_FC_PACKET_FILE_OPEN_r_n
push 0
call fcn.0044d670
add esp, 8
push 3
push 0
lea eax, [ebp - 0x58]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1a0], 1
jne 0x44cdfc
push 0x4ad0e0
lea edx, [ebp - 0x58]
push edx
call sub.MSVCR120.dll_strcpy
add esp, 8
jmp 0x44ce89
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a0], 2
jne 0x44ce1b
push 0x4ad0e4
lea ecx, [ebp - 0x58]
push ecx
call sub.MSVCR120.dll_strcpy
add esp, 8
jmp 0x44ce89
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1a0], 3
jne 0x44ce3a
push str.KPBS
lea eax, [ebp - 0x58]
push eax
call sub.MSVCR120.dll_strcpy
add esp, 8
jmp 0x44ce89
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1a0], 4
jne 0x44ce59
push 0x4ad100
lea edx, [ebp - 0x58]
push edx
call sub.MSVCR120.dll_strcpy
add esp, 8
jmp 0x44ce89
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a0], 5
jne 0x44ce78
push 0x4ad104
lea ecx, [ebp - 0x58]
push ecx
call sub.MSVCR120.dll_strcpy
add esp, 8
jmp 0x44ce89
push 0x4ad108
lea edx, [ebp - 0x58]
push edx
call sub.MSVCR120.dll_strcpy
add esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x16c], 2
jne 0x44ce9e
mov dword [ebp - 0x74], 0x4ad10c
jmp 0x44cea5
mov dword [ebp - 0x74], 0x4ad110
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x194]
push edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x178]
push edx
mov eax, dword [ebp + 8]
add eax, 0x250
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1d0
push ecx
push str.FILE__s_SAVEAS__s_SIZE__lu_DRIVE__s_FLASHBASE__lu_FLASHSIZE__lu__s_1_
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x24
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a0], 3
jne 0x44cf1b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x194], 0xf000
jne 0x44cf1b
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x60]
push eax
call sub.MSVCR120.dll_strcat
add esp, 8
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x60]
push edx
call sub.MSVCR120.dll_strlen
add esp, 4
add eax, 1
mov ecx, dword [ebp - 0x48]
mov word [ecx + 8], ax
jmp 0x44d090
mov edx, dword [ebp - 0x48]
movzx eax, word [edx + 6]
and eax, 0xff00
cmp eax, 0x400
jne 0x44d002
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x170], 5
jne 0x44d002
push str.Send_delay_FC_PACKET_FILE_CLOSE_r_n
push 0
call fcn.0044d670
add esp, 8
mov edx, dword [ebp + 8]
add edx, 0x1d0
push edx
movsx eax, word [ebp - 0x50]
push eax
push str._d__FILE__s_
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
mov edx, dword [ebp - 0x60]
push edx
call sub.MSVCR120.dll_strlen
add esp, 4
add eax, 1
mov ecx, dword [ebp - 0x48]
mov word [ecx + 8], ax
movsx edx, word [ebp - 0x50]
test edx, edx
jge 0x44cffd
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2d0], 0
je 0x44cffd
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2d4], 0
je 0x44cffd
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2d8], 0
je 0x44cffd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2d4]
push ecx
push 0xd
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2d8]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x2d0]
call fcn.0044e5d0
jmp 0x44d090
mov edx, 4
mov eax, dword [ebp - 0x48]
mov word [eax + 8], dx
movsx ecx, word [ebp - 0x50]
mov edx, dword [ebp - 0x6c]
mov dword [edx], ecx
movsx eax, word [ebp - 0x50]
test eax, eax
jge 0x44d02c
movsx ecx, word [ebp - 0x50]
mov edx, dword [ebp + 8]
mov dword [edx + 0x2dc], ecx
movsx eax, word [ebp - 0x50]
push eax
push str.Send_delay_reply:__d_r_n
push 0
call fcn.0044d670
add esp, 0xc
movsx ecx, word [ebp - 0x50]
test ecx, ecx
jge 0x44d090
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2d0], 0
je 0x44d090
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2d4], 0
je 0x44d090
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2d8], 0
je 0x44d090
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2d4]
push eax
push 0xd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2d0]
call fcn.0044e5d0
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx + 8]
add edx, 6
push edx
mov eax, dword [ebp - 0x48]
add eax, 4
push eax
call fcn.00446900
add esp, 8
mov ecx, dword [ebp - 0x48]
mov word [ecx + 2], ax
mov edx, dword [ebp + 8]
cmp dword [edx + 0xf8], 0
jne 0x44d0f8
push 0
push 0
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax + 8]
add ecx, 0xa
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2e0]
call edx
add esp, 0x14
mov eax, dword [ebp - 0x4c]
mov dword [eax + 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf4]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf4]
and eax, 0xffff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf8]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x100]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x100], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x100]
xor edx, edx
div dword [ecx + 0xe8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x100], edx
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx + 6]
and edx, 0xff00
cmp edx, 0x200
jne 0x44d1cc
mov eax, dword [ebp - 0x6c]
cmp dword [eax], 0
jge 0x44d1cc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x19c], 0
jle 0x44d1a7
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
push eax
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
push 0x164
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x16c
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x44d65d
mov edx, dword [ebp - 0x48]
movzx eax, word [edx + 6]
and eax, 0xff00
cmp eax, 0x500
jne 0x44d2a6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x170], 5
jne 0x44d2a6
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2d0], 0
je 0x44d23b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2d4], 0
je 0x44d23b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2d8], 0
je 0x44d23b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2d4]
push eax
push 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2d0]
call fcn.0044e5d0
mov ecx, dword [ebp + 8]
add ecx, 0x1d0
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x178]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x16c]
push edx
push str.Closed:_OP_u__size_lu__name_s_r_n
push 0
call fcn.0044d670
add esp, 0x14
mov eax, dword [ebp + 8]
cmp dword [eax + 0x19c], 0
jle 0x44d287
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
push edx
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
push 0x164
push 0
mov eax, dword [ebp + 8]
add eax, 0x16c
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x44d65d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x170], 2
jne 0x44d2e2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x44d2d5
push 0
push 0
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.MSVCR120.dll_fseek]
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0x170], 3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x170], 3
jne 0x44d65a
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18c], 0
jne 0x44d65a
mov edx, dword [ebp + 8]
cmp dword [edx + 0x19c], 0
jle 0x44d65a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x16c], 2
jne 0x44d65a
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044ad00
add esp, 4
test eax, eax
jbe 0x44d65a
mov edx, dword [ebp + 8]
imul eax, dword [edx + 0x100], 0x5d2
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x10c]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
add edx, 0x14
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
add eax, 0xa
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 4], 1
mov edx, dword [ebp - 0x4c]
mov dword [edx], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x10], 0
mov eax, 0xa55a
mov ecx, dword [ebp - 0x48]
mov word [ecx], ax
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0xf4]
mov word [edx + 4], cx
mov edx, 0x30c
mov eax, dword [ebp - 0x48]
mov word [eax + 6], dx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x19c]
push edx
push 0x400
push 1
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
mov ecx, dword [ebp - 0x48]
mov word [ecx + 8], ax
mov edx, dword [ebp - 0x48]
movzx eax, word [edx + 8]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x400
jae 0x44d46a
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x18c], 1
mov dword [ebp - 0x68], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
push ecx
call dword [sym.imp.MSVCR120.dll_feof]
add esp, 4
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x44d46a
mov edx, dword [ebp + 8]
cmp dword [edx + 0x19c], 0
jle 0x44d44a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
push ecx
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
push 0x164
push 0
mov edx, dword [ebp + 8]
add edx, 0x16c
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x44d65d
cmp dword [ebp - 0x64], 0
jne 0x44d54d
mov eax, dword [ebp - 0x4c]
mov dword [eax], 0
push str.Read_nothing__Send_EOF_r_n
push 0
call fcn.0044d670
add esp, 8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1a4], 0xa
jae 0x44d51c
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1a4], 0
jbe 0x44d4e4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a4]
shl ecx, 2
push ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x1a8]
push edx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x1a8]
push edx
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x1a8], 0x4000000
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a4]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x1a4], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x170], 5
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x19c], 0
jle 0x44d548
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
push eax
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x19c], 0
jmp 0x44d64b
cmp dword [ebp - 0x64], 0
jbe 0x44d64b
mov edx, dword [ebp - 0x48]
movzx eax, word [edx + 8]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x17c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x17c], eax
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax + 8]
add ecx, 6
push ecx
mov edx, dword [ebp - 0x48]
add edx, 4
push edx
call fcn.00446900
add esp, 8
mov ecx, dword [ebp - 0x48]
mov word [ecx + 2], ax
mov edx, dword [ebp + 8]
cmp dword [edx + 0xf8], 0
jne 0x44d5d8
push 0
push 0
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax + 8]
add ecx, 0xa
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2e0]
call edx
add esp, 0x14
mov eax, dword [ebp - 0x4c]
mov dword [eax + 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf4]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf4]
and eax, 0xffff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xf8]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x100]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x100], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x100]
xor edx, edx
div dword [ecx + 0xe8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x100], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x184], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499036
mov esp, ebp
pop ebp
ret