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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ef52
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x101ef110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2e4], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x300], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2fc], eax
lea eax, [esi + 0x1c]
mov edi, eax
mov dword [ebp - 0x218], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x218], edi
test edi, edi
je 0x10030bd5
mov eax, dword [edi]
test eax, eax
je 0x10030bd5
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x100310fa
test edi, edi
je 0x10030c06
mov eax, dword [edi]
test eax, eax
je 0x10030bfe
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov dword [ebp - 0x218], edi
add esi, 0x20
mov dword [ebp - 0x304], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 1
push ecx
push 0x800000
push 0
push 0
push ecx
push dword [ebp - 0x214]
push 0x101c7818
push dword [ebp - 0x21c]
call fcn.10059e40
mov ecx, eax
call fcn.1005a060
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 4], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x2ec], 0
jne 0x10030c8b
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1003111c
mov eax, dword [edi]
test eax, eax
je 0x10031112
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
jmp 0x10031112
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x10030cb8
mov ecx, dword [eax]
test ecx, ecx
je 0x10030cb8
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x2f0]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ebp - 0x2ec]
mov dword [ecx + 8], edx
test eax, eax
je 0x10030ceb
mov eax, dword [eax]
test eax, eax
je 0x10030cdd
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
xor eax, eax
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x30c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 3
xor eax, eax
push 0x40
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 0
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8_r_n
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
call fcn.100054b0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2e4]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x2f4], ecx
cmp eax, ecx
je 0x10030f1a
nop word [eax + eax]
push 0x101c7910
push eax
lea eax, [ebp - 0x33c]
push eax
call fcn.10010040
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x214]
add ecx, 0x18
push ecx
push eax
lea eax, [ebp - 0x324]
push eax
call fcn.1002ffd0
mov byte [ebp - 4], 6
push 0x101c782c
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.10011ca0
add esp, 0x24
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x310]
cmp edx, 8
jb 0x10030dfa
mov ecx, dword [ebp - 0x324]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10030df0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 7
mov word [ebp - 0x324], ax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x328]
cmp edx, 8
jb 0x10030e5b
mov ecx, dword [ebp - 0x33c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10030e51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
push dword [ebp - 0x240]
xor eax, eax
mov dword [ebp - 0x32c], 0
cmp dword [ebp - 0x23c], 8
lea ecx, [ebp - 0x234]
mov word [ebp - 0x33c], ax
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push eax
mov dword [ebp - 0x328], 7
call fcn.10008550
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x10030ee2
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10030ed8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
mov eax, dword [ebp - 0x214]
add eax, 0x30
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x214], eax
cmp eax, dword [ebp - 0x2f4]
jne 0x10030d70
mov eax, dword [ebp - 0x300]
add eax, 0x10
mov dword [ebp - 0x2f4], eax
cmp dword [eax], 0
je 0x10031022
push 0x12
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x250]
push 0x101c7918
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
call fcn.100054b0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x300]
cmp dword [ecx + 0x14], 8
jb 0x10030f87
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x2f4]
push dword [eax]
push ecx
lea ecx, [ebp - 0x250]
call fcn.10008550
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x234]
push eax
call fcn.10008550
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x10031005
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10030ffb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push ecx
push dword [ebp - 0x224]
cmovae eax, dword [ebp - 0x234]
push eax
push dword [ebp - 0x2ec]
call fcn.10059e40
mov ecx, eax
call fcn.10059f20
test eax, eax
jne 0x1003113b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2e4]
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x100310ab
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100310a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dff
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2f0]
test eax, eax
je 0x100310fa
mov eax, dword [eax]
test eax, eax
je 0x100310f0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1003111c
mov eax, dword [edi]
test eax, eax
je 0x10031112
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x218], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016100c
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp - 0x2fc]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x100312be
push 8
push 0x101c78bc
lea ecx, [ebp - 0x234]
call fcn.100054b0
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x2fc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2f4], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10031276
mov esi, dword [ebp - 0x2f4]
xor edi, edi
nop dword [eax + eax]
mov edx, dword [esi + edi + 0x10]
lea eax, [esi + edi]
mov dword [ebp - 0x300], edx
lea ecx, [eax + 0x18]
cmp dword [ebp - 0x300], 0
mov edx, esi
mov dword [ebp - 0x2f4], ecx
je 0x10031237
add ecx, 0x10
mov dword [ebp - 0x238], ecx
cmp dword [ecx], 0
je 0x10031237
cmp dword [eax + 0x14], 8
jb 0x100311d7
mov eax, dword [eax]
push dword [ebp - 0x300]
lea ecx, [ebp - 0x234]
push eax
call fcn.10008550
push 1
push 0x101c26d8
lea ecx, [ebp - 0x234]
call fcn.10008550
mov eax, dword [ebp - 0x2f4]
cmp dword [eax + 0x14], 8
jb 0x10031209
mov eax, dword [eax]
mov ecx, dword [ebp - 0x238]
push dword [ecx]
lea ecx, [ebp - 0x234]
push eax
call fcn.10008550
push 1
push 0x101c78b8
lea ecx, [ebp - 0x234]
call fcn.10008550
mov esi, dword [ebp - 0x2fc]
mov edx, dword [esi]
mov eax, dword [ebp - 0x2fc]
mov esi, edx
inc dword [ebp - 0x214]
add edi, 0x30
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x214], eax
jb 0x100311a0
mov esi, dword [ebp - 0x304]
mov edi, dword [ebp - 0x218]
push 2
push 0x101c782c
lea ecx, [ebp - 0x234]
call fcn.10008550
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push ecx
push dword [ebp - 0x224]
cmovae eax, dword [ebp - 0x234]
push eax
push dword [ebp - 0x2ec]
call fcn.10059e40
mov ecx, eax
call fcn.10059f20
test eax, eax
je 0x10031058
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x10031302
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100312f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dff
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 0x30c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
push 0x1f
push dword [ebp - 0x2ec]
mov dword [ebp - 0x238], 4
call fcn.10059e40
mov ecx, eax
call fcn.1005a740
or dword [ebp - 0x214], 0x3100
lea eax, [ebp - 0x214]
push ecx
push eax
push 0x1f
push dword [ebp - 0x2ec]
call fcn.10059e40
mov ecx, eax
call fcn.1005a880
push dword [ebp + 0x10]
push dword [ebp - 0x2e8]
push 0
push 0
push dword [ebp - 0x2ec]
call fcn.10059e40
mov ecx, eax
call fcn.1005a2f0
test eax, eax
jne 0x100313d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2e4]
mov dword [ecx + 0x18], eax
jmp 0x100310c8
mov byte [ebp - 4], 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp - 0x308]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x100313fa
mov ecx, dword [eax]
mov byte [ecx], 0
nop dword [eax]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x30c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x254]
push eax
push 0x1ff
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x2ec]
call fcn.10059e40
mov ecx, eax
call fcn.1005a7e0
test eax, eax
je 0x100310c8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x2e8], ecx
cmp ecx, 0x200
jae 0x100310c8
test ecx, ecx
je 0x10031513
mov edx, dword [ebp - 0x308]
mov byte [ebp + ecx - 0x210], 0
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x214], eax
mov eax, dword [edx + 0x14]
sub eax, dword [ebp - 0x214]
cmp ecx, eax
ja 0x100314f6
mov eax, dword [ebp - 0x214]
add eax, ecx
mov dword [ebp - 0x2e4], edx
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], eax
jb 0x100314bb
mov eax, dword [edx]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x2e4]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.10165440
mov eax, dword [ebp - 0x2e4]
add esp, 0xc
add eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x2e8]
mov esi, dword [ebp - 0x304]
mov byte [ecx + eax], 0
jmp 0x10031513
push ecx
lea eax, [ebp - 0x210]
mov byte [ebp - 0x238], 0
push eax
push dword [ebp - 0x238]
push ecx
mov ecx, edx
call fcn.10025e70
mov byte [ebp - 4], 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x254], 0
ja 0x10031400
mov eax, dword [ebp - 0x2fc]
push ecx
mov edx, dword [eax + 4]
mov ecx, dword [eax]
call fcn.100261d0
mov ecx, dword [ebp - 0x2fc]
push 0x402
mov dword [ebp - 0x214], 0x200
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call fcn.10161a35
mov ecx, eax
mov dword [ebp - 0x258], 0
add esp, 8
mov dword [ebp - 0x2e4], ecx
jmp 0x1003157a
mov ecx, dword [ebp - 0x2e4]
xor eax, eax
mov word [ecx], ax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x30c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x2a4]
push eax
push dword [ebp - 0x2e4]
push 0x2b
push dword [ebp - 0x2ec]
call fcn.10059e40
mov ecx, eax
call fcn.1005a1b0
test eax, eax
mov dword [ebp - 0x2e8], eax
setne byte [ebp - 0x2f5]
mov byte [ebp - 4], 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x2e8], 0
jne 0x10031668
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x214]
cmp eax, ecx
jbe 0x10031674
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10031668
mov eax, dword [ebp - 0x2a4]
push dword [ebp - 0x2e4]
inc eax
mov dword [ebp - 0x214], eax
call fcn.10161835
mov eax, dword [ebp - 0x214]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10161a35
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x2e4], ecx
mov dword [ebp - 0x258], eax
jmp 0x1003157a
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x214]
cmp byte [ebp - 0x2f5], 0
je 0x10031d98
cmp eax, ecx
ja 0x10031574
mov edx, dword [ebp - 0x2e4]
xor ecx, ecx
mov word [edx + eax*2], cx
xor eax, eax
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x278], ecx
mov ecx, edx
mov word [ebp - 0x288], ax
mov dword [ebp - 0x274], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x2e8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100316c5
sub ecx, dword [ebp - 0x2e8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x288]
call fcn.100054b0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x278], 0
je 0x10031d32
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x288]
push eax
push 0x3d
call fcn.100191b0
mov dword [ebp - 0x2e8], eax
cmp eax, 0xffffffff
je 0x1003188e
push eax
push 0
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0x288]
call fcn.1000e080
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x250]
push eax
call fcn.10005270
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x328]
cmp edx, 8
jb 0x100317d8
mov ecx, dword [ebp - 0x33c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100317ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x32c], 0
mov word [ebp - 0x33c], ax
mov eax, dword [ebp - 0x2e8]
inc eax
mov dword [ebp - 0x328], 7
cmp eax, dword [ebp - 0x278]
jae 0x1003188e
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x288]
call fcn.1000e080
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x288]
push eax
call fcn.10005270
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x310]
cmp edx, 8
jb 0x10031871
mov ecx, dword [ebp - 0x324]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031867
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 7
mov word [ebp - 0x324], ax
push 0
push 0x3b
lea ecx, [ebp - 0x288]
call fcn.100191b0
cmp eax, 0xffffffff
je 0x1003192e
push eax
push 0
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x288]
call fcn.1000e080
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x270]
push eax
call fcn.10005270
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x340]
cmp edx, 8
jb 0x1003190f
mov ecx, dword [ebp - 0x354]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031905
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x340], 7
mov word [ebp - 0x354], ax
jmp 0x10031954
cmp dword [ebp - 0x274], 8
lea eax, [ebp - 0x288]
push dword [ebp - 0x278]
cmovae eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x270]
push eax
call fcn.100054b0
lea eax, [ebp - 0x250]
push 0x101c30c0
push eax
call fcn.1000d8f0
lea eax, [ebp - 0x250]
push 0x101c30c0
push eax
call fcn.1000d980
lea eax, [ebp - 0x270]
push 0x101c30c0
push eax
call fcn.1000d8f0
lea eax, [ebp - 0x270]
push 0x101c30c0
push eax
call fcn.1000d980
add esp, 0x20
cmp dword [ebp - 0x240], 0
je 0x10031c70
cmp dword [ebp - 0x260], 0
je 0x10031c70
push str.http:__www.2345.com_
lea ecx, [ebp - 0x234]
call fcn.100052e0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x270]
cmp dword [ebp - 0x25c], 8
lea ecx, [ebp - 0x234]
push dword [ebp - 0x260]
cmovae eax, dword [ebp - 0x270]
push eax
call fcn.10008550
mov eax, dword [ebp - 0x224]
xor ecx, ecx
add eax, 0x20
mov dword [ebp - 0x2e0], 0x3c
mov dword [ebp - 0x304], eax
mov edx, 2
mul edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x2dc], xmm0
movlpd qword [ebp - 0x2d4], xmm0
movlpd qword [ebp - 0x2cc], xmm0
movlpd qword [ebp - 0x2c4], xmm0
movlpd qword [ebp - 0x2bc], xmm0
seto cl
movlpd qword [ebp - 0x2b4], xmm0
neg ecx
movlpd qword [ebp - 0x2ac], xmm0
or ecx, eax
push ecx
call fcn.10161a35
mov ecx, dword [ebp - 0x304]
add ecx, ecx
mov dword [ebp - 0x2ac], eax
push ecx
push 0
push eax
call fcn.101652e0
mov eax, dword [ebp - 0x304]
add esp, 0x10
dec eax
mov dword [ebp - 0x2f4], esi
mov dword [ebp - 0x2a8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2e0]
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push ecx
cmovae eax, dword [ebp - 0x234]
push ecx
push dword [ebp - 0x224]
push eax
call fcn.10059e40
mov ecx, eax
call fcn.1005a4c0
mov dword [ebp - 0x2e8], eax
mov byte [ebp - 4], 0x14
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x2e8], 0
je 0x10031bc9
push dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2a0]
call fcn.100052e0
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x290], 0
je 0x10031b68
cmp dword [ebp - 0x28c], 8
lea eax, [ebp - 0x2a0]
lea ecx, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.1002ff40
movups xmm0, xmmword [ebp - 0x2a0]
movups xmm1, xmmword [ebp - 0x270]
movq xmm2, qword [ebp - 0x260]
movups xmmword [ebp - 0x270], xmm0
movq xmm0, qword [ebp - 0x290]
movq qword [ebp - 0x260], xmm0
movups xmmword [ebp - 0x2a0], xmm1
movq qword [ebp - 0x290], xmm2
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x28c]
cmp edx, 8
jb 0x10031bac
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031ba2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
push dword [ebp - 0x2ac]
call fcn.10161835
add esp, 4
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0x384]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.10030070
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x2fc]
push eax
call fcn.1002fef0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x384]
call fcn.10026240
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x10031c53
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031c49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x25c]
cmp edx, 8
jb 0x10031cb4
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031caa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x10031d15
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031d0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x274]
cmp edx, 8
jb 0x10031d76
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031d6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031dfa
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
jmp 0x10031574
mov eax, dword [ebp - 0x2e4]
xor ecx, ecx
push eax
mov word [eax], cx
call fcn.10161835
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2f0]
test eax, eax
je 0x10031dd1
mov eax, dword [eax]
test eax, eax
je 0x10031dc7
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10031df3
mov eax, dword [edi]
test eax, eax
je 0x10031de9
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x218], 0
mov al, 1
jmp 0x1003111e
call fcn.10168a09
call fcn.10168a09
int3