Function at 0x10004f00
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x1002e428
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1004a0b4]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10c]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
push 0xff
lea ecx, [ebp + 1]
push ebx
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp], bl
call sub.MSVCR80.dll_memset
push 0x3c
lea edx, [ebp - 0x70]
push ebx
push edx
call sub.MSVCR80.dll_memset
push 0x21
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x68], 0x20
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
push 0x101
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x5c], pe_nt_image_headers32
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov esi, 0x800
push 0x801
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x40], esi
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
mov edi, 0x80
push 0x81
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x50], edi
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
push 0x81
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], edi
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
push 0x801
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x38], esi
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
add esp, 0x30
mov dword [ebp - 0x3c], eax
call dword [0x1004a098]
mov edi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x74]
add eax, 0x74
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x10005024
mov dword [ebp - 0x10], 0xffffffff
jmp 0x100052ac
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jne 0x10005296
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x1003b928
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x10005296
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0x1003b928
push 0x1003b8a8
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x10005296
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x1003b908
push 0x1003b918
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x10005296
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov eax, dword [ecx + 0x78]
call eax
test eax, eax
jne 0x10005296
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x10005296
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 0x34], eax
je 0x1000527f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x1000527f
lea esi, [eax + eax]
mov eax, esi
call fcn.1002d890
mov edx, dword [ebp - 0x34]
mov eax, esp
push edi
push esi
push edx
push eax
call fcn.10004350
mov esi, eax
cmp esi, ebx
je 0x1000527f
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10005111
sub eax, edx
je 0x1000527f
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10005127
sub eax, edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x90]
push str._NativeUACCtrl__getCurrentHostName2__LocationURL___d_
push ecx
call fcn.10010a50
add esp, 0xc
lea edx, [ebp - 0x70]
push edx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov eax, dword [ebp - 0x60]
push eax
push esi
call dword [sym.imp.MSVCR80.dll_strstr]
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x100051a3
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x90]
push ecx
push str._NativeUACCtrl__getCurrentHostName2__CheckHostName___s___1_
push eax
call fcn.10010a50
movzx ecx, word [ebp - 0x58]
mov edx, dword [ebp - 0x60]
push ecx
push edx
lea eax, [ebp]
push str._s:_d
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x1c
jmp 0x1000526b
mov ecx, edi
lea eax, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x100051a8
sub ecx, eax
mov esi, ecx
mov ecx, dword [ebp - 0x60]
lea eax, [ecx + 1]
jmp 0x100051c0
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x100051c0
sub ecx, eax
cmp esi, ecx
jbe 0x1000523d
mov esi, dword [ebp - 0x60]
mov ecx, esi
lea eax, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x100051d7
sub ecx, eax
cmp byte [ecx + edi], 0x3a
push esi
je 0x1000520c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x90]
push str._NativeUACCtrl__getCurrentHostName2__CheckHostName___s___2_
push edx
call fcn.10010a50
mov eax, dword [ebp - 0x60]
push eax
push str._s:80
lea ecx, [ebp]
push ecx
jmp 0x10005262
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x90]
push str._NativeUACCtrl__getCurrentHostName2__CheckHostName___s___3_
push eax
call fcn.10010a50
movzx ecx, word [ebp - 0x58]
mov edx, dword [ebp - 0x60]
push ecx
push edx
lea eax, [ebp]
push str._s:_d
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x1c
jmp 0x1000526b
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x90]
push ecx
push str._NativeUACCtrl__getCurrentHostName2__CheckHostName___s___4_
push eax
call fcn.10010a50
mov ecx, dword [ebp - 0x60]
push ecx
push str._s:80
lea edx, [ebp]
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x18
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCR80.dll__strdup]
mov ecx, dword [ebp - 0x30]
add esp, 4
mov dword [ecx], eax
jmp 0x1000529d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x90]
push str._NativeUACCtrl__getCurrentHostName2__LocationURL__NULL_
push eax
call fcn.10010a50
add esp, 8
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x100052ac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x100052bb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x100052ca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x100052d9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x100052e8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x100052f8
push eax
call esi
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x10005308
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x10005318
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x10005328
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x10005338
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x10005348
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x10005358
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x90]
push ecx
push str._NativeUACCtrl__getCurrentHostName2____s_
push eax
call fcn.10010a50
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push ecx
call esi
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.1002d777
add ebp, 0x104
mov esp, ebp
pop ebp
ret 4