Function at 0x10002e20
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066fce
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x100a7008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
mov ecx, 0x100aa321
mov dword [ebp - 0x60], 0
call fcn.10066665
push str.www.2345.com
lea ecx, [ebp - 0x28]
call fcn.100034a0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10002e9e
lea ecx, [ebp - 0x28]
cmp ecx, esi
je 0x10002e9e
cmp dword [esi + 0x14], 8
jb 0x10002e94
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.10003b10
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [edi + 0x10], 0
jb 0x10002eaf
mov eax, dword [edi]
mov esi, dword [ebp - 0x68]
xor ecx, ecx
mov word [eax], cx
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ecx
jb 0x10002ec4
mov eax, dword [esi]
xor ecx, ecx
push ecx
push ecx
push ecx
push 1
push str.ProxyDetect_1.0
mov word [eax], cx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x10002f02
push 0
push 0
push 0x7530
push 0x7530
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x10002f43
push dword [ebp - 0x6c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0x31
lea ecx, [ebp - 0x28]
call fcn.100039c0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x61]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006413c
mov esp, ebp
pop ebp
ret 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x44]
movq qword [ebp - 0x4c], xmm0
push eax
movups xmmword [ebp - 0x5c], xmm0
movq qword [ebp - 0x34], xmm0
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x10002f8e
cmp dword [ebp - 0x44], 0
mov eax, 1
mov ecx, 0
cmovne ecx, eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x10002f86
mov dword [ebp - 0x54], eax
jmp 0x10002f91
test ecx, ecx
je 0x10003121
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x10002f9e
mov dword [ebp - 0x5c], 2
jmp 0x10002fac
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], 3
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x10003121
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10002ff6
push eax
lea ecx, [ebp - 0x88]
call fcn.100034a0
mov byte [ebp - 4], 9
mov ecx, 1
jmp 0x1000300d
lea ecx, [ebp - 0xa0]
call fcn.10003550
mov dword [ebp - 4], 0xa
mov ecx, 2
mov dword [ebp - 0x60], ecx
mov ecx, edi
push eax
call fcn.10003420
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x60]
test al, 2
je 0x1000304f
and eax, 0xfffffffd
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.100039c0
mov dword [ebp - 4], 9
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0x60]
mov dword [ebp - 4], 0
test al, 1
je 0x10003077
and eax, 0xfffffffe
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x88]
call fcn.100039c0
mov byte [ebp - 4], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10003096
push eax
lea ecx, [ebp - 0xa0]
call fcn.100034a0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x60]
or ecx, 4
jmp 0x100030ae
lea ecx, [ebp - 0x88]
call fcn.10003550
mov dword [ebp - 4], 0x14
mov ecx, dword [ebp - 0x60]
or ecx, 8
mov dword [ebp - 0x60], ecx
mov ecx, esi
push eax
call fcn.10003420
mov dword [ebp - 4], 0x13
mov eax, dword [ebp - 0x60]
test al, 8
je 0x100030f0
and eax, 0xfffffff7
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 0x88]
call fcn.100039c0
mov dword [ebp - 4], 0x13
mov dword [ebp - 4], 0x13
mov eax, dword [ebp - 0x60]
mov dword [ebp - 4], 0
test al, 4
je 0x10003118
and eax, 0xfffffffb
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xa0]
call fcn.100039c0
mov byte [ebp - 4], 0
mov byte [ebp - 4], 0
mov byte [ebp - 0x61], 1
jmp 0x1000322c
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1000321d
push eax
lea ecx, [ebp - 0x88]
call fcn.100034a0
mov byte [ebp - 4], 0x1d
mov ecx, edi
push eax
mov dword [ebp - 0x60], 0x10
call fcn.10003420
mov dword [ebp - 4], 0
mov esi, 0x10
mov dword [ebp - 0x60], esi
and esi, 0xffffffef
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x88]
call fcn.100039c0
mov byte [ebp - 4], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10003193
push eax
lea ecx, [ebp - 0xa0]
call fcn.100034a0
mov byte [ebp - 4], 0x27
or esi, 0x40
jmp 0x100031ab
lea ecx, [ebp - 0x88]
call fcn.10003550
mov dword [ebp - 4], 0x28
or esi, 0x80
mov ecx, dword [ebp - 0x68]
push eax
mov dword [ebp - 0x60], esi
call fcn.10003420
mov dword [ebp - 4], 0x27
mov eax, esi
test al, al
jns 0x100031ef
and eax, 0xffffff7f
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0x29
lea ecx, [ebp - 0x88]
call fcn.100039c0
mov dword [ebp - 4], 0x27
mov dword [ebp - 4], 0x27
mov eax, dword [ebp - 0x60]
mov dword [ebp - 4], 0
test al, 0x40
je 0x10003217
and eax, 0xffffffbf
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xa0]
call fcn.100039c0
mov byte [ebp - 4], 0
mov byte [ebp - 4], 0
mov byte [ebp - 0x61], 1
jmp 0x1000322c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2ee6
sete byte [ebp - 0x61]
mov eax, dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x1000323c
push eax
call esi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10003246
push eax
call esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10003250
push eax
call esi
push dword [ebp - 0x6c]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x10002f06