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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec34e
mov eax, dword fs:[0]
push eax
sub esp, 0x38c
mov eax, dword [0x538074]
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 - 0x2fc], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x300], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp + 0x20]
push ecx
mov dword [ebp - 0x318], eax
lea ecx, [ebp - 0x214]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x304], ebx
mov dword [ebp - 0x308], eax
mov dword [esi + 0x18], ebx
call fcn.00404210
lea eax, [esi + 0x1c]
push eax
call fcn.00404bc0
mov dword [ebp - 4], ebx
mov eax, dword [esi + 4]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x42d88a
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x42cbb1
mov eax, dword [eax]
test eax, eax
je 0x42cba7
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x214], 0
add esi, 0x20
mov dword [ebp - 0x31c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push eax
push esi
call edi
mov byte [ebp - 4], 1
push ecx
push dword [ebp - 0x300]
push 0
push 0
push ecx
push dword [ebp - 0x218]
push 0x512048
push dword [ebp - 0x21c]
call fcn.00462910
mov ecx, eax
call fcn.00462b20
mov dword [ebp - 0x300], eax
mov byte [ebp - 4], 0
push 0
push esi
call edi
mov eax, dword [ebp - 0x300]
test eax, eax
je 0x42d88a
cmp byte [ebp + 0x1c], 0
je 0x42cc3b
push ecx
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 1
push ecx
push 0x41
push eax
call fcn.00462910
mov ecx, eax
call fcn.00463340
push ecx
lea ecx, [ebp - 0x218]
call fcn.00404210
mov edi, dword [ebp - 0x2fc]
lea eax, [edi + 0x1c]
push eax
call fcn.00404bc0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x300]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x42cc84
mov eax, dword [eax]
test eax, eax
je 0x42cc7a
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x218], 0
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
lea ecx, [ebp - 0x254]
call fcn.00403010
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x308]
call fcn.00403170
mov edx, eax
call fcn.00403160
mov ecx, dword [edx]
cmp ecx, dword [eax]
je 0x42cddd
push 0x5120d8
call fcn.00403540
add esp, 4
lea ecx, [ebp - 0x254]
push eax
push 0x5120d8
call fcn.004046b0
push str.Cookie:
call fcn.00403540
add esp, 4
lea ecx, [ebp - 0x254]
push eax
push str.Cookie:
call fcn.004046b0
mov ecx, dword [ebp - 0x308]
call fcn.0040a250
test eax, eax
je 0x42cddd
call fcn.00403170
xor esi, esi
mov dword [ebp - 0x21c], eax
xor ebx, ebx
mov edi, dword [eax]
add edi, esi
mov ecx, edi
call fcn.00402f40
test al, al
jne 0x42cdae
lea ecx, [edi + 0x18]
call fcn.00402f40
test al, al
jne 0x42cdae
mov ecx, edi
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42cd42
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x254]
call fcn.004046b0
push 0x5120f4
call fcn.00403540
add esp, 4
lea ecx, [ebp - 0x254]
push eax
push 0x5120f4
call fcn.004046b0
lea ecx, [edi + 0x18]
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42cd81
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x254]
call fcn.004046b0
push 0x50dfc4
call fcn.00403540
add esp, 4
lea ecx, [ebp - 0x254]
push eax
push 0x50dfc4
call fcn.004046b0
mov ecx, dword [ebp - 0x308]
inc ebx
add esi, 0x30
call fcn.0040a250
cmp ebx, eax
mov eax, dword [ebp - 0x21c]
jb 0x42cd12
mov esi, dword [ebp - 0x31c]
mov ebx, dword [ebp - 0x304]
mov edi, dword [ebp - 0x2fc]
cmp byte [ebp + 0x1c], 0
je 0x42cdf8
push 0x5120f8
call fcn.00403540
add esp, 4
push eax
push 0x5120f8
jmp 0x42ce0b
push str._r_n_r_n
call fcn.00403540
add esp, 4
push eax
push str._r_n_r_n
lea ecx, [ebp - 0x254]
call fcn.004046b0
mov ecx, dword [ebp - 0x30c]
call fcn.00402f40
test al, al
jne 0x42ce90
push 0x512138
lea ecx, [ebp - 0x23c]
call fcn.00403010
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30c]
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42ce4e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.004046b0
lea ecx, [ebp - 0x23c]
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42ce72
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x254]
call fcn.004046b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.00402fc0
lea ecx, [edi + 0xc]
call fcn.00403170
mov edx, dword [eax]
call fcn.00403160
cmp edx, dword [eax]
je 0x42d042
call fcn.00403170
mov edx, dword [eax]
mov dword [ebp - 0x21c], edx
call fcn.00403160
mov eax, dword [eax]
mov dword [ebp - 0x310], eax
cmp edx, eax
je 0x42d042
lea ecx, [ebp - 0x23c]
call fcn.00403170
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x30c], eax
push esi
mov edx, 0x5120d8
lea ecx, [ebp - 0x26c]
call fcn.00413650
add esp, 4
mov edi, eax
mov byte [ebp - 4], 6
push 0x512160
call fcn.00403540
add esp, 4
mov ecx, edi
push eax
push 0x512160
call fcn.004046b0
push eax
call fcn.00403590
add esp, 4
lea ecx, [ebp - 0x2b4]
push eax
call fcn.00402fd0
or ebx, 1
mov edi, eax
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 7
lea ecx, [esi + 0x18]
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42cf4a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004046b0
push eax
call fcn.00403590
add esp, 4
lea ecx, [ebp - 0x29c]
push eax
call fcn.00402fd0
or ebx, 2
mov edi, eax
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 8
push 0x5120d8
call fcn.00403540
add esp, 4
mov ecx, edi
push eax
push 0x5120d8
call fcn.004046b0
push eax
call fcn.00403590
add esp, 4
lea ecx, [ebp - 0x23c]
push eax
call fcn.00402fd0
or ebx, 4
mov dword [ebp - 0x304], ebx
and ebx, 0xfffffffd
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x29c]
call fcn.00402fc0
and ebx, 0xfffffffe
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2b4]
call fcn.00402fc0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x26c]
call fcn.00402fc0
mov eax, dword [ebp - 0x30c]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42d000
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x254]
call fcn.004046b0
and ebx, 0xfffffffb
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.00402fc0
add esi, 0x30
cmp esi, dword [ebp - 0x310]
jne 0x42cee0
mov esi, dword [ebp - 0x31c]
mov edi, dword [ebp - 0x2fc]
mov dword [ebp - 0x310], 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 - 0x254]
push dword [ebp + 0x10]
push dword [ebp - 0x314]
call fcn.00403260
push eax
lea ecx, [ebp - 0x254]
call fcn.00402f50
push eax
push dword [ebp - 0x300]
call fcn.00462910
mov ecx, eax
call fcn.00462db0
test eax, eax
jne 0x42d0a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x18], eax
jmp 0x42d863
mov byte [ebp - 4], 3
push 0
push esi
call ebx
cmp byte [ebp + 0x1c], 0
mov byte [ebp - 0x2f6], 0
je 0x42d11c
mov edx, dword [ebp - 0x300]
lea ecx, [ebp - 0x29c]
call fcn.0042c370
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x29c]
lea ecx, [ebp - 0x23c]
call fcn.00463c70
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x23c]
call fcn.00402f50
mov edx, str.gzip
mov ecx, eax
call fcn.00474bc0
mov byte [ebp - 0x2f6], al
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x23c]
call fcn.00402fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x29c]
call fcn.00402fc0
mov ecx, dword [ebp - 0x318]
call fcn.00403170
mov edi, eax
mov byte [ebp - 0x2f5], 0
mov dword [ebp - 0x314], edi
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x42d145
mov eax, dword [edi]
lea ecx, [ebp - 0x2f5]
push ecx
push eax
call fcn.00404bb0
add esp, 8
nop word [eax + eax]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call ebx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x220]
push eax
push 0x1ff
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x300]
call fcn.00462910
mov ecx, eax
call fcn.004632a0
test eax, eax
je 0x42d854
push 0
push esi
call ebx
mov ebx, dword [ebp - 0x220]
cmp ebx, 0x200
jae 0x42d845
test ebx, ebx
je 0x42d242
mov byte [ebp + ebx - 0x210], 0
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp ebx, eax
ja 0x42d221
lea eax, [ebx + ecx]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x42d1eb
mov eax, dword [edi]
lea edi, [eax + ecx]
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
call fcn.00404ba0
add esp, 0xc
mov byte [ebp - 0x2f5], 0
lea eax, [ebp - 0x2f5]
push eax
lea eax, [edi + ebx]
push eax
call fcn.00404bb0
mov edi, dword [ebp - 0x314]
add esp, 8
jmp 0x42d242
mov ecx, dword [ebp - 0x318]
lea eax, [ebp - 0x210]
push ebx
push eax
mov byte [ebp - 0x310], 0
push dword [ebp - 0x310]
push ebx
call fcn.0041e8d0
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call ebx
cmp dword [ebp - 0x220], 0
ja 0x42d160
cmp byte [ebp - 0x2f6], 0
je 0x42d2ae
lea ecx, [ebp - 0x23c]
call fcn.00409c20
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x23c]
mov ebx, dword [ebp - 0x318]
mov ecx, ebx
call fcn.0042c4e0
test al, al
je 0x42d3b7
lea eax, [ebp - 0x23c]
mov ecx, ebx
push eax
call fcn.004151b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.00405ec0
mov ecx, dword [ebp - 0x308]
call fcn.0041e4f0
mov edi, 0x200
push 0x402
mov dword [ebp - 0x2fc], edi
call fcn.004bec5c
mov ebx, eax
mov dword [ebp - 0x224], 0
add esp, 4
nop dword [eax]
xor eax, eax
mov word [ebx], ax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x2b8], edi
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x310], 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 - 0x224]
push eax
lea eax, [ebp - 0x2b8]
push eax
push ebx
push 0x2b
push dword [ebp - 0x300]
call fcn.00462910
mov ecx, eax
call fcn.00462c70
mov edi, eax
test edi, edi
setne byte [ebp - 0x2f5]
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test edi, edi
mov edi, dword [ebp - 0x2fc]
jne 0x42d3fe
mov eax, dword [ebp - 0x2b8]
cmp eax, edi
jbe 0x42d404
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42d3fe
mov edi, dword [ebp - 0x2b8]
inc edi
push ebx
mov dword [ebp - 0x2fc], edi
call fcn.004bec57
xor ecx, ecx
lea eax, [edi + 1]
add esp, 4
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bec5c
mov ebx, eax
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x224], eax
jmp 0x42d2da
mov ecx, dword [ebp - 0x2fc]
mov byte [ebp - 0x2f5], 0
mov dword [ecx + 0x18], 0x2f8f
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x42d3da
mov edi, dword [edi]
lea eax, [ebp - 0x2f5]
push eax
push edi
call fcn.00404bb0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.00405ec0
jmp 0x42d86c
mov eax, dword [ebp - 0x2b8]
cmp byte [ebp - 0x2f5], 0
je 0x42d803
cmp eax, edi
ja 0x42d2e0
xor ecx, ecx
mov word [ebx + eax*2], cx
lea ecx, [ebp - 0x26c]
push ebx
call fcn.00403010
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x26c]
call fcn.00402f40
test al, al
jne 0x42d7ef
lea ecx, [ebp - 0x2b4]
call fcn.00403060
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x284]
call fcn.00403060
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x26c]
push 0
push 0x3d
call fcn.0042d8c0
mov edi, eax
cmp edi, 0xffffffff
je 0x42d4ee
push edi
push 0
lea eax, [ebp - 0x334]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00409b50
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2b4]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x334]
call fcn.00402fc0
lea ecx, [ebp - 0x26c]
inc edi
call fcn.00403260
cmp edi, eax
jae 0x42d4ee
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00409b50
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x26c]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x34c]
call fcn.00402fc0
push 0
push 0x3b
lea ecx, [ebp - 0x26c]
call fcn.0042d8c0
lea ecx, [ebp - 0x26c]
cmp eax, 0xffffffff
je 0x42d538
push eax
push 0
lea eax, [ebp - 0x364]
push eax
call fcn.00409b50
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x284]
push eax
call fcn.00404670
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x364]
call fcn.00402fc0
jmp 0x42d56b
call fcn.00403170
lea ecx, [ebp - 0x284]
cmp ecx, eax
je 0x42d56b
lea ecx, [ebp - 0x26c]
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42d55c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00403270
mov edx, 0x50de18
lea ecx, [ebp - 0x2b4]
call fcn.00474d10
mov edx, 0x50de18
lea ecx, [ebp - 0x2b4]
call fcn.00474da0
mov edx, 0x50de18
lea ecx, [ebp - 0x284]
call fcn.00474d10
mov edx, 0x50de18
lea ecx, [ebp - 0x284]
call fcn.00474da0
lea ecx, [ebp - 0x2b4]
call fcn.00402f40
test al, al
jne 0x42d7cb
lea ecx, [ebp - 0x284]
call fcn.00402f40
test al, al
jne 0x42d7cb
push str.http:__www.2345.com_
lea ecx, [ebp - 0x23c]
call fcn.00403010
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x284]
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x42d5fa
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.004046b0
xorps xmm0, xmm0
mov dword [ebp - 0x2f4], 0x3c
lea ecx, [ebp - 0x23c]
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
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
call fcn.00403260
xor ecx, ecx
mov edx, 2
lea edi, [eax + 0x20]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bec5c
add esp, 4
mov dword [ebp - 0x2c0], eax
lea ecx, [edi + edi]
push ecx
push 0
push eax
call fcn.004c0fa0
add esp, 0xc
mov dword [ebp - 0x21c], esi
lea eax, [edi - 1]
mov dword [ebp - 0x2bc], 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 - 0x2f4]
push eax
push ecx
lea ecx, [ebp - 0x23c]
call fcn.00403260
push eax
lea ecx, [ebp - 0x23c]
call fcn.00402f50
push eax
call fcn.00462910
mov ecx, eax
call fcn.00462f80
mov edi, eax
mov byte [ebp - 4], 0x18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test edi, edi
je 0x42d757
push dword [ebp - 0x2c0]
lea ecx, [ebp - 0x29c]
call fcn.00403010
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x29c]
call fcn.00402f40
test al, al
jne 0x42d748
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00413370
lea ecx, [ebp - 0x29c]
push dword [eax]
lea eax, [ebp - 0x30c]
push eax
call fcn.004133a0
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x284]
call fcn.0042d940
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x29c]
call fcn.00402fc0
push dword [ebp - 0x2c0]
call fcn.004bec57
add esp, 4
lea ecx, [ebp - 0x2b4]
call fcn.00403170
push eax
lea ecx, [ebp - 0x394]
call fcn.00403080
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x284]
call fcn.00403170
push eax
lea ecx, [ebp - 0x37c]
call fcn.00403080
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x394]
mov ecx, dword [ebp - 0x308]
push eax
call fcn.00409ac0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x394]
call fcn.00409670
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x23c]
call fcn.00402fc0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x284]
call fcn.00402fc0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2b4]
call fcn.00402fc0
mov edi, dword [ebp - 0x2fc]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x26c]
call fcn.00402fc0
jmp 0x42d2e0
xor eax, eax
push ebx
mov word [ebx], ax
call fcn.004bec57
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.00402fc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.00404bf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.00404bf0
mov al, 1
jmp 0x42d89e
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x42d86c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2fc]
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 3
push 0
push esi
call ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.00402fc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.00404bf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.00404bf0
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.004be500
mov esp, ebp
pop ebp
ret 0x20