Function at 0x403410
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x423ff8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x78]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
mov dword [esp + 0x10], ecx
je 0x4035f7
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x4035f7
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
mov word [esp + 0x20], bx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 4
call sub.MFC42.DLL_CString::CString
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x78], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x34]
mov esi, ecx
mov ecx, 0xf
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0x3c
call sub.MFC42.DLL_CString::GetBuffer
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
call sub.MFC42.DLL_CString::GetBuffer
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
call sub.MFC42.DLL_CString::GetBuffer
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
call sub.MFC42.DLL_CString::GetBuffer
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
call sub.MFC42.DLL_CString::GetBuffer
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], esi
call sub.MFC42.DLL_CString::GetBuffer
mov dword [esp + 0x68], eax
lea eax, [esp + 0x34]
push eax
push ebx
push ebx
push ebp
mov dword [esp + 0x7c], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
setne bl
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
push ebp
call sub.MFC42.DLL_CString::ReleaseBuffer
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::ReleaseBuffer
push ebp
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReleaseBuffer
push ebp
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::ReleaseBuffer
push ebp
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::ReleaseBuffer
push ebp
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0x40]
mov dx, word [esp + 0x4c]
test bl, bl
mov dword [esp + 0x18], ecx
mov word [esp + 0x20], dx
jne 0x40360e
lea ecx, [esp + 0x30]
mov dword [esp + 0x78], 0xa
call fcn.004235ea
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 9
call fcn.004235ea
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 8
call fcn.004235ea
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 7
call fcn.004235ea
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 6
call fcn.004235ea
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], ebp
call fcn.004235ea
xor eax, eax
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x80]
push eax
mov byte [esp + 0x7c], 0xb
call fcn.004235f0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x80]
push ecx
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x403659
mov dword [esi + 0x44], 1
jmp 0x403660
mov dword [esi + 0x44], 0
lea edx, [esp + 0x80]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
add esi, 0x24
push 0x42d1b0
push esi
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 5
call fcn.004235ea
lea ecx, [esp + 0x30]
mov dword [esp + 0x78], 0x10
call fcn.004235ea
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 0xf
call fcn.004235ea
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 0xe
call fcn.004235ea
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 0xd
call fcn.004235ea
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 0xc
call fcn.004235ea
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], ebp
call fcn.004235ea
mov eax, 1
jmp 0x4035f9