Function at 0x40c848
Capabilities:
Parse url

Disassembly:
mov eax, 0x41219d
call fcn.00410660
sub esp, 0x74
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x7c]
add ecx, 0x18
call fcn.00405957
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x7c]
add ecx, 0x24
call fcn.00405957
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x7c]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x7c]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x7c]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 0x7c]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x7c]
and dword [eax + 0x10], 0
push 0x3c
push 0
lea eax, [ebp - 0x48]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], 0x3c
mov word [ebp - 0x30], 1
movzx eax, word [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
push 0
mov eax, dword [ebp - 0x7c]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
mov eax, dword [ebp - 0x7c]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
cmp eax, 1
je 0x40c915
lea ecx, [ebp - 0x58]
call fcn.004068d8
push 0x4170c8
lea eax, [ebp - 0x58]
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x34]
inc eax
push eax
push 0
mov eax, dword [ebp - 0x7c]
push dword [eax + 0xc]
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x34]
inc eax
push eax
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x7c]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x34]
and word [eax + ecx*2], 0
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x18]
and word [eax + ecx*2], 0
movzx eax, word [ebp - 0x30]
test eax, eax
jne 0x40c99f
mov dword [ebp - 0x80], 0x50
jmp 0x40c9a6
movzx eax, word [ebp - 0x30]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp - 0x18]
inc eax
push eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x7c]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0x6c]
call fcn.004059c7
mov byte [ebp - 4], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
add ecx, 0x18
call fcn.00405f54
lea ecx, [ebp - 0x78]
call fcn.00405f05
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00405f05
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4