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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov esi, eax
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
push edi
lea eax, [esp + 0x28]
push eax
push str.type
mov eax, esi
mov ebx, ecx
call fcn.10008ba0
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x30], eax
push str.serial
mov eax, esi
mov ecx, ebx
call fcn.10008ba0
lea edx, [esp + 0x24]
push edx
mov edi, eax
push str.data
mov eax, esi
mov ecx, ebx
call fcn.10008ba0
mov esi, dword [esp + 0x3c]
add esp, 0x18
test esi, esi
mov ebx, eax
mov dword [esp + 0x20], ebx
je 0x100091dc
test edi, edi
je 0x100091dc
test ebx, ebx
je 0x100091dc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov byte [eax + esi], 0
lea eax, [esp + 0x18]
push eax
push 0x1002f560
mov byte [ecx + edi], 0
push edi
mov byte [edx + ebx], 0
mov dword [esp + 0x24], 0
call fcn.10019b47
add esp, 0xc
cmp eax, 0xffffffff
je 0x100091dc
mov edi, dword [esp + 0x18]
test edi, edi
mov dword [esp + 0x28], edi
je 0x100091dc
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10008d75
sub eax, edx
je 0x100091dc
mov eax, ebx
lea edx, [eax + 1]
jmp 0x10008d90
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10008d90
sub eax, edx
je 0x100091dc
push str.test
push esi
call fcn.10019a8f
add esp, 8
test eax, eax
jne 0x10008e04
push str._WebConn__Reply_http_test_packet
push 0x351
push str..WebConn.c
push 3
mov ecx, str.ToRecvHttpPacket
call fcn.1000be40
push str._WebConn__Reply_http_test_packet
push 0x351
push str..WebConn.c
push 3
mov ecx, str.ToRecvHttpPacket
call fcn.1000bb50
mov ecx, dword [ebp + 0xc]
push edi
push str.test
push ecx
mov ecx, ebx
call fcn.100091f0
add esp, 0x2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1006d140
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x1006bf58]
xor edi, edi
test esi, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], esi
je 0x10008ed5
jmp 0x10008e38
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp dword [esi + 8], edx
je 0x10008f9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x2c]
cmp eax, 0x927c0
jbe 0x10008ebf
test edi, edi
jne 0x10008e92
mov eax, dword [esi + 0x30]
mov dword [0x1006bf58], eax
mov eax, dword [esi]
test eax, eax
je 0x10008e72
mov esi, eax
call fcn.1000c530
mov esi, dword [esp + 0x10]
call fcn.1000c530
mov eax, dword [0x1006bf58]
test eax, eax
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
je 0x10008ed5
mov dword [esp + 0x1c], 0
jmp 0x10008eca
mov ecx, dword [esi + 0x30]
mov dword [edi + 0x30], ecx
mov eax, dword [esi]
test eax, eax
je 0x10008ea9
mov esi, eax
call fcn.1000c530
mov esi, dword [esp + 0x10]
call fcn.1000c530
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x30]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
jmp 0x10008eca
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x10], 0
jne 0x10008e30
push 0x384
push str.ToRecvHttpPacket
push str..WebConn.c
mov edi, 0x34
call fcn.1000c470
mov edx, dword [esp + 0x24]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esi + 8], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esp + 0x14]
push 0x38a
push str.ToRecvHttpPacket
push str..WebConn.c
add edi, 1
mov dword [esi + 0x2c], eax
call fcn.1000c470
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
push ebx
push eax
mov dword [esi], eax
call fcn.10022400
mov ecx, dword [esp + 0x24]
mov eax, dword [0x1006bf58]
add esp, 0xc
push ebx
mov dword [esi + 4], edi
mov edi, dword [esp + 0x28]
push edi
push ecx
push str._WebConn__Alloc_New_http_packet_Serial:__u__Type:__s__Data:__s_
push 0x392
push str..WebConn.c
push 3
mov ecx, str.ToRecvHttpPacket
mov dword [esi + 0x30], eax
mov dword [0x1006bf58], esi
mov dword [esp + 0x38], 0
call fcn.1000be40
mov edx, dword [esp + 0x44]
add esp, 0x1c
push ebx
push edi
push edx
push str._WebConn__Alloc_New_http_packet_Serial:__u__Type:__s__Data:__s_
push 0x392
push str..WebConn.c
push 3
mov ecx, str.ToRecvHttpPacket
call fcn.1000bb50
jmp 0x1000902e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
mov edi, dword [esi]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
push 0x398
push str.ToRecvHttpPacket
lea ebx, [ecx + eax + 1]
call fcn.1000c4b0
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
mov edi, dword [esp + 0x28]
push ebx
add edx, eax
push edi
push edx
mov dword [esi], eax
call fcn.10022400
add dword [esi + 4], ebx
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
add esp, 0x14
push edi
push ebx
push eax
push str._WebConn__Append_http_packet_Serial:__u__Type:__s__Data:__s_
push 0x39c
push str..WebConn.c
push 3
mov ecx, str.ToRecvHttpPacket
call fcn.1000be40
mov ecx, dword [esp + 0x44]
add esp, 0x1c
push edi
push ebx
push ecx
push str._WebConn__Append_http_packet_Serial:__u__Type:__s__Data:__s_
push 0x39c
push str..WebConn.c
push 3
mov ecx, str.ToRecvHttpPacket
call fcn.1000bb50
mov edi, ebx
add esp, 0x1c
push 0x1002ddf0
push edi
call fcn.10019a8f
add esp, 8
test eax, eax
jne 0x10009066
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1000905a
mov edx, dword [esi + 0x30]
mov dword [0x1006bf58], edx
mov dword [esp + 0x2c], esi
jmp 0x10009081
mov ecx, dword [esi + 0x30]
mov dword [eax + 0x30], ecx
mov dword [esp + 0x2c], esi
jmp 0x10009081
mov edx, dword [esp + 0x28]
mov eax, dword [ebp + 0xc]
push edx
push str.append
push eax
mov ecx, 0x1002e3b8
call fcn.100091f0
add esp, 0xc
push 0x1006d140
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x100091dc
mov edi, dword [ebx + 4]
push 0x3ba
push str.ToRecvHttpPacket
push str..WebConn.c
add edi, 1
call fcn.1000c470
mov edi, dword [ebx + 4]
add esp, 0xc
push 0x3bb
push str.ToRecvHttpPacket
push str..WebConn.c
add edi, 1
mov esi, eax
call fcn.1000c470
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 4]
add esp, 0xc
push esi
mov ebx, eax
push ecx
lea eax, [ecx + 1]
mov ecx, dword [edi]
push ecx
call fcn.1000f220
mov edx, dword [edi + 4]
add esp, 0xc
add edx, 1
push edx
push ebx
push eax
push esi
call fcn.1000f4d0
mov edi, eax
call fcn.1000c530
mov eax, dword [ebp + 8]
push edi
push ebx
push eax
call fcn.10005300
add esp, 0x1c
test eax, eax
je 0x100091a8
push 0
push 0
push 0
mov eax, edi
mov ecx, ebx
call fcn.100018a0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100091c3
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x2c]
push 0
push ecx
push edx
call fcn.10008a50
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add esp, 0xc
push ebx
push edi
push eax
push ecx
push edx
push str._WebConn__Transfer_Socket:__x__Session:__d__Serial:__u__Packet___d_:___r_n_s_r_n_
push 0x3c9
push str..WebConn.c
push 3
mov ecx, str.ToRecvHttpPacket
call fcn.1000be40
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add esp, 0x24
push ebx
push edi
push eax
push ecx
push edx
push str._WebConn__Transfer_Socket:__x__Session:__d__Serial:__u__Packet___d_:___r_n_s_r_n_
push 0x3c9
push str..WebConn.c
push 3
mov ecx, str.ToRecvHttpPacket
call fcn.1000bb50
add esp, 0x24
mov edi, esi
call fcn.10001ef0
jmp 0x100091c3
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
push eax
push 0x1002ddf0
push ecx
mov ecx, str.error
call fcn.100091f0
add esp, 0xc
mov esi, ebx
call fcn.1000c530
mov edi, dword [esp + 0x2c]
mov esi, dword [edi]
call fcn.1000c530
mov esi, edi
call fcn.1000c530
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret