Function at 0x101aeba0
Capabilities:
Initialize winhttp library
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022f981
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x1029912c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 0xa5], 0
push 0x3c
push 0
mov eax, dword [ebp - 0xa4]
add eax, 0x10
push eax
call fcn.101ee530
add esp, 0xc
push 0x1800
call fcn.101d507c
add esp, 4
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x101aec2e
push 0x1800
push 0
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.101ee530
add esp, 0xc
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
jmp 0x101aec38
mov dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xb0]
mov dword [eax + 0xc], ecx
push 0x1800
push 0
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0xc]
push eax
call fcn.101ee530
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x10], 0x3c
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0xc]
add eax, 0x1400
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x44], eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0xc]
add eax, 0x400
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0xc]
add eax, 0xc00
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0xc]
add eax, 0x1000
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0xc]
add eax, 0x800
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x30], 0x200
mov eax, dword [ebp - 0xa4]
mov dword [eax + 0x40], 0x200
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x18], 0x200
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x38], 0x200
mov eax, dword [ebp - 0xa4]
mov dword [eax + 0x24], 0x200
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x48], 0x200
mov edx, dword [ebp + 8]
add edx, 4
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.101b4d33
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa4]
add ecx, 0x10
push ecx
push bind
lea ecx, [ebp - 0x28]
call fcn.100061f0
push eax
lea ecx, [ebp - 0x28]
call fcn.100653e0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x101aeda8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000d890
jmp 0x101af0c2
push 0
push 0
push 0
push 1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], eax
mov edx, dword [ebp - 0xa4]
cmp dword [edx], 0
jne 0x101aedf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000d890
jmp 0x101af0c2
mov edx, dword [ebp + 8]
cmp dword [edx + 0x88], 0
je 0x101aee10
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x88]
mov word [eax + 0x28], dx
push 0
mov eax, dword [ebp - 0xa4]
movzx ecx, word [eax + 0x28]
push ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 4], 0
jne 0x101aee6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000d890
jmp 0x101af0c2
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x64
call fcn.101ae1e0
push str.https
lea ecx, [ebp - 0x58]
call fcn.100063d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push ecx
push 5
push 0
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp + 8]
add ecx, 4
call fcn.10006140
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.101afb10
add esp, 8
mov byte [ebp - 0xa6], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.10002520
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10002520
movzx edx, byte [ebp - 0xa6]
test edx, edx
je 0x101aef20
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x84]
or ecx, 0x800000
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x84], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0xb4], 3
ja case.default.0x101aef3f
mov edx, dword [ebp - 0xb4]
jmp dword [edx*4 + 0x101af0e4]
push 0x10234a50
mov ecx, dword [ebp - 0xa4]
add ecx, 0x4c
call fcn.101ae1e0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x44]
push ecx
lea ecx, [ebp - 0x70]
call fcn.10065620
mov byte [ebp - 4], 3
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.101b4eb9
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.1000d890
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc8], esp
push 0x10234a58
call fcn.100063d0
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 6
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd0], esp
push 0x1026ad70
call fcn.100063d0
lea ecx, [ebp - 0x40]
push ecx
mov byte [ebp - 4], 5
call fcn.1003cf30
add esp, 0x34
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.101b4d33
add esp, 8
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xc4]
push edx
mov ecx, dword [ebp - 0xa4]
add ecx, 0x64
call fcn.1004edd0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.1000d890
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10002520
jmp case.default.0x101aef3f
push 0x10234a5c
mov ecx, dword [ebp - 0xa4]
add ecx, 0x4c
call fcn.101ae1e0
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.100061e0
movzx eax, al
test eax, eax
jne 0x101af07a
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.10006200
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x7c], eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
call fcn.100061f0
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x80], eax
jmp case.default.0x101aef3f
push str.DELETE
mov ecx, dword [ebp - 0xa4]
add ecx, 0x4c
call fcn.101ae1e0
jmp case.default.0x101aef3f
push 0x10234a78
mov ecx, dword [ebp - 0xa4]
add ecx, 0x4c
call fcn.101ae1e0
mov byte [ebp - 0xa5], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000d890
xor eax, eax
jne 0x101aed40
mov al, byte [ebp - 0xa5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d506b
mov esp, ebp
pop ebp
ret 8