joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429f2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x429f3b
pop dword [ebp - 0x1c]
mov eax, 0x3144f837
sub eax, 0x310258fc
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x52037d42
sub dword [ebp - 0x2c], 0x3b137f7
mov dword [ebp - 0x28], 0x25c2720d
sub dword [ebp - 0x28], 0xf38f25c8
mov dword [ebp - 0x24], 0x3ae871e
add dword [ebp - 0x24], 0x489dbd10
mov dword [ebp - 0x20], 0xa4e3040b
add dword [ebp - 0x20], 0x5b1cfbf5
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xfe3b71b5
sub dword [ebp - 0x2c], 0x89c9085f
mov dword [ebp - 0x28], 0xe3918488
add dword [ebp - 0x28], 0x5ddadced
mov dword [ebp - 0x24], 0xfd514838
sub dword [ebp - 0x24], 0x99e1dbcc
mov dword [ebp - 0x20], 0x7c873946
sub dword [ebp - 0x20], 0x7c873946
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x507b9
push 0
call eax
mov ecx, 0x7be6add8
add ecx, 0x8419b3a6
xor ebx, ebx
add ebx, eax
mov esi, 0x483400
add esi, dword [ebp - 0x1c]
mov edi, 0xaf977532
xor dword [ebp - 0x18], 0xea90bac9
mov edx, dword [esi]
add dword [ebp - 0x14], 0x532b9c5c
xor edx, edi
add dword [ebp - 0x14], esi
mov dword [ebx], edx
add ebx, 4
add esi, 4
loop 0x42a049
add eax, 0x8dd03c35
sub eax, 0x8dcec36a
xor ebx, ebx
add ebx, eax
add eax, 0x2d070aa0
sub eax, 0x2d070a9b
mov ecx, 0x6656e3c6
add ecx, 0x99e91c3a
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x401fa4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
mov dword [ebp - 0x7c], edx
mov dword [ebp - 4], eax
mov dword [0x41f0d5], ecx
mov dword [0x41f0c7], esi
mov dword [0x41f083], 0x146d3
call fcn.00402b64
mov dword [0x41f014], ecx
mov al, byte [0x42073c]
cmp al, 1
jne 0x418774
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 4]
mov edx, dword [eax + 0x78]
mov dword [0x424120], edx
add esi, 0xffffff88
mov dword [0x41f0b6], ecx
mov dword [0x41f09e], eax
cmp edx, 0xffffffff
jge 0x40200d
mov dword [0x41f01e], eax
jmp 0x402013
mov dword [0x41f0a6], esi
mov eax, dword [ebp - 4]
add eax, dword [0x424120]
add eax, 0x10
mov dword [0x424118], eax
mov eax, dword [0x424118]
mov eax, dword [eax]
mov dword [0x424128], eax
lea edx, [0x41f072]
and dword [edx + 0x1c], ecx
mov edi, dword [0x41f049]
mov dword [0x41f0bc], esi
inc byte [0x41f066]
mov eax, dword [ebp - 4]
add eax, dword [0x424120]
add eax, 0x18
mov dword [0x424118], eax
mov eax, dword [0x424118]
mov eax, dword [eax]
mov dword [0x42412c], eax
mov dword [0x41f104], 0x1447a
cmp byte [ebp + 0x28], ah
jle 0x402089
mov dword [0x41f093], ecx
mov dword [0x41f079], eax
mov dword [0x41f09a], ebx
mov dword [0x41f041], ecx
mov dword [0x41f07b], ebx
mov word [0x41f108], 0x2b0
mov eax, dword [ebp - 4]
call fcn.00401ee8
mov dword [0x41f013], 0x120ec
mov dword [0x41f0a8], eax
mov byte [0x41f054], 0
mov byte [0x41f021], 0xb8
mov eax, dword [ebp - 4]
add eax, dword [0x424120]
add eax, 0x24
mov dword [0x424118], eax
mov eax, dword [0x424118]
mov eax, dword [eax]
mov dword [0x424138], eax
xor eax, eax
mov dword [0x424140], eax
mov eax, dword [ebp - 0x7c]
cmp eax, dword [0x420780]
jbe 0x402124
mov dword [0x41f013], 0x120ec
mov dword [0x41f0a8], eax
mov byte [0x41f054], 0
mov byte [0x41f021], 0xb8
mov ecx, dword [ebp - 0x7c]
mov edx, dword [0x42413c]
mov eax, dword [ebp - 4]
call fcn.00401da8
jmp 0x402132
mov eax, dword [ebp - 0x7c]
sub eax, dword [0x424128]
mov dword [0x424140], eax
mov eax, dword [ebp - 4]
add eax, dword [0x424130]
mov edx, dword [0x424140]
shl edx, 2
add eax, edx
mov dword [0x424118], eax
mov eax, dword [0x424118]
mov eax, dword [eax]
add eax, dword [ebp - 4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov esp, ebp
pop ebp
ret
Function at 0x401050
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call sub.cygwin1.dll___getreent
mov edx, str._______________Q_msgkey____M_shmkey____S_semkey__...
mov ecx, str.usage:_ipcrm___q_msqid____m_shmid____s_semid_
mov dword [esp + 0xc], edx
mov edx, str._s_n_s_n
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
lea esi, [esi]
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425004]
jne 0x40100a
repz ret
jmp fcn.00401448

Function at 0x405615
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403715
and dword [ebp - 0x14], 0
cmp dword [0x427d7c], 0
mov dword [ebp - 0x18], eax
jne 0x4056c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405770
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405770
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x427d7c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x427d80], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x427d84], eax
call edi
push eax
call esi
mov dword [0x427d8c], eax
test eax, eax
je 0x4056c8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x427d88], eax
mov eax, dword [0x427d88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405721
cmp dword [0x427d8c], ecx
je 0x405721
push eax
call esi
push dword [0x427d8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405721
test ebx, ebx
je 0x405721
call edi
test eax, eax
je 0x405718
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405718
test byte [ebp - 8], 1
jne 0x405721
or dword [ebp + 0x10], 0x200000
jmp 0x405754
mov eax, dword [0x427d80]
cmp eax, dword [ebp - 0x18]
je 0x405754
push eax
call esi
test eax, eax
je 0x405754
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405754
mov eax, dword [0x427d84]
cmp eax, dword [ebp - 0x18]
je 0x405754
push eax
call esi
test eax, eax
je 0x405754
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x427d7c]
call esi
test eax, eax
je 0x405770
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405772
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x41cdc0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x425dc0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1ef9f28]
push edi
mov edi, dword [0x1efa584]
push eax
call fcn.0041ccf0
add esp, 4
cmp dword [0x1efa584], 0x2f
jne 0x41ce1d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0041cd40
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d0c0
Capabilities:
Get disk information
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.004076f0
mov eax, dword [0x425004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x41d0e9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2a98
jge 0x41d18e
cmp dword [0x1efa584], 0x8cf
jne 0x41d132
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x845013
jne 0x41d157
mov eax, dword [0x426be0]
mov dword [0x1efa584], eax
mov ecx, dword [0x1efa584]
add ecx, 0xa231
mov dword [0x1efa584], ecx
cmp dword [0x1efa584], 0x141
jne 0x41d189
push str.viwesorihefukenapedumate_ronofo_virejesirahipuj_cafaloteceselu_dizupucucakixucafukiz
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x4282a0], 0xec58acac
mov dword [0x4282a4], 0xffffffff
jmp 0x41d0e0
call fcn.0041ce30
jmp dword [0x1ef9f28]
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00405630
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00405630
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00405630
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00405630
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00405630
mov dword [0x41203c], eax
call fcn.00405630
test eax, eax
jge 0x402550
push 8
call fcn.00405630
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00405630
pop ecx
push 1
call fcn.00405630
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00405630
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00405630
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00405630
jmp 0x402495

Function at 0x405630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40563f
pop dword [ebp - 0x38]
mov eax, 0x40563f
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x35ef6
push 0
mov eax, 0xb3a05aaf
sub eax, 0xb35f79d7
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x4c85a04a
add ecx, 0xb37a9aa0
xor ebx, ebx
add ebx, eax
mov edi, 0xbe205884
sub edi, 0xbddf1cc0
add edi, dword [ebp - 0x38]
mov edx, 0xf9d4e463
add edx, 0xf2b7a8e4
add dword [ebp - 8], 0xec6a7b49
mov esi, dword [edi]
mov dword [ebp - 0x20], 0x61e9c141
xor esi, edx
mov dword [ebx], esi
xor dword [ebp - 0x24], eax
add ebx, 4
add edi, 4
loop 0x40569b
add eax, 0xde7b
xor ebx, ebx
add ebx, eax
add eax, 0x91f09303
add eax, 0x6e0f6d02
mov ecx, 0x47becedd
add ecx, 0xb8813123
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x401110
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push esi
push 2
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x401128
cmp eax, 0x80010106
jne 0x4011a6
push edi
push esi
push 0x6c410c
push 1
push 0
push 0x6c40fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x401157
push edi
push str.CoCreateInstance_NetFwMgr_failed:_0x_08lx_n
call fcn.005ac370
add esp, 8
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
lea edi, [esi + 4]
push edi
push eax
call edx
mov ebx, eax
test ebx, ebx
jge 0x401180
push ebx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.005ac370
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
ret
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
add esi, 8
push esi
push eax
call edx
mov esi, eax
test esi, esi
jge 0x4011a4
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.005ac370
mov eax, esi
add esp, 8
pop ebx
pop edi
pop esi
ret

Function at 0x4014a0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push esi
push 2
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x4014b8
cmp eax, 0x80010106
jne 0x40150c
push edi
push esi
push 0x6c414c
push 1
push 0
push 0x6c413c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x4014e7
push edi
push str.CoCreateInstance_NetFwPolicy2_failed:_0x_08lx_n
call fcn.005ac370
add esp, 8
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
add esi, 4
push esi
push eax
call edx
mov esi, eax
test esi, esi
jge 0x40150b
push esi
push str.get_Rules_failed:_0x_08lx_n
call fcn.005ac370
mov eax, esi
add esp, 8
pop edi
pop esi
ret
Function at 0x401590
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 4], 0
jne 0x4015a6
mov eax, 0x80004001
pop esi
pop ecx
ret 0xc
push ebx
push ebp
push edi
push str.WarZ
call fcn.00401050
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00401050
mov ecx, dword [esp + 0x28]
push ecx
mov ebp, eax
call fcn.00401050
mov dword [esp + 0x28], eax
add esp, 0xc
lea ebx, [esp + 0x20]
mov eax, esi
mov dword [esp + 0x10], 0
call fcn.00401510
mov esi, eax
test esi, esi
jge 0x401603
push esi
push str.IsAppEnabled_failed:_0x_08lx_n
call fcn.005ac370
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret 0xc
cmp dword [esp + 0x20], 0
je 0x401614
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
pop ecx
ret 0xc
lea edx, [esp + 0x10]
push edx
push 0x6c416c
push 1
push 0
push 0x6c415c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x40163e
push esi
push str.CoCreateInstance_NetFwRule_failed:_0x_08lx_n
jmp 0x4016cd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push ebp
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 0x100
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push 6
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 1
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov esi, eax
test esi, esi
jge 0x4016d5
push esi
push str.Firewall_Rule_Add_failed:_0x_08lx_n
call fcn.005ac370
add esp, 8
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push ebp
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4016f8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret 0xc
Function at 0x401910
Capabilities:
Copy file

Disassembly:
sub esp, 0x614
mov eax, dword [0x6f8dec]
xor eax, esp
mov dword [esp + 0x610], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x114]
push 0x5c
push ecx
call fcn.005d2550
mov esi, eax
inc esi
add esp, 8
cmp esi, 1
jne 0x40196b
push 0
push 0x14
push str..GenerateUpdaterXML.cpp
push str._DWORD_fname___1
call fcn.005ac680
add esp, 0x10
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x11c]
push ecx
call fcn.005ad0c0
add esp, 0xc
test al, al
jne 0x40199e
lea edx, [esp + 0x114]
push edx
push str.failed_to_get_crc_for__s_n
call fcn.005ac540
add esp, 8
push str.1.0.0
push esi
lea eax, [esp + 0x18]
push str._s__s.exe
push eax
call fcn.00401aa0
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4019db
lea edx, [esp + 0x10]
push edx
push esi
push str.unable_to_copy__s___s_n
call fcn.005ac540
add esp, 0xc
push 0x2f
push str.http:__45.83.207.237_cdn_updater_wzupd.xml
call fcn.005d2550
mov esi, eax
add esp, 8
test esi, esi
jne 0x401a05
push eax
push 0x21
push str..GenerateUpdaterXML.cpp
push str.updater_file
call fcn.005ac680
add esp, 0x10
lea edi, [esi + 1]
push 0x6c41fc
push edi
call fcn.005ad5d0
mov esi, eax
push 0x6c4200
push esi
call fcn.005d257d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push str.1.0.0
push ecx
lea edx, [esp + 0x2c]
push edx
push str.http:__45.83.207.237_cdn_updater_
push str.__u_url__s_s__crc__u__ver__s__size__u____n
push esi
call fcn.005d257d
push str.__p__n
push esi
call fcn.005d257d
push esi
call fcn.005d2710
lea eax, [esp + 0x48]
push eax
push edi
lea ecx, [esp + 0x258]
push str.XML__s_generated_nnew_exe:_s
push ecx
call fcn.00401ac0
add esp, 0x48
push 0
push str.Updater_XML
lea edx, [esp + 0x220]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x618]
pop edi
pop esi
xor ecx, esp
call fcn.005d2287
add esp, 0x614
ret

Function at 0x402440
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40248c
mov edx, dword [esp + 0xc]
lea ecx, [esp]
push ecx
add edx, 0x88
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.MHz
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 8
ret 4
Function at 0x402bd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402bf8
mov al, 1
add esp, 0x10
ret
mov eax, dword [esp]
push esi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0
push str.UpdaterTime1
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x402c6a
push esi
call fcn.005d2a75
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add esp, 4
add esi, 0x2a300
adc ecx, 0
cmp edx, ecx
jg 0x402c6a
jl 0x402c63
cmp eax, esi
jae 0x402c6a
xor al, al
pop esi
add esp, 0x10
ret
mov al, 1
pop esi
add esp, 0x10
ret

Function at 0x402de0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xb14
mov eax, dword [0x6f8dec]
xor eax, esp
mov dword [esp + 0xb10], eax
push 0x104
lea eax, [esp + 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp]
push ecx
lea edx, [esp + 0x10c]
push edx
push 0x104
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [esp]
test eax, eax
je 0x402e33
mov byte [eax - 1], 0
lea ecx, [esp + 4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10c]
push eax
call fcn.005d598c
add esp, 8
test eax, eax
je 0x402e95
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x318]
push str.Updater_current_directory___s__is_different_from_working_directory___s_
push eax
call fcn.004069f0
add esp, 0x10
push 0x30
push str.Warning
lea ecx, [esp + 0x318]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0xb10]
xor ecx, esp
mov al, 1
call fcn.005d2287
add esp, 0xb14
ret
Function at 0x402f70
Capabilities:
Inspect load icon resource
Terminate process

Disassembly:
mov eax, dword [0x6fff78]
push 5
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push str._generate
push 0x6ffb50
mov dword [0x6fff80], eax
mov dword [0x6f7c00], 0
call fcn.005d2eb0
add esp, 8
test eax, eax
je 0x402fb8
call fcn.00401910
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
call fcn.00402d50
test al, al
jne 0x402fa8
call fcn.00402de0
call fcn.00402eb0
test al, al
jne 0x402ff3
push 0x40
push str.UAC_problem
push str.Updater_must_be_run_from_administrator
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
call fcn.00407550
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x7a4c50
push 0x6c9d48
push 0x17
push 0
push 0x6a2834
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x403027
mov dword [0x7a4c50], 0
push str._cmdLine
push 0x6ffb50
call fcn.005d2eb0
add esp, 8
test eax, eax
je 0x403044
mov byte [0x7a4c4c], 1
push esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call esi
push 0x7f89
push 0
mov dword [0x7a4bb0], eax
call esi
push 0x209
push 0x7a4ce8
push 0x12f
push 0
mov dword [0x7a4bac], eax
call dword [sym.imp.USER32.dll_LoadStringW]
pop esi
ret
Function at 0x403be0
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x6215de
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x6f8dec]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push esi
push edi
mov eax, dword [0x6f8dec]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
cmp byte [0x7a4c4c], 0
je 0x403c68
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call fcn.005d3595
add eax, 0x20
push eax
push 0x6c9df4
push 0x6ca158
call fcn.005d356f
call fcn.005d3595
push eax
push 0x6ca160
push str.CONIN_
call fcn.005d356f
add esp, 0x18
mov dword [0x6ffff8], 1
jmp 0x403de2
mov eax, 0x7a5378
call fcn.004021c0
mov eax, dword [0x6fff78]
push 5
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [0x6fff7c]
push eax
push 0
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x6fff7c]
push 0x800000
push 0
push edx
call fcn.005abb30
mov eax, dword [0x6fff7c]
push 0xc00000
push 0
push eax
call fcn.005abb30
mov ecx, dword [0x6fff7c]
add esp, 0x18
push 0x403a50
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.005b61a0
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateICA]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 8
push esi
call edi
push 0xa
push esi
mov ebx, eax
call edi
mov esi, eax
lea eax, [ebx - 0x311]
cdq
sub eax, edx
mov ecx, eax
push 0
lea eax, [esi - 0x28a]
cdq
push 0x28a
sub eax, edx
mov edx, dword [0x6fff7c]
push 0x311
sar eax, 1
push eax
sar ecx, 1
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x102660
call fcn.005ae290
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x220], 0
test eax, eax
je 0x403d5b
mov ecx, eax
call fcn.005b3b50
jmp 0x403d5d
xor eax, eax
mov dword [esp + 0x220], 0xffffffff
mov ecx, dword [0x6fff7c]
push 0
push ecx
mov ecx, eax
mov dword [0x6fffe4], eax
call fcn.005af400
call fcn.00403080
push str.Mar__2_2024_09:42:35
push str.1.0.0
lea edx, [esp + 0x1c]
push str.HEROIN__s___s_
push edx
call fcn.00406a10
mov ecx, dword [0x6fff7c]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.00403460
mov edx, dword [0x6fff7c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
mov ecx, dword [0x6fffec]
call fcn.005b9950
mov ecx, dword [0x6fffe8]
call fcn.005b9b90
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.005d2287
add esp, 0x214
ret