Function at 0x40b651
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8a0
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x696]
mov word [ebp - 0x698], bx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x698]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x286]
mov word [ebp - 0x288], bx
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x698]
push eax
call fcn.00401120
add esp, 0xc
test eax, eax
je 0x40bb49
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x48e]
mov word [ebp - 0x490], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0040a0c6
mov eax, dword [eax + 8]
cmp eax, 2
jne 0x40b87b
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x86]
mov word [ebp - 0x88], bx
cmp word [esi + 0x90], bx
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
stosw word es:[edi], ax
lea eax, [esi + 0x90]
je 0x40b72c
push eax
push 0x4220a0
lea eax, [ebp - 0x88]
push 0x3f
push eax
call ebx
add esp, 0x10
jmp 0x40b73e
push 0
lea eax, [ebp - 0x88]
push 0x3f
push eax
mov ecx, esi
call fcn.0040cc86
and word [ebp - 0x108], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x106]
cmp word [esi + 0x110], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x110]
je 0x40b77b
push eax
push 0x4220a0
lea eax, [ebp - 0x108]
push 0x3f
push eax
call ebx
add esp, 0x10
jmp 0x40b7ad
lea eax, [ebp - 4]
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 8]
push eax
push str.umid
push str.Softwarehao123JuziBrowser
push SysReAllocString
mov dword [ebp - 4], 0x7e
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
and word [ebp - 0x188], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x186]
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x188]
mov ecx, esi
push eax
call fcn.0040d14c
and word [ebp - 0x8a0], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x89e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x103
lea eax, [ebp - 0x8a0]
push edi
push eax
push str._unipr:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00402abe
add esp, 0x10
lea eax, [ebp - 0x8a0]
mov ecx, esi
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.0040d0d6
movzx eax, al
push eax
mov ecx, esi
call fcn.0040ceb2
movzx eax, al
push eax
mov ecx, esi
call fcn.0040cfe7
movzx eax, al
push eax
mov ecx, esi
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.0040bbc8
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x88]
push eax
add esi, 0x10
lea eax, [ebp - 0x288]
push esi
push eax
push str.typeunInstallEndver_scid_smid_sumid_si_dir_diec_dos_dsafe_die_dflash_sipr_s
lea eax, [ebp - 0x490]
push edi
push eax
call ebx
add esp, 0x3c
jmp 0x40bb2a
cmp eax, 3
jne 0x40b9d1
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x86]
mov word [ebp - 0x88], bx
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.0040cdc1
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
jne 0x40b8dc
call fcn.0040d67a
add eax, 0x34
mov eax, dword [eax + 4]
test eax, eax
jne 0x40b8c8
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 0x4220a0
lea eax, [ebp - 0x88]
push 0x3f
push eax
call ebx
add esp, 0x10
and word [ebp - 0x208], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x206]
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push 0x3f
push eax
mov ecx, esi
call fcn.0040cc86
and word [ebp - 0x108], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x106]
mov dword [ebp - 4], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x7e
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 4]
push eax
push str.umid
push str.Softwarehao123JuziBrowser
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
and word [ebp - 0x188], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x186]
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x188]
mov ecx, esi
push eax
call fcn.0040d14c
lea eax, [ebp - 0x188]
mov ecx, esi
push eax
call fcn.0040d0d6
movzx eax, al
push eax
mov ecx, esi
call fcn.0040ceb2
movzx eax, al
push eax
mov ecx, esi
call fcn.0040cfe7
movzx eax, al
push eax
mov ecx, esi
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.0040bbc8
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x288]
push eax
push str.typeupdateEndver_scid_smid_sumid_si_dir_diec_dos_dsafe_die_dflash_s
jmp 0x40bb19
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x86]
mov word [ebp - 0x88], bx
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.0040cdc1
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
jne 0x40ba29
call fcn.0040d67a
add eax, 0x34
mov eax, dword [eax + 4]
test eax, eax
jne 0x40ba15
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 0x4220a0
lea eax, [ebp - 0x88]
push 0x3f
push eax
call ebx
add esp, 0x10
and word [ebp - 0x108], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x106]
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x108]
push 0x3f
push eax
mov ecx, esi
call fcn.0040cc86
and word [ebp - 0x188], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x186]
mov dword [ebp - 4], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x7e
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 4]
push eax
push str.umid
push str.Softwarehao123JuziBrowser
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
and word [ebp - 0x208], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x206]
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
mov ecx, esi
push eax
call fcn.0040d14c
lea eax, [ebp - 0x208]
mov ecx, esi
push eax
call fcn.0040d0d6
movzx eax, al
push eax
mov ecx, esi
call fcn.0040ceb2
movzx eax, al
push eax
mov ecx, esi
call fcn.0040cfe7
movzx eax, al
push eax
mov ecx, esi
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.0040bbc8
push eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x288]
push eax
push str.typeinstallEndver_scid_smid_sumid_si_dir_diec_dos_dsafe_die_dflash_s
lea eax, [ebp - 0x490]
push 0x103
push eax
call ebx
add esp, 0x38
lea eax, [ebp - 0x490]
push eax
push str.http:__log.123juzi.net_log.php
push str._s__s
push dword [ebp + 0xc]
push dword [ebp + 8]
call ebx
add esp, 0x14
push 1
pop ebx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 8