Function at 0x475280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x524518
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
mov edi, dword [ebp + 8]
call fcn.004751c0
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x4752c7
mov eax, dword [esi + 8]
lea ecx, [esp + 0x44]
push ecx
add eax, 4
push eax
call fcn.0050266c
xor edi, edi
add esp, 8
cmp eax, edi
jne 0x4755a7
test dword [esp + 0x4a], 0x4000
jne 0x4755a7
mov dword [esp + 0x28], fcn.004fdc99
mov dword [esp + 0x2c], fcn.004fca61
mov dword [esp + 0x30], fcn.004fdda1
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x8000
mov dword [esp + 0x24], vtable.t_heapT_class_TAllocDefault_.0
mov dword [esp + 0x3c], edi
mov byte [esp + 0x40], 0
mov dword [esp + 0x80], edi
cmp byte [esi + 0x11c], 0
je 0x47533a
add esi, 0xc
jmp 0x47533d
mov esi, dword [esi + 8]
lea edx, [esi + 4]
push ebx
lea ecx, [esp + 0x28]
call fcn.0046c8b0
test al, al
jne 0x4753b1
mov ecx, ebx
call fcn.00470820
push 0x564210
push 0x551604
push eax
call fcn.0046adf0
mov dword [esp + 0x8c], 0xffffffff
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x24], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x47539a
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x38], edx
call dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, edi
jne 0x475383
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x4753ea
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x20], str.ProxyInfo
call fcn.0046d570
test eax, eax
je 0x4753e8
mov esi, dword [eax + 4]
test esi, esi
jne 0x475475
xor edi, edi
mov ecx, ebx
call fcn.00470820
push 0x564228
mov esi, eax
push 0x551604
push esi
call fcn.0046adf0
add esp, 0xc
push str.ProxyInfo
push 0x551604
push esi
call fcn.0046adf0
add esp, 0xc
push 0x54ea80
push 0x551604
push esi
call fcn.0046adf0
mov dword [esp + 0x8c], 0xffffffff
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x24], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x47545e
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x38], edx
call dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, edi
jne 0x475447
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
mov eax, str.UseIE
call fcn.0046c760
mov edi, eax
push esi
mov eax, str.UseHttp
call fcn.0046c760
mov dword [esp + 0x14], eax
push esi
mov eax, str.Server
call fcn.0046c760
mov dword [esp + 0x18], eax
push esi
mov eax, str.Port
call fcn.0046c760
mov ebx, eax
push esi
mov eax, str.Username
call fcn.0046c760
mov dword [esp + 0x1c], eax
push esi
mov eax, 0x564180
call fcn.0046c760
test edi, edi
mov esi, eax
je 0x4754db
cmp word [edi], 0x30
mov edi, dword [ebp + 8]
setne al
mov byte [edi], al
jmp 0x4754de
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4754f0
cmp word [eax], 0x30
setne cl
mov byte [edi + 1], cl
mov eax, dword [esp + 0x18]
test eax, eax
je 0x475500
lea edx, [edi + 4]
call fcn.0046a7f0
test ebx, ebx
je 0x47554c
movzx eax, word [ebx]
xor ecx, ecx
test ax, ax
je 0x47552a
movzx eax, ax
cmp ax, 0x30
jb 0x47552a
cmp ax, 0x39
ja 0x47552a
movzx eax, word [ebx + ecx*2 + 2]
add ecx, 1
test ax, ax
jne 0x475511
cmp word [ebx + ecx*2], 0
je 0x47553d
mov dword [edi + 0x128], 0xffffffff
jmp 0x47554c
push ebx
call fcn.004fe07a
add esp, 4
mov dword [edi + 0x128], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x47555f
lea edx, [edi + 0x12c]
call fcn.0046a7f0
test esi, esi
je 0x475570
lea edx, [edi + 0x250]
mov eax, esi
call fcn.0046a7f0
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x24], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x4755a7
jmp 0x475590
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x38], edx
call dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add esp, 4
test eax, eax
jne 0x475590
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4