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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016913e
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x101b900c]
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 - 0x338], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x32c], eax
xor eax, eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x214], eax
mov dword [esi + 0x18], eax
lea eax, [esi + 0x1c]
mov edi, eax
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x214], edi
test edi, edi
je 0x100d1745
mov eax, dword [edi]
test eax, eax
je 0x100d1745
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov dword [ebp - 0x310], eax
test eax, eax
je 0x100d2889
test edi, edi
je 0x100d1776
mov eax, dword [edi]
test eax, eax
je 0x100d176e
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov dword [ebp - 0x214], edi
add esi, 0x20
mov dword [ebp - 0x320], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 1
sub esp, 0x14
push dword [ebp - 0x318]
push ecx
push dword [ebp - 0x310]
call fcn.100f8890
mov ecx, eax
call fcn.100f8970
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x334], 0
jne 0x100d17ef
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100d28ab
mov eax, dword [edi]
test eax, eax
je 0x100d28a1
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
jmp 0x100d28a1
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x218], eax
test eax, eax
je 0x100d181c
mov ecx, dword [eax]
test ecx, ecx
je 0x100d181c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x330]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x338]
mov edx, dword [ebp - 0x334]
mov dword [ecx + 8], edx
test eax, eax
je 0x100d184f
mov eax, dword [eax]
test eax, eax
je 0x100d1841
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
xor eax, eax
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x218], eax
push 0x3e
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x248]
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.10003600
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x32c]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x100d19e6
push 2
push 0x101908ec
lea ecx, [ebp - 0x248]
call fcn.1002c070
push 8
push 0x10193a80
lea ecx, [ebp - 0x248]
call fcn.1002c070
xor ecx, ecx
mov dword [ebp - 0x310], ecx
mov ecx, dword [ebp - 0x32c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x318], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100d19e6
mov esi, dword [ebp - 0x318]
xor edi, edi
nop word [eax + eax]
mov edx, dword [esi + edi + 0x10]
lea eax, [esi + edi]
mov dword [ebp - 0x318], edx
lea ecx, [eax + 0x18]
cmp dword [ebp - 0x318], 0
mov edx, esi
mov dword [ebp - 0x340], ecx
je 0x100d19a7
add ecx, 0x10
mov dword [ebp - 0x33c], ecx
cmp dword [ecx], 0
je 0x100d19a7
cmp dword [eax + 0x14], 8
jb 0x100d1947
mov eax, dword [eax]
push dword [ebp - 0x318]
lea ecx, [ebp - 0x248]
push eax
call fcn.1002c070
push 1
push 0x10193b60
lea ecx, [ebp - 0x248]
call fcn.1002c070
mov eax, dword [ebp - 0x340]
cmp dword [eax + 0x14], 8
jb 0x100d1979
mov eax, dword [eax]
mov ecx, dword [ebp - 0x33c]
push dword [ecx]
lea ecx, [ebp - 0x248]
push eax
call fcn.1002c070
push 1
push 0x1018fccc
lea ecx, [ebp - 0x248]
call fcn.1002c070
mov esi, dword [ebp - 0x32c]
mov edx, dword [esi]
mov eax, dword [ebp - 0x32c]
mov esi, edx
inc dword [ebp - 0x310]
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 - 0x310], eax
jb 0x100d1910
mov esi, dword [ebp - 0x320]
mov edi, dword [ebp - 0x214]
push 4
push str._r_n_r_n
lea ecx, [ebp - 0x248]
call fcn.1002c070
mov eax, dword [ebp - 0x324]
add eax, 0x10
mov dword [ebp - 0x320], eax
cmp dword [eax], 0
je 0x100d1b00
push 0x12
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
push 0x10193b2c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.10003600
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x324]
cmp dword [ecx + 0x14], 8
jb 0x100d1a65
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x320]
push dword [eax]
push ecx
lea ecx, [ebp - 0x230]
call fcn.1002c070
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x248]
push eax
call fcn.1002c070
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x100d1ae3
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d1ad9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d28ca
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov ecx, dword [ebp - 0x338]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x320], ecx
cmp eax, ecx
je 0x100d1ef5
lea ecx, [eax + 0x28]
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x310], ecx
nop
mov byte [ebp - 4], 5
or eax, 1
mov dword [ebp - 0x30c], eax
xor edx, edx
mov eax, dword [ecx - 0x18]
lea ecx, [ebp - 0x230]
add eax, 2
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], dx
call fcn.10034030
push 2
push 0x101908ec
lea ecx, [ebp - 0x230]
call fcn.1002c070
mov eax, dword [ebp - 0x310]
mov ecx, dword [ebp - 0x318]
mov edx, ecx
cmp dword [eax - 0x14], 8
jb 0x100d1ba8
mov edx, dword [ecx]
push dword [eax - 0x18]
lea ecx, [ebp - 0x230]
push edx
call fcn.1002c070
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x230]
push 2
push 0x10193b9c
call fcn.1002c070
mov dword [ebp - 0x2a0], 0
xor ecx, ecx
mov dword [ebp - 0x29c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2a0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x30c]
or eax, 2
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x310]
cmp dword [eax + 4], 8
lea ecx, [eax - 0x10]
jb 0x100d1c2f
mov ecx, dword [ecx]
push dword [eax]
push ecx
lea ecx, [ebp - 0x2b0]
call fcn.1002c070
mov dword [ebp - 0x348], 0
xor ecx, ecx
mov dword [ebp - 0x344], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x358], xmm0
movq xmm0, qword [eax + 0x10]
or dword [ebp - 0x30c], 4
movq qword [ebp - 0x348], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x358]
push 2
push 0x101908ec
call fcn.1002c070
xor ecx, ecx
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x30c]
or eax, 8
movq qword [ebp - 0x258], xmm0
mov dword [ebp - 0x30c], eax
and eax, 0xfffffffb
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x344]
cmp edx, 8
jb 0x100d1d38
mov ecx, dword [ebp - 0x358]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d1d28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d28ca
push edx
push ecx
call fcn.1010a295
mov eax, dword [ebp - 0x30c]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x348], 0
and eax, 0xfffffffd
mov dword [ebp - 0x344], 7
mov word [ebp - 0x358], cx
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x29c]
cmp edx, 8
jb 0x100d1da8
mov ecx, dword [ebp - 0x2b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d1d98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d28ca
push edx
push ecx
call fcn.1010a295
mov eax, dword [ebp - 0x30c]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x2a0], 0
and eax, 0xfffffffe
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], cx
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x100d1e12
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d1e08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d28ca
push edx
push ecx
call fcn.1010a295
add esp, 8
push dword [ebp - 0x258]
xor eax, eax
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x254], 8
lea ecx, [ebp - 0x248]
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
push eax
mov dword [ebp - 0x21c], 7
call fcn.1002c070
mov eax, dword [ebp - 0x30c]
and eax, 0xfffffff7
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x100d1eae
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d1e9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d28ca
push edx
push ecx
call fcn.1010a295
mov eax, dword [ebp - 0x30c]
add esp, 8
mov edx, dword [ebp - 0x318]
xor ecx, ecx
mov word [ebp - 0x268], cx
add edx, 0x30
mov ecx, dword [ebp - 0x310]
add ecx, 0x30
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x318], edx
mov dword [ebp - 0x310], ecx
cmp edx, dword [ebp - 0x320]
jne 0x100d1b30
mov dword [ebp - 0x320], 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 - 0x248]
push dword [ebp + 0x10]
cmp dword [ebp - 0x234], 8
push dword [ebp - 0x31c]
cmovae eax, dword [ebp - 0x248]
push dword [ebp - 0x238]
push eax
push dword [ebp - 0x334]
call fcn.100f8890
mov ecx, eax
call fcn.100f8ac0
test eax, eax
jne 0x100d1faa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x338]
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x100d284c
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d2842
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d28cf
jmp 0x100d2842
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp - 0x314]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x100d1fce
mov ecx, dword [eax]
mov byte [ecx], 0
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x340], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x24c]
push eax
push ecx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x334]
call fcn.100f8890
mov ecx, eax
call fcn.100f8e60
test eax, eax
je 0x100d1f47
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x320], ecx
cmp ecx, 0x200
jae 0x100d1f56
test ecx, ecx
je 0x100d20f1
mov eax, dword [ebp - 0x314]
mov byte [ebp + ecx - 0x210], 0
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x31c], eax
sub eax, edx
mov dword [ebp - 0x318], edx
cmp ecx, eax
ja 0x100d20d0
cmp dword [ebp - 0x31c], 0x10
lea eax, [edx + ecx]
mov edx, dword [ebp - 0x314]
mov dword [edx + 0x10], eax
mov eax, edx
mov edx, dword [ebp - 0x318]
mov dword [ebp - 0x324], eax
jb 0x100d20a5
mov eax, dword [eax]
mov dword [ebp - 0x324], eax
push ecx
lea ecx, [ebp - 0x210]
add eax, edx
push ecx
push eax
call fcn.10121a50
mov eax, dword [ebp - 0x320]
add esp, 0xc
add eax, dword [ebp - 0x324]
mov ecx, dword [ebp - 0x318]
mov byte [eax + ecx], 0
jmp 0x100d20f1
push ecx
lea eax, [ebp - 0x210]
mov byte [ebp - 0x33c], 0
push eax
push dword [ebp - 0x33c]
push ecx
mov ecx, dword [ebp - 0x314]
call fcn.1008ebf0
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x24c], 0
ja 0x100d1fe0
mov eax, dword [ebp - 0x32c]
push ecx
mov edx, dword [eax + 4]
mov ecx, dword [eax]
call fcn.100635d0
mov ecx, dword [ebp - 0x32c]
push 0x402
mov dword [ebp - 0x310], 0x200
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call fcn.1010a31b
mov ecx, eax
mov dword [ebp - 0x250], 0
add esp, 8
mov dword [ebp - 0x314], ecx
jmp 0x100d2158
mov ecx, dword [ebp - 0x314]
xor eax, eax
mov word [ecx], ax
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x33c], 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 - 0x250]
push eax
lea eax, [ebp - 0x2cc]
push eax
push dword [ebp - 0x314]
push ecx
push dword [ebp - 0x334]
call fcn.100f8890
mov ecx, eax
call fcn.100f8a20
test eax, eax
mov dword [ebp - 0x31c], eax
setne byte [ebp - 0x325]
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x31c], 0
jne 0x100d2245
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [ebp - 0x310]
cmp eax, ecx
jbe 0x100d2251
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100d2245
mov eax, dword [ebp - 0x2cc]
push dword [ebp - 0x314]
inc eax
mov dword [ebp - 0x310], eax
call fcn.1010a316
mov eax, dword [ebp - 0x310]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1010a31b
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x314], ecx
mov dword [ebp - 0x250], eax
jmp 0x100d2158
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [ebp - 0x310]
cmp byte [ebp - 0x325], 0
je 0x100d27d4
cmp eax, ecx
ja 0x100d2152
mov edx, dword [ebp - 0x314]
xor ecx, ecx
mov word [edx + eax*2], cx
xor eax, eax
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x288], ecx
mov ecx, edx
mov word [ebp - 0x298], ax
mov dword [ebp - 0x284], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x31c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100d22a2
sub ecx, dword [ebp - 0x31c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x298]
call fcn.10003600
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x288], 0
je 0x100d27c0
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x298]
push eax
push 0x3d
call fcn.10079a90
mov dword [ebp - 0x31c], eax
cmp eax, 0xffffffff
je 0x100d246b
push eax
push 0
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x298]
call fcn.100350a0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x268]
push eax
call fcn.100034b0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x344]
cmp edx, 8
jb 0x100d23b5
mov ecx, dword [ebp - 0x358]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d23ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d28ca
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x348], 0
mov word [ebp - 0x358], ax
mov eax, dword [ebp - 0x31c]
inc eax
mov dword [ebp - 0x344], 7
cmp eax, dword [ebp - 0x288]
jae 0x100d246b
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x298]
call fcn.100350a0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x298]
push eax
call fcn.100034b0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x100d244e
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d2444
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d28ca
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0
push 0x3b
lea ecx, [ebp - 0x298]
call fcn.10079a90
cmp eax, 0xffffffff
je 0x100d250b
push eax
push 0
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x298]
call fcn.100350a0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x280]
push eax
call fcn.100034b0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x35c]
cmp edx, 8
jb 0x100d24ec
mov ecx, dword [ebp - 0x370]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d24e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d28ca
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x35c], 7
mov word [ebp - 0x370], ax
jmp 0x100d2531
cmp dword [ebp - 0x284], 8
lea eax, [ebp - 0x298]
push dword [ebp - 0x288]
cmovae eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x280]
push eax
call fcn.10003600
mov edx, str.__r_t_n
lea ecx, [ebp - 0x268]
call fcn.10076860
mov edx, str.__r_t_n
lea ecx, [ebp - 0x268]
call fcn.100768f0
mov edx, str.__r_t_n
lea ecx, [ebp - 0x280]
call fcn.10076860
mov edx, str.__r_t_n
lea ecx, [ebp - 0x280]
call fcn.100768f0
cmp dword [ebp - 0x258], 0
je 0x100d27a2
cmp dword [ebp - 0x270], 0
je 0x100d27a2
push 0x10193b64
lea ecx, [ebp - 0x2b0]
call fcn.10003520
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x280]
cmp dword [ebp - 0x26c], 8
lea ecx, [ebp - 0x2b0]
push dword [ebp - 0x270]
cmovae eax, dword [ebp - 0x280]
push eax
call fcn.1002c070
mov eax, dword [ebp - 0x2a0]
xor ecx, ecx
add eax, 0x20
mov dword [ebp - 0x308], 0x3c
mov dword [ebp - 0x324], eax
mov edx, 2
mul edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x304], xmm0
movlpd qword [ebp - 0x2fc], xmm0
movlpd qword [ebp - 0x2f4], xmm0
movlpd qword [ebp - 0x2ec], xmm0
movlpd qword [ebp - 0x2e4], xmm0
seto cl
movlpd qword [ebp - 0x2dc], xmm0
neg ecx
movlpd qword [ebp - 0x2d4], xmm0
or ecx, eax
push ecx
call fcn.1010a31b
mov ecx, dword [ebp - 0x324]
add ecx, ecx
mov dword [ebp - 0x2d4], eax
push ecx
push 0
push eax
call fcn.10121fd0
mov eax, dword [ebp - 0x324]
add esp, 0x10
dec eax
mov dword [ebp - 0x340], esi
mov dword [ebp - 0x2d0], 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 ecx, [ebp - 0x308]
cmp dword [ebp - 0x29c], 8
lea eax, [ebp - 0x2b0]
push ecx
cmovae eax, dword [ebp - 0x2b0]
push ecx
push dword [ebp - 0x2a0]
push eax
call fcn.100f8890
mov ecx, eax
call fcn.100f8c80
mov dword [ebp - 0x31c], eax
mov byte [ebp - 4], 0x18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x31c], 0
je 0x100d274d
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0x2c8]
call fcn.10003520
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x2b8], 0
je 0x100d273e
cmp dword [ebp - 0x2b4], 8
lea eax, [ebp - 0x2c8]
lea ecx, [ebp - 0x2c8]
cmovae eax, dword [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.1006f640
movups xmm0, xmmword [ebp - 0x2c8]
movups xmm1, xmmword [ebp - 0x280]
movq xmm2, qword [ebp - 0x270]
movups xmmword [ebp - 0x280], xmm0
movq xmm0, qword [ebp - 0x2b8]
movq qword [ebp - 0x270], xmm0
movups xmmword [ebp - 0x2c8], xmm1
movq qword [ebp - 0x2b8], xmm2
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2c8]
call fcn.10003590
push dword [ebp - 0x2d4]
call fcn.1010a316
add esp, 4
lea eax, [ebp - 0x280]
lea ecx, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.100d2910
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x32c]
push eax
call fcn.100d28e0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x3a0]
call fcn.1005a0e0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2b0]
call fcn.10003590
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x280]
call fcn.10003590
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x268]
call fcn.10003590
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x298]
call fcn.10003590
jmp 0x100d2152
mov eax, dword [ebp - 0x314]
xor ecx, ecx
push eax
mov word [eax], cx
call fcn.1010a316
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.10003590
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x330]
test eax, eax
je 0x100d281c
mov eax, dword [eax]
test eax, eax
je 0x100d2812
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x218], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100d283e
mov eax, dword [edi]
test eax, eax
je 0x100d2834
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x214], 0
mov al, 1
jmp 0x100d28ad
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], eax
mov word [ebp - 0x248], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x330]
test eax, eax
je 0x100d2889
mov eax, dword [eax]
test eax, eax
je 0x100d287f
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x218], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100d28ab
mov eax, dword [edi]
test eax, eax
je 0x100d28a1
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x214], 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.10109ef1
mov esp, ebp
pop ebp
ret 0x20
call fcn.10129e39
call fcn.10129e39
int3