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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8a43
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x1010001c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x310], esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x328], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x324], eax
lea eax, [esi + 0x1c]
mov edi, eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x334], ebx
mov dword [esi + 0x18], 0
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x30c], edi
test edi, edi
je 0x10064916
mov eax, dword [edi]
test eax, eax
je 0x10064916
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov dword [ebp - 0x318], eax
test eax, eax
je 0x10065682
test edi, edi
je 0x10064947
mov eax, dword [edi]
test eax, eax
je 0x1006493f
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov dword [ebp - 0x30c], edi
add esi, 0x20
mov dword [ebp - 0x330], 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 0
push 0
push 0
push ecx
push dword [ebp - 0x214]
push str.POST
push dword [ebp - 0x318]
call fcn.1006d1b0
mov ecx, eax
call fcn.1006d3c0
mov dword [ebp - 0x318], eax
mov byte [ebp - 4], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [ebp - 0x318]
test eax, eax
jne 0x100649ca
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100656a4
mov eax, dword [edi]
test eax, eax
je 0x1006569a
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
jmp 0x1006569a
cmp byte [ebp + 0x1c], 0
je 0x100649f1
push ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], 1
push ecx
push 0x41
push eax
call fcn.1006d1b0
mov ecx, eax
call fcn.1006db40
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x31c], eax
test eax, eax
je 0x10064a1e
mov ecx, dword [eax]
test ecx, ecx
je 0x10064a1e
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x314]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x310]
mov edx, dword [ebp - 0x318]
mov dword [ecx + 8], edx
test eax, eax
je 0x10064a51
mov eax, dword [eax]
test eax, eax
je 0x10064a43
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
xor eax, eax
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x31c], eax
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
lea ecx, [ebp - 0x24c]
call fcn.100039b0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x324]
call fcn.10011000
test al, al
jne 0x10064bb4
push 0x100e3060
call fcn.10003bf0
add esp, 4
lea ecx, [ebp - 0x24c]
push eax
push 0x100e3060
call fcn.10004120
push str.Cookie:
call fcn.10003bf0
add esp, 4
lea ecx, [ebp - 0x24c]
push eax
push str.Cookie:
call fcn.10004120
mov ecx, dword [ebp - 0x324]
call fcn.10024a10
test eax, eax
je 0x10064bb4
call fcn.10003a20
xor edi, edi
mov esi, eax
xor ebx, ebx
mov eax, dword [esi]
add eax, edi
mov dword [ebp - 0x320], eax
lea ecx, [eax + 0x18]
mov dword [ebp - 0x214], ecx
mov ecx, eax
call fcn.10004080
test eax, eax
je 0x10064b8b
mov ecx, dword [ebp - 0x214]
call fcn.10004080
test eax, eax
je 0x10064b8b
mov ecx, dword [ebp - 0x320]
call fcn.10003a20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10064b1c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.10004120
push 0x100e5a04
call fcn.10003bf0
add esp, 4
lea ecx, [ebp - 0x24c]
push eax
push 0x100e5a04
call fcn.10004120
mov ecx, dword [ebp - 0x214]
call fcn.10003a20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10064b5e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.10004120
push 0x100e5578
call fcn.10003bf0
add esp, 4
lea ecx, [ebp - 0x24c]
push eax
push 0x100e5578
call fcn.10004120
mov ecx, dword [ebp - 0x324]
inc ebx
add edi, 0x30
call fcn.10024a10
cmp ebx, eax
jb 0x10064ad2
mov esi, dword [ebp - 0x330]
mov edi, dword [ebp - 0x30c]
mov ebx, dword [ebp - 0x334]
cmp byte [ebp + 0x1c], 0
je 0x10064bcf
push str._r_nAccept_Encoding:_gzip_r_n
call fcn.10003bf0
add esp, 4
push eax
push str._r_nAccept_Encoding:_gzip_r_n
jmp 0x10064be2
push str._r_n_r_n
call fcn.10003bf0
add esp, 4
push eax
push str._r_n_r_n
lea ecx, [ebp - 0x24c]
call fcn.10004120
mov ecx, dword [ebp - 0x328]
call fcn.10004080
test eax, eax
je 0x10064c67
push 0x100e5a08
lea ecx, [ebp - 0x264]
call fcn.100039b0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x328]
call fcn.10003a20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10064c25
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x264]
call fcn.10004120
lea ecx, [ebp - 0x264]
call fcn.10003a20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10064c49
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.10004120
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.10003910
mov ecx, dword [ebp - 0x310]
add ecx, 0xc
call fcn.10011000
test al, al
jne 0x10064d91
call fcn.10003a20
mov edx, dword [eax]
mov dword [ebp - 0x320], edx
call fcn.10004d50
mov eax, dword [eax]
mov dword [ebp - 0x328], eax
cmp edx, eax
je 0x10064d91
lea ecx, [ebp - 0x264]
call fcn.10003a20
mov ebx, dword [ebp - 0x320]
mov edi, eax
mov esi, dword [ebp - 0x328]
nop dword [eax + eax]
push ebx
lea eax, [ebp - 0x27c]
push 0x100e3060
push eax
call fcn.10003e30
add esp, 0xc
mov byte [ebp - 4], 5
push 0x100e5a48
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.10003dc0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x18]
push ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.10027ef0
add esp, 0xc
mov byte [ebp - 4], 7
push 0x100e3060
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.10003dc0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2ac]
call fcn.10003910
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c4]
call fcn.10003910
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x27c]
call fcn.10003910
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10064d56
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x24c]
push eax
call fcn.10004120
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.10003910
add ebx, 0x30
cmp ebx, esi
jne 0x10064cc0
mov esi, dword [ebp - 0x330]
mov edi, dword [ebp - 0x30c]
mov ebx, dword [ebp - 0x334]
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 ecx, [ebp - 0x24c]
push dword [ebp + 0x10]
push dword [ebp - 0x32c]
call fcn.10004080
push eax
lea ecx, [ebp - 0x24c]
call fcn.100038a0
push eax
push dword [ebp - 0x318]
call fcn.1006d1b0
mov ecx, eax
call fcn.1006d650
test eax, eax
je 0x10065632
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp byte [ebp + 0x1c], 0
mov byte [ebp - 0x305], 0
je 0x10064e63
mov edx, dword [ebp - 0x318]
lea ecx, [ebp - 0x2ac]
call fcn.10064190
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x2ac]
lea ecx, [ebp - 0x264]
call fcn.1006ec70
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x264]
call fcn.100038a0
mov edx, str.gzip
mov ecx, eax
call fcn.100090b0
mov byte [ebp - 0x305], al
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x264]
call fcn.10003910
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.10003910
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
mov dword [ebx + 0x10], 0
jb 0x10064e74
mov eax, dword [ebx]
mov byte [eax], 0
nop word [eax + eax]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x330], 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 - 0x218]
push eax
push 0x1ff
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x318]
call fcn.1006d1b0
mov ecx, eax
call fcn.1006daa0
test eax, eax
je 0x10065632
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x32c], ecx
cmp ecx, 0x200
jae 0x10065641
test ecx, ecx
je 0x10064f5b
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
sub eax, edx
mov byte [ebp + ecx - 0x210], 0
cmp ecx, eax
ja 0x10064f3e
cmp dword [ebx + 0x14], 0x10
lea eax, [ecx + edx]
mov dword [ebx + 0x10], eax
mov eax, ebx
jb 0x10064f18
mov eax, dword [ebx]
lea ebx, [eax + edx]
push ecx
lea eax, [ebp - 0x210]
push eax
push ebx
call fcn.10012700
mov eax, dword [ebp - 0x32c]
add esp, 0xc
mov byte [eax + ebx], 0
mov ebx, dword [ebp - 0x334]
jmp 0x10064f5b
push ecx
lea eax, [ebp - 0x210]
mov byte [ebp - 0x320], 0
push eax
push dword [ebp - 0x320]
push ecx
mov ecx, ebx
call fcn.10019dd0
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x218], 0
ja 0x10064e80
cmp byte [ebp - 0x305], 0
je 0x10065049
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x234]
mov ecx, ebx
call fcn.10064420
test al, al
je 0x10065157
lea eax, [ebp - 0x234]
cmp ebx, eax
je 0x10064ff0
cmp dword [ebp - 0x220], 0x10
mov ecx, ebx
push dword [ebp - 0x224]
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.10019a30
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x1006502e
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10065024
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100656c4
push edx
push ecx
call fcn.1008a52b
add esp, 8
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
mov ecx, dword [ebp - 0x324]
call fcn.1005c550
mov ebx, 0x200
push 0x402
mov dword [ebp - 0x310], ebx
call fcn.1008aa7c
mov edi, eax
mov dword [ebp - 0x21c], 0
add esp, 4
nop dword [eax + eax]
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x32c], eax
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], 0x11
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x2c8]
push eax
push edi
push 0x2b
push dword [ebp - 0x318]
call fcn.1006d1b0
mov ecx, eax
call fcn.1006d510
mov ebx, eax
test ebx, ebx
setne byte [ebp - 0x305]
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test ebx, ebx
mov ebx, dword [ebp - 0x310]
jne 0x100651d4
mov eax, dword [ebp - 0x2c8]
cmp eax, ebx
jbe 0x100651da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100651d4
mov ebx, dword [ebp - 0x2c8]
inc ebx
push edi
mov dword [ebp - 0x310], ebx
call fcn.1008a87c
xor ecx, ecx
lea eax, [ebx + 1]
add esp, 4
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1008aa7c
mov edi, eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x21c], eax
jmp 0x10065075
mov eax, dword [ebp - 0x310]
mov dword [eax + 0x18], 0x2f8f
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x10065173
mov ebx, dword [ebx]
mov byte [ebx], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x100651b4
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100651aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100656c9
push edx
push ecx
call fcn.1008a52b
add esp, 8
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
jmp 0x1006564e
mov eax, dword [ebp - 0x2c8]
cmp byte [ebp - 0x305], 0
je 0x100655c4
cmp eax, ebx
ja 0x10065080
xor ecx, ecx
mov word [edi + eax*2], cx
lea ecx, [ebp - 0x27c]
push edi
call fcn.100039b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x27c]
call fcn.10004080
test eax, eax
je 0x100655b0
lea ecx, [ebp - 0x2c4]
call fcn.10003a00
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x294]
call fcn.10003a00
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x27c]
push 0
push 0x3d
call fcn.10011070
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100652c4
push ebx
push 0
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x27c]
call fcn.10007960
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2c4]
push eax
call fcn.10003970
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x34c]
call fcn.10003910
lea ecx, [ebp - 0x27c]
inc ebx
call fcn.10004080
cmp ebx, eax
jae 0x100652c4
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x364]
push eax
lea ecx, [ebp - 0x27c]
call fcn.10007960
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x27c]
push eax
call fcn.10003970
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x364]
call fcn.10003910
push 0
push 0x3b
lea ecx, [ebp - 0x27c]
call fcn.10011070
cmp eax, 0xffffffff
je 0x1006530e
push eax
push 0
lea eax, [ebp - 0x37c]
push eax
lea ecx, [ebp - 0x27c]
call fcn.10007960
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x294]
push eax
call fcn.10003970
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x37c]
call fcn.10003910
jmp 0x1006534b
lea eax, [ebp - 0x27c]
push eax
call fcn.10003f00
lea ecx, [ebp - 0x294]
add esp, 4
cmp ecx, eax
je 0x1006534b
lea ecx, [ebp - 0x27c]
call fcn.10003a20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1006533c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x294]
call fcn.10003a30
mov edx, 0x100e1b88
lea ecx, [ebp - 0x2c4]
call fcn.10009250
mov edx, 0x100e1b88
lea ecx, [ebp - 0x2c4]
call fcn.100092d0
mov edx, 0x100e1b88
lea ecx, [ebp - 0x294]
call fcn.10009250
mov edx, 0x100e1b88
lea ecx, [ebp - 0x294]
call fcn.100092d0
lea ecx, [ebp - 0x2c4]
call fcn.10004080
test eax, eax
je 0x1006558c
lea ecx, [ebp - 0x294]
call fcn.10004080
test eax, eax
je 0x1006558c
push str.http:__www.2345.com_
lea ecx, [ebp - 0x264]
call fcn.100039b0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x294]
call fcn.10003a20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100653da
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x264]
call fcn.10004120
xorps xmm0, xmm0
mov dword [ebp - 0x304], 0x3c
lea ecx, [ebp - 0x264]
movlpd qword [ebp - 0x300], xmm0
movlpd qword [ebp - 0x2f8], xmm0
movlpd qword [ebp - 0x2f0], xmm0
movlpd qword [ebp - 0x2e8], xmm0
movlpd qword [ebp - 0x2e0], xmm0
movlpd qword [ebp - 0x2d8], xmm0
movlpd qword [ebp - 0x2d0], xmm0
call fcn.10004080
xor ecx, ecx
mov edx, 2
lea ebx, [eax + 0x20]
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1008aa7c
add esp, 4
mov dword [ebp - 0x2d0], eax
lea ecx, [ebx + ebx]
push ecx
push 0
push eax
call fcn.1008c730
add esp, 0xc
mov dword [ebp - 0x330], esi
lea eax, [ebx - 1]
mov dword [ebp - 0x2cc], 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 - 0x304]
push eax
push ecx
lea ecx, [ebp - 0x264]
call fcn.10004080
push eax
lea ecx, [ebp - 0x264]
call fcn.100038a0
push eax
call fcn.1006d1b0
mov ecx, eax
call fcn.1006d820
mov ebx, eax
mov byte [ebp - 4], 0x18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test ebx, ebx
je 0x10065537
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2ac]
call fcn.100039b0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2ac]
call fcn.10004080
test eax, eax
je 0x10065528
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.10005820
lea ecx, [ebp - 0x2ac]
push dword [eax]
lea eax, [ebp - 0x214]
push eax
call fcn.1005ac50
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x294]
call fcn.10005e70
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2ac]
call fcn.10003910
push dword [ebp - 0x2d0]
call fcn.1008a87c
add esp, 4
lea eax, [ebp - 0x294]
lea ecx, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.10024640
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x324]
push eax
call fcn.10022c20
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x3ac]
call fcn.1001ab20
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x264]
call fcn.10003910
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x294]
call fcn.10003910
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2c4]
call fcn.10003910
mov ebx, dword [ebp - 0x310]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.10003910
jmp 0x10065080
xor eax, eax
push edi
mov word [edi], ax
call fcn.1008a87c
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.10003910
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x314]
mov edi, dword [ebp - 0x30c]
test eax, eax
je 0x1006560c
mov eax, dword [eax]
test eax, eax
je 0x10065602
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x31c], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1006562e
mov eax, dword [edi]
test eax, eax
je 0x10065624
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x30c], 0
mov al, 1
jmp 0x100656a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x310]
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 - 0x24c]
call fcn.10003910
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x314]
test eax, eax
je 0x10065682
mov eax, dword [eax]
test eax, eax
je 0x10065678
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x31c], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100656a4
mov eax, dword [edi]
test eax, eax
je 0x1006569a
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x30c], 0
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 - 0x10]
xor ecx, ebp
call fcn.1008a187
mov esp, ebp
pop ebp
ret 0x20
call fcn.1008e2b2
call fcn.1008e2b2
int3