joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4051c0
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x30c
push edi
lea eax, [esp + 0x110]
push 0x200
push eax
push 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x110]
push str.__start
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 4]
push edx
push 3
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405241
lea eax, [esp + 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40538d
lea ecx, [esp + 8]
lea edx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.FTSafeNetRockey6Service_pkpm
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [esp + 0x314]
test eax, eax
jne 0x405308
push esi
lea esi, [esp + 0x114]
lea eax, [esp + 0x94]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4052b7
test cl, cl
je 0x4052b3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4052b7
add eax, 2
add esi, 2
test cl, cl
jne 0x405293
xor eax, eax
jmp 0x4052bc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop esi
jne 0x405308
test edi, edi
jne 0x4052ee
mov eax, dword [esp + 4]
push str.FTSafeNetRockey6Service_pkpm
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x40530c
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
add esp, 0x30c
ret
cmp edi, 1
jne 0x405308
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
add esp, 0x30c
ret
test edi, edi
jne 0x405324
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
add esp, 0x30c
ret
cmp edi, 1
jne 0x405382
mov eax, dword [esp + 4]
lea edx, [esp + 0x110]
push 0x80
push edx
push edi
push 0
push str.FTSafeNetRockey6Service_pkpm
push eax
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40536a
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
add esp, 0x30c
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
add esp, 0x30c
ret
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
add esp, 0x30c
ret
Function at 0x405d20
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor edi, edi
lea esi, [ebx + 4]
push 8
push edi
mov ecx, ebx
call fcn.00405d80
shl eax, 0x18
mov dword [esi], eax
mov edx, 8
mov ebp, eax
mov ecx, ebp
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
dec edx
mov ebp, eax
jne 0x405d41
push 0x20
push eax
mov ecx, ebx
mov dword [esi], ebp
call fcn.00405d80
mov dword [esi], eax
inc edi
add esi, 4
cmp edi, 0xff
jle 0x405d2b
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405dc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov edx, dword [esp + 8]
mov esi, ecx
push edi
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov edi, ecx
dec ecx
test edi, edi
je 0x405df8
lea edi, [ecx + 1]
mov cl, byte [edx]
xor cl, al
inc edx
mov byte [esp + 0xc], cl
mov ecx, dword [esp + 0xc]
and ecx, 0xff
shr eax, 8
mov ecx, dword [esi + ecx*4 + 4]
xor eax, ecx
dec edi
jne 0x405dd9
pop edi
pop esi
not eax
ret 8

Function at 0x406380
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
ret

Function at 0x4063b0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 0x100
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
ret
Function at 0x406ee0
Capabilities:
Create thread

Disassembly:
mov al, byte [esp + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebp
mov ebp, dword [esp + 0x10]
push esi
test al, 2
push edi
je 0x406f7e
mov eax, dword [0x424014]
test eax, eax
je 0x406f41
mov eax, dword [0x424018]
test eax, eax
je 0x406f38
test ebp, ebp
je 0x406f38
mov edi, 0x4190c4
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x400]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x424014]
test eax, eax
jne 0x406f5b
lea ecx, [esp + 0x18]
push ecx
push 0
push ebp
push 0x407100
push 0
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x424018]
test eax, eax
jne 0x406f7e
lea edx, [esp + 0x18]
push edx
push 0
push ebp
push 0x4070c0
push 0
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [esp + 0x14], 4
je 0x406fd6
mov eax, dword [0x42401c]
test eax, eax
jne 0x406faa
lea eax, [esp + 0x18]
push eax
push 0
push ebp
push 0x407140
push 0
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406fd6
test ebp, ebp
je 0x406fd6
mov edi, 0x4190c4
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x400]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test byte [esp + 0x14], 8
je 0x4070b4
call fcn.00407890
cmp eax, 1
jne 0x407041
test ebp, ebp
je 0x407032
lea ecx, [ebp + 0x800]
push 0x400
push ecx
push 0x9a
mov ecx, 0x424040
call fcn.00406920
mov edi, str.failed
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x400]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0xb2
mov ecx, 0x424040
call fcn.004069e0
mov eax, dword [0x424020]
test eax, eax
jne 0x407088
lea ecx, [esp + 0x18]
push ecx
push 0
push ebp
push 0x407180
push 0
push 0
call ebx
lea edx, [esp + 0x18]
mov esi, eax
push edx
push 0
push 0
push 0x4071c0
push 0
push 0
call ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
test ebp, ebp
je 0x4070b4
mov edi, 0x4190c4
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x400]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x4072f0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4163db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe64
push esi
push edi
push 1
lea ecx, [esp + 0x114]
call fcn.00406260
lea eax, [esp + 0xc]
push 0x104
push eax
push 0
mov dword [esp + 0xe80], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x4220a8
lea ecx, [esp + 0x10]
push 8
push ecx
mov ecx, 0x424080
call fcn.00405e00
push 0x423ff8
mov dword [0x424010], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, dword [esp + 0xe7c]
mov dword [0x424024], eax
test esi, esi
mov dword [0x419de4], 0xea60
je 0x407399
push esi
push str.FTRockeyIVSwordhui
mov ecx, 0x420c60
call fcn.00407af0
push esi
jmp 0x4073af
push 0
push str.FTRockeyIVSwordhui
mov ecx, 0x420c60
call fcn.00407af0
push str.._svrcfg6.ini
lea ecx, [esp + 0x114]
call fcn.004062b0
mov eax, dword [esp + 0xa58]
push 0x406de0
mov ecx, 0x420c60
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 5
mov dword [0x419de8], edx
call fcn.00409a20
mov ecx, dword [esp + 0x118]
xor eax, eax
test ecx, ecx
je 0x4073fb
mov eax, 3
mov ecx, dword [esp + 0x42c]
test ecx, ecx
je 0x407408
or al, 4
mov ecx, dword [esp + 0x740]
test ecx, ecx
je 0x407415
or al, 8
push 0
push eax
call fcn.00406ee0
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x406bc0
push 0
push 0
call esi
lea ecx, [esp + 8]
mov edi, eax
push ecx
push 0
push 0
push 0x406c10
push 0
push 0
call esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
call edi
push esi
call edi
lea ecx, [esp + 0x110]
mov dword [esp + 0xe74], 0xffffffff
call fcn.004062a0
mov ecx, dword [esp + 0xe6c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0xe70
ret
Function at 0x407af0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x290
lea eax, [esp + 0x100]
push ebx
push eax
mov ebx, ecx
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x407b16
push 0x66
jmp 0x407bd4
mov ax, word [esp + 0x104]
cmp al, 1
jne 0x407bcd
xor ecx, ecx
mov cl, ah
cmp cl, al
jne 0x407bcd
mov eax, dword [esp + 0x298]
test eax, eax
jne 0x407b67
push esi
push edi
mov edi, str.FTRockeyIVSwordhui
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x407b73
lea ecx, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 4]
mov byte [esp + 0x103], 0
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 8]
push eax
mov ecx, 0x424028
call fcn.00409fa0
mov eax, dword [esp + 0x29c]
test eax, eax
je 0x407bb5
push eax
mov ecx, ebx
call fcn.00406770
xor eax, eax
pop ebx
add esp, 0x290
ret 8
push str.._svrcfg6.ini
mov ecx, ebx
call fcn.00406770
xor eax, eax
pop ebx
add esp, 0x290
ret 8
call sub.WSOCK32.dll_WSACleanup
push 0x67
mov ecx, 0x424040
call fcn.004069e0
mov eax, 0x7d1
pop ebx
add esp, 0x290
ret 8
Function at 0x409bf0
Capabilities:
Access peb ldr_data
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x416479
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x38]
call fcn.00405590
lea ecx, [esi + 0x248]
mov dword [esp + 0x14], 0
call fcn.00405ea0
mov byte [esp + 0x14], 1
mov dword [esi + 0x34], 0
mov dword [esi], 0
call fcn.00401a90
mov dword [esi + 8], eax
lea eax, [esp + 4]
lea ecx, [esi + 0x10]
push eax
push ecx
mov dword [esi + 0xc], edx
mov dword [esp + 0xc], 0x20
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
call fcn.00409d50
mov ecx, dword [esp + 0xc]
mov word [esi + 0x30], ax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x409d50
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push esi
push eax
xor esi, esi
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x409d80
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
sbb esi, esi
neg esi
inc esi
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x409dc2
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x409d9e
mov eax, 1
pop esi
add esp, 0x94
ret
cmp eax, 0xa
jne 0x409db0
mov eax, 4
pop esi
add esp, 0x94
ret
cmp eax, 0x32
jbe 0x409df1
mov eax, 6
pop esi
add esp, 0x94
ret
cmp eax, 2
jne 0x409df1
cmp dword [esp + 8], 4
jne 0x409ddb
mov eax, 2
pop esi
add esp, 0x94
ret
mov eax, dword [esp + 0xc]
pop esi
neg eax
sbb eax, eax
and eax, 2
add eax, 5
add esp, 0x94
ret
mov eax, esi
pop esi
add esp, 0x94
ret

Function at 0x409e10
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 5]
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax*4 + 0x41a560]
mov edx, dword [ecx*4 + 0x41a960]
add eax, edx
mov edx, dword [esp + 6]
and edx, 0xff
mov ecx, dword [edx*4 + 0x41ad60]
xor eax, ecx
mov ecx, dword [esp + 7]
and ecx, 0xff
add eax, dword [ecx*4 + 0x41b160]
ret 4

Function at 0x409e80
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [ebx]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp]
mov esi, 0x41a518
mov dword [esp + 0x14], ecx
jmp 0x409ea2
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
xor eax, ecx
mov ecx, edi
push eax
mov dword [esp + 0x1c], eax
call fcn.00409e10
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x14]
xor ecx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ecx
push edx
push eax
mov ecx, edi
call fcn.00409e60
add esi, 4
cmp esi, 0x41a558
jl 0x409e9e
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
call fcn.00409e60
mov ecx, dword [esp + 0x18]
mov edx, dword [0x41a55c]
mov eax, dword [esp + 0x14]
mov esi, dword [0x41a558]
xor ecx, edx
xor eax, esi
mov dword [ebx], ecx
pop edi
mov dword [ebp], eax
pop esi
pop ebp
pop ebx
ret 8
Function at 0x409fa0
Capabilities:
Encrypt data using blowfish

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
movsx esi, word [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
xor eax, eax
mov edx, 0x41a518
xor ecx, ecx
mov ebx, 4
movsx ebp, byte [eax + edi]
shl ecx, 8
or ecx, ebp
inc eax
cmp eax, esi
jl 0x409fd0
xor eax, eax
dec ebx
jne 0x409fc0
mov ebp, dword [edx]
add edx, 4
xor ebp, ecx
cmp edx, 0x41a560
mov dword [edx - 4], ebp
jl 0x409fb9
mov ebx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov esi, 0x41a51c
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.00409e80
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esi - 4], edx
mov dword [esi], eax
add esi, 8
cmp esi, 0x41a564
jl 0x409ff8
mov esi, 0x41a564
mov edi, 0x80
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebx
call fcn.00409e80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esi - 4], eax
mov dword [esi], ecx
add esi, 8
dec edi
jne 0x40a02b
cmp esi, 0x41b564
jl 0x40a026
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x40a310
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
mov eax, dword [esp + 0xc]
push edi
xor edi, edi
test al, al
jbe 0x40a382
mov edx, dword [esp + 0xc]
push ebx
push ebp
and eax, 0xff
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov ecx, dword [edx + 4]
mov ebx, dword [esi]
mov eax, ecx
sub edi, 0x61c88647
shr eax, 5
mov ebp, dword [esi + 4]
xor eax, edi
xor ebx, ecx
add eax, ebx
mov ebx, ecx
shl ebx, 4
add eax, ebx
mov ebx, dword [edx]
add eax, ebp
add ebx, eax
mov eax, ebx
mov dword [edx], ebx
mov ebp, eax
xor ebp, dword [esi + 8]
shr ebx, 5
xor ebx, edi
add ebx, ebp
shl eax, 4
add ebx, eax
mov eax, dword [esi + 0xc]
add ebx, eax
mov eax, dword [esp + 0x1c]
add ebx, ecx
dec eax
mov dword [edx + 4], ebx
mov dword [esp + 0x1c], eax
jne 0x40a32f
pop esi
pop ebp
pop ebx
pop edi
ret

Function at 0x40a390
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
mov eax, dword [esp + 0xc]
push edi
cmp al, 1
mov cl, al
mov edi, 0x9e3779b9
jbe 0x40a3a9
shr cl, 1
shl edi, 1
cmp cl, 1
ja 0x40a3a0
test al, al
jbe 0x40a40a
mov edx, dword [esp + 0xc]
push ebx
push ebp
and eax, 0xff
push esi
mov esi, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [edx]
mov ebp, dword [esi + 8]
mov ecx, eax
xor ebp, eax
shr ecx, 5
xor ecx, edi
add ecx, ebp
mov ebp, eax
shl ebp, 4
add ecx, ebp
mov ebp, dword [esi + 0xc]
add ecx, ebp
mov ebp, dword [edx + 4]
sub ebp, ecx
mov dword [edx + 4], ebp
mov ecx, ebp
shr ebp, 5
xor ebp, edi
add edi, 0x61c88647
sub eax, ebp
mov ebp, dword [esi]
xor ebp, ecx
sub eax, ebp
mov ebp, dword [esi + 4]
shl ecx, 4
sub eax, ecx
sub eax, ebp
dec ebx
mov dword [edx], eax
jne 0x40a3bf
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x40de0a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40de2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00411332
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x40de4b
test byte [esp + 8], 2
je 0x40de4b
mov dword [0x42d01c], 0xd
mov dword [0x42d020], 5
jmp 0x40de26
xor eax, eax
ret

Function at 0x412688
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41bf18
cmp edx, dword [eax]
je 0x4126aa
add eax, 8
inc ecx
cmp eax, 0x41bfa8
jl 0x41269b
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41bf18]
jne 0x4127d8
mov eax, dword [0x42d088]
cmp eax, 1
je 0x4127b2
test eax, eax
jne 0x4126db
cmp dword [0x41b734], 1
je 0x4127b2
cmp edx, 0xfc
je 0x4127d8
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x412712
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00414570
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00411fc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x412755
lea eax, [ebp - 0x1a4]
push eax
call fcn.00411fc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41777c
push edi
call fcn.0040d2e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00414570
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00414580
lea eax, [ebp - 0xa0]
push 0x41775c
push eax
call fcn.00414580
push dword [esi + 0x41bf1c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00414580
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00414660
add esp, 0x2c
pop edi
jmp 0x4127d8
lea eax, [ebp + 8]
lea esi, [esi + 0x41bf1c]
push 0
push eax
push dword [esi]
call fcn.00411fc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x4018d4
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1244
call fcn.00446050
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.settingActionTab.json
xor ecx, ecx
lea esi, [ebp - 0x210]
call fcn.00442350
xor eax, eax
pop ecx
cmp ax, word [edi + 4]
jne 0x4019c0
mov eax, 0x8042
cmp ax, word [edi + 8]
jne 0x4019c0
lea ecx, [eax + 0x24]
cmp cx, word [edi + 0xc]
jne 0x4019c0
xor ecx, ecx
cmp cx, word [edi + 0x10]
jne 0x4019c0
cmp cx, word [edi + 0x14]
jne 0x4019c0
lea ecx, [eax + 0x36]
cmp cx, word [edi + 0x18]
jne 0x4019c0
xor ecx, ecx
cmp cx, word [edi + 0x1c]
jne 0x4019c0
cmp cx, word [edi + 0x20]
jne 0x4019c0
cmp cx, word [edi + 0x24]
jne 0x4019c0
cmp cx, word [edi + 0x28]
jne 0x4019c0
cmp cx, word [edi + 6]
jne 0x4019c0
cmp ax, word [edi + 0xa]
jne 0x4019c0
add eax, 0xffffffef
cmp ax, word [edi + 0xe]
jne 0x4019c0
xor eax, eax
cmp ax, word [edi + 0x12]
jne 0x4019c0
cmp ax, word [edi + 0x16]
jne 0x4019c0
mov eax, 0x8046
cmp ax, word [edi + 0x1a]
jne 0x4019c0
xor eax, eax
cmp ax, word [edi + 0x1e]
jne 0x4019c0
cmp ax, word [edi + 0x22]
jne 0x4019c0
cmp ax, word [edi + 0x26]
jne 0x4019c0
cmp ax, word [edi + 0x2a]
jne 0x4019c0
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4019f1
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4019f1
lea esi, [ebp - 0x1240]
call fcn.004419e0
push ebx
mov ecx, edi
mov edx, esi
call fcn.004016ce
pop ecx
test eax, eax
jne 0x4019e6
lea eax, [ebp - 0x210]
push eax
call fcn.00441b93
lea esi, [ebp - 0x1240]
call fcn.00441a3c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044552e
leave
ret
Function at 0x401bcb
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1244
call fcn.00446050
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.settingActionMouse.json
xor ecx, ecx
lea esi, [ebp - 0x210]
call fcn.00442350
mov eax, dword [ebx]
pop ecx
push 0
push 0x12
push str.reservedzoom5.js
push ebx
call dword [eax + 0x40]
push 0
push 0x12
push str.reservedzoom_5.js
movzx esi, ax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x40]
mov ecx, 0x8000
movzx eax, ax
cmp cx, word [edi + 0xb8]
jne 0x401d06
lea edx, [ecx + 4]
cmp dx, word [edi + 0xba]
jne 0x401d06
xor edx, edx
cmp dx, word [edi + 0xbc]
jne 0x401d06
cmp dx, word [edi + 0xbe]
jne 0x401d06
cmp dx, word [edi + 0xc8]
jne 0x401d06
mov edx, 0x809b
cmp dx, word [edi + 0xca]
jne 0x401d06
xor edx, edx
cmp dx, word [edi + 0xc0]
jne 0x401d06
mov edx, 0x809c
cmp dx, word [edi + 0xc2]
jne 0x401d06
xor edx, edx
cmp dx, word [edi + 0xd0]
jne 0x401d06
lea edx, [ecx + 0x66]
cmp dx, word [edi + 0xd2]
jne 0x401d06
xor edx, edx
cmp dx, word [edi + 0xd4]
jne 0x401d06
cmp dx, word [edi + 0xd6]
jne 0x401d06
cmp si, word [edi + 0xc4]
jne 0x401d06
cmp ax, word [edi + 0xcc]
jne 0x401d06
lea eax, [ecx + 4]
cmp ax, word [edi + 0xc6]
jne 0x401d06
cmp cx, word [edi + 0xce]
jne 0x401d06
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401d37
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x401d37
lea esi, [ebp - 0x1240]
call fcn.004419e0
push ebx
mov ecx, edi
mov edx, esi
call fcn.004019fe
pop ecx
test eax, eax
jne 0x401d2c
lea eax, [ebp - 0x210]
push eax
call fcn.00441b93
lea esi, [ebp - 0x1240]
call fcn.00441a3c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044552e
leave
ret