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

Disassembly:
push ebp
lea ebp, [esp - 0x2e8]
sub esp, 0x2e8
push 0xffffffffffffffff
push 0x597c24
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5ee034]
xor eax, ebp
mov dword [ebp + 0x2e4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0x2f0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x2f4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x2fc]
mov dword [ebp + 0xdc], eax
mov eax, dword [ebp + 0x300]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x308]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x30c]
mov dword [ebp - 0x28], eax
lea eax, [ebx + 0x1c]
mov dword [ebp - 0x30], 0
mov edi, eax
mov dword [ebp + 0xe0], 0
mov dword [ebx + 0x18], 0
mov dword [ebp - 0x18], eax
mov dword [ebp + 0xe0], edi
test edi, edi
je 0x531b41
mov eax, dword [edi]
test eax, eax
je 0x531b41
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x53272c
test edi, edi
je 0x531b6f
mov eax, dword [edi]
test eax, eax
je 0x531b67
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov dword [ebp + 0xe0], edi
lea esi, [ebx + 0x20]
mov dword [ebp - 0x2c], 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], 1
push ecx
push dword [ebp + 0xdc]
push 0
push 0
push ecx
push dword [ebp - 0x20]
push str.POST
push dword [ebp - 0x1c]
call fcn.00537f90
mov ecx, eax
call fcn.00538070
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
push 0
push esi
call ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x531be5
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x53274e
mov eax, dword [edi]
test eax, eax
je 0x532744
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
jmp 0x532744
cmp byte [ebp + 0x304], 0
je 0x531c0f
push ecx
lea ecx, [ebp + 0xdc]
mov dword [ebp + 0xdc], 1
push ecx
push 0x41
push eax
call fcn.00537f90
mov ecx, eax
call fcn.005386b0
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0xd8], 0
mov dword [ebp + 0xd8], eax
test eax, eax
je 0x531c36
mov ecx, dword [eax]
test ecx, ecx
je 0x531c36
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 8], edx
test eax, eax
je 0x531c60
mov eax, dword [eax]
test eax, eax
je 0x531c55
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp + 0xd8], eax
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
lea ecx, [ebp + 0xb8]
call fcn.00406350
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x531dd3
mov ecx, 0x5b81d0
call fcn.00404a30
push eax
push 0x5b81d0
lea ecx, [ebp + 0xb8]
call fcn.00424f60
mov ecx, str.Cookie:
call fcn.00404a30
push eax
push str.Cookie:
lea ecx, [ebp + 0xb8]
call fcn.00424f60
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp + 0xdc], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x531dd3
mov edi, dword [ebp + 0xdc]
xor esi, esi
nop dword [eax]
lea eax, [edi + esi]
mov edx, edi
lea ecx, [eax + 0x18]
mov dword [ebp + 0xdc], ecx
mov ecx, eax
call fcn.0040b6a0
test al, al
jne 0x531da0
mov ecx, dword [ebp + 0xdc]
call fcn.0040b6a0
test al, al
jne 0x531da0
lea ecx, [edi + esi]
call fcn.00404690
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x531d32
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xb8]
call fcn.00424f60
mov ecx, 0x5b1aa0
call fcn.00404a30
push eax
push 0x5b1aa0
lea ecx, [ebp + 0xb8]
call fcn.00424f60
mov ecx, dword [ebp + 0xdc]
call fcn.00404690
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x531d71
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xb8]
call fcn.00424f60
mov ecx, 0x5ba170
call fcn.00404a30
push eax
push 0x5ba170
lea ecx, [ebp + 0xb8]
call fcn.00424f60
mov edi, dword [ebp - 0x28]
mov edx, dword [edi]
mov eax, dword [ebp - 0x28]
mov edi, edx
inc dword [ebp - 0x20]
add esi, 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 - 0x20], eax
jb 0x531cf0
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp + 0xe0]
cmp byte [ebp + 0x304], 0
je 0x531dee
mov ecx, str._r_nAccept_Encoding:_gzip_r_n
call fcn.00404a30
push eax
push str._r_nAccept_Encoding:_gzip_r_n
jmp 0x531dfe
mov ecx, str._r_n_r_n
call fcn.00404a30
push eax
push str._r_n_r_n
lea ecx, [ebp + 0xb8]
call fcn.00424f60
mov ecx, dword [ebp - 0x24]
call fcn.0040b6a0
test al, al
jne 0x531e7d
push 0x5c31ec
lea ecx, [ebp + 0xa0]
call fcn.00406350
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
call fcn.00404690
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x531e3b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xa0]
call fcn.00424f60
lea ecx, [ebp + 0xa0]
call fcn.00404690
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x531e5f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xb8]
call fcn.00424f60
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xa0]
call fcn.00404570
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
cmp eax, ecx
je 0x531fba
lea ecx, [ebp + 0xa0]
call fcn.00404690
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x30]
mov dword [ebp + 0xdc], eax
nop dword [eax + eax]
push edi
mov edx, 0x5b81d0
lea ecx, [ebp + 0x70]
call fcn.004426e0
add esp, 4
mov ebx, eax
mov byte [ebp - 4], 6
mov ecx, 0x5c31cc
call fcn.00404a30
push eax
push 0x5c31cc
mov ecx, ebx
call fcn.00424f60
mov ecx, eax
call fcn.00404690
push eax
lea ecx, [ebp + 0x88]
call fcn.00419500
lea ecx, [edi + 0x18]
or esi, 1
push ecx
mov edx, eax
mov dword [ebp - 0x30], esi
lea ecx, [ebp + 0x40]
call fcn.00448af0
add esp, 4
mov ebx, eax
mov byte [ebp - 4], 8
mov ecx, 0x5b81d0
call fcn.00404a30
push eax
push 0x5b81d0
mov ecx, ebx
call fcn.00424f60
mov ecx, eax
call fcn.00404690
push eax
lea ecx, [ebp + 0xa0]
call fcn.00419500
or esi, 2
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x40]
call fcn.00404570
and esi, 0xfffffffe
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x88]
call fcn.00404570
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0x70]
call fcn.00404570
mov eax, dword [ebp + 0xdc]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x531f7b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xb8]
call fcn.00424f60
and esi, 0xfffffffd
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xa0]
call fcn.00404570
add edi, 0x30
cmp edi, dword [ebp - 0x20]
jne 0x531eb0
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp + 0xe0]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call ebx
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0xb8]
push dword [ebp + 0x2f8]
push dword [ebp - 0x38]
call fcn.0040b6b0
push eax
call fcn.00404530
push eax
push dword [ebp - 0x1c]
call fcn.00537f90
mov ecx, eax
call fcn.00538260
test eax, eax
jne 0x532013
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 3
push 0
push esi
call ebx
jmp 0x5326fb
mov byte [ebp - 4], 3
push 0
push esi
call ebx
cmp byte [ebp + 0x304], 0
mov byte [ebp - 0xe], 0
je 0x53207f
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp + 0x40]
call fcn.00531250
mov byte [ebp - 4], 0xd
lea edx, [ebp + 0x40]
lea ecx, [ebp + 0xa0]
call fcn.00538a00
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0xa0]
call fcn.00404530
mov edx, str.gzip
mov ecx, eax
call fcn.0044d550
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0xa0]
call fcn.00404570
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.00404570
mov ecx, dword [ebp - 0x14]
call fcn.00404690
mov ebx, eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x2c], ebx
mov ecx, ebx
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x5320a1
mov ecx, dword [ebx]
lea edx, [ebp - 0xd]
call fcn.004198d0
nop dword [eax]
mov dword [ebp + 0xd4], 0
mov dword [ebp + 0xdc], 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 + 0xd4]
push eax
push 0x1ff
lea eax, [ebp + 0xe4]
push eax
push dword [ebp - 0x1c]
call fcn.00537f90
mov ecx, eax
call fcn.00538610
test eax, eax
je 0x5326e2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp + 0xd4]
mov dword [ebp - 0x38], ecx
cmp ecx, 0x200
jae 0x5326ee
test ecx, ecx
je 0x532184
mov byte [ebp + ecx + 0xe4], 0
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
sub eax, edx
cmp ecx, eax
ja 0x53216c
cmp dword [ebx + 0x14], 0x10
lea eax, [edx + ecx]
mov dword [ebx + 0x10], eax
mov eax, ebx
jb 0x532142
mov eax, dword [ebx]
lea ebx, [eax + edx]
push ecx
lea edx, [ebp + 0xe4]
mov ecx, ebx
call fcn.004198b0
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0xd]
add esp, 4
mov byte [ebp - 0xd], 0
add ecx, ebx
call fcn.004198d0
mov ebx, dword [ebp - 0x2c]
jmp 0x532184
push ecx
lea eax, [ebp + 0xe4]
mov byte [ebp - 0x24], 0
push eax
push dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0041ec70
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [ebp + 0xd4], 0
ja 0x5320b0
cmp byte [ebp - 0xe], 0
je 0x532208
lea ecx, [ebp + 0x88]
call fcn.0041e610
call fcn.00404690
lea edx, [ebp - 0xd]
mov byte [ebp - 0xd], 0
mov ecx, eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.004198d0
mov byte [ebp - 4], 0x10
lea edx, [ebp + 0x88]
mov ecx, dword [ebp - 0x14]
call fcn.005313f0
test al, al
je 0x5322ef
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x88]
push eax
call fcn.00478230
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x88]
call fcn.0041df20
mov ebx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
call fcn.00429ce0
mov eax, dword [ebx]
mov dword [ebx + 4], eax
mov ebx, 0x200
push 0x402
mov dword [ebp - 0x14], ebx
call fcn.0057de0f
mov edi, eax
mov dword [ebp + 0xd0], 0
add esp, 8
nop dword [eax]
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp + 0xd0]
mov dword [ebp + 0x3c], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 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 + 0xd0]
push eax
lea eax, [ebp + 0x3c]
push eax
push edi
push 0x2b
push dword [ebp - 0x1c]
call fcn.00537f90
mov ecx, eax
call fcn.005381c0
mov ebx, eax
test ebx, ebx
setne byte [ebp - 0xd]
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test ebx, ebx
mov ebx, dword [ebp - 0x14]
jne 0x53232a
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jbe 0x53232d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x53232a
mov ebx, dword [ebp + 0x3c]
inc ebx
push edi
mov dword [ebp - 0x14], ebx
call fcn.0057d777
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0057de0f
mov edi, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp + 0xd0], eax
jmp 0x532239
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0xd], 0
mov dword [ecx + 0x18], 0x2f8f
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x53230c
mov ebx, dword [ebx]
lea edx, [ebp - 0xd]
mov ecx, ebx
call fcn.004198d0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x88]
call fcn.0041df20
jmp 0x5326fb
mov eax, dword [ebp + 0x3c]
cmp byte [ebp - 0xd], 0
je 0x532677
cmp eax, ebx
ja 0x532240
xor ecx, ecx
mov word [edi + eax*2], cx
lea ecx, [ebp + 0x70]
push edi
call fcn.00406350
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x70]
call fcn.0040b6a0
test al, al
jne 0x532666
lea ecx, [ebp + 0x88]
call fcn.00404580
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x58]
call fcn.00404580
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x70]
push 0
push 0x3d
call fcn.004487f0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5323ed
push ebx
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp + 0x70]
call fcn.00448750
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x88]
push eax
call fcn.00406310
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x50]
call fcn.00404570
lea ecx, [ebp + 0x70]
inc ebx
call fcn.0040b6b0
cmp ebx, eax
jae 0x5323ed
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68]
push eax
call fcn.00448750
mov byte [ebp - 4], 0x16
lea ecx, [ebp + 0x70]
push eax
call fcn.00406310
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x68]
call fcn.00404570
push 0
push 0x3b
lea ecx, [ebp + 0x70]
call fcn.004487f0
lea ecx, [ebp + 0x70]
cmp eax, 0xffffffff
je 0x532428
push eax
push 0
lea eax, [ebp - 0x80]
push eax
call fcn.00448750
mov byte [ebp - 4], 0x17
lea ecx, [ebp + 0x58]
push eax
call fcn.00406310
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x80]
call fcn.00404570
jmp 0x532452
call fcn.00404690
lea ecx, [ebp + 0x58]
cmp ecx, eax
je 0x532452
lea ecx, [ebp + 0x70]
call fcn.00404690
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x532446
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x58]
call fcn.00404780
mov edx, str.__r_t_n
lea ecx, [ebp + 0x88]
call fcn.0044d6f0
mov edx, str.__r_t_n
lea ecx, [ebp + 0x88]
call fcn.0044d780
mov edx, str.__r_t_n
lea ecx, [ebp + 0x58]
call fcn.0044d6f0
mov edx, str.__r_t_n
lea ecx, [ebp + 0x58]
call fcn.0044d780
lea ecx, [ebp + 0x88]
call fcn.0040b6a0
test al, al
jne 0x532648
lea ecx, [ebp + 0x58]
call fcn.0040b6a0
test al, al
jne 0x532648
push str.http:__www.2345.com_
lea ecx, [ebp + 0xa0]
call fcn.00406350
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0x58]
call fcn.00404690
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x5324d5
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xa0]
call fcn.00424f60
xorps xmm0, xmm0
mov dword [ebp], 0x3c
lea ecx, [ebp + 0xa0]
movlpd qword [ebp + 4], xmm0
movlpd qword [ebp + 0xc], xmm0
movlpd qword [ebp + 0x14], xmm0
movlpd qword [ebp + 0x1c], xmm0
movlpd qword [ebp + 0x24], xmm0
movlpd qword [ebp + 0x2c], xmm0
movlpd qword [ebp + 0x34], xmm0
call fcn.0040b6b0
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.0057de0f
lea ecx, [ebx + ebx]
mov dword [ebp + 0x34], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x24], esi
lea eax, [ebx - 1]
mov dword [ebp + 0x38], 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]
push eax
push ecx
lea ecx, [ebp + 0xa0]
call fcn.0040b6b0
push eax
call fcn.00404530
push eax
call fcn.00537f90
mov ecx, eax
call fcn.00538430
mov ebx, eax
mov byte [ebp - 4], 0x18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test ebx, ebx
je 0x5325e7
push dword [ebp + 0x34]
lea ecx, [ebp + 0x40]
call fcn.00406350
mov byte [ebp - 4], 0x1a
lea ecx, [ebp + 0x40]
call fcn.0040b6a0
test al, al
jne 0x5325db
lea eax, [ebp + 0xdc]
push eax
call fcn.0044a7b0
lea ecx, [ebp + 0x40]
push dword [eax]
lea eax, [ebp - 0x20]
push eax
call fcn.0044a7d0
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x58]
call fcn.004531e0
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0x40]
call fcn.00404570
push dword [ebp + 0x34]
call fcn.0057d777
add esp, 4
lea eax, [ebp + 0x88]
lea ecx, [ebp - 0xb0]
push eax
call fcn.004045a0
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp - 0x98]
call fcn.004045a0
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0xb0]
mov ecx, dword [ebp - 0x28]
push eax
call fcn.004425e0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xb0]
call fcn.00425ba0
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0xa0]
call fcn.00404570
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x58]
call fcn.00404570
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x88]
call fcn.00404570
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.00404570
jmp 0x532240
xor eax, eax
push edi
mov word [edi], ax
call fcn.0057d777
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xb8]
call fcn.00404570
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp + 0xe0]
test eax, eax
je 0x5326bc
mov eax, dword [eax]
test eax, eax
je 0x5326b2
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0xd8], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x5326de
mov eax, dword [edi]
test eax, eax
je 0x5326d4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0xe0], 0
mov al, 1
jmp 0x532750
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x34]
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 + 0xb8]
call fcn.00404570
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x53272c
mov eax, dword [eax]
test eax, eax
je 0x532722
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0xd8], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x53274e
mov eax, dword [edi]
test eax, eax
je 0x532744
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0xe0], 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 + 0x2e4]
xor ecx, ebp
call fcn.0057d0c6
lea esp, [ebp + 0x2e8]
pop ebp
ret 0x20