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

Disassembly:
push esi
push edi
xor edx, edx
mov ecx, 0x42bd20
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 0x407596
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x42c120
jb 0x407591
pop edi
pop esi
ret

Function at 0x4075bc
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 4]
test edx, edx
jbe 0x4075e9
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 + 0x42bd20]
xor eax, esi
inc ecx
dec edx
jne 0x4075ca
pop edi
pop esi
ret 4

Function at 0x409ac7
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 0x409ade
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 0x409b05
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x409b05
inc esi
jmp 0x409af6
mov eax, esi
sub eax, ecx
cmp esi, edi
mov dword [ebp - 8], eax
jae 0x409bf5
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x409b3a
xor edx, edx
mov cl, byte [esi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x409b67
cmp cl, 0xff
je 0x409b67
and edx, 3
shl edx, 1
or edx, 1
inc eax
jmp 0x409ae9
dec ecx
shl edx, cl
and edx, 7
je 0x409b20
movzx ecx, byte [edx + 0x421604]
mov edi, esi
sub edi, ecx
cmp byte [edx + 0x4215fc], 0
mov cl, byte [edi + 4]
je 0x409b62
test cl, cl
je 0x409b62
cmp cl, 0xff
jne 0x409b20
mov dword [ebp - 4], eax
jmp 0x409b2f
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 0x409b90
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x409b97
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x409bcb
movzx edi, byte [edx + 0x421604]
push 0x18
mov eax, ebx
shl edi, 3
pop ecx
sub ecx, edi
shr eax, cl
test al, al
je 0x409bb6
cmp al, 0xff
jne 0x409bc8
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 0x409b82
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 0x409ae9
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 0x409df5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x409e05
xor eax, eax
jmp 0x409e5a
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 0x409e56
test ecx, ecx
je 0x409e56
test edi, edi
jbe 0x409e56
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 0x409e2a
mov eax, dword [ebp - 4]
pop esi
pop edi
leave
ret
Function at 0x40a253
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 0x40a2f0
cmp word [esi], 0
je 0x40a2f0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
call ebx
test eax, eax
je 0x40a284
push 1
pop eax
jmp 0x40a2f2
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 0x4260b8
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 0x40a2f0
lea eax, [ebp - 0x210]
push eax
call ebx
test eax, eax
jne 0x40a2e5
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x210]
push eax
call fcn.0040a253
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40a2f2
xor eax, eax
pop esi
pop ebx
leave
ret 4

Function at 0x40c89e
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push esi
dec eax
mov esi, ecx
je 0x40c906
dec eax
je 0x40c8d7
dec eax
je 0x40c8be
dec eax
jne 0x40c91f
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x40c91f
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00410c4e
mov ecx, eax
call fcn.004117ad
jmp 0x40c91f
push 0
push 0
push 0x427b84
push 0x427e74
push dword [esi + 4]
call fcn.0041626a
add esp, 0x14
lea ecx, [esi + 0x5c0]
push 1
push 1
push 0x3ea
call fcn.004187d6
jmp 0x40c91f
push 0
push 0
push 0x427b84
push 0x427e44
push dword [esi + 4]
call fcn.0041626a
add esp, 0x14
xor eax, eax
pop esi
ret 0x10
Function at 0x40cae6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421670
push 0x41faec
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 [0x42b608], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0040cf1f
mov ecx, eax
call fcn.0040cf54
test eax, eax
je 0x40cbd3
push ebx
push esi
push ebx
mov edi, 0x42b578
mov ecx, edi
call fcn.0040cc49
call fcn.00413fb3
mov ecx, eax
call fcn.00413fe8
call fcn.0040cf1f
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x1c], esi
cmp esi, ebx
jne 0x40cb78
push ebx
push 0x42b568
push 0x42b60c
call sub.gdiplus.dll_GdiplusStartup
call fcn.0041cf2d
call fcn.0040cf1f
mov ecx, eax
call fcn.0040d59b
test eax, eax
je 0x40cbb3
call fcn.0040cf1f
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
cmp eax, 2
je 0x40cba4
call fcn.00410c4e
mov ecx, eax
call fcn.00413745
call fcn.0040e378
mov dword [ebp - 0x24], eax
mov dword [eax + 8], 1
cmp esi, ebx
jne 0x40cbcc
mov eax, dword [0x42b60c]
cmp eax, ebx
je 0x40cbcc
push eax
call sub.gdiplus.dll_GdiplusShutdown
mov dword [0x42b60c], ebx
mov ecx, edi
call fcn.0040cd5b
or dword [ebp - 4], 0xffffffff
jmp 0x40cbf9
call fcn.0040cf1f
cmp dword [eax + 8], 3
je 0x40cc10
call fcn.0040cf1f
mov ecx, eax
call fcn.0040d80d
call fcn.0040e378
mov ecx, eax
call fcn.0040e3ad
call fcn.0040e378
mov ecx, eax
call fcn.0040eaa4
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 0x40d59b
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x4205c5
call fcn.0041fac0
mov eax, 0x13dc
call fcn.0041fa70
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 0x40d678
call fcn.0040e00b
cmp dword [edi + 0xc], ebx
jne 0x40d62a
lea ecx, [ebp - 0x13e8]
call fcn.0040bc20
lea eax, [ebp - 0x13e8]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x13e0]
push eax
push 0x42b578
call fcn.0040e1ee
mov eax, dword [0x42b580]
push ebx
push 0x40e1aa
push ebx
push 0x831
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, esi
jne 0x40d616
mov dword [ebp - 0x10], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13e8]
call fcn.0040bddc
jmp 0x40d7c9
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.00410c4e
mov ecx, eax
call fcn.004115c1
test eax, eax
je 0x40d667
call fcn.00410c4e
mov ecx, eax
call fcn.0041165c
mov dword [ebp - 0x10], eax
jmp 0x40d7c9
call fcn.0040e378
mov dword [eax + 0xc], 0x70
jmp 0x40d7c9
cmp eax, 3
jne 0x40d715
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.00410c4e
mov ecx, eax
call fcn.004115c1
test eax, eax
je 0x40d6c8
call fcn.00410c4e
mov ecx, eax
call fcn.0041165c
mov dword [ebp - 0x10], eax
jmp 0x40d6dd
mov esi, dword [edi + 0x14]
neg esi
sbb esi, esi
add esi, 0xcc
call fcn.0040e378
mov dword [eax + 0xc], esi
cmp dword [ebp - 0x10], ebx
je 0x40d709
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 0x40d7c9
mov ecx, edi
call fcn.0040ddaa
jmp 0x40d7c9
lea ecx, [ebp - 0x6a4]
call fcn.0040af5e
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 0x42b578
call fcn.0040e1ee
mov eax, dword [0x42b580]
push ebx
push 0x40e1aa
mov ebx, 0x831
push edi
mov edi, dword [sym.imp.USER32.dll_DialogBoxParamW]
push ebx
push eax
call edi
cmp eax, 6
jne 0x40d7ba
lea ecx, [ebp - 0xd38]
call fcn.0041442c
mov byte [ebp - 4], 2
call esi
mov esi, eax
lea eax, [ebp - 0xd38]
push eax
lea eax, [ebp - 0xd30]
push eax
push 0x42b578
call fcn.0040e1ee
mov eax, dword [0x42b580]
push 0
push 0x40e1aa
push esi
push ebx
push eax
call edi
push 1
pop ecx
cmp eax, ecx
jne 0x40d7ab
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0xd38]
mov byte [ebp - 4], 1
call fcn.0041454d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6a4]
call fcn.0040b7d3
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 0x40d7db
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 0x40d806
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40d806
xor edi, edi
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x40d824
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 0x40d88f
mov dword [ebp - 4], 3
jmp 0x40d8c4
push str.Uninst.exe
push edi
call esi
pop ecx
test eax, eax
pop ecx
je 0x40d8bd
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 0x40d8c4
mov dword [ebp - 4], 2
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x40d8cb
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 0x40d956
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 0x40d953
lea eax, [ebp - 4]
push eax
push esi
push edi
call fcn.00410c4e
mov ecx, eax
call fcn.00412ad2
test eax, eax
je 0x40d956
cmp dword [ebp - 4], esi
je 0x40d956
push 1
pop esi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d95d
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 0x40da07
cmp dword [ebp + 0xc], ebx
je 0x40da07
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 0x40da03
lea eax, [ebp - 0x208]
push eax
push 0x4260b8
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 0x40da09
xor eax, eax
pop ebx
leave
ret 8

Function at 0x40da0e
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 0x40da8d
cmp dword [ebp + 0xc], esi
je 0x40da8d
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 0x40da89
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 0x40da8f
xor eax, eax
pop esi
leave
ret 8
Function at 0x40de60
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 0x40dee7
cmp dword [ebp + 0xc], esi
je 0x40dee7
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 0x40dee3
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40dee3
lea eax, [ebp - 0x208]
push eax
push 0x4260b8
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 0x40dee9
xor eax, eax
pop esi
leave
ret 8

Function at 0x40dfdc
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 0x40e006
xor esi, esi
mov eax, esi
pop esi
leave
ret

Function at 0x40e00b
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 0x40e03b
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x40e02f
push 1
pop esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret
Function at 0x410169
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 0x41029d
cmp dword [ebp + 0xc], esi
je 0x41029d
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 0x4101eb
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 8]
push eax
push 0x42a560
push str.Softwarehao123JuziBrowser
push SysReAllocString
call ebx
test eax, eax
jne 0x4101eb
cmp word [ebp - 0x90], si
jne 0x410278
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 0x4100f3
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 0x410266
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 0x42a560
push str.Softwarehao123JuziBrowser
push SysReAllocString
call ebx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x90], si
je 0x410296
lea eax, [ebp - 0x90]
push eax
push 0x4260b8
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 0x41029f
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x4102a4
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 0x41038f
cmp dword [ebp + 0xc], eax
je 0x41038f
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, 0x428f44
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 0x41031d
cmp word [ebp - 0x8c], ax
jne 0x41036c
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 0x410366
cmp word [ebp - 0x8c], ax
jne 0x41036c
and dword [ebp - 0xc], 0
jmp 0x410387
lea eax, [ebp - 0x8c]
push eax
push 0x4260b8
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 0x410391
mov eax, edx
leave
ret 8
Function at 0x4105b8
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 0x410608
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x114
push eax
call esi
test eax, eax
je 0x4106a1
mov eax, dword [ebp - 0x130]
xor ecx, ecx
sub eax, ecx
je 0x4106a1
dec eax
je 0x4106a1
dec eax
jne 0x4106a1
cmp dword [ebp - 0x13c], 6
jne 0x41064c
mov eax, dword [ebp - 0x138]
cmp eax, 2
je 0x41063b
cmp eax, 3
jne 0x41063f
mov al, 3
jmp 0x4106a3
cmp eax, 1
je 0x410648
cmp eax, ecx
jne 0x4106a1
mov al, 2
jmp 0x4106a3
cmp dword [ebp - 0x13c], 5
jne 0x4106a1
cmp dword [ebp - 0x138], 2
jne 0x410696
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 0x4106a1
cmp byte [ebp - 0x26], 1
jne 0x4106a1
cmp word [ebp - 0x24], 9
jne 0x4106a1
mov al, 1
jmp 0x4106a3
cmp dword [ebp - 0x138], 1
mov al, 1
je 0x4106a3
mov al, 4
pop edi
pop esi
leave
ret

Function at 0x41071d
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 0x42a560
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 0x410806
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410806
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 0x410806
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 0x410806
add eax, 2
push 0x2e
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x410806
and word [eax], 0
lea eax, [ebp - 0x88]
push eax
push 0x4260b8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop eax
jmp 0x410808
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x411728
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 0x41173a
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 0x411750
mov ecx, esi
call fcn.0041182a
test eax, eax
je 0x41177c
mov ecx, esi
call fcn.004119b4
test eax, eax
je 0x411793
mov ecx, esi
call fcn.0041243a
cmp dword [esi + 0x2c], edi
je 0x41176e
mov ecx, esi
call fcn.00413375
push 3
mov ecx, esi
call fcn.00411634
push 1
pop edi
jmp 0x4117a8
push 1
mov ecx, esi
call fcn.00411634
call fcn.0040e378
mov dword [eax + 0xc], 0x68
jmp 0x41179c
push 2
mov ecx, esi
call fcn.00411634
call fcn.00413fb3
mov ecx, eax
call fcn.00414143
mov eax, edi
pop edi
pop esi
ret