Function at 0x406e70
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x437430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x30], 0
call fcn.0042df63
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 1
call fcn.0042df63
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
mov bl, 2
push ebp
mov byte [esp + 0x44], bl
call fcn.00432ec1
test eax, eax
jne 0x406f07
mov edi, dword [esi + 0x40]
add esi, 0x40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebp
push str.CPUT:_AfxParseURL__s__Error__d_
push esi
call dword [edi]
add esp, 0x10
jmp 0x406fd2
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.00401260
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push eax
mov byte [esp + 0x40], 3
call fcn.00401260
add eax, 0x10
mov dword [edi], eax
mov edx, dword [esi + 0x50]
lea edi, [esi + 0x50]
add esp, 4
mov ecx, edi
mov byte [esp + 0x3c], bl
call dword [edx + 4]
test eax, eax
je 0x406f75
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.004123d0
mov eax, dword [eax]
push eax
push ebp
mov byte [esp + 0x38], 4
push 0x43a354
jmp 0x406fa4
mov ecx, dword [esp + 0x3c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x20]
test eax, eax
je 0x407051
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.00412640
mov eax, dword [eax]
push eax
push ebp
mov byte [esp + 0x38], 5
push 0x43a328
mov edx, dword [esi + 0x40]
lea ecx, [esi + 0x40]
push ecx
call dword [edx]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ff5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407018
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40703a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407074
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407097
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4070b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8