joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55e1d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb14
mov eax, dword [0x6e8da0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x310]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0xb14]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [ebp - 0xb14]
test eax, eax
je 0x55e225
mov byte [eax - 1], 0
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005dfd4b
add esp, 8
test eax, eax
je 0x55e289
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xb10]
push str.Updater_current_directory___s__is_different_from_working_directory___s_
push eax
call fcn.00562410
add esp, 0x10
lea eax, [ebp - 0xb10]
push 0x30
push str.Warning
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.005dbd73
mov esp, ebp
pop ebp
ret

Function at 0x55e320
Capabilities:
Inspect load icon resource
Terminate process

Disassembly:
push 5
push dword [0x804ef0]
call dword [sym.imp.USER32.dll_LoadIconA]
push str._generate
push 0x804f00
mov dword [0x804ef8], eax
mov dword [0x6e7be0], 0
call fcn.005dcaf0
add esp, 8
test eax, eax
je 0x55e368
call fcn.0055d480
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
call fcn.0055e140
test al, al
jne 0x55e358
call fcn.0055e1d0
call fcn.0055e2a0
test al, al
jne 0x55e3a3
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.00563240
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x8a9190
push 0x6a7030
push 0x17
push 0
push 0x68e944
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [0x8a9190]
xor edx, edx
test eax, eax
push str._cmdLine
cmovs ecx, edx
push 0x804f00
mov dword [0x8a9190], ecx
call fcn.005dcaf0
movzx ecx, byte [0x8a8cd7]
add esp, 8
test eax, eax
mov edx, 1
cmovne ecx, edx
push 0x7f00
push 0
mov byte [0x8a8cd7], cl
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f89
push 0
mov dword [0x8a90f8], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x209
push 0x8a8ce0
push 0x12f
push 0
mov dword [0x8a90f4], eax
call dword [sym.imp.USER32.dll_LoadStringW]
ret
Function at 0x55f0b0
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd82e
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x6e8da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0056e2e0
cmp byte [0x8a8cd7], 0
je 0x55f131
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call fcn.005dda3a
add eax, 0x20
push eax
push 0x6a6c9c
push 0x6af954
call fcn.005dd97a
call fcn.005dda3a
push eax
push 0x6af95c
push str.CONIN_
call fcn.005dd97a
add esp, 0x18
mov dword [0x803d00], 1
jmp 0x55f2a2
mov ecx, 0x8a9b20
call fcn.0055c370
push 5
push dword [0x804ef0]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 0
push 0x80
push dword [0x804ef4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x800000
push 0
push dword [0x804ef4]
call fcn.005b7700
push 0xc00000
push 0
push dword [0x804ef4]
call fcn.005b7700
add esp, 0x18
push 0x55ef30
push 0xfffffffffffffffc
push dword [0x804ef4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.005c1170
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateICA]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 8
push ebx
call esi
push 0xa
push ebx
mov edi, eax
call esi
mov ecx, eax
lea eax, [edi - 0x311]
cdq
sub eax, edx
mov esi, eax
push 0
lea eax, [ecx - 0x28a]
sar esi, 1
push 0x28a
cdq
push 0x311
sub eax, edx
sar eax, 1
push eax
push esi
push 0
push dword [0x804ef4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x102650
call fcn.005b9020
add esp, 4
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x55f21e
mov ecx, eax
call fcn.005b9340
jmp 0x55f220
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push 0
push dword [0x804ef4]
mov dword [0x803dc4], eax
call fcn.005bb8b0
call fcn.0055e450
push str.Aug__3_2024_23:53:08
push str.0.2.7
lea eax, [ebp - 0x210]
push str.JurinC_Teamwork_Launcher__s___s_
push eax
call fcn.00562430
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
push dword [0x804ef4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.0055e8e0
push 5
push dword [0x804ef4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
mov ecx, dword [0x803dac]
call fcn.005c4720
mov ecx, dword [0x803da8]
call fcn.005c4770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dbd73
mov esp, ebp
pop ebp
ret
Function at 0x55ff10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x70
mov esi, ecx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp dword [esi + 0x2173c], 1
je 0x560113
cmp byte [0x8b79e0], 0
je 0x55fffa
cmp byte [0x8b7be0], 0
je 0x55fffa
cmp byte [0x8b7de0], 0
je 0x55fffa
push ecx
mov ecx, 0x6eb370
call fcn.0055e0e0
add esp, 4
test al, al
je 0x55fffa
movss xmm0, dword [0x6eb37c]
lea eax, [ebp - 4]
movss xmm3, dword [0x6eb378]
movss xmm2, dword [0x6eb374]
movss xmm1, dword [0x6eb370]
push eax
push ecx
mov ecx, dword [0x8a9130]
movss dword [esp], xmm0
call fcn.00563cf0
cmp dword [0x8a9100], 0
je 0x55fffa
lea ecx, [esi + 0x21740]
mov edx, 0x8b79e0
call fcn.00562470
lea ecx, [esi + 0x217c0]
mov edx, 0x8b7be0
call fcn.00562470
lea ecx, [esi + 0x21840]
mov edx, 0x8b7de0
call fcn.00562470
lea edx, [esi + 0x21944]
lea ecx, [esi + 0x218c0]
call fcn.00562470
mov ecx, esi
call fcn.00567af0
mov eax, dword [0x8b79d0]
xor edi, edi
mov ebx, 0x8b79e0
mov esi, 0x6eb384
jmp 0x560010
cmp dword [0x8a9100], 0
je 0x560075
movd xmm2, dword [0x8a9108]
movss xmm1, dword [esi - 4]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x560075
movss xmm0, dword [esi + 4]
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x560075
movd xmm1, dword [0x8a9104]
movss xmm0, dword [esi]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jb 0x560075
addss xmm0, dword [esi + 8]
comiss xmm0, xmm1
jb 0x560075
mov eax, edi
mov dword [0x8b79d0], eax
mov dword [0x6ec1c4], 0x8a9810
mov dword [0x6ec1c0], 0x8a9810
cmp edi, 1
je 0x560083
cmp edi, 2
je 0x560083
xor ecx, ecx
jmp 0x560088
mov ecx, 1
push dword [edi*4 + 0x6a6ff8]
movss xmm1, dword [esi]
cmp eax, edi
movss xmm0, dword [esi - 4]
push ecx
sete dl
mov ecx, ebx
call fcn.0055f510
add esp, 8
cmp eax, 9
jne 0x5600c7
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, dword [0x8b79d0]
je 0x5600d6
dec eax
jmp 0x5600de
cmp eax, 0xd
jne 0x5600d9
cmp byte [ebx], 0
je 0x5600d9
mov eax, dword [0x8b79d0]
inc eax
jmp 0x5600de
mov eax, dword [0x8b79d0]
cmp eax, 3
jl 0x5600e7
xor eax, eax
jmp 0x5600f1
test eax, eax
mov ecx, 2
cmovs eax, ecx
add esi, 0x10
mov dword [0x8b79d0], eax
inc edi
add ebx, 0x200
cmp esi, 0x6eb3b4
jl 0x560010
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x6b1c5c]
xor ebx, ebx
movss xmm2, dword [0x6b1c58]
mov esi, 0x6eb384
mov edi, 0x8b79e0
nop
movss xmm0, dword [esi + 8]
lea eax, [ebp - 8]
push 0
addss xmm0, xmm1
mov dword [ebp - 8], 0x64000000
push 0
push eax
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 4]
addss xmm0, xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [esi]
subss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [esi - 4]
subss xmm0, xmm2
movss dword [esp], xmm0
call fcn.005c4c30
movss xmm1, dword [esi]
add esp, 0x1c
movss xmm0, dword [esi - 4]
xor eax, eax
cmp ebx, 1
mov ecx, edi
setge al
xor dl, dl
push 0x20
push eax
call fcn.0055f510
movss xmm1, dword [0x6b1c5c]
add edi, 0x200
movss xmm2, dword [0x6b1c58]
add esp, 8
inc ebx
add esi, 0x10
cmp edi, 0x8b7fe0
jl 0x560130
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5601e0
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0x70
mov esi, ecx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp dword [esi + 0x2173c], 1
je 0x5603f0
cmp byte [0x8b77d0], 0
je 0x560295
movd xmm2, dword [0x8a9108]
movss xmm1, dword [0x6eb350]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x560295
movss xmm3, dword [0x6eb358]
movaps xmm0, xmm1
addss xmm0, xmm3
comiss xmm0, xmm2
jb 0x560295
movd xmm4, dword [0x8a9104]
movss xmm2, dword [0x6eb354]
cvtdq2ps xmm4, xmm4
comiss xmm4, xmm2
jb 0x560295
movss xmm5, dword [0x6eb35c]
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm0, xmm4
jb 0x560295
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [0x8a911c]
movss dword [esp], xmm5
call fcn.00563cf0
cmp dword [0x8a9100], 0
je 0x560295
push ecx
mov ecx, esi
call fcn.00567bd0
pop esi
mov esp, ebp
pop ebp
ret
movd xmm2, dword [0x8a9108]
movss xmm1, dword [0x6eb340]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x560330
movss xmm3, dword [0x6eb348]
movaps xmm0, xmm1
addss xmm0, xmm3
comiss xmm0, xmm2
jb 0x560330
movd xmm4, dword [0x8a9104]
movss xmm2, dword [0x6eb344]
cvtdq2ps xmm4, xmm4
comiss xmm4, xmm2
jb 0x560330
movss xmm5, dword [0x6eb34c]
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm0, xmm4
jb 0x560330
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [0x8a9120]
movss dword [esp], xmm5
call fcn.00563cf0
cmp dword [0x8a9100], 0
je 0x560337
push 5
push 0
push 0x6af950
push str.http:__192.168.100.6_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ebx, [ebx]
cmp dword [0x8a9100], 0
movss xmm1, dword [0x6eb364]
movss xmm2, dword [0x6eb360]
je 0x5603c3
movd xmm3, dword [0x8a9108]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm2
jb 0x5603c3
movss xmm0, dword [0x6eb368]
addss xmm0, xmm2
comiss xmm0, xmm3
jb 0x5603c3
movd xmm3, dword [0x8a9104]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm1
jb 0x5603c3
movss xmm0, dword [0x6eb36c]
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x5603c3
xor eax, eax
movaps xmm0, xmm2
test eax, eax
mov dword [0x8b77c8], eax
push 0x40
mov dword [0x6ec1c4], 0x8a9810
sete dl
push eax
mov ecx, 0x8b77d0
mov dword [0x6ec1c0], 0x8a9810
call fcn.0055f510
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x8b77c8]
movaps xmm0, xmm2
test eax, eax
mov ecx, 0x8b77d0
push 0x40
sete dl
push 0
call fcn.0055f510
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x6eb36c]
lea eax, [ebp - 8]
addss xmm0, dword [0x6b1c5c]
push 0
push 0
push eax
sub esp, 0x10
mov dword [ebp - 8], 0x64000000
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x6eb368]
addss xmm0, dword [0x6b1c5c]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6eb364]
subss xmm0, dword [0x6b1c58]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6eb360]
subss xmm0, dword [0x6b1c58]
movss dword [esp], xmm0
call fcn.005c4c30
movss xmm1, dword [0x6eb364]
add esp, 0x1c
movss xmm0, dword [0x6eb360]
xor dl, dl
mov ecx, 0x8b77d0
push 0x20
push 0
call fcn.0055f510
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x560c00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6e8da0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x204]
add ecx, 0x215f8
push eax
mov esi, edx
call fcn.00569380
cmp esi, 5
ja case.default.0x560c2d
jmp dword [esi*4 + 0x560c84]
lea eax, [ebp - 0x404]
push str.https:__www.facebook.com_groups_168695500586694
push eax
call fcn.0055d630
add esp, 8
lea eax, [ebp - 0x404]
push 5
push 0
push 0x6af950
push eax
jmp 0x560c68
push 5
push 0
push 0x6af950
push str.https:__www.facebook.com_groups_168695500586694
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005dbd73
mov esp, ebp
pop ebp
ret
Function at 0x5611b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd8b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6e8da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x21bf0], 2
jne 0x56125c
lea esi, [edi + 0x21bd8]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x21c1c], 0
je 0x56123a
cmp byte [0x6eb240], 0
je 0x56123a
cmp dword [edi + 0x21c20], 0x10
lea eax, [edi + 0x21c0c]
mov byte [0x6eb240], 0
jb 0x561223
mov eax, dword [eax]
push 5
push 0
push 0x6af950
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
movss xmm1, dword [0x6b1c7c]
lea ecx, [edi + 0x21bcc]
movss xmm0, dword [0x6b1c6c]
call fcn.00560f40
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5613c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x5613f5
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x561400
sub ecx, edx
lea eax, [ecx + 1]
push eax
push esi
push 1
push 0
push str.LoginToken
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x5613ee
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x562a30
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6e8da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.00567d90
call fcn.005b7200
call fcn.005b6840
call fcn.005b7200
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x20d84], 3
jne 0x562a77
mov dword [esi + 0x20d84], 5
cmp dword [esi + 0x20d88], 0
jne 0x562b21
mov edi, dword [esi + 0x21590]
mov eax, edi
mov ebx, dword [esi + 0x21594]
or eax, ebx
jne 0x562a9b
xorps xmm1, xmm1
jmp 0x562ae1
mov edx, dword [esi + 0x2159c]
mov ecx, dword [esi + 0x21598]
call fcn.005e3d3d
cvtsd2ss xmm0, xmm0
mov edx, ebx
mov ecx, edi
movss dword [ebp - 0x20c], xmm0
call fcn.005e3d3d
movss xmm1, dword [ebp - 0x20c]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x6b1c54]
comiss xmm1, xmm0
jbe 0x562ae1
movaps xmm1, xmm0
mulss xmm1, dword [0x6b1c70]
lea eax, [esi + 0x20d8d]
sub esp, 8
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x208]
push str._s:__.1f__
push eax
call fcn.00562430
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
jmp 0x562a52
mov ecx, esi
call fcn.00567e50
mov eax, dword [esi + 0x20d88]
dec eax
je 0x562b65
dec eax
je 0x562b4f
dec eax
je 0x562b72
push 0
push 0x37
push str.Main_CmdLine.cpp
push 0x6a6ff4
call fcn.005b72c0
add esp, 0x10
jmp 0x562b72
lea eax, [esi + 0x2118d]
push eax
push str.Update_error_n_s_n_nPlease_retry_later
call fcn.005b6df0
add esp, 8
jmp 0x562b72
push str.Update_ok_n
call fcn.005b6df0
add esp, 4
push str._nPress_enter_to_exit...
call fcn.005b6df0
add esp, 4
call fcn.005ddb23
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dbd73
mov esp, ebp
pop ebp
ret
Function at 0x563240
Capabilities:
Copy file
Create process on windows
Delete file
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
mov eax, dword [0x6e8da0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push str..new.exe
push eax
call fcn.005dcaf0
add esp, 8
test eax, eax
jne 0x5632b7
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str._s.new.exe
push eax
call fcn.0055d610
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dbd73
mov esp, ebp
pop ebp
ret
push edi
push str..exe_updated__moving_back_n
mov byte [0x8a90f2], 1
call fcn.005b6df0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
push 0x1f4
call edi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005dc60d
lea ecx, [ebp - 0x108]
add esp, 0xc
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x563300
sub ecx, edx
cmp ecx, 8
ja 0x563324
push 0
push 0x33
push str.SelfUpdateEXE.cpp
push str.strlen_exeMain____8
call fcn.005b72c0
add esp, 0x10
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x563330
sub ecx, edx
add ecx, 0xfffffff8
cmp ecx, 0x104
jae 0x563441
push ebx
mov byte [ebp + ecx - 0x108], al
lea eax, [ebp - 0x108]
push esi
push eax
push str.exeMain:__s_n
call fcn.005b6df0
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
add esp, 8
xor esi, esi
lea ecx, [ecx]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x56342e
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x56342e
push 0x64
call edi
inc esi
cmp esi, 0xa
jl 0x563370
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x60c]
push str.Failed_to_replace_updater_file_n_nPlease_manually_rename__s_to__s
push eax
call fcn.0055d630
add esp, 0x10
lea eax, [ebp - 0x60c]
push 0x30
push str.Updater
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
push 0
push 0
push 0x6a702c
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dbd73
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.005dbd73
mov esp, ebp
pop ebp
ret
call fcn.005dd119
int3
Function at 0x563450
Capabilities:
Create process on windows
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6e8da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
mov edi, edx
push eax
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.Trying_to_update_n
call fcn.005b6df0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push str._s.new.exe
push eax
call fcn.0055d610
lea eax, [ebp - 0x108]
push 0x6a6c9c
push eax
call fcn.005dca8b
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x5634ce
lea eax, [ebp - 0x108]
push eax
push str.cant_open__s_for_writing_n
call fcn.005b6a10
add esp, 8
push esi
push 1
push edi
push ebx
call fcn.005ddca3
push esi
call fcn.005dc465
add esp, 0x14
push dword [0x8a918c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push eax
push str.executing__s_n
call fcn.005b6df0
add esp, 8
lea eax, [ebp - 0x108]
push 5
push 0
push 0x804f00
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebx
cmp eax, 0x20
jge 0x56353b
push eax
lea eax, [ebp - 0x108]
push eax
push str.failed_to_launch__s___d
call fcn.005b6a10
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.005dbd73
mov esp, ebp
pop ebp
ret
Function at 0x563890
Capabilities:
Extract resource via kernel32 functions
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fda18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x6e8da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x28]
call fcn.00401000
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00401190
push 0x6afd78
push 0xc8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x5639b4
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x5639b4
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00401350
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
push 0x6afc00
call fcn.005b7f20
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.004011c0
push eax
lea ecx, [ebp - 0x28]
call fcn.004011f0
push eax
call fcn.005b7ef0
add esp, 8
cmp dword [ebp - 0x10], eax
je 0x5639c8
push 0x80
push 0x6afc00
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x6a6c9c
push 0x6afc00
call fcn.005dca8b
mov esi, eax
add esp, 8
test esi, esi
jne 0x56398f
push 0x10
push str.Warning
push str.Can_not_update_steam_api.dll
jmp 0x5639c0
push esi
lea ecx, [ebp - 0x28]
call fcn.004011c0
push eax
push 1
lea ecx, [ebp - 0x28]
call fcn.004011f0
push eax
call fcn.005ddca3
push esi
call fcn.005dc465
add esp, 0x14
jmp 0x5639c8
push 0x10
push str.Warning
push str.No_steam_api.dll_resource
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004010b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x563dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push esi
push eax
mov esi, ecx
push 0xf003f
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
mov byte [esi], 0
mov byte [esi + 0x80], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x13c], 0
push bind
mov dword [esi + 0x140], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x563e41
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x80
push eax
push esi
push 0
push 0
push str.username
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret