Function at 0x401b30
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x405c69
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x40a018]
xor eax, esp
mov dword [esp + 0x68], eax
push ebp
push esi
push edi
mov eax, dword [0x40a018]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x3c
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x90], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x100
mov ecx, esi
mov dword [esp + 0x24], 0x3c
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
lea edi, [esi + 0x1c]
push 0x800
mov ecx, edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
lea ebp, [esi + 0x38]
push 0x80
mov ecx, ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
lea ecx, [esi + 0x54]
push 0x80
mov dword [esp + 0x18], ecx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov ecx, 0x10
cmp dword [esi + 0x18], ecx
mov dword [esp + 0x34], 0x100
jb 0x401bf3
mov edx, dword [esi + 4]
mov dword [esp + 0x30], edx
jmp 0x401bfa
lea eax, [esi + 4]
mov dword [esp + 0x30], eax
cmp dword [edi + 0x18], ecx
mov dword [esp + 0x50], 0x800
jb 0x401c10
mov eax, dword [edi + 4]
mov dword [esp + 0x4c], eax
jmp 0x401c17
add edi, 4
mov dword [esp + 0x4c], edi
cmp dword [ebp + 0x18], ecx
mov eax, 0x80
mov dword [esp + 0x40], eax
jb 0x401c2e
mov edx, dword [ebp + 4]
mov dword [esp + 0x3c], edx
jmp 0x401c35
add ebp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], ecx
jb 0x401c47
mov eax, dword [eax + 4]
jmp 0x401c4a
add eax, 4
push 0x824
lea ecx, [esp + 0x60]
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], 0x824
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov ecx, dword [esp + 0x60]
mov eax, 0x10
cmp dword [esp + 0x74], eax
jae 0x401c78
lea ecx, [esp + 0x60]
cmp dword [ebx + 0x18], eax
lea edi, [ebx + 4]
jb 0x401c84
mov eax, dword [edi]
jmp 0x401c86
mov eax, edi
mov ebp, dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
push 0x2e000000
lea edx, [esp + 0x14]
push edx
push ecx
push eax
call ebp
test eax, eax
jne 0x401ce4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x401d24
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov eax, dword [esp + 0x60]
mov ecx, 0x10
cmp dword [esp + 0x74], ecx
jae 0x401ccb
lea eax, [esp + 0x60]
cmp dword [ebx + 0x18], ecx
jb 0x401cd2
mov edi, dword [edi]
push 0x2e000000
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
call ebp
test eax, eax
je 0x401d24
mov eax, dword [esp + 0x60]
mov edi, 0x10
cmp dword [esp + 0x74], edi
jae 0x401cf7
lea eax, [esp + 0x60]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x401d29
mov eax, dword [esp + 0x2c]
cmp eax, 4
je 0x401d29
cmp eax, 3
jne 0x401d29
mov ax, word [esp + 0x38]
mov word [esi + 0x70], ax
jmp 0x401d29
mov edi, 0x10
cmp dword [esi + 0x14], 0
je 0x401d54
cmp dword [esi + 0x18], edi
jb 0x401d39
mov eax, dword [esi + 4]
jmp 0x401d3c
lea eax, [esi + 4]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401d40
sub eax, edx
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x14], 0
je 0x401d84
cmp dword [esi + 0x18], edi
jb 0x401d68
mov eax, dword [esi + 4]
jmp 0x401d6b
lea eax, [esi + 4]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401d70
sub eax, edx
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x14], 0
je 0x401db4
cmp dword [esi + 0x18], edi
jb 0x401d98
mov eax, dword [esi + 4]
jmp 0x401d9b
lea eax, [esi + 4]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401da0
sub eax, edx
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x14], 0
je 0x401de4
cmp dword [esi + 0x18], edi
jb 0x401dc8
mov eax, dword [esi + 4]
jmp 0x401dcb
lea eax, [esi + 4]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401dd0
sub eax, edx
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00404f8a
add esp, 0x78
ret