Function at 0x419c70
Capabilities:
Get process heap flags

Disassembly:
push ebp
xor edx, edx
xor eax, eax
mov ebp, esp
push edi
push esi
lea ecx, [ebp - 0x20]
push ebx
sub esp, 0x2c
call fcn.0040f640
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x419f80
lea esi, [ebp - 0x18]
mov dword [ebp - 0x18], 0xdeadbeef
mov ebx, dword [sym.imp.winhttp.dll_WinHttpSetDefaultProxyConfiguration]
mov edx, dword fs:[0x18]
mov dword [ebp - 0x10], 0
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], 0
mov dword [esp], esi
call ebx
sub esp, 4
mov edi, eax
call fcn.00431c30
mov edx, dword [ebp - 0x2c]
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x590
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x419cf6
xor eax, eax
cmp ecx, 0x57
sete al
mov dword [esp + 8], ecx
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp], eax
call fcn.00410490
mov dword [ebp - 0x18], 3
mov edx, dword fs:[0x18]
mov dword [ebp - 0x10], 0
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], 0
mov dword [esp], esi
call ebx
sub esp, 4
mov edi, eax
call fcn.00431c30
mov edx, dword [ebp - 0x2c]
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x598
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x419d60
xor eax, eax
cmp ecx, 0x57
sete al
mov dword [esp + 8], ecx
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp], eax
call fcn.00410490
mov dword [ebp - 0x10], 0x434228
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x2c], edx
mov dword [esp], esi
call ebx
sub esp, 4
mov edi, eax
call fcn.00431c30
mov edx, dword [ebp - 0x2c]
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x59d
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x419dbc
xor eax, eax
cmp ecx, 0x57
sete al
mov dword [esp + 8], ecx
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp], eax
mov edi, dword fs:[0x18]
call fcn.00410490
mov dword [ebp - 0x14], str.o__W
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp], esi
call ebx
sub esp, 4
test eax, eax
jne 0x419f50
cmp dword [edi + 0x34], 5
je 0x419fe0
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x5a7
mov edx, dword [edi + 0x34]
xor eax, eax
cmp edx, 0x57
sete al
mov dword [esp + 8], edx
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
mov dword [esp], eax
call fcn.00410490
mov dword [ebp - 0x14], 0x434228
mov edi, dword fs:[0x18]
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp], esi
call ebx
sub esp, 4
mov ebx, eax
test eax, eax
jne 0x419e5d
cmp dword [edi + 0x34], 5
je 0x419fc0
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x5b2
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.WinHttpSetDefaultProxyConfiguration_failed:__lu_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x5b3
mov edx, dword [esi + 0x34]
mov eax, 1
test edx, edx
jne 0x419f30
mov dword [esp + 8], edx
mov dword [esp + 4], str.got__lu_n
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov dword [esp], 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_IsWow64Process]
mov eax, dword [ebp - 0x1c]
sub esp, 8
test eax, eax
mov dword [esp], ebx
je 0x419f18
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov eax, 0x20106
mov ecx, edi
mov edx, esi
call fcn.0040f740
mov dword [esp], ebx
mov ecx, edi
mov edx, esi
mov eax, 0x20206
call fcn.0040f740
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, 0x20006
call fcn.0040f740
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [0x4720d0]
cmp edx, 0xdeadbeef
sete cl
xor eax, eax
test ebx, ebx
sete al
and eax, ecx
jmp 0x419eaf
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x5a7
mov edx, dword [edi + 0x34]
xor eax, eax
mov edi, dword [0x4720d0]
test edi, edi
sete al
jmp 0x419e1c
mov ebx, dword [ebp - 0x24]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
lea ecx, [ebp - 0x20]
mov edx, ebx
sub esp, 0xc
mov dword [ebp - 0x28], eax
call fcn.0040f640
mov dword [ebp - 0x24], eax
jmp 0x419c97
mov eax, 0x5af
call fcn.0040fbc0
mov dword [esp], str.couldnt_set_default_proxy_configuration:_access_denied_n
call fcn.0040fef0
jmp 0x419ec3
mov eax, 0x5a5
call fcn.0040fbc0
mov dword [esp], str.couldnt_set_default_proxy_configuration:_access_denied_n
call fcn.0040fef0
jmp 0x419e30