Function at 0x401100
Capabilities:
Extract resource via kernel32 functions
Load windows common language runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40dff8
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x415070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
je 0x401171
cmp eax, 1
je 0x401171
push eax
push str.Received_error_code__d_when_initializing_COM
lea eax, [ebp - 0x114]
push 0x100
push eax
call fcn.00401cbc
add esp, 0x10
lea eax, [ebp - 0x114]
push 0x10
push str.Zee_Drive
push eax
jmp 0x4018ab
push str.mscoree.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x40189f
push str.CorBindToRuntime
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x40189f
lea eax, [ebp - 0x220]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
mov dword [ebp - 0x220], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401882
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.Release
push dword [ebp - 0x220]
mov dword [ebp - 0x230], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x220]
movzx ebx, bl
test eax, eax
mov esi, 1
cmove ebx, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x401887
push str.Assembly
push 0x68
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x401267
lea ecx, [ebp - 0x2d4]
call fcn.00401be1
push 0x414078
lea eax, [ebp - 0x2d4]
push eax
call fcn.004026f5
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
jne 0x401292
lea ecx, [ebp - 0x298]
call fcn.00401be1
push 0x414078
lea eax, [ebp - 0x298]
push eax
call fcn.004026f5
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4012bb
lea ecx, [ebp - 0x25c]
call fcn.00401be1
push 0x414078
lea eax, [ebp - 0x25c]
push eax
call fcn.004026f5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4012fe
lea ecx, [ebp - 0x2c8]
call fcn.00401be1
push 0x414078
lea eax, [ebp - 0x2c8]
push eax
call fcn.004026f5
push 0x10
push str.Zee_Drive
push str.Failed_to_locate_and_initialize_the_assembly_resource
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x4018b3
ret
lea eax, [ebp - 0x228]
push eax
push 0x413984
push 0x413994
push 0x413788
mov dword [ebp - 4], 0xffffffff
push str.v4.0.30319
mov dword [ebp - 0x228], 0
call dword [ebp - 0x21c]
test eax, eax
jns 0x401370
push eax
push str.v4.0.30319
push str.Could_not_bind_to_version__ls_of_the_.Net_runtime_service._Failed_with_code__d
lea eax, [ebp - 0x114]
push 0x100
push eax
call fcn.00401cbc
add esp, 0x14
lea eax, [ebp - 0x114]
push 0x10
push str.Zee_Drive
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, esi
jmp 0x4018b8
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
je 0x4013c8
push eax
push str.v4.0.30319
push str.Could_not_start_version__ls_of_the_.Net_runtime_service._Failed_with_code__d
lea eax, [ebp - 0x114]
push 0x100
push eax
call fcn.00401cbc
add esp, 0x14
lea eax, [ebp - 0x114]
push 0x10
push str.Zee_Drive
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
jmp 0x4018b8
mov dword [ebp - 0x21c], 0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x230]
mov dword [ebp - 0x230], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jne 0x4017d8
mov eax, dword [ebp - 0x230]
test eax, eax
sete cl
test cl, cl
jne 0x4017d8
mov dword [ebp - 0x220], 0
mov byte [ebp - 4], 4
test eax, eax
jne 0x40142d
push 0x80004003
call fcn.00401a70
lea edx, [ebp - 0x220]
push edx
mov dword [ebp - 0x220], 0
mov ecx, dword [eax]
push 0x4139a4
push eax
call dword [ecx]
test eax, eax
jne 0x4017ab
cmp dword [ebp - 0x220], eax
sete al
test al, al
jne 0x4017ab
lea eax, [ebp - 0x21c]
push eax
push 1
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayCreateEx]
test eax, eax
je 0x4014a3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x218], str.Failed_to_allocate_descriptor
call fcn.00401b7e
push 0x414078
lea eax, [ebp - 0x274]
push eax
call fcn.004026f5
mov eax, dword [ebp - 0x21c]
mov ecx, 0x93
mov dword [eax + 0x10], ebx
mov eax, dword [ebp - 0x21c]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x21c]
mov dword [eax + 0xc], edi
mov eax, dword [ebp - 0x21c]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x21c]
mov word [eax + 2], cx
mov dword [ebp - 0x22c], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x401500
push 0x80004003
call fcn.00401a70
lea edx, [ebp - 0x22c]
push edx
push dword [ebp - 0x21c]
mov dword [ebp - 0x22c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb4]
test eax, eax
jne 0x40177e
cmp dword [ebp - 0x22c], eax
sete al
test al, al
jne 0x40177e
push dword [ebp - 0x21c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroyData]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x224], 0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x22c]
test esi, esi
jne 0x401571
push 0x80004003
call fcn.00401a70
push str.Thinkscape.ZeeDrive.Wizard.Entrypoint
lea ecx, [ebp - 0x218]
call section..text
mov edi, eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x401597
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov dword [ebp - 0x224], 0
mov eax, dword [edi]
test eax, eax
je 0x4015ab
mov ecx, dword [eax]
jmp 0x4015ad
xor ecx, ecx
mov eax, dword [esi]
lea edx, [ebp - 0x224]
push edx
push ecx
push esi
call dword [eax + 0x44]
lea ecx, [ebp - 0x218]
mov esi, eax
mov byte [ebp - 4], 6
call fcn.00401090
test esi, esi
jne 0x401751
cmp dword [ebp - 0x224], esi
sete al
test al, al
jne 0x401751
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 8
movq xmm0, qword [ebp - 0x240]
mov esi, dword [ebp - 0x224]
movq qword [ebp - 0x248], xmm0
movq xmm0, qword [ebp - 0x238]
movq qword [ebp - 0x250], xmm0
test esi, esi
jne 0x40162a
push 0x80004003
call fcn.00401a70
push str.Main
lea ecx, [ebp - 0x218]
call section..text
mov byte [ebp - 4], 9
mov eax, dword [eax]
test eax, eax
je 0x401648
mov edx, dword [eax]
jmp 0x40164a
xor edx, edx
movq xmm0, qword [ebp - 0x248]
mov ecx, dword [esi]
lea eax, [ebp - 0x2e4]
push eax
push 0
sub esp, 0x10
mov eax, esp
push 0
push 0x118
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x250]
push edx
push esi
movq qword [eax + 8], xmm0
call dword [ecx + 0xe4]
lea ecx, [ebp - 0x218]
mov esi, eax
mov byte [ebp - 4], 8
call fcn.00401090
test esi, esi
je 0x4016c4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x218], str.Failed_to_invoke_main_method
call fcn.00401b7e
push 0x414078
lea eax, [ebp - 0x2b0]
push eax
call fcn.004026f5
mov esi, dword [ebp - 0x2dc]
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x4016eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x4016ff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x401713
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x401727
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x40174a
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
jmp 0x4018b8
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x218], str.Failed_to_retrieve_assembly_type
call fcn.00401b7e
push 0x414078
lea eax, [ebp - 0x28c]
push eax
call fcn.004026f5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x218], str.Failed_to_load_assembly_in_to_app_domain
call fcn.00401b7e
push 0x414078
lea eax, [ebp - 0x2bc]
push eax
call fcn.004026f5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x218], str.Failed_to_get_reference_to_app_domain
call fcn.00401b7e
push 0x414078
lea eax, [ebp - 0x2a4]
push eax
call fcn.004026f5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x218], str.Failed_to_get_reference_to_default_domain
call fcn.00401b7e
push 0x414078
lea eax, [ebp - 0x268]
push eax
call fcn.004026f5
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0xb
call fcn.00401caf
push eax
push str.Zee_Drive_failed_to_launch_due_to_reason__s
lea eax, [ebp - 0x214]
push 0x100
push eax
call fcn.00401cbc
add esp, 0x10
lea eax, [ebp - 0x214]
push 0x10
push str.Zee_Drive
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x401855
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroyData]
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x401871
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x280]
call fcn.00401bf2
mov eax, 0x4018b3
ret
mov esi, 1
push 0x10
push str.Zee_Drive
push str.The_Microsoft_.Net_Framework_v4.5_or_later_was_not_found_on_your_PC._Please_install_the_.Net_framework_4.5_or_later_and_then_try_running_Zee_Drive_again.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, esi
jmp 0x4018b8
push 0x10
push str.Zee_Drive
push str.Zee_Drive_requires_the_Microsoft_.Net_Framework_v4.5_or_later_to_run._Please_install_the_.Net_4.5_framework_or_later_and_then_try_running_Zee_Drive_again.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00401b6f
mov esp, ebp
pop ebp
ret 0x10