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

Disassembly:
push ebp
lea ebp, [esp - 0x2dc]
sub esp, 0x2dc
push 0xffffffffffffffff
push 0x1012ff9f
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp + 0x2d8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x2e4]
lea ecx, [ebp - 0x1c]
mov edi, dword [ebp + 0x300]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x2e8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x2f4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x2fc]
mov dword [ebp - 0x44], eax
lea eax, [ebx + 0x1c]
mov dword [ebp - 0x38], 0
push eax
mov dword [ebp - 0x20], edi
mov dword [ebx + 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.10009250
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1002b1f3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002a7cf
mov eax, dword [eax]
test eax, eax
je 0x1002a7c8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x1c], 0
lea esi, [ebx + 0x20]
mov dword [ebp - 0x3c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push eax
push esi
call ebx
mov byte [ebp - 4], 1
push ecx
push 0x4080000
push 0
push 0
push ecx
push dword [ebp - 0x2c]
push 0x1015cf7c
push dword [ebp - 0x34]
call fcn.10054530
mov ecx, eax
call fcn.100545f0
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
push 0
push esi
call ebx
cmp dword [ebp - 0x30], 0
je 0x1002b1f3
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
add eax, 0x1c
mov dword [ebp - 0x24], 0
push eax
call fcn.10009250
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1002a85f
mov eax, dword [eax]
test eax, eax
je 0x1002a858
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x24], 0
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
lea ecx, [ebp + 0xb8]
call fcn.100062e0
mov byte [ebp - 4], 3
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x1002a9c2
push 0x1015cf88
call fcn.10005290
add esp, 4
lea ecx, [ebp + 0xb8]
push eax
push 0x1015cf88
call fcn.10005220
push 0x1015d014
call fcn.10005290
add esp, 4
lea ecx, [ebp + 0xb8]
push eax
push 0x1015d014
call fcn.10005220
xor ecx, ecx
mov eax, 0x2aaaaaab
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1002a9c2
mov esi, dword [edi]
xor eax, eax
mov dword [ebp - 0x14], eax
add eax, esi
mov ebx, esi
lea ecx, [eax + 0x18]
mov dword [ebp - 0x2c], ecx
mov ecx, eax
call fcn.10004f40
test al, al
jne 0x1002a98e
mov ecx, dword [ebp - 0x2c]
call fcn.10004f40
test al, al
jne 0x1002a98e
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx + esi]
call fcn.10004b50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1002a920
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xb8]
call fcn.10005220
push 0x1015d010
call fcn.10005290
add esp, 4
lea ecx, [ebp + 0xb8]
push eax
push 0x1015d010
call fcn.10005220
mov ecx, dword [ebp - 0x2c]
call fcn.10004b50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1002a95f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xb8]
call fcn.10005220
push 0x1015c30c
call fcn.10005290
add esp, 4
lea ecx, [ebp + 0xb8]
push eax
push 0x1015c30c
call fcn.10005220
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x34]
sub ecx, ebx
add dword [ebp - 0x14], 0x30
mov esi, ebx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
jb 0x1002a8e2
mov esi, dword [ebp - 0x3c]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push str._r_n_r_n
call fcn.10005290
add esp, 4
lea ecx, [ebp + 0xb8]
push eax
push str._r_n_r_n
call fcn.10005220
mov edi, dword [ebp - 0x28]
mov ecx, edi
call fcn.10004f40
test al, al
jne 0x1002aa55
push 0x1015d03c
lea ecx, [ebp + 0x88]
call fcn.100062e0
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.10004b50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1002aa13
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x88]
call fcn.10005220
lea ecx, [ebp + 0x88]
call fcn.10004b50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1002aa37
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xb8]
call fcn.10005220
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x88]
call fcn.10004a60
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
cmp edi, eax
je 0x1002ab5d
lea ecx, [ebp + 0x88]
call fcn.10004b50
mov esi, eax
nop word [eax + eax]
push edi
mov edx, 0x1015cf88
lea ecx, [ebp + 0xa0]
call fcn.100052c0
mov byte [ebp - 4], 5
mov edx, eax
push 0x1015d034
lea ecx, [ebp + 0x58]
call fcn.100090f0
add esp, 8
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
lea ecx, [edi + 0x18]
call fcn.10004b50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1002aac0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.10005220
push eax
call fcn.10004df0
add esp, 4
lea ecx, [ebp + 0x40]
push eax
call fcn.10005010
or dword [ebp - 0x38], 1
lea ecx, [ebp + 0x88]
push 0x1015cf88
mov edx, eax
call fcn.100090f0
add esp, 4
mov byte [ebp - 4], 8
and dword [ebp - 0x38], 0xfffffffe
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x40]
call fcn.10004a60
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x58]
call fcn.10004a60
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0xa0]
call fcn.10004a60
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1002ab30
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp + 0xb8]
push eax
call fcn.10005220
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x88]
call fcn.10004a60
add edi, 0x30
cmp edi, dword [ebp - 0x2c]
jne 0x1002aa80
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call ebx
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0xb8]
push dword [ebp + 0x2ec]
push dword [ebp - 0x40]
call fcn.10004a20
push eax
lea ecx, [ebp + 0xb8]
call fcn.100062d0
push eax
push dword [ebp - 0x30]
call fcn.10054530
mov ecx, eax
call fcn.10054740
test eax, eax
je 0x1002b1c3
mov byte [ebp - 4], 3
push 0
push esi
call ebx
mov ecx, dword [ebp - 0x44]
call fcn.10004b50
mov edi, eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x40], edi
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x1002abcf
mov eax, dword [edi]
lea ecx, [ebp - 0xd]
push ecx
push eax
call fcn.10004ee0
add esp, 8
nop dword [eax]
mov dword [ebp + 0xd4], 0
mov dword [ebp - 0x3c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call ebx
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0xd4]
push eax
push 0x1ff
lea eax, [ebp + 0xd8]
push eax
push dword [ebp - 0x30]
call fcn.10054530
mov ecx, eax
call fcn.10054af0
test eax, eax
je 0x1002b1c3
push 0
push esi
call ebx
mov ebx, dword [ebp + 0xd4]
cmp ebx, 0x200
jae 0x1002b1b4
test ebx, ebx
je 0x1002aca7
mov byte [ebp + ebx + 0xd8], 0
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp ebx, eax
ja 0x1002ac8f
lea eax, [ecx + ebx]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x1002ac65
mov eax, dword [edi]
lea edi, [eax + ecx]
push ebx
lea eax, [ebp + 0xd8]
push eax
push edi
call fcn.10004ed0
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
lea eax, [edi + ebx]
push eax
call fcn.10004ee0
mov edi, dword [ebp - 0x40]
add esp, 0x14
jmp 0x1002aca7
mov ecx, dword [ebp - 0x44]
lea eax, [ebp + 0xd8]
push ebx
push eax
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ebx
call fcn.10023520
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call ebx
cmp dword [ebp + 0xd4], 0
ja 0x1002abe0
mov ebx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
call fcn.10023820
mov eax, dword [ebx]
push 0x402
mov dword [ebx + 4], eax
mov dword [ebp - 0x18], 0x200
call fcn.1010358d
mov edi, eax
mov dword [ebp + 0xd0], 0
mov ecx, 0x200
mov dword [ebp - 0x14], edi
add esp, 8
nop
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp + 0xd0]
mov dword [ebp + 0x3c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp + 0x3c]
push eax
push edi
push 0x2b
push dword [ebp - 0x30]
call fcn.10054530
mov ecx, eax
call fcn.100546a0
mov edi, eax
test edi, edi
setne byte [ebp - 0xd]
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test edi, edi
jne 0x1002adad
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jbe 0x1002adb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1002adad
mov edi, dword [ebp + 0x3c]
mov eax, dword [ebp - 0x14]
inc edi
push eax
mov dword [ebp - 0x18], edi
call fcn.10103588
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010358d
mov ecx, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0xd0], eax
jmp 0x1002acf8
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp - 0x18]
cmp byte [ebp - 0xd], 0
je 0x1002b175
mov edi, dword [ebp - 0x14]
cmp eax, ecx
ja 0x1002ad00
xor ecx, ecx
mov word [edi + eax*2], cx
lea ecx, [ebp + 0xa0]
push edi
call fcn.100062e0
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0xa0]
call fcn.10004f40
test al, al
jne 0x1002b15e
lea ecx, [ebp + 0x58]
call fcn.10005050
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x70]
call fcn.10005050
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0xa0]
push 0
push 0x3d
call fcn.1002b230
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x1002aea2
push eax
push 0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp + 0xa0]
call fcn.10009a10
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x58]
push eax
call fcn.10004fd0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x8c]
call fcn.10004a60
mov eax, dword [ebp - 0x20]
lea ecx, [ebp + 0xa0]
inc eax
mov dword [ebp - 0x20], eax
call fcn.10004a20
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jae 0x1002aea2
push 0xffffffffffffffff
push ecx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp + 0xa0]
call fcn.10009a10
mov byte [ebp - 4], 0x16
lea ecx, [ebp + 0xa0]
push eax
call fcn.10004fd0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xa4]
call fcn.10004a60
push 0
push 0x3b
lea ecx, [ebp + 0xa0]
call fcn.1002b230
lea ecx, [ebp + 0xa0]
cmp eax, 0xffffffff
je 0x1002aee9
push eax
push 0
lea eax, [ebp - 0xbc]
push eax
call fcn.10009a10
mov byte [ebp - 4], 0x17
lea ecx, [ebp + 0x70]
push eax
call fcn.10004fd0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xbc]
call fcn.10004a60
jmp 0x1002af16
call fcn.10004b50
lea ecx, [ebp + 0x70]
cmp ecx, eax
je 0x1002af16
lea ecx, [ebp + 0xa0]
call fcn.10004b50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1002af0a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x70]
call fcn.10004bc0
mov edx, 0x1015c9d0
lea ecx, [ebp + 0x58]
call fcn.10061cf0
mov edx, 0x1015c9d0
lea ecx, [ebp + 0x58]
call fcn.10061d80
mov edx, 0x1015c9d0
lea ecx, [ebp + 0x70]
call fcn.10061cf0
mov edx, 0x1015c9d0
lea ecx, [ebp + 0x70]
call fcn.10061d80
lea ecx, [ebp + 0x58]
call fcn.10004f40
test al, al
jne 0x1002b146
lea ecx, [ebp + 0x70]
call fcn.10004f40
test al, al
jne 0x1002b146
push str.http:__www.2345.com_
lea ecx, [ebp + 0x88]
call fcn.100062e0
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0x70]
call fcn.10004b50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1002af90
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x88]
call fcn.10005220
xorps xmm0, xmm0
mov dword [ebp], 0x3c
lea ecx, [ebp + 0x88]
movlpd qword [ebp + 4], xmm0
movlpd qword [ebp + 0xc], xmm0
movlpd qword [ebp + 0x14], xmm0
movlpd qword [ebp + 0x1c], xmm0
movlpd qword [ebp + 0x24], xmm0
movlpd qword [ebp + 0x2c], xmm0
movlpd qword [ebp + 0x34], xmm0
call fcn.10004a20
xor ecx, ecx
mov edx, 2
lea edi, [eax + 0x20]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010358d
lea ecx, [edi + edi]
mov dword [ebp + 0x34], eax
push ecx
push 0
push eax
call fcn.10104ad0
add esp, 0x10
mov dword [ebp - 0x28], esi
lea eax, [edi - 1]
mov dword [ebp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0x19
lea eax, [ebp]
push eax
push ecx
lea ecx, [ebp + 0x88]
call fcn.10004a20
push eax
lea ecx, [ebp + 0x88]
call fcn.100062d0
push eax
call fcn.10054530
mov ecx, eax
call fcn.10054910
mov edi, eax
mov byte [ebp - 4], 0x18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test edi, edi
je 0x1002b0a8
push dword [ebp + 0x34]
lea ecx, [ebp + 0x40]
call fcn.100062e0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp + 0x40]
call fcn.10004f40
test al, al
jne 0x1002b09c
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 0x40]
call fcn.10008870
lea ecx, [ebp + 0x40]
push dword [eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.10015550
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x70]
call fcn.10022310
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0x40]
call fcn.10004a60
push dword [ebp + 0x34]
call fcn.10103588
add esp, 4
lea eax, [ebp + 0x58]
lea ecx, [ebp - 0x74]
push eax
call fcn.10004a70
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10004a70
mov byte [ebp - 4], 0x1d
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x1002b110
push eax
push 0x30
call fcn.10004860
add esp, 8
mov edi, eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x20], edi
mov ecx, edi
push eax
call fcn.10005010
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x5c]
push eax
lea ecx, [edi + 0x18]
call fcn.10005010
mov byte [ebp - 4], 0x1d
add dword [ebx + 4], 0x30
jmp 0x1002b11c
lea ecx, [ebp - 0x74]
push ecx
push eax
mov ecx, ebx
call fcn.1002a0f0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x5c]
call fcn.10004a60
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x74]
call fcn.10004a60
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x88]
call fcn.10004a60
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x70]
call fcn.10004a60
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x58]
call fcn.10004a60
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xa0]
call fcn.10004a60
mov ecx, dword [ebp - 0x18]
jmp 0x1002ad00
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push eax
mov word [eax], cx
call fcn.10103588
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xb8]
call fcn.10004a60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10009280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10009280
mov al, 1
jmp 0x1002b204
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x1002b1d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 3
push 0
push esi
call ebx
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xb8]
call fcn.10004a60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10009280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10009280
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2d8]
xor ecx, ebp
call fcn.10102ce9
lea esp, [ebp + 0x2dc]
pop ebp
ret 0x20