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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022feee
mov eax, dword fs:[0]
push eax
sub esp, 0x3b4
mov eax, dword [0x102c6474]
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 - 0x2f8], esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x308], eax
lea eax, [esi + 0x1c]
mov dword [ebp - 0x330], 0
mov edi, eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x32c], ebx
mov dword [esi + 0x18], 0
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x214], edi
test edi, edi
je 0x10038af0
mov eax, dword [edi]
test eax, eax
je 0x10038af0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov dword [ebp - 0x328], eax
test eax, eax
je 0x100399c8
test edi, edi
je 0x10038b21
mov eax, dword [edi]
test eax, eax
je 0x10038b19
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov dword [ebp - 0x214], edi
add esi, 0x20
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], 1
push ecx
push 0x4080000
push 0
push 0
push ecx
push dword [ebp - 0x304]
push str.POST
push dword [ebp - 0x328]
call fcn.10062000
mov ecx, eax
call fcn.10062180
mov dword [ebp - 0x320], eax
mov byte [ebp - 4], 0
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call ecx
cmp dword [ebp - 0x320], 0
jne 0x10038ba8
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100399ea
mov eax, dword [edi]
test eax, eax
je 0x100399e0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
jmp 0x100399e0
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x218], eax
test eax, eax
je 0x10038bd5
mov ecx, dword [eax]
test ecx, ecx
je 0x10038bd5
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x310]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ebp - 0x320]
mov dword [ecx + 8], edx
test eax, eax
je 0x10038c08
mov eax, dword [eax]
test eax, eax
je 0x10038bfa
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
xor eax, eax
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x218], eax
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
lea ecx, [ebp - 0x238]
call fcn.10005e0a
mov byte [ebp - 4], 3
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x10038d9e
push 0x1027fb48
call fcn.10005f42
add esp, 4
lea ecx, [ebp - 0x238]
push eax
push 0x1027fb48
call fcn.1000b184
push str.Cookie:
call fcn.10005f42
add esp, 4
lea ecx, [ebp - 0x238]
push eax
push str.Cookie:
call fcn.1000b184
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebp - 0x2fc], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x304], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10038d9e
mov esi, dword [ebp - 0x304]
xor eax, eax
mov edi, dword [ebp - 0x32c]
mov dword [ebp - 0x300], eax
add eax, esi
mov ebx, esi
lea ecx, [eax + 0x18]
mov dword [ebp - 0x318], ecx
mov ecx, eax
call fcn.10007f3e
test al, al
jne 0x10038d5b
mov ecx, dword [ebp - 0x318]
call fcn.10007f3e
test al, al
jne 0x10038d5b
mov ecx, dword [ebp - 0x300]
lea ecx, [esi + ecx]
call fcn.10005e30
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10038cea
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x238]
call fcn.1000b184
push 0x1027fb50
call fcn.10005f42
add esp, 4
lea ecx, [ebp - 0x238]
push eax
push 0x1027fb50
call fcn.1000b184
mov ecx, dword [ebp - 0x318]
call fcn.10005e30
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10038d2c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x238]
call fcn.1000b184
push 0x10275e20
call fcn.10005f42
add esp, 4
lea ecx, [ebp - 0x238]
push eax
push 0x10275e20
call fcn.1000b184
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x2fc]
sub ecx, ebx
add dword [ebp - 0x300], 0x30
mov esi, ebx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x300]
jb 0x10038ca3
mov esi, dword [ebp - 0x31c]
mov edi, dword [ebp - 0x214]
push str._r_n_r_n
call fcn.10005f42
add esp, 4
lea ecx, [ebp - 0x238]
push eax
push str._r_n_r_n
call fcn.1000b184
mov ebx, dword [ebp - 0x314]
mov ecx, ebx
call fcn.10007f3e
test al, al
jne 0x10038e34
push 0x1027fb54
lea ecx, [ebp - 0x280]
call fcn.10005e0a
mov byte [ebp - 4], 4
mov ecx, ebx
call fcn.10005e30
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10038df2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x280]
call fcn.1000b184
lea ecx, [ebp - 0x280]
call fcn.10005e30
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10038e16
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x238]
call fcn.1000b184
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x280]
call fcn.10005e05
mov eax, dword [ebp - 0x2f8]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x304], eax
cmp ebx, eax
je 0x10038f69
lea ecx, [ebp - 0x280]
call fcn.10005e30
mov edi, dword [ebp - 0x330]
mov esi, eax
push ebx
mov edx, 0x1027fb48
lea ecx, [ebp - 0x250]
call fcn.1000aec9
add esp, 4
mov byte [ebp - 4], 5
mov edx, eax
push 0x1027fb94
lea ecx, [ebp - 0x298]
call fcn.1000af72
add esp, 4
mov dword [ebp - 0x314], eax
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x18]
call fcn.10005e30
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10038eaa
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x314]
call fcn.1000b184
push eax
call fcn.10005f6e
add esp, 4
lea ecx, [ebp - 0x2b0]
push eax
call fcn.100085c3
or edi, 1
lea ecx, [ebp - 0x280]
push 0x1027fb48
mov edx, eax
mov dword [ebp - 0x330], edi
call fcn.1000af72
add esp, 4
mov byte [ebp - 4], 8
and edi, 0xfffffffe
mov dword [ebp - 0x330], edi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b0]
call fcn.10005e05
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x298]
call fcn.10005e05
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x250]
call fcn.10005e05
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10038f30
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x238]
push eax
call fcn.1000b184
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x280]
call fcn.10005e05
add ebx, 0x30
cmp ebx, dword [ebp - 0x304]
jne 0x10038e61
mov esi, dword [ebp - 0x31c]
mov edi, dword [ebp - 0x214]
mov dword [ebp - 0x324], 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], 0xc
lea ecx, [ebp - 0x238]
push dword [ebp + 0x10]
push dword [ebp - 0x30c]
call fcn.10007f50
push eax
lea ecx, [ebp - 0x238]
call fcn.10007f54
push eax
push dword [ebp - 0x320]
call fcn.10062000
mov ecx, eax
call fcn.10062370
test eax, eax
jne 0x10038fd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2f8]
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 3
push 0
push esi
call ebx
jmp 0x10039994
mov byte [ebp - 4], 3
push 0
push esi
call ebx
mov ecx, dword [ebp - 0x308]
call fcn.10005e30
mov ebx, eax
mov byte [ebp - 0x2f1], 0
mov dword [ebp - 0x314], ebx
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x10039009
mov eax, dword [ebx]
lea ecx, [ebp - 0x2f1]
push ecx
push eax
call fcn.1000610e
add esp, 8
nop dword [eax]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x324], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push eax
push esi
call ecx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x220]
push eax
push 0x1ff
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x320]
call fcn.10062000
mov ecx, eax
call fcn.10062860
test eax, eax
je 0x10039978
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x30c], ecx
cmp ecx, 0x200
jae 0x10039987
test ecx, ecx
je 0x1003911a
mov byte [ebp + ecx - 0x210], 0
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
sub eax, edx
cmp ecx, eax
ja 0x100390f9
cmp dword [ebx + 0x14], 0x10
lea eax, [ecx + edx]
mov dword [ebx + 0x10], eax
mov eax, ebx
jb 0x100390be
mov eax, dword [ebx]
lea ebx, [eax + edx]
push ecx
lea eax, [ebp - 0x210]
push eax
push ebx
call fcn.10006105
add esp, 0xc
mov byte [ebp - 0x2f1], 0
lea eax, [ebp - 0x2f1]
push eax
mov eax, dword [ebp - 0x30c]
add eax, ebx
push eax
call fcn.1000610e
mov ebx, dword [ebp - 0x314]
add esp, 8
jmp 0x1003911a
push ecx
lea eax, [ebp - 0x210]
mov byte [ebp - 0x304], 0
push eax
push dword [ebp - 0x304]
push ecx
mov ecx, dword [ebp - 0x308]
call fcn.100305f0
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp - 0x220], 0
ja 0x10039020
mov ebx, dword [ebp - 0x32c]
push ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
call fcn.10030970
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebp - 0x300], 0x200
push 0x402
call fcn.101e4dd6
mov ebx, eax
mov dword [ebp - 0x21c], 0
mov ecx, 0x200
mov dword [ebp - 0x2fc], ebx
add esp, 4
nop dword [eax + eax]
xor eax, eax
mov word [ebx], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x2b4], ecx
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x338], 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 - 0x2b4]
push eax
push ebx
push 0x2b
push dword [ebp - 0x320]
call fcn.10062000
mov ecx, eax
call fcn.10062230
mov ebx, eax
test ebx, ebx
setne byte [ebp - 0x2f1]
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test ebx, ebx
jne 0x10039257
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x300]
cmp eax, ecx
jbe 0x10039263
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10039257
mov ebx, dword [ebp - 0x2b4]
mov eax, dword [ebp - 0x2fc]
inc ebx
push eax
mov dword [ebp - 0x300], ebx
call fcn.101e4dd1
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.101e4dd6
mov ecx, dword [ebp - 0x300]
mov ebx, eax
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x21c], eax
jmp 0x10039172
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x300]
cmp byte [ebp - 0x2f1], 0
je 0x10039907
mov ebx, dword [ebp - 0x2fc]
cmp eax, ecx
ja 0x10039180
xor ecx, ecx
mov word [ebx + eax*2], cx
lea ecx, [ebp - 0x250]
push ebx
call fcn.10005e0a
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x250]
call fcn.10007f3e
test al, al
jne 0x100398ed
lea ecx, [ebp - 0x298]
call fcn.10007fd4
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x268]
call fcn.10007fd4
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x250]
push 0
push 0x3d
call fcn.10039a20
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10039357
push ebx
push 0
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp - 0x250]
call fcn.10020f50
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x298]
push eax
call fcn.10007f9d
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x38c]
call fcn.10005e05
lea ecx, [ebp - 0x250]
inc ebx
call fcn.10007f50
cmp ebx, eax
jae 0x10039357
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x250]
call fcn.10020f50
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x250]
push eax
call fcn.10007f9d
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x3a4]
call fcn.10005e05
push 0
push 0x3b
lea ecx, [ebp - 0x250]
call fcn.10039a20
lea ecx, [ebp - 0x250]
cmp eax, 0xffffffff
je 0x100393a4
push eax
push 0
lea eax, [ebp - 0x3bc]
push eax
call fcn.10020f50
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x268]
push eax
call fcn.10007f9d
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x3bc]
call fcn.10005e05
jmp 0x10039615
call fcn.10005e30
lea ecx, [ebp - 0x268]
cmp ecx, eax
je 0x10039615
lea ecx, [ebp - 0x250]
call fcn.10005e30
mov dword [ebp - 0x31c], eax
cmp dword [eax + 0x14], 8
jb 0x100393d6
mov ecx, dword [eax]
mov dword [ebp - 0x31c], ecx
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x308], eax
call fcn.10005e30
mov ebx, eax
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x304], ebx
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x324], edx
cmp eax, edx
ja 0x1003945b
mov dword [ebp - 0x2f8], ebx
mov ecx, ebx
cmp edx, 8
jb 0x1003941a
mov ecx, dword [ebx]
mov dword [ebp - 0x2f8], ecx
push eax
push dword [ebp - 0x31c]
mov dword [ebx + 0x10], eax
push ecx
call fcn.10005f10
mov ecx, dword [ebp - 0x308]
lea eax, [ebp - 0x30c]
add esp, 0xc
mov dword [ebp - 0x30c], 0
push eax
mov eax, dword [ebp - 0x2f8]
lea eax, [eax + ecx*2]
push eax
call fcn.10005eff
add esp, 8
jmp 0x10039615
lea ecx, [ebp - 0x268]
call fcn.1000608d
cmp dword [ebp - 0x308], eax
ja 0x10039a0f
lea ecx, [ebp - 0x268]
call fcn.1000608d
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x2f8], eax
call fcn.10005e30
mov ecx, dword [ebp - 0x308]
mov edx, dword [ebp - 0x2f8]
or ecx, 7
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x334], ecx
cmp ecx, edx
ja 0x100394f6
mov ecx, dword [eax + 0x14]
mov eax, edx
mov edi, dword [ebp - 0x328]
shr ecx, 1
sub eax, ecx
cmp dword [edi + 0x14], eax
mov edi, dword [ebp - 0x214]
ja 0x100394f0
mov edx, dword [ebp - 0x328]
mov eax, dword [edx + 0x14]
add eax, ecx
mov dword [ebp - 0x314], eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.10005ed6
add esp, 8
mov edx, dword [eax]
mov dword [ebp - 0x2f8], edx
lea eax, [edx + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x10039508
or ecx, 0xffffffff
jmp 0x10039510
cmp ecx, 0x1000
jb 0x10039541
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.101e4da1
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10039a0a
mov edx, dword [ebp - 0x2f8]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10039558
test ecx, ecx
je 0x10039556
push ecx
call fcn.101e4da1
mov edx, dword [ebp - 0x2f8]
add esp, 4
jmp 0x10039558
xor eax, eax
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x308]
push eax
push dword [ebp - 0x31c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov ebx, dword [ebp - 0x318]
push ebx
call fcn.10005f29
add esp, 0xc
mov dword [ebp - 0x30c], 0
lea eax, [ebp - 0x30c]
push eax
mov eax, dword [ebp - 0x308]
lea eax, [ebx + eax*2]
push eax
call fcn.10005eff
mov ecx, dword [ebp - 0x324]
add esp, 8
mov ebx, dword [ebp - 0x304]
cmp ecx, 8
jb 0x100395ef
mov eax, dword [ebx]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x100395db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10039a0a
mov eax, edx
push ecx
push eax
call fcn.101e4d70
mov eax, dword [ebp - 0x318]
add esp, 8
mov dword [ebx], eax
jmp 0x10039615
push ebx
call fcn.10005f6e
add esp, 4
push eax
push 4
call fcn.10005b84
mov ebx, eax
lea eax, [ebp - 0x318]
push eax
call fcn.10005f6e
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edx, 0x10275888
lea ecx, [ebp - 0x298]
call fcn.10074800
mov edx, 0x10275888
lea ecx, [ebp - 0x298]
call fcn.10074880
mov edx, 0x10275888
lea ecx, [ebp - 0x268]
call fcn.10074800
mov edx, 0x10275888
lea ecx, [ebp - 0x268]
call fcn.10074880
lea ecx, [ebp - 0x298]
call fcn.10007f3e
test al, al
jne 0x100398c9
lea ecx, [ebp - 0x268]
call fcn.10007f3e
test al, al
jne 0x100398c9
push str.http:__www.2345.com_
lea ecx, [ebp - 0x280]
call fcn.10005e0a
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x268]
call fcn.10005e30
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100396a4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x280]
call fcn.1000b184
xorps xmm0, xmm0
mov dword [ebp - 0x2f0], 0x3c
lea ecx, [ebp - 0x280]
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
movlpd qword [ebp - 0x2c4], xmm0
movlpd qword [ebp - 0x2bc], xmm0
call fcn.10007f50
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.101e4dd6
add esp, 4
mov dword [ebp - 0x2bc], eax
lea ecx, [ebx + ebx]
push ecx
push 0
push eax
call fcn.101fd690
add esp, 0xc
mov dword [ebp - 0x33c], esi
lea eax, [ebx - 1]
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 eax, [ebp - 0x2f0]
push eax
push ecx
lea ecx, [ebp - 0x280]
call fcn.10007f50
push eax
lea ecx, [ebp - 0x280]
call fcn.10007f54
push eax
call fcn.10062000
mov ecx, eax
call fcn.10062540
mov ebx, eax
mov byte [ebp - 4], 0x18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test ebx, ebx
je 0x10039801
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2b0]
call fcn.10005e0a
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2b0]
call fcn.10007f3e
test al, al
jne 0x100397f2
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.10020ff0
lea ecx, [ebp - 0x2b0]
push dword [eax]
lea eax, [ebp - 0x344]
push eax
call fcn.10021020
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x268]
call fcn.10039a70
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2b0]
call fcn.10005e05
push dword [ebp - 0x2bc]
call fcn.101e4dd1
add esp, 4
lea eax, [ebp - 0x298]
lea ecx, [ebp - 0x374]
push eax
call fcn.10007fe7
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x35c]
call fcn.10007fe7
mov byte [ebp - 4], 0x1d
mov ebx, dword [ebp - 0x32c]
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x1003988d
push eax
push 0x30
call fcn.10005b84
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x374]
mov dword [ebp - 0x324], ebx
mov ecx, ebx
push eax
call fcn.100085c3
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebx + 0x18]
call fcn.100085c3
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x32c]
add dword [eax + 4], 0x30
jmp 0x1003989c
lea ecx, [ebp - 0x374]
push ecx
push eax
mov ecx, ebx
call fcn.10039b30
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x35c]
call fcn.10005e05
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x374]
call fcn.10005e05
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x280]
call fcn.10005e05
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x268]
call fcn.10005e05
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x298]
call fcn.10005e05
mov ebx, dword [ebp - 0x2fc]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
call fcn.10005e05
mov ecx, dword [ebp - 0x300]
jmp 0x10039180
mov eax, dword [ebp - 0x2fc]
xor ecx, ecx
push eax
mov word [eax], cx
call fcn.101e4dd1
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.10005e05
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x310]
test eax, eax
je 0x1003994f
mov eax, dword [eax]
test eax, eax
je 0x10039945
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x218], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10039971
mov eax, dword [edi]
test eax, eax
je 0x10039967
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x214], 0
mov al, 1
jmp 0x100399ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2f8]
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 - 0x238]
call fcn.10005e05
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x310]
test eax, eax
je 0x100399c8
mov eax, dword [eax]
test eax, eax
je 0x100399be
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x218], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100399ea
mov eax, dword [edi]
test eax, eax
je 0x100399e0
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101e48f0
mov esp, ebp
pop ebp
ret 0x20
call fcn.10205f6e
call fcn.1000604b
int3