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

Disassembly:
push ebp
lea ebp, [esp - 0x2e8]
sub esp, 0x2e8
push 0xffffffffffffffff
push 0x50543c
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x54e414]
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 esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x2f0]
lea ecx, [ebp + 0xdc]
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov eax, dword [ebp + 0x2f4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x2fc]
mov dword [ebp + 0xe0], eax
mov eax, dword [ebp + 0x300]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x308]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x30c]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
mov dword [esi + 0x18], ebx
mov dword [ebp + 0xdc], ebx
call fcn.00403220
mov dword [ebp - 4], ebx
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x45ab69
mov eax, dword [ebp + 0xdc]
test eax, eax
je 0x459ff9
mov eax, dword [eax]
test eax, eax
je 0x459fef
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0xdc], 0
add esi, 0x20
mov dword [ebp - 0x34], 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 + 0xe0]
push 0
push 0
push ecx
push dword [ebp - 0x20]
push str.POST
push dword [ebp - 0x18]
call fcn.0045d4a0
mov ecx, eax
call fcn.0045d6b0
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
push 0
push esi
call edi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45ab69
cmp byte [ebp + 0x304], 0
je 0x45a077
push ecx
lea ecx, [ebp + 0xe0]
mov dword [ebp + 0xe0], 1
push ecx
push 0x41
push eax
call fcn.0045d4a0
mov ecx, eax
call fcn.0045ded0
mov edi, dword [ebp - 0x14]
lea ecx, [ebp + 0xd8]
mov dword [ebp + 0xd8], 0
lea eax, [edi + 0x1c]
push eax
call fcn.00403220
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xd8]
test eax, eax
je 0x45a0be
mov eax, dword [eax]
test eax, eax
je 0x45a0b4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0xd8], 0
push str.Content_Type:_application_x_www_form_urlencoded__charsetUTF_8
lea ecx, [ebp + 0xa0]
call fcn.0040a870
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x28]
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x45a236
push 0x52a79c
call fcn.0040b080
add esp, 4
lea ecx, [ebp + 0xa0]
push eax
push 0x52a79c
call fcn.0040b380
push str.Cookie:
call fcn.0040b080
add esp, 4
lea ecx, [ebp + 0xa0]
push eax
push str.Cookie:
call fcn.0040b380
mov eax, dword [edi]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi + 4]
mov dword [ebp + 0xe0], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x45a236
mov esi, dword [ebp + 0xe0]
xor ebx, ebx
nop dword [eax]
lea eax, [ebx + esi]
mov edi, esi
lea ecx, [eax + 0x18]
mov dword [ebp + 0xe0], ecx
mov ecx, eax
call fcn.0040a670
test al, al
jne 0x45a206
mov ecx, dword [ebp + 0xe0]
call fcn.0040a670
test al, al
jne 0x45a206
lea ecx, [ebx + esi]
call fcn.0040ad00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x45a192
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xa0]
call fcn.0040b380
push 0x52bdf4
call fcn.0040b080
add esp, 4
lea ecx, [ebp + 0xa0]
push eax
push 0x52bdf4
call fcn.0040b380
mov ecx, dword [ebp + 0xe0]
call fcn.0040ad00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x45a1d4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xa0]
call fcn.0040b380
push 0x529dd8
call fcn.0040b080
add esp, 4
lea ecx, [ebp + 0xa0]
push eax
push 0x529dd8
call fcn.0040b380
mov esi, dword [ebp - 0x28]
mov edi, dword [esi]
mov eax, dword [ebp - 0x28]
add ebx, 0x30
inc dword [ebp - 0x20]
mov esi, edi
mov ecx, dword [eax + 4]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x20], eax
jb 0x45a150
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x1c]
cmp byte [ebp + 0x304], 0
je 0x45a254
push str._r_nAccept_Encoding:_gzip_r_n
call fcn.0040b080
add esp, 4
push eax
push str._r_nAccept_Encoding:_gzip_r_n
jmp 0x45a267
push str._r_n_r_n
call fcn.0040b080
add esp, 4
push eax
push str._r_n_r_n
lea ecx, [ebp + 0xa0]
call fcn.0040b380
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.0040a670
test al, al
jne 0x45a2e7
push 0x52be30
lea ecx, [ebp + 0xb8]
call fcn.0040a870
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.0040ad00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x45a2a5
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xb8]
call fcn.0040b380
lea ecx, [ebp + 0xb8]
call fcn.0040ad00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x45a2c9
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xa0]
call fcn.0040b380
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xb8]
call fcn.0040a7e0
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
cmp eax, ecx
je 0x45a44b
lea ecx, [ebp + 0xb8]
call fcn.0040ad00
mov esi, dword [ebp - 0x24]
mov dword [ebp + 0xe0], eax
push esi
lea eax, [ebp + 0x88]
push 0x52a79c
push eax
call fcn.0040b8f0
mov edi, eax
mov byte [ebp - 4], 6
push 0x52be58
call fcn.0040b080
add esp, 0x10
mov ecx, edi
push eax
push 0x52be58
call fcn.0040b380
push eax
call fcn.0040c380
add esp, 4
lea ecx, [ebp + 0x40]
push eax
call fcn.0040a830
or ebx, 1
mov edi, eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 7
lea ecx, [esi + 0x18]
call fcn.0040ad00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x45a374
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.0040b380
push eax
call fcn.0040c380
add esp, 4
lea ecx, [ebp + 0x58]
push eax
call fcn.0040a830
or ebx, 2
mov edi, eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 8
push 0x52a79c
call fcn.0040b080
add esp, 4
mov ecx, edi
push eax
push 0x52a79c
call fcn.0040b380
push eax
call fcn.0040c380
add esp, 4
lea ecx, [ebp + 0xb8]
push eax
call fcn.0040a830
or ebx, 4
mov dword [ebp - 0x1c], ebx
and ebx, 0xfffffffd
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x58]
call fcn.0040a7e0
and ebx, 0xfffffffe
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x40]
call fcn.0040a7e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0x88]
call fcn.0040a7e0
mov eax, dword [ebp + 0xe0]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x45a415
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xa0]
call fcn.0040b380
and ebx, 0xfffffffb
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xb8]
call fcn.0040a7e0
add esi, 0x30
cmp esi, dword [ebp - 0x20]
jne 0x45a312
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x24], 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 + 0xa0]
push dword [ebp + 0x2f8]
push dword [ebp - 0x2c]
call fcn.0040aef0
push eax
lea ecx, [ebp + 0xa0]
call fcn.0040a680
push eax
push dword [ebp - 0x18]
call fcn.0045d4a0
mov ecx, eax
call fcn.0045d940
test eax, eax
jne 0x45a4a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x18], eax
jmp 0x45ab42
mov byte [ebp - 4], 3
push 0
push esi
call ebx
cmp byte [ebp + 0x304], 0
mov byte [ebp - 0xe], 0
je 0x45a510
mov edx, dword [ebp - 0x18]
lea ecx, [ebp + 0x58]
call fcn.00459730
mov byte [ebp - 4], 0xd
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0xb8]
call fcn.0045f100
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0xb8]
call fcn.0040a680
mov edx, 0x52bdf8
mov ecx, eax
call fcn.00412d10
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0xb8]
call fcn.0040a7e0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.0040a7e0
mov ecx, dword [ebp - 0x30]
call fcn.0040ad00
mov edi, eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x2c], edi
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x45a530
mov eax, dword [edi]
lea ecx, [ebp - 0xd]
push ecx
push eax
call fcn.00411ba0
add esp, 8
nop dword [eax]
mov dword [ebp + 0xd4], 0
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call ebx
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0xd4]
push eax
push 0x1ff
lea eax, [ebp + 0xe4]
push eax
push dword [ebp - 0x18]
call fcn.0045d4a0
mov ecx, eax
call fcn.0045de30
test eax, eax
je 0x45ab36
push 0
push esi
call ebx
mov ebx, dword [ebp + 0xd4]
cmp ebx, 0x200
jae 0x45ab27
test ebx, ebx
je 0x45a607
mov byte [ebp + ebx + 0xe4], 0
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp ebx, eax
ja 0x45a5ef
lea eax, [ecx + ebx]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x45a5c5
mov eax, dword [edi]
lea edi, [eax + ecx]
push ebx
lea eax, [ebp + 0xe4]
push eax
push edi
call fcn.00411b90
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
lea eax, [edi + ebx]
push eax
call fcn.00411ba0
mov edi, dword [ebp - 0x2c]
add esp, 0x14
jmp 0x45a607
mov ecx, dword [ebp - 0x30]
lea eax, [ebp + 0xe4]
push ebx
push eax
mov byte [ebp - 0x24], 0
push dword [ebp - 0x24]
push ebx
call fcn.00454800
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call ebx
cmp dword [ebp + 0xd4], 0
ja 0x45a540
cmp byte [ebp - 0xe], 0
je 0x45a66d
lea ecx, [ebp + 0xb8]
call fcn.00415a10
mov byte [ebp - 4], 0x10
lea edx, [ebp + 0xb8]
mov ebx, dword [ebp - 0x30]
mov ecx, ebx
call fcn.00459890
test al, al
je 0x45a750
lea eax, [ebp + 0xb8]
mov ecx, ebx
push eax
call fcn.004531c0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xb8]
call fcn.00412680
mov ebx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
call fcn.00454790
mov eax, dword [ebx]
mov edi, 0x200
push 0x402
mov dword [ebx + 4], eax
mov dword [ebp - 0x14], edi
call fcn.004d1fdb
mov ebx, eax
mov dword [ebp + 0xd0], 0
add esp, 8
xor eax, eax
mov word [ebx], ax
mov eax, dword [ebp + 0xd0]
mov dword [ebp + 0x3c], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 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 ebx
push 0x2b
push dword [ebp - 0x18]
call fcn.0045d4a0
mov ecx, eax
call fcn.0045d800
mov edi, eax
test edi, edi
setne byte [ebp - 0xd]
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test edi, edi
mov edi, dword [ebp - 0x14]
jne 0x45a78e
mov eax, dword [ebp + 0x3c]
cmp eax, edi
jbe 0x45a791
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x45a78e
mov edi, dword [ebp + 0x3c]
inc edi
push ebx
mov dword [ebp - 0x14], edi
call fcn.004d166f
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d1fdb
mov ebx, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0xd0], eax
jmp 0x45a69e
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0xd], 0
mov dword [ecx + 0x18], 0x2f8f
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x45a76d
mov edi, dword [edi]
lea eax, [ebp - 0xd]
push eax
push edi
call fcn.00411ba0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xb8]
call fcn.00412680
jmp 0x45ab4b
mov eax, dword [ebp + 0x3c]
cmp byte [ebp - 0xd], 0
je 0x45aae5
cmp eax, edi
ja 0x45a6a1
xor ecx, ecx
mov word [ebx + eax*2], cx
lea ecx, [ebp + 0x88]
push ebx
call fcn.0040a870
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x88]
call fcn.0040a670
test al, al
jne 0x45aad1
lea ecx, [ebp + 0x40]
call fcn.0040a8b0
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x70]
call fcn.0040a8b0
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x88]
push 0
push 0x3d
call fcn.0040a5e0
mov edi, eax
cmp edi, 0xffffffff
je 0x45a863
push edi
push 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x88]
call fcn.0040a590
mov byte [ebp - 4], 0x15
lea ecx, [ebp + 0x40]
push eax
call fcn.0040a7f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x4c]
call fcn.0040a7e0
lea ecx, [ebp + 0x88]
inc edi
call fcn.0040aef0
cmp edi, eax
jae 0x45a863
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 0x88]
call fcn.0040a590
mov byte [ebp - 4], 0x16
lea ecx, [ebp + 0x88]
push eax
call fcn.0040a7f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x64]
call fcn.0040a7e0
push 0
push 0x3b
lea ecx, [ebp + 0x88]
call fcn.0040a5e0
lea ecx, [ebp + 0x88]
cmp eax, 0xffffffff
je 0x45a8a4
push eax
push 0
lea eax, [ebp - 0x7c]
push eax
call fcn.0040a590
mov byte [ebp - 4], 0x17
lea ecx, [ebp + 0x70]
push eax
call fcn.0040a7f0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x7c]
call fcn.0040a7e0
jmp 0x45a8d1
call fcn.0040ad00
lea ecx, [ebp + 0x70]
cmp ecx, eax
je 0x45a8d1
lea ecx, [ebp + 0x88]
call fcn.0040ad00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x45a8c5
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x70]
call fcn.0040af20
lea eax, [ebp + 0x40]
push 0x529070
push eax
call fcn.00412ec0
lea eax, [ebp + 0x40]
push 0x529070
push eax
call fcn.00412f60
lea eax, [ebp + 0x70]
push 0x529070
push eax
call fcn.00412ec0
lea eax, [ebp + 0x70]
push 0x529070
push eax
call fcn.00412f60
add esp, 0x20
lea ecx, [ebp + 0x40]
call fcn.0040a670
test al, al
jne 0x45aab6
lea ecx, [ebp + 0x70]
call fcn.0040a670
test al, al
jne 0x45aab6
push str.http:__www.2345.com_
lea ecx, [ebp + 0xb8]
call fcn.0040a870
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0x70]
call fcn.0040ad00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x45a952
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0xb8]
call fcn.0040b380
xorps xmm0, xmm0
mov dword [ebp], 0x3c
lea ecx, [ebp + 0xb8]
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.0040aef0
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.004d1fdb
lea ecx, [edi + edi]
mov dword [ebp + 0x34], eax
push ecx
push 0
push eax
call fcn.004d4650
add esp, 0x10
mov dword [ebp - 0x34], esi
lea eax, [edi - 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 + 0xb8]
call fcn.0040aef0
push eax
lea ecx, [ebp + 0xb8]
call fcn.0040a680
push eax
call fcn.0045d4a0
mov ecx, eax
call fcn.0045db10
mov edi, eax
mov byte [ebp - 4], 0x18
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test edi, edi
je 0x45aa6d
push dword [ebp + 0x34]
lea ecx, [ebp + 0x58]
call fcn.0040a870
mov byte [ebp - 4], 0x1a
lea ecx, [ebp + 0x58]
call fcn.0040a670
test al, al
jne 0x45aa61
lea eax, [ebp + 0xe0]
push eax
lea ecx, [ebp + 0x58]
call fcn.0040af00
lea ecx, [ebp + 0x58]
push dword [eax]
lea eax, [ebp - 0x30]
push eax
call fcn.0040a6b0
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp + 0x70]
call fcn.00417360
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0x58]
call fcn.0040a7e0
push dword [ebp + 0x34]
call fcn.004d166f
add esp, 4
lea eax, [ebp + 0x70]
lea ecx, [ebp - 0xac]
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.0045ac50
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x28]
push eax
call fcn.0045abb0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xac]
call fcn.00433010
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0xb8]
call fcn.0040a7e0
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x70]
call fcn.0040a7e0
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x40]
call fcn.0040a7e0
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x88]
call fcn.0040a7e0
jmp 0x45a6a1
xor eax, eax
push ebx
mov word [ebx], ax
call fcn.004d166f
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xa0]
call fcn.0040a7e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xd8]
call fcn.00403240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xdc]
call fcn.00403240
mov al, 1
jmp 0x45ab7d
mov byte [ebp - 4], 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x45ab4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], eax
mov byte [ebp - 4], 3
push 0
push esi
call ebx
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xa0]
call fcn.0040a7e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xd8]
call fcn.00403240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xdc]
call fcn.00403240
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.004d1486
lea esp, [ebp + 0x2e8]
pop ebp
ret 0x20