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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013dbff
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x101a7008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2e8], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x300], eax
lea eax, [edi + 0x1c]
mov dword [ebp - 0x304], 0
push eax
mov dword [edi + 0x18], 0
mov dword [ebp - 0x2e4], 0
call fcn.100095c0
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0x2f8], eax
test eax, eax
je 0x1001f16a
mov eax, dword [ebp - 0x2e4]
test eax, eax
je 0x1001ece6
mov eax, dword [eax]
test eax, eax
je 0x1001ecdc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x2e4], 0
lea esi, [edi + 0x20]
mov dword [ebp - 0x30c], 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 0x800000
push 0
push 0
push ecx
push dword [ebp - 0x2fc]
push str.POST
push dword [ebp - 0x2f8]
call fcn.10027f10
mov ecx, eax
call fcn.10028070
mov dword [ebp - 0x2f4], eax
mov byte [ebp - 4], 0
push 0
push esi
call ebx
cmp dword [ebp - 0x2f4], 0
je 0x1001f16a
lea eax, [edi + 0x1c]
mov dword [ebp - 0x2ec], 0
push eax
lea ecx, [ebp - 0x2ec]
call fcn.100095c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2f4]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x2ec]
test eax, eax
je 0x1001ed8e
mov eax, dword [eax]
test eax, eax
je 0x1001ed84
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x310], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8_r_n
call fcn.10004ac0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2e8]
mov edi, dword [edi + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x218], eax
cmp edi, eax
je 0x1001eed1
lea ecx, [ebp - 0x254]
call fcn.10004e20
mov esi, dword [ebp - 0x304]
mov dword [ebp - 0x2f8], eax
nop word [eax + eax]
push 0x1016f168
mov edx, edi
lea ecx, [ebp - 0x284]
call fcn.1000db20
add esp, 4
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 6
lea ecx, [edi + 0x18]
call fcn.10004e20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001ee21
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x2fc]
call fcn.10005c90
push eax
call fcn.10005470
add esp, 4
lea ecx, [ebp - 0x29c]
push eax
call fcn.10005c30
or esi, 1
lea ecx, [ebp - 0x254]
push 0x1016f088
mov edx, eax
mov dword [ebp - 0x304], esi
call fcn.10009460
add esp, 4
mov byte [ebp - 4], 7
and esi, 0xfffffffe
mov dword [ebp - 0x304], esi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x29c]
call fcn.10004a70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x284]
call fcn.10004a70
mov eax, dword [ebp - 0x2f8]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001ee9e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x234]
call fcn.10005c90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x254]
call fcn.10004a70
add edi, 0x30
cmp edi, dword [ebp - 0x218]
jne 0x1001edf0
mov esi, dword [ebp - 0x30c]
mov edi, dword [ebp - 0x21c]
mov ecx, edi
call fcn.10004a40
test al, al
jne 0x1001ef49
push 0x1016f170
lea ecx, [ebp - 0x254]
call fcn.10004ac0
mov byte [ebp - 4], 0xa
mov ecx, edi
call fcn.10004e20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001ef07
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x254]
call fcn.10005c90
lea ecx, [ebp - 0x254]
call fcn.10004e20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001ef2b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x234]
call fcn.10005c90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x254]
call fcn.10004a70
push ecx
lea ecx, [ebp - 0x234]
call fcn.10004eb0
push eax
lea ecx, [ebp - 0x234]
call fcn.10005700
push eax
push dword [ebp - 0x2f4]
call fcn.10027f10
mov ecx, eax
call fcn.10027fd0
test eax, eax
je 0x1001f134
mov edi, dword [ebp - 0x300]
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x1001f19c
push 0x1016f114
call fcn.10005400
add esp, 4
lea ecx, [ebp - 0x234]
push eax
push 0x1016f114
call fcn.10004ec0
mov eax, dword [edi]
xor ecx, ecx
mov dword [ebp - 0x2f8], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x21c], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001f0e6
mov esi, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x218], eax
add eax, esi
mov edi, esi
lea ecx, [eax + 0x18]
mov dword [ebp - 0x2fc], ecx
mov ecx, eax
call fcn.10004a40
test al, al
jne 0x1001f0a3
mov ecx, dword [ebp - 0x2fc]
call fcn.10004a40
test al, al
jne 0x1001f0a3
mov ecx, dword [ebp - 0x218]
lea ecx, [ecx + esi]
call fcn.10004e20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001f02c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x234]
call fcn.10005c90
push 0x1016f110
call fcn.10005400
add esp, 4
lea ecx, [ebp - 0x234]
push eax
push 0x1016f110
call fcn.10005c90
mov ecx, dword [ebp - 0x2fc]
call fcn.10004e20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001f06e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x234]
call fcn.10005c90
push 0x1016e268
call fcn.10005400
add esp, 4
lea ecx, [ebp - 0x234]
push eax
push 0x1016e268
call fcn.10005c90
mov esi, dword [ebp - 0x300]
mov edi, dword [esi]
mov eax, dword [ebp - 0x300]
mov esi, edi
inc dword [ebp - 0x2f8]
add dword [ebp - 0x218], 0x30
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x218]
jb 0x1001efe5
mov esi, dword [ebp - 0x30c]
push 0x1016f088
call fcn.10005400
add esp, 4
lea ecx, [ebp - 0x234]
push eax
push 0x1016f088
call fcn.10005c90
push ecx
lea ecx, [ebp - 0x234]
call fcn.10004eb0
push eax
lea ecx, [ebp - 0x234]
call fcn.10005700
mov edi, dword [ebp - 0x2f4]
push eax
push edi
call fcn.10027f10
mov ecx, eax
call fcn.10027fd0
test eax, eax
jne 0x1001f1a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2e8]
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.10004a70
mov byte [ebp - 4], 2
push 0
push esi
call ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2ec]
call fcn.100095f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.100095f0
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 - 0x14]
xor ecx, ebp
call fcn.10111f70
mov esp, ebp
pop ebp
ret 0x1c
mov edi, dword [ebp - 0x2f4]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.10004a70
mov byte [ebp - 4], 2
push 0
push esi
call ebx
mov dword [ebp - 0x310], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call ebx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
push 0x1f
push edi
mov dword [ebp - 0x21c], 4
call fcn.10027f10
mov ecx, eax
call fcn.10028610
or dword [ebp - 0x218], 0x3100
lea eax, [ebp - 0x218]
push ecx
push eax
push 0x1f
push edi
call fcn.10027f10
mov ecx, eax
call fcn.10028750
push dword [ebp + 0x10]
push dword [ebp - 0x2f0]
push 0
push 0
push edi
call fcn.10027f10
mov ecx, eax
call fcn.10028260
test eax, eax
jne 0x1001f252
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2e8]
mov dword [ecx + 0x18], eax
jmp 0x1001f152
mov byte [ebp - 4], 2
push 0
push esi
call ebx
mov edi, dword [ebp - 0x308]
mov ecx, edi
call fcn.10004b40
nop dword [eax + eax]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x310], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call ebx
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x238]
push eax
push 0x1ff
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x2f4]
call fcn.10027f10
mov ecx, eax
call fcn.100286b0
test eax, eax
je 0x1001f152
push 0
push esi
call ebx
mov ebx, dword [ebp - 0x238]
cmp ebx, 0x200
jae 0x1001f8e4
test ebx, ebx
je 0x1001f35a
mov ecx, edi
mov byte [ebp + ebx - 0x214], 0
call fcn.10004e20
mov edx, eax
mov ecx, dword [edx + 0x14]
mov edi, dword [edx + 0x10]
sub ecx, edi
cmp ebx, ecx
ja 0x1001f337
cmp dword [edx + 0x14], 0x10
lea eax, [edi + ebx]
mov dword [edx + 0x10], eax
jb 0x1001f305
mov edx, dword [edx]
push ebx
lea eax, [ebp - 0x214]
add edi, edx
push eax
push edi
call fcn.100046d0
lea eax, [ebp - 0x2dd]
mov byte [ebp - 0x2dd], 0
push eax
lea eax, [edi + ebx]
push eax
call fcn.100046e0
mov edi, dword [ebp - 0x308]
add esp, 0x14
jmp 0x1001f35a
mov edi, dword [ebp - 0x308]
lea eax, [ebp - 0x214]
push ebx
push eax
mov byte [ebp - 0x2f0], 0
mov ecx, edi
push dword [ebp - 0x2f0]
push ebx
call fcn.100054a0
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call ebx
cmp dword [ebp - 0x238], 0
ja 0x1001f270
mov edi, dword [ebp - 0x300]
push ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
call fcn.10019290
mov eax, dword [edi]
push 0x402
mov dword [edi + 4], eax
mov dword [ebp - 0x218], 0x200
call fcn.10112656
mov edi, eax
mov dword [ebp - 0x23c], 0
mov ecx, 0x200
mov dword [ebp - 0x2e8], edi
add esp, 8
nop word [eax + eax]
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x310], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call ebx
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x2a0]
push eax
push edi
push 0x2b
push dword [ebp - 0x2f4]
call fcn.10027f10
mov ecx, eax
call fcn.100281c0
mov edi, eax
test edi, edi
setne byte [ebp - 0x2dd]
mov byte [ebp - 4], 2
push 0
push esi
call ebx
test edi, edi
jne 0x1001f48c
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x218]
cmp eax, ecx
jbe 0x1001f498
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1001f48c
mov edi, dword [ebp - 0x2a0]
mov eax, dword [ebp - 0x2e8]
inc edi
push eax
mov dword [ebp - 0x218], edi
call fcn.10112651
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10112656
mov ecx, dword [ebp - 0x218]
mov edi, eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x23c], eax
jmp 0x1001f3b1
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x218]
cmp byte [ebp - 0x2dd], 0
je 0x1001f8a8
mov edi, dword [ebp - 0x2e8]
cmp eax, ecx
ja 0x1001f3c0
xor ecx, ecx
mov word [edi + eax*2], cx
lea ecx, [ebp - 0x234]
push edi
call fcn.10004ac0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x234]
call fcn.10004a40
test al, al
jne 0x1001f88e
lea ecx, [ebp - 0x284]
call fcn.10005c70
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x26c]
call fcn.10005c70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x234]
push 0
push 0x3d
call fcn.10012560
mov dword [ebp - 0x2f0], eax
cmp eax, 0xffffffff
je 0x1001f5a2
push eax
push 0
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x234]
call fcn.10009d80
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x284]
push eax
call fcn.10004a80
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x328]
call fcn.10004a70
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x234]
inc eax
mov dword [ebp - 0x2f0], eax
call fcn.10004eb0
mov ecx, dword [ebp - 0x2f0]
cmp ecx, eax
jae 0x1001f5a2
push 0xffffffffffffffff
push ecx
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x234]
call fcn.10009d80
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x234]
push eax
call fcn.10004a80
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x340]
call fcn.10004a70
push 0
push 0x3b
lea ecx, [ebp - 0x234]
call fcn.10012560
lea ecx, [ebp - 0x234]
cmp eax, 0xffffffff
je 0x1001f5ec
push eax
push 0
lea eax, [ebp - 0x358]
push eax
call fcn.10009d80
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x26c]
push eax
call fcn.10004a80
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x358]
call fcn.10004a70
jmp 0x1001f61f
call fcn.10004e20
lea ecx, [ebp - 0x26c]
cmp ecx, eax
je 0x1001f61f
lea ecx, [ebp - 0x234]
call fcn.10004e20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001f610
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.10004ec0
mov edx, str.__r_t_n
lea ecx, [ebp - 0x284]
call fcn.1006c9a0
mov edx, str.__r_t_n
lea ecx, [ebp - 0x284]
call fcn.1006ca30
mov edx, str.__r_t_n
lea ecx, [ebp - 0x26c]
call fcn.1006c9a0
mov edx, str.__r_t_n
lea ecx, [ebp - 0x26c]
call fcn.1006ca30
lea ecx, [ebp - 0x284]
call fcn.10004a40
test al, al
jne 0x1001f870
lea ecx, [ebp - 0x26c]
call fcn.10004a40
test al, al
jne 0x1001f870
push str.http:__www.2345.com_
lea ecx, [ebp - 0x254]
call fcn.10004ac0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x26c]
call fcn.10004e20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001f6ae
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x254]
call fcn.10005c90
xorps xmm0, xmm0
mov dword [ebp - 0x2dc], 0x3c
lea ecx, [ebp - 0x254]
movlpd qword [ebp - 0x2d8], xmm0
movlpd qword [ebp - 0x2d0], xmm0
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
movlpd qword [ebp - 0x2b8], xmm0
movlpd qword [ebp - 0x2b0], xmm0
movlpd qword [ebp - 0x2a8], xmm0
call fcn.10004eb0
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.10112656
lea ecx, [edi + edi]
mov dword [ebp - 0x2a8], eax
push ecx
push 0
push eax
call fcn.10114770
add esp, 0x10
mov dword [ebp - 0x21c], esi
lea eax, [edi - 1]
mov dword [ebp - 0x2a4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call ebx
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x2dc]
push eax
push ecx
lea ecx, [ebp - 0x254]
call fcn.10004eb0
push eax
lea ecx, [ebp - 0x254]
call fcn.10005700
push eax
call fcn.10027f10
mov ecx, eax
call fcn.10028430
mov edi, eax
mov byte [ebp - 4], 0x14
push 0
push esi
call ebx
test edi, edi
je 0x1001f800
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x29c]
call fcn.10004ac0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x29c]
call fcn.10004a40
test al, al
jne 0x1001f7f1
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x29c]
call fcn.10008be0
lea ecx, [ebp - 0x29c]
push dword [eax]
lea eax, [ebp - 0x2fc]
push eax
call fcn.10017c50
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x26c]
call fcn.1001e860
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x29c]
call fcn.10004a70
push dword [ebp - 0x2a8]
call fcn.10112651
add esp, 4
lea eax, [ebp - 0x284]
lea ecx, [ebp - 0x388]
push eax
call fcn.10005ad0
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x370]
call fcn.10005ad0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x388]
mov ecx, dword [ebp - 0x300]
push eax
call fcn.1001e7c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x388]
call fcn.10019460
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x254]
call fcn.10004a70
mov edi, dword [ebp - 0x2e8]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x26c]
call fcn.10004a70
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x284]
call fcn.10004a70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.10004a70
mov ecx, dword [ebp - 0x218]
jmp 0x1001f3c0
mov eax, dword [ebp - 0x2e8]
xor ecx, ecx
push eax
mov word [eax], cx
call fcn.10112651
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2ec]
call fcn.100095f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.100095f0
mov al, 1
jmp 0x1001f17e
mov byte [ebp - 4], 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x1001f15b