Function at 0x47ba90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4aa572
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x30]
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call dword [0x4ab28c]
mov cl, byte [esp + 0x38]
push 0
mov byte [esp + 0xc], cl
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call dword [0x4ab28c]
mov edx, dword [0x4ab348]
lea ecx, [esi + 0x38]
mov byte [esp + 0x30], 1
mov eax, dword [edx]
push eax
push 0
push ecx
lea ecx, [esp + 0x24]
call dword [0x4ab254]
mov edi, 0x4c5c5c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4c5c5c
lea ecx, [esp + 0x20]
call dword [0x4ab2c0]
mov edx, dword [0x4ab348]
add esi, 0x48
lea ecx, [esp + 0x18]
mov eax, dword [edx]
push eax
push 0
push esi
call dword [0x4ab244]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00498330
mov ecx, dword [esp + 0x14]
add esp, 4
cmp eax, ecx
ja 0x47bb5d
mov edx, dword [0x4ab348]
mov ecx, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x10]
call dword [0x4ab24c]
jmp 0x47bb6c
sub eax, ecx
push 0
push eax
lea ecx, [esp + 0x10]
call dword [0x4ab2e0]
mov ecx, dword [esp + 0xc]
mov edx, dword [0x4ab258]
test ecx, ecx
jne 0x47bb7c
mov ecx, edx
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x47bb86
mov eax, edx
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.004983a0
add esp, 0xc
test eax, eax
jne 0x47bbd2
push 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], al
call dword [0x4ab28c]
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xffffffff
call dword [0x4ab28c]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov edi, str.Proxy_Authorization:_Basic
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
mov eax, dword [0x4ab348]
push ebp
mov ebp, dword [esp + 0x40]
not ecx
mov edx, dword [ebp + 8]
dec ecx
mov esi, ecx
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, esi
ja 0x47bbff
call dword [0x4ab304]
test esi, esi
jbe 0x47bc3e
mov ebx, dword [ebp + 8]
push 0
add ebx, esi
mov ecx, ebp
push ebx
call dword [0x4ab264]
test al, al
je 0x47bc3e
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 4]
mov ecx, esi
add edi, edx
mov edx, ecx
mov esi, str.Proxy_Authorization:_Basic
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
mov ecx, dword [0x4ab348]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x18]
mov edi, eax
cmp ecx, edi
jae 0x47bc52
mov edi, ecx
sub eax, dword [ebp + 8]
cmp eax, edi
ja 0x47bc5f
call dword [0x4ab304]
test edi, edi
jbe 0x47bca6
mov ebx, dword [ebp + 8]
push 0
add ebx, edi
mov ecx, ebp
push ebx
call dword [0x4ab264]
test al, al
je 0x47bca6
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x47bc85
mov esi, dword [0x4ab258]
mov edx, dword [ebp + 8]
mov ecx, edi
mov edi, dword [ebp + 4]
push ebx
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call dword [0x4ab26c]
mov edi, 0x4c34a0
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ab348]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, esi
ja 0x47bccd
call dword [0x4ab304]
test esi, esi
jbe 0x47bd0c
mov ebx, dword [ebp + 8]
push 0
add ebx, esi
mov ecx, ebp
push ebx
call dword [0x4ab264]
test al, al
je 0x47bd0c
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 4]
mov ecx, esi
add edi, edx
mov edx, ecx
mov esi, 0x4c34a0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x14]
xor esi, esi
pop ebp
cmp ecx, esi
pop ebx
je 0x47bd34
mov al, byte [ecx - 1]
test al, al
je 0x47bd2a
cmp al, 0xff
je 0x47bd2a
dec al
mov byte [ecx - 1], al
jmp 0x47bd34
dec ecx
push ecx
call fcn.004985d0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], esi
cmp ecx, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
je 0x47bd64
mov al, byte [ecx - 1]
test al, al
je 0x47bd5a
cmp al, 0xff
je 0x47bd5a
dec al
mov byte [ecx - 1], al
jmp 0x47bd64
dec ecx
push ecx
call fcn.004985d0
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4