Function at 0x401000
Capabilities:
Get http document via iwebbrowser2

Disassembly:
sub esp, 0xc6c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x87c]
push 0x400
xor ebp, ebp
push eax
push ebp
mov byte [esp + 0x888], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4017af
push ebp
lea ecx, [esp + 0xf8]
push ebp
lea edx, [esp + 0x200]
push ecx
lea eax, [esp + 0x888]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x4017af
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.mbmabptebkjcdlgtjmskjwtsdhjbmkmwtrak
mov dword [esp + 0x44], 2
call esi
lea ecx, [esp + 0x14]
mov edi, eax
push ecx
push edi
push 0x4020c8
push 1
push ebp
push ebp
push 0x402088
mov dword [esp + 0x30], ebp
call fcn.004017c0
add esp, 0x1c
test eax, eax
jge 0x4010d7
lea edx, [esp + 0x14]
mov dword [esp + 0x40], 1
push edx
push edi
push 0x4020c8
push 1
push ebp
push ebp
push 0x4020a8
call fcn.004017c0
add esp, 0x1c
test eax, eax
jge 0x4010d7
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc6c
ret 0x10
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebp
push edx
mov ecx, dword [eax]
push 0x402098
push eax
call dword [ecx]
test eax, eax
jge 0x401118
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x14], ebp
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc6c
ret 0x10
lea edx, [esp + 0x30]
mov dword [esp + 0x44], ebp
push edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x44]
mov word [esp + 0x30], 0xa
mov eax, dword [esp + 0x20]
push ecx
push 2
mov dword [esp + 0x40], 0x80020004
mov dword [esp + 0x34], ebp
mov edi, dword [eax]
push 2
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_COleVariant::COleVariant
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
push 0x4030d8
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
call esi
push eax
push str.admin
call esi
push eax
push str.wsJet
call esi
push eax
mov ecx, dword [esp + 0x40]
push ecx
call dword [edi + 0x84]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x74]
test eax, eax
push edx
setl bl
call esi
test bl, bl
je 0x4011c8
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x20]
jmp 0x401798
mov ecx, dword [str.crptaccwz97]
mov eax, dword [0x4030b0]
mov edx, dword [0x4030ac]
mov dword [esp + 0x58], ecx
mov ecx, dword [str.crptaccwz2k]
mov dword [esp + 0x60], eax
mov eax, dword [0x4030a4]
mov dword [esp + 0x5c], edx
mov edx, dword [0x4030a0]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x403098]
mov dword [esp + 0x54], eax
xor eax, eax
cmp word [esp + 0x40], bp
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], eax
jle 0x40177e
mov ebx, dword [sym.imp.MSVCRT.dll__makepath]
cmp ax, bp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
jne 0x401254
lea edx, [esp + 0x28]
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0xf8]
push eax
lea edx, [esp + 0x200]
push ecx
lea eax, [esp + 0x308]
push edx
push eax
jmp 0x401276
lea ecx, [esp + 0x28]
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0xf8]
push edx
lea ecx, [esp + 0x200]
push eax
lea edx, [esp + 0x308]
push ecx
push edx
call ebx
add esp, 0x14
lea eax, [esp + 0x73c]
lea ecx, [esp + 0x2fc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40173d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebp
lea ecx, [esp + 0x34]
call fcn.00401830
push 0xe
push 0x4030d8
lea ecx, [esp + 0xec]
call sub.MFC42.DLL_COleVariant::COleVariant_1
lea ebp, [esp + 0x18]
mov edi, eax
push ebp
mov ebx, dword [esp + 0x48]
mov eax, dword [edi]
sub esp, 0x10
mov ebp, esp
sub esp, 0x10
mov ecx, dword [edi + 4]
mov ebx, dword [ebx]
mov dword [ebp], eax
mov eax, dword [esp + 0x54]
mov edx, dword [edi + 8]
mov dword [ebp + 4], ecx
lea ecx, [esp + 0x98]
mov edi, dword [edi + 0xc]
mov dword [ebp + 8], edx
mov edx, esp
push 2
push 0
mov dword [ebp + 0xc], edi
mov dword [edx], eax
mov eax, dword [esp + 0x60]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x64]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x68]
mov dword [edx + 0xc], eax
call sub.MFC42.DLL_COleVariant::COleVariant
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x330]
push ecx
call ebp
push eax
mov edx, dword [esp + 0x7c]
push edx
call dword [ebx + 0x58]
mov edi, eax
lea eax, [esp + 0x74]
push eax
call esi
lea ecx, [esp + 0xe4]
push ecx
call esi
test edi, edi
jl 0x401735
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 2
mov edi, dword [edx]
push 2
lea ecx, [esp + 0xb0]
call sub.MFC42.DLL_COleVariant::COleVariant
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
push str.USysRegInfo
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call ebp
push eax
mov ecx, dword [esp + 0x30]
push ecx
call dword [edi + 0x9c]
lea edx, [esp + 0xa4]
mov edi, eax
push edx
call esi
test edi, edi
jl 0x401735
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
test eax, eax
jl 0x401735
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x34]
test eax, eax
jl 0x401735
cmp word [esp + 0x2c], 0
jne 0x401735
mov ebx, dword [sym.imp.MSVCRT.dll__makepath]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xb4]
test eax, eax
jl 0x40173b
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
push 0xe
mov edi, dword [edx]
push str.ValName
lea ecx, [esp + 0x90]
call sub.MFC42.DLL_COleVariant::COleVariant_1
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x38]
push ecx
call dword [edi + 0x30]
lea edx, [esp + 0x84]
mov edi, eax
push edx
call esi
test edi, edi
jl 0x40173b
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x64]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
jl 0x40173b
cmp word [esp + 0x64], 8
jne 0x40170b
mov eax, dword [esp + 0x6c]
push str.Bitmap
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4015b8
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd0]
push 0x403078
lea edx, [esp + 0xf8]
push str.craccwizard
lea eax, [esp + 0x200]
push edx
lea ecx, [esp + 0x308]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x38]
add esp, 0x14
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xd4]
mov edi, dword [edx]
push eax
push 0xe
push str.Value
call sub.MFC42.DLL_COleVariant::COleVariant_1
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x38]
push ecx
call dword [edi + 0x30]
lea edx, [esp + 0xd4]
mov edi, eax
push edx
call esi
test edi, edi
jl 0x40173b
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2fc]
push 0xe
push ecx
mov edi, dword [eax]
lea ecx, [esp + 0xbc]
call sub.MFC42.DLL_COleVariant::COleVariant_1
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [edx + 0xc], eax
call dword [edi + 0x48]
lea edx, [esp + 0xb4]
mov edi, eax
push edx
call esi
test edi, edi
jl 0x40173b
push 1
lea ecx, [esp + 0x34]
call fcn.00401830
cmp word [esp + 0x30], 2
jne 0x4015a6
movsx ecx, word [esp + 0x38]
jmp 0x4015a8
xor ecx, ecx
mov eax, dword [esp + 0x10]
push ecx
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x164]
cmp word [esp + 0x64], 8
jne 0x40170b
mov eax, dword [esp + 0x6c]
push str.Library
push eax
call ebp
add esp, 8
test eax, eax
jne 0x40170b
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd0]
cmp word [esp + 0x48], 0
jne 0x401614
lea edx, [esp + 0x28]
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0xf8]
push eax
lea edx, [esp + 0x200]
push ecx
lea eax, [esp + 0x308]
push edx
push eax
jmp 0x401636
lea ecx, [esp + 0x28]
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0xf8]
push edx
lea ecx, [esp + 0x200]
push eax
lea edx, [esp + 0x308]
push ecx
push edx
call ebx
mov eax, dword [esp + 0x38]
add esp, 0x14
lea ecx, [esp + 0x1c]
mov edi, dword [eax]
push ecx
push 0xe
push str.Value
lea ecx, [esp + 0xd0]
call sub.MFC42.DLL_COleVariant::COleVariant_1
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x38]
push ecx
mov dword [edx + 0xc], eax
call dword [edi + 0x30]
lea edx, [esp + 0xc4]
mov edi, eax
push edx
call esi
test edi, edi
jl 0x40173b
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2fc]
push 0xe
push ecx
mov edi, dword [eax]
lea ecx, [esp + 0x9c]
call sub.MFC42.DLL_COleVariant::COleVariant_1
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [edx + 0xc], eax
call dword [edi + 0x48]
lea edx, [esp + 0x94]
mov edi, eax
push edx
call esi
test edi, edi
jl 0x40173b
push 1
lea ecx, [esp + 0x34]
call fcn.00401830
cmp word [esp + 0x30], 2
jne 0x4016f9
movsx ecx, word [esp + 0x38]
jmp 0x4016fb
xor ecx, ecx
mov eax, dword [esp + 0x10]
push ecx
push 1
push eax
mov edx, dword [eax]
call dword [edx + 0x164]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xec]
lea ecx, [esp + 0x2c]
mov eax, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x34]
cmp word [esp + 0x2c], 0
je 0x401407
jmp 0x40173b
mov ebx, dword [sym.imp.MSVCRT.dll__makepath]
xor ebp, ebp
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x40174e
mov edx, dword [eax]
push eax
call dword [edx + 0xc4]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x40176a
mov ecx, dword [eax]
push eax
call dword [ecx + 0x58]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x48]
inc eax
cmp ax, word [esp + 0x40]
mov dword [esp + 0x48], eax
jl 0x401223
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x401790
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4017a2
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x20], ebp
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x30]
push eax
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc6c
ret 0x10