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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e64f5
mov eax, dword fs:[0]
push eax
sub esp, 0x398
mov eax, dword [0x102632d4]
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 - 0x320], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x310], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x300], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x328], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30c], eax
lea eax, [esi + 0x1c]
mov dword [ebp - 0x324], 0
mov edi, eax
mov dword [ebp - 0x214], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x214], edi
test edi, edi
je 0x100c72ff
mov eax, dword [edi]
test eax, eax
je 0x100c72ff
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov dword [ebp - 0x2fc], eax
test eax, eax
je 0x100c802a
test edi, edi
je 0x100c7330
mov eax, dword [edi]
test eax, eax
je 0x100c7328
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov dword [ebp - 0x214], edi
add esi, 0x20
mov dword [ebp - 0x32c], 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 0x4080000
push 0
push 0
push ecx
push dword [ebp - 0x310]
push str.POST
push dword [ebp - 0x2fc]
call fcn.100cf9e0
mov ecx, eax
call fcn.100cfc00
mov dword [ebp - 0x314], eax
mov byte [ebp - 4], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x314], 0
jne 0x100c73b5
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100c804c
mov eax, dword [edi]
test eax, eax
je 0x100c8042
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
jmp 0x100c8042
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x218], eax
test eax, eax
je 0x100c73e2
mov ecx, dword [eax]
test ecx, ecx
je 0x100c73e2
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x308]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x320]
mov edx, dword [ebp - 0x314]
mov dword [ecx + 8], edx
test eax, eax
je 0x100c7415
mov eax, dword [eax]
test eax, eax
je 0x100c7407
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
xor eax, eax
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x218], eax
push 0x3e
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x250]
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
call fcn.10008910
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30c]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x100c75b3
push 2
push 0x10216b94
lea ecx, [ebp - 0x250]
call fcn.10009bb0
push 8
push str.Cookie:
lea ecx, [ebp - 0x250]
call fcn.10009bb0
mov eax, dword [ebp - 0x30c]
xor ecx, ecx
mov dword [ebp - 0x2f4], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edx
mov dword [ebp - 0x310], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100c75b3
mov edi, dword [ebp - 0x30c]
xor eax, eax
mov esi, dword [ebp - 0x310]
mov dword [ebp - 0x2fc], eax
nop word [eax + eax]
mov edx, dword [eax + esi + 0x10]
add eax, esi
mov dword [ebp - 0x310], edx
mov edx, esi
cmp dword [ebp - 0x310], 0
lea ecx, [eax + 0x18]
mov dword [ebp - 0x31c], ecx
je 0x100c7570
add ecx, 0x10
mov dword [ebp - 0x2f8], ecx
cmp dword [ecx], 0
je 0x100c7570
cmp dword [eax + 0x14], 8
jb 0x100c7516
mov eax, dword [eax]
push dword [ebp - 0x310]
lea ecx, [ebp - 0x250]
push eax
call fcn.10009bb0
push 1
push 0x10224ad4
lea ecx, [ebp - 0x250]
call fcn.10009bb0
mov eax, dword [ebp - 0x31c]
cmp dword [eax + 0x14], 8
jb 0x100c7548
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2f8]
push dword [ecx]
lea ecx, [ebp - 0x250]
push eax
call fcn.10009bb0
push 1
push 0x10224910
lea ecx, [ebp - 0x250]
call fcn.10009bb0
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov esi, edx
inc dword [ebp - 0x2f4]
sub ecx, edx
add dword [ebp - 0x2fc], 0x30
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2fc]
jb 0x100c74e0
mov esi, dword [ebp - 0x32c]
mov edi, dword [ebp - 0x214]
push 4
push 0x10224ad8
lea ecx, [ebp - 0x250]
call fcn.10009bb0
mov eax, dword [ebp - 0x328]
add eax, 0x10
mov dword [ebp - 0x2f8], eax
cmp dword [eax], 0
je 0x100c767b
push 0x12
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
push 0x10224ae4
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.10008910
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x328]
cmp dword [ecx + 0x14], 8
jb 0x100c7632
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x2f8]
push dword [eax]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10009bb0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x250]
push eax
call fcn.10009bb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.100088b0
mov ecx, dword [ebp - 0x320]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x31c], ecx
cmp eax, ecx
je 0x100c77d1
mov edi, dword [ebp - 0x324]
mov esi, eax
nop dword [eax]
push esi
lea eax, [ebp - 0x35c]
push 0x10216b94
push eax
call fcn.1000e8b0
mov byte [ebp - 4], 5
push 0x10224b0c
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.1000e990
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [esi + 0x18]
cmp dword [esi + 0x2c], 8
jb 0x100c76da
mov ecx, dword [ecx]
push dword [esi + 0x28]
push ecx
mov ecx, eax
call fcn.10009bb0
mov dword [ebp - 0x288], 0
xor ecx, ecx
mov dword [ebp - 0x284], 0
or edi, 1
push 0x10216b94
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x298], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x288], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x324], edi
push eax
call fcn.1000e990
add esp, 0xc
mov byte [ebp - 4], 8
and edi, 0xfffffffe
mov dword [ebp - 0x324], edi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x298]
call fcn.100088b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x344]
call fcn.100088b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x35c]
call fcn.100088b0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x250]
push eax
call fcn.10009bb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.100088b0
add esi, 0x30
cmp esi, dword [ebp - 0x31c]
jne 0x100c76a0
mov esi, dword [ebp - 0x32c]
mov edi, dword [ebp - 0x214]
mov dword [ebp - 0x2f8], 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 - 0x250]
push dword [ebp + 0x10]
cmp dword [ebp - 0x23c], 8
push dword [ebp - 0x300]
cmovae eax, dword [ebp - 0x250]
push dword [ebp - 0x240]
push eax
push dword [ebp - 0x314]
call fcn.100cf9e0
mov ecx, eax
call fcn.100cfdf0
test eax, eax
je 0x100c7fda
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp - 0x318]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x100c784b
mov ecx, dword [eax]
mov byte [ecx], 0
nop
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x31c], 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 - 0x234]
push eax
push 0x1ff
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x314]
call fcn.100cf9e0
mov ecx, eax
call fcn.100d02e0
test eax, eax
je 0x100c7fda
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x300], ecx
cmp ecx, 0x200
jae 0x100c7fe9
test ecx, ecx
je 0x100c7963
mov edx, dword [ebp - 0x318]
mov byte [ebp + ecx - 0x210], 0
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x2f4], eax
mov eax, dword [edx + 0x14]
sub eax, dword [ebp - 0x2f4]
cmp ecx, eax
ja 0x100c7946
mov eax, dword [ebp - 0x2f4]
add eax, ecx
mov dword [ebp - 0x2fc], edx
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], eax
jb 0x100c790b
mov eax, dword [edx]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2f4]
add eax, dword [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.101a9300
mov eax, dword [ebp - 0x2fc]
add esp, 0xc
add eax, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x300]
mov edi, dword [ebp - 0x214]
mov byte [ecx + eax], 0
jmp 0x100c7963
push ecx
lea eax, [ebp - 0x210]
mov byte [ebp - 0x2f8], 0
push eax
push dword [ebp - 0x2f8]
push ecx
mov ecx, edx
call fcn.100ae8d0
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x234], 0
ja 0x100c7850
mov edi, dword [ebp - 0x30c]
push ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
call fcn.100bc0c0
mov eax, dword [edi]
mov dword [edi + 4], eax
mov eax, 0x200
push 0x402
mov dword [ebp - 0x2f4], eax
call fcn.10191c0a
mov edi, eax
mov dword [ebp - 0x238], 0
mov ecx, 0x200
add esp, 8
nop dword [eax]
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x2b4], ecx
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x31c], 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 - 0x238]
push eax
lea eax, [ebp - 0x2b4]
push eax
push edi
push 0x2b
push dword [ebp - 0x314]
call fcn.100cf9e0
mov ecx, eax
call fcn.100cfcb0
test eax, eax
mov dword [ebp - 0x300], eax
setne byte [ebp - 0x301]
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x300], 0
jne 0x100c7a9b
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x2f4]
cmp eax, ecx
jbe 0x100c7aa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100c7a9b
mov eax, dword [ebp - 0x2b4]
inc eax
push edi
mov dword [ebp - 0x2f4], eax
call fcn.10191c13
mov eax, dword [ebp - 0x2f4]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10191c0a
mov ecx, dword [ebp - 0x2f4]
mov edi, eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x238], eax
jmp 0x100c79b9
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x2f4]
cmp byte [ebp - 0x301], 0
je 0x100c7f6c
cmp eax, ecx
ja 0x100c79c0
xor ecx, ecx
mov word [edi + eax*2], cx
xor eax, eax
mov word [ebp - 0x280], ax
mov eax, edi
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x26c], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100c7af0
sub eax, edx
lea ecx, [ebp - 0x280]
sar eax, 1
push eax
push edi
call fcn.10008910
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x270], 0
je 0x100c7f52
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x280]
push eax
push 0x3d
call fcn.1000d510
mov dword [ebp - 0x300], eax
cmp eax, 0xffffffff
je 0x100c7c09
push eax
push 0
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x280]
call fcn.1000d360
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x230]
push eax
call fcn.1000d580
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x35c]
call fcn.100088b0
mov eax, dword [ebp - 0x300]
inc eax
cmp eax, dword [ebp - 0x270]
jae 0x100c7c09
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x344]
push eax
lea ecx, [ebp - 0x280]
call fcn.1000d360
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x280]
push eax
call fcn.1000d580
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x344]
call fcn.100088b0
push 0
push 0x3b
lea ecx, [ebp - 0x280]
call fcn.1000d510
cmp eax, 0xffffffff
je 0x100c7c53
push eax
push 0
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x280]
call fcn.1000d360
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x268]
push eax
call fcn.1000d580
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x3a4]
call fcn.100088b0
jmp 0x100c7c79
cmp dword [ebp - 0x26c], 8
lea eax, [ebp - 0x280]
push dword [ebp - 0x270]
cmovae eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x268]
push eax
call fcn.10008910
mov edx, 0x10216a20
lea ecx, [ebp - 0x230]
call fcn.10010c80
mov edx, 0x10216a20
lea ecx, [ebp - 0x230]
call fcn.10010d10
mov edx, 0x10216a20
lea ecx, [ebp - 0x268]
call fcn.10010c80
mov edx, 0x10216a20
lea ecx, [ebp - 0x268]
call fcn.10010d10
cmp dword [ebp - 0x220], 0
je 0x100c7f34
cmp dword [ebp - 0x258], 0
je 0x100c7f34
push str.http:__www.2345.com_
lea ecx, [ebp - 0x298]
call fcn.10008860
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x268]
cmp dword [ebp - 0x254], 8
lea ecx, [ebp - 0x298]
push dword [ebp - 0x258]
cmovae eax, dword [ebp - 0x268]
push eax
call fcn.10009bb0
mov eax, dword [ebp - 0x288]
xor ecx, ecx
add eax, 0x20
mov dword [ebp - 0x2f0], 0x3c
mov dword [ebp - 0x318], eax
mov edx, 2
mul edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x2ec], xmm0
movlpd qword [ebp - 0x2e4], xmm0
movlpd qword [ebp - 0x2dc], xmm0
movlpd qword [ebp - 0x2d4], xmm0
movlpd qword [ebp - 0x2cc], xmm0
seto cl
movlpd qword [ebp - 0x2c4], xmm0
neg ecx
movlpd qword [ebp - 0x2bc], xmm0
or ecx, eax
push ecx
call fcn.10191c0a
mov ecx, dword [ebp - 0x318]
add ecx, ecx
mov dword [ebp - 0x2bc], eax
push ecx
push 0
push eax
call fcn.101a9880
mov eax, dword [ebp - 0x318]
add esp, 0x10
dec eax
mov dword [ebp - 0x32c], esi
mov dword [ebp - 0x2b8], 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 - 0x2f0]
cmp dword [ebp - 0x284], 8
lea eax, [ebp - 0x298]
push ecx
cmovae eax, dword [ebp - 0x298]
push ecx
push dword [ebp - 0x288]
push eax
call fcn.100cf9e0
mov ecx, eax
call fcn.100cffc0
mov dword [ebp - 0x300], eax
mov byte [ebp - 4], 0x18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x300], 0
je 0x100c7e95
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2b0]
call fcn.10008860
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x2a0], 0
je 0x100c7e86
cmp dword [ebp - 0x29c], 8
lea eax, [ebp - 0x2b0]
lea ecx, [ebp - 0x2b0]
cmovae eax, dword [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.100c1410
movups xmm0, xmmword [ebp - 0x2b0]
movups xmm1, xmmword [ebp - 0x268]
movq xmm2, qword [ebp - 0x258]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [ebp - 0x2a0]
movq qword [ebp - 0x258], xmm0
movups xmmword [ebp - 0x2b0], xmm1
movq qword [ebp - 0x2a0], xmm2
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2b0]
call fcn.100088b0
push dword [ebp - 0x2bc]
call fcn.10191c13
add esp, 4
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x38c]
push eax
call fcn.10009ad0
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x374]
call fcn.10009ad0
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x30c]
mov edx, dword [eax + 4]
cmp dword [eax + 8], edx
je 0x100c7ef8
lea eax, [ebp - 0x38c]
push eax
call fcn.100bc300
mov eax, dword [ebp - 0x30c]
add esp, 4
add dword [eax + 4], 0x30
jmp 0x100c7f07
lea ecx, [ebp - 0x38c]
push ecx
push edx
mov ecx, eax
call fcn.100c80a0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x374]
call fcn.100088b0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x38c]
call fcn.100088b0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x298]
call fcn.100088b0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x268]
call fcn.100088b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x230]
call fcn.100088b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x280]
call fcn.100088b0
mov ecx, dword [ebp - 0x2f4]
jmp 0x100c79c0
xor eax, eax
push edi
mov word [edi], ax
call fcn.10191c13
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.100088b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x308]
mov edi, dword [ebp - 0x214]
test eax, eax
je 0x100c7fb4
mov eax, dword [eax]
test eax, eax
je 0x100c7faa
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x218], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100c7fd6
mov eax, dword [edi]
test eax, eax
je 0x100c7fcc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x214], 0
mov al, 1
jmp 0x100c804e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x320]
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
lea ecx, [ebp - 0x250]
call fcn.100088b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x308]
test eax, eax
je 0x100c802a
mov eax, dword [eax]
test eax, eax
je 0x100c8020
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x218], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100c804c
mov eax, dword [edi]
test eax, eax
je 0x100c8042
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.101912fd
mov esp, ebp
pop ebp
ret 0x20