joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407bf9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
xor edx, edx
mov ecx, 0x42e060
push 8
mov eax, edx
pop esi
mov edi, eax
and edi, 1
dec edi
not edi
and edi, 0xedb88320
shr eax, 1
xor eax, edi
dec esi
jne 0x407c07
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x42e460
jb 0x407c02
pop edi
pop esi
ret

Function at 0x407c2d
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 4]
test edx, edx
jbe 0x407c5a
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42e060]
xor eax, esi
inc ecx
dec edx
jne 0x407c3b
pop edi
pop esi
ret 4

Function at 0x40a138
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov edx, dword [ecx]
and edx, 7
cmp dword [ebp + 0xc], 5
jae 0x40a14f
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
mov ecx, dword [ebp + 8]
lea esi, [eax + ecx]
mov eax, dword [ebp + 0xc]
lea edi, [ecx + eax - 4]
cmp esi, edi
jae 0x40a176
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x40a176
inc esi
jmp 0x40a167
mov eax, esi
sub eax, ecx
cmp esi, edi
mov dword [ebp - 8], eax
jae 0x40a266
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x40a1ab
xor edx, edx
mov cl, byte [esi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x40a1d8
cmp cl, 0xff
je 0x40a1d8
and edx, 3
shl edx, 1
or edx, 1
inc eax
jmp 0x40a15a
dec ecx
shl edx, cl
and edx, 7
je 0x40a191
movzx ecx, byte [edx + 0x423614]
mov edi, esi
sub edi, ecx
cmp byte [edx + 0x42360c], 0
mov cl, byte [edi + 4]
je 0x40a1d3
test cl, cl
je 0x40a1d3
cmp cl, 0xff
jne 0x40a191
mov dword [ebp - 4], eax
jmp 0x40a1a0
xor ebx, ebx
mov bh, cl
mov bl, byte [esi + 3]
movzx ecx, byte [esi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
cmp dword [ebp + 0x18], 0
je 0x40a201
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x40a208
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x40a23c
movzx edi, byte [edx + 0x423614]
push 0x18
mov eax, ebx
shl edi, 3
pop ecx
sub ecx, edi
shr eax, cl
test al, al
je 0x40a227
cmp al, 0xff
jne 0x40a239
push 0x20
mov eax, dword [ebp - 8]
pop ecx
push 1
sub ecx, edi
pop edi
shl edi, cl
dec edi
xor edi, ebx
jmp 0x40a1f3
mov eax, dword [ebp - 8]
mov ecx, ebx
mov byte [esi + 1], bl
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
add eax, 5
jmp 0x40a15a
mov esi, eax
push 3
sub esi, dword [ebp - 4]
pop edi
lea ecx, [esi - 1]
shl edx, cl
and edx, 7
cmp edi, esi
sbb ecx, ecx
pop edi
not ecx
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
pop ebx
mov dword [edx], ecx
leave
ret
Function at 0x40a466
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x40a476
xor eax, eax
jmp 0x40a4cb
push esi
lea eax, [ebp + 0x10]
push 0
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
and dword [ebp + 0x10], 0
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0xc], ecx
sub edi, ecx
mov dword [ebp - 4], ecx
test eax, eax
je 0x40a4c7
test ecx, ecx
je 0x40a4c7
test edi, edi
jbe 0x40a4c7
lea eax, [ebp + 0x10]
push 0
and dword [ebp + 0x10], 0
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0xc], ecx
sub edi, ecx
add dword [ebp - 4], ecx
jmp 0x40a49b
mov eax, dword [ebp - 4]
pop esi
pop edi
leave
ret
Function at 0x40a8c4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ecx
test esi, esi
je 0x40a961
cmp word [esi], 0
je 0x40a961
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
call ebx
test eax, eax
je 0x40a8f5
push 1
pop eax
jmp 0x40a963
and word [ebp - 0x210], 0
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x20e]
push esi
rep stosd dword es:[edi], eax
push 0x4280b8
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
pop edi
je 0x40a961
lea eax, [ebp - 0x210]
push eax
call ebx
test eax, eax
jne 0x40a956
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x210]
push eax
call fcn.0040a8c4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40a963
xor eax, eax
pop esi
pop ebx
leave
ret 4

Function at 0x40cea9
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push esi
dec eax
mov esi, ecx
je 0x40cf11
dec eax
je 0x40cee2
dec eax
je 0x40cec9
dec eax
jne 0x40cf2a
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x40cf2a
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004113d1
mov ecx, eax
call fcn.00411fa7
jmp 0x40cf2a
push 0
push 0
push 0x429b70
push 0x429e60
push dword [esi + 4]
call fcn.0041761d
add esp, 0x14
lea ecx, [esi + 0x5c0]
push 1
push 1
push 0x3ea
call fcn.00419b84
jmp 0x40cf2a
push 0
push 0
push 0x429b70
push 0x429e30
push dword [esi + 4]
call fcn.0041761d
add esp, 0x14
xor eax, eax
pop esi
ret 0x10
Function at 0x40d0f1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423680
push 0x420e8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x8007
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, dword [ebp + 8]
mov dword [0x42d928], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0040d52a
mov ecx, eax
call fcn.0040d55f
test eax, eax
je 0x40d1de
push ebx
push esi
push ebx
mov edi, 0x42d898
mov ecx, edi
call fcn.0040d254
call fcn.00415064
mov ecx, eax
call fcn.00415099
call fcn.0040d52a
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x1c], esi
cmp esi, ebx
jne 0x40d183
push ebx
push 0x42d888
push 0x42d92c
call sub.gdiplus.dll_GdiplusStartup
call fcn.0041e2bb
call fcn.0040d52a
mov ecx, eax
call fcn.0040dcd4
test eax, eax
je 0x40d1be
call fcn.0040d52a
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
cmp eax, 2
je 0x40d1af
call fcn.004113d1
mov ecx, eax
call fcn.0041427c
call fcn.0040eae2
mov dword [ebp - 0x24], eax
mov dword [eax + 8], 1
cmp esi, ebx
jne 0x40d1d7
mov eax, dword [0x42d92c]
cmp eax, ebx
je 0x40d1d7
push eax
call sub.gdiplus.dll_GdiplusShutdown
mov dword [0x42d92c], ebx
mov ecx, edi
call fcn.0040d366
or dword [ebp - 4], 0xffffffff
jmp 0x40d204
call fcn.0040d52a
cmp dword [eax + 8], 3
je 0x40d21b
call fcn.0040d52a
mov ecx, eax
call fcn.0040df46
call fcn.0040eae2
mov ecx, eax
call fcn.0040eb17
call fcn.0040eae2
mov ecx, eax
call fcn.0040f20e
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40dcd4
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x421a21
call fcn.00420e60
mov eax, 0x13dc
call fcn.00420e10
push ebx
push esi
push edi
mov edi, ecx
push 1
xor ebx, ebx
mov eax, dword [edi + 8]
pop esi
cmp eax, esi
mov dword [ebp - 0x10], ebx
jne 0x40ddb1
call fcn.0040e775
cmp dword [edi + 0xc], ebx
jne 0x40dd63
lea ecx, [ebp - 0x13e8]
call fcn.0040c22b
lea eax, [ebp - 0x13e8]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x13e0]
push eax
push 0x42d898
call fcn.0040e958
mov eax, dword [0x42d8a0]
push ebx
push 0x40e914
push ebx
push 0x831
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, esi
jne 0x40dd4f
mov dword [ebp - 0x10], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13e8]
call fcn.0040c3e7
jmp 0x40df02
push 0x7d0
lea eax, [ebp - 0x18]
push 2
push eax
mov dword [ebp - 0x18], str.hao123Juzi.exe
mov dword [ebp - 0x14], str.Uninst.exe
call fcn.004113d1
mov ecx, eax
call fcn.00411dca
test eax, eax
je 0x40dda0
call fcn.004113d1
mov ecx, eax
call fcn.00411e3d
mov dword [ebp - 0x10], eax
jmp 0x40df02
call fcn.0040eae2
mov dword [eax + 0xc], 0x70
jmp 0x40df02
cmp eax, 3
jne 0x40de4e
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x18], str.hao123Juzi.exe
neg eax
sbb eax, eax
mov dword [ebp - 0x14], str.Uninst.exe
and eax, 0x7d0
add eax, 0x3e8
push eax
lea eax, [ebp - 0x18]
push 2
push eax
call fcn.004113d1
mov ecx, eax
call fcn.00411dca
test eax, eax
je 0x40de01
call fcn.004113d1
mov ecx, eax
call fcn.00411e3d
mov dword [ebp - 0x10], eax
jmp 0x40de16
mov esi, dword [edi + 0x14]
neg esi
sbb esi, esi
add esi, 0xcc
call fcn.0040eae2
mov dword [eax + 0xc], esi
cmp dword [ebp - 0x10], ebx
je 0x40de42
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ebx, str.Softwarehao123JuziBrowser
push str.hasupdate
mov edi, SysReAllocString
push ebx
push edi
call esi
push str.chkupdate
push ebx
push edi
call esi
jmp 0x40df02
mov ecx, edi
call fcn.0040e514
jmp 0x40df02
lea ecx, [ebp - 0x6a4]
call fcn.0040b5cf
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.USER32.dll_GetActiveWindow]
call esi
mov edi, eax
lea eax, [ebp - 0x6a4]
push eax
lea eax, [ebp - 0x69c]
push eax
push 0x42d898
call fcn.0040e958
mov eax, dword [0x42d8a0]
push ebx
push 0x40e914
mov ebx, 0x831
push edi
mov edi, dword [sym.imp.USER32.dll_DialogBoxParamW]
push ebx
push eax
call edi
cmp eax, 6
jne 0x40def3
lea ecx, [ebp - 0xd38]
call fcn.004154dd
mov byte [ebp - 4], 2
call esi
mov esi, eax
lea eax, [ebp - 0xd38]
push eax
lea eax, [ebp - 0xd30]
push eax
push 0x42d898
call fcn.0040e958
mov eax, dword [0x42d8a0]
push 0
push 0x40e914
push esi
push ebx
push eax
call edi
push 1
pop ecx
cmp eax, ecx
jne 0x40dee4
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0xd38]
mov byte [ebp - 4], 1
call fcn.004155fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6a4]
call fcn.0040bdde
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40df14
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push 1
mov esi, ecx
pop edi
push dword [esp + 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 4], eax
je 0x40df3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40df3f
xor edi, edi
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x40df5d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and word [ebp - 0x210], 0
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, dword [sym.imp.MSVCRT.dll__wcsicmp]
mov edi, eax
push str.Update.exe
push edi
call esi
pop ecx
test eax, eax
pop ecx
jne 0x40dfc8
mov dword [ebp - 4], 3
jmp 0x40dffd
push str.Uninst.exe
push edi
call esi
pop ecx
test eax, eax
pop ecx
je 0x40dff6
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push str._uninst:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00402b7f
add esp, 0xc
test eax, eax
je 0x40dffd
mov dword [ebp - 4], 2
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x40e004
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
cmp ebx, esi
je 0x40e08f
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
push 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
lea eax, [ebp - 4]
push eax
push str._silent:
push ebx
mov dword [ebp - 4], esi
call fcn.00402b7f
add esp, 0xc
test eax, eax
jne 0x40e08c
lea eax, [ebp - 4]
push eax
push esi
push edi
call fcn.004113d1
mov ecx, eax
call fcn.004132e9
test eax, eax
je 0x40e08f
cmp dword [ebp - 4], esi
je 0x40e08f
push 1
pop esi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e096
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x40e140
cmp dword [ebp + 0xc], ebx
je 0x40e140
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp - 0x208]
push str.hao123Juzi.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
test eax, eax
je 0x40e13c
lea eax, [ebp - 0x208]
push eax
push 0x4280b8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop ebx
mov eax, ebx
jmp 0x40e142
xor eax, eax
pop ebx
leave
ret 8

Function at 0x40e147
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40e1c6
cmp dword [ebp + 0xc], esi
je 0x40e1c6
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
pop edi
je 0x40e1c2
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Uninst.exe
lea eax, [ebp - 0x208]
push str.hao123JuziBrowser
push eax
push str._s_s_s
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
push 1
pop esi
mov eax, esi
jmp 0x40e1c8
xor eax, eax
pop esi
leave
ret 8
Function at 0x40e5ca
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40e651
cmp dword [ebp + 0xc], esi
je 0x40e651
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], si
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
push str._uppath:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00402ad1
add esp, 0x10
test eax, eax
pop edi
je 0x40e64d
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e64d
lea eax, [ebp - 0x208]
push eax
push 0x4280b8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop esi
mov eax, esi
jmp 0x40e653
xor eax, eax
pop esi
leave
ret 8

Function at 0x40e746
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push 1
lea eax, [ebp - 4]
pop esi
push eax
push str._nadmin:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00402b7f
add esp, 0xc
test eax, eax
je 0x40e770
xor esi, esi
mov eax, esi
pop esi
leave
ret

Function at 0x40e775
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push esi
push 0x40e7a5
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x40e799
push 1
pop esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret
Function at 0x4108ec
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 0xc], esi
je 0x410a20
cmp dword [ebp + 0xc], esi
je 0x410a20
push ebx
push edi
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x8e]
mov word [ebp - 0x90], si
cmp dword [ebp + 0x10], esi
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 1
stosw word es:[edi], ax
pop edi
mov dword [ebp - 4], 0x7e
mov dword [ebp - 8], edi
jne 0x41096e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 8]
push eax
push 0x42c880
push str.Softwarehao123JuziBrowser
push SysReAllocString
call ebx
test eax, eax
jne 0x41096e
cmp word [ebp - 0x90], si
jne 0x4109fb
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebp - 0x10]
mov dword [ebp + 0x10], eax
push ecx
push esi
push eax
push 0x410876
push esi
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x493e0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4109e9
push 0x80
lea eax, [ebp - 0x90]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], edi
mov dword [ebp - 4], 0x7e
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 8]
push eax
push 0x42c880
push str.Softwarehao123JuziBrowser
push SysReAllocString
call ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x90], si
je 0x410a19
lea eax, [ebp - 0x90]
push eax
push 0x4280b8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0xc]
pop edi
pop ebx
jmp 0x410a22
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x410a27
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push 1
xor eax, eax
cmp dword [ebp + 8], eax
pop edx
mov dword [ebp - 0xc], edx
je 0x410b12
cmp dword [ebp + 0xc], eax
je 0x410b12
push ebx
push esi
push edi
push 0x1f
pop ecx
lea edi, [ebp - 0x8a]
mov word [ebp - 0x8c], ax
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov ebx, 0x42af4c
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 4]
push eax
mov edi, str.Softwarehao123JuziBrowser
push ebx
push edi
push SysReAllocString
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0x7e
call esi
test eax, eax
jne 0x410aa0
cmp word [ebp - 0x8c], ax
jne 0x410aef
push 0x80
lea eax, [ebp - 0x8c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x7e
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x410ae9
cmp word [ebp - 0x8c], ax
jne 0x410aef
and dword [ebp - 0xc], 0
jmp 0x410b0a
lea eax, [ebp - 0x8c]
push eax
push 0x4280b8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
jmp 0x410b14
mov eax, edx
leave
ret 8
Function at 0x410d3b
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x46
pop ecx
xor eax, eax
lea edi, [ebp - 0x13c]
mov dword [ebp - 0x140], 0x11c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x140]
push eax
call esi
test eax, eax
jne 0x410d8b
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x114
push eax
call esi
test eax, eax
je 0x410e24
mov eax, dword [ebp - 0x130]
xor ecx, ecx
sub eax, ecx
je 0x410e24
dec eax
je 0x410e24
dec eax
jne 0x410e24
cmp dword [ebp - 0x13c], 6
jne 0x410dcf
mov eax, dword [ebp - 0x138]
cmp eax, 2
je 0x410dbe
cmp eax, 3
jne 0x410dc2
mov al, 3
jmp 0x410e26
cmp eax, 1
je 0x410dcb
cmp eax, ecx
jne 0x410e24
mov al, 2
jmp 0x410e26
cmp dword [ebp - 0x13c], 5
jne 0x410e24
cmp dword [ebp - 0x138], 2
jne 0x410e19
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x20]
mov dword [ebp - 0x24], 0x24
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x410e24
cmp byte [ebp - 0x26], 1
jne 0x410e24
cmp word [ebp - 0x24], 9
jne 0x410e24
mov al, 1
jmp 0x410e26
cmp dword [ebp - 0x138], 1
mov al, 1
je 0x410e26
mov al, 4
pop edi
pop esi
leave
ret

Function at 0x410ea0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
and word [ebp - 0x294], 0
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x292]
rep stosd dword es:[edi], eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 4]
push eax
push 0x42c880
push str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
push SysReAllocString
mov dword [ebp - 8], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x410f89
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410f89
and word [ebp - 0x88], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x86]
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.00401120
add esp, 0xc
test eax, eax
je 0x410f89
mov esi, dword [sym.imp.MSVCRT.dll_wcschr]
lea eax, [ebp - 0x88]
push 0x2e
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x410f89
add eax, 2
push 0x2e
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x410f89
and word [eax], 0
lea eax, [ebp - 0x88]
push eax
push 0x4280b8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop eax
jmp 0x410f8b
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x411f22
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x6c]
cmp eax, edi
jne 0x411f34
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
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411f4a
mov ecx, esi
call fcn.00412024
test eax, eax
je 0x411f76
mov ecx, esi
call fcn.004121ae
test eax, eax
je 0x411f8d
mov ecx, esi
call fcn.00412c34
cmp dword [esi + 0x2c], edi
je 0x411f68
mov ecx, esi
call fcn.00413c47
push 3
mov ecx, esi
call fcn.0041631f
push 1
pop edi
jmp 0x411fa2
push 1
mov ecx, esi
call fcn.0041631f
call fcn.0040eae2
mov dword [eax + 0xc], 0x68
jmp 0x411f96
push 2
mov ecx, esi
call fcn.0041631f
call fcn.00415064
mov ecx, eax
call fcn.004151f4
mov eax, edi
pop edi
pop esi
ret