joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ed8c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x2c
mov eax, dword [0x58313c]
xor eax, esp
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x30]
movzx eax, cx
mov edx, eax
push esi
mov esi, edx
push edi
mov edi, eax
test ecx, 0x10000
jne 0x4ed938
movaps xmm0, xmmword [0x55a3e0]
lea ecx, [esi - 0x20]
add edx, 0xffffff9f
movzx esi, cx
xor eax, eax
mov dword [esp + 0x28], 0xdb005b
cmp dx, 0x19
mov dword [esp + 0x2c], 0xdd005d
mov ecx, edi
movups xmmword [esp + 8], xmm0
cmova esi, ecx
movaps xmm0, xmmword [0x55a3f0]
movups xmmword [esp + 0x18], xmm0
movzx edx, si
cmp dx, word [esp + eax*2 + 8]
jne 0x4ed930
movzx edx, word [esp + eax*2 + 0xa]
add eax, 2
cmp eax, 0x14
jl 0x4ed924
movsx eax, dx
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [esp + 0x30]
pop edi
shr eax, 0xf
pop esi
xor ecx, esp
and al, 1
call fcn.00512b0b
add esp, 0x2c
ret

Function at 0x4eee10
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x38
mov eax, dword [0x58313c]
xor eax, esp
mov dword [esp + 0x34], eax
cmp byte [esp + 0x3c], 0
push esi
mov esi, ecx
je 0x4eef00
push 0x73
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
mov eax, dword [0x5899bc]
je 0x4eee4e
mov ecx, eax
and cl, 7
cmp cl, 4
je 0x4eef00
cmp byte [esi + 0x16d], 0
jne 0x4eeee8
movaps xmm0, xmmword [0x55a3e0]
mov ecx, 0x1b
movups xmmword [esp + 0x10], xmm0
xor eax, eax
mov dword [esp + 0x30], 0xdb005b
movaps xmm0, xmmword [0x55a3f0]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0xdd005d
nop word [eax + eax]
cmp cx, word [esp + eax*2 + 0x10]
jne 0x4eee9c
movzx ecx, word [esp + eax*2 + 0x12]
add eax, 2
cmp eax, 0x14
jl 0x4eee90
movsx eax, cx
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x4eeebe
test byte [0x5899bc], 7
je 0x4eef00
lea ecx, [esp + 4]
mov dword [esp + 4], 0xd
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004ed470
test al, al
jne 0x4eef00
mov eax, dword [0x5899bc]
shr eax, 1
not al
and al, 1
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00512b0b
add esp, 0x38
ret 4
mov ecx, dword [esp + 0x38]
xor al, al
pop esi
xor ecx, esp
call fcn.00512b0b
add esp, 0x38
ret 4
Function at 0x4f9440
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546b4e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], 0
call fcn.0041a6c0
lea ecx, [esi + 0x170]
mov dword [esi + 0x1d8], eax
call fcn.004a05c0
cmp byte [esi + 0x160], 0
jne 0x4f9546
cmp byte [esi + 0x81], 0
jl 0x4f9546
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4f94b5
call fcn.004ed580
test al, al
je 0x4f9546
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0040db70
push 0
mov dword [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f9523
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4f951d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x4f951d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
shr eax, 1
lea ecx, [ebp - 0x18]
push eax
push ebx
call fcn.0040d7c0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f660
lea ecx, [ebp - 0x18]
call fcn.0040e7a0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x4f953e
mov eax, dword [esi + 0x88]
lea ecx, [esi + 0x88]
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x18]
lea ecx, [ebp - 0x10]
call fcn.0040e7a0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x507bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push esi
push edi
mov edi, dword [0x589a18]
mov esi, ecx
test edi, edi
je 0x507cd0
test byte [edi + 0x81], 4
je 0x507cd0
mov eax, edi
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x507c20
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x507c2e
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x507c12
call fcn.004d9bc0
mov ecx, eax
mov edx, dword [ecx]
lea eax, [esp + 8]
push edi
push eax
call dword [edx + 0x34]
sub esi, 0xffffff80
cmp esi, eax
je 0x507c56
mov edx, dword [eax]
mov dword [eax], 0
mov ecx, dword [esi]
mov dword [esi], edx
test ecx, ecx
je 0x507c56
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x507c64
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [esi]
test esi, esi
je 0x507cef
mov eax, dword [esi + 8]
push ebx
test eax, eax
je 0x507c88
cmp edi, dword [eax + 8]
je 0x507cee
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x507c88
push esi
call fcn.004fd320
push edi
lea ecx, [esi + 8]
call fcn.004b15f0
mov eax, dword [esi + 8]
test eax, eax
je 0x507cb8
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x507ca8
push esi
call fcn.004ba390
mov eax, dword [esi + 8]
test eax, eax
je 0x507cb8
mov eax, dword [eax + 8]
test eax, eax
je 0x507cb8
mov eax, dword [eax + 0x18]
jmp 0x507cba
xor eax, eax
push eax
lea ecx, [esi + 0x10]
call fcn.004b15f0
pop ebx
pop edi
mov ecx, esi
pop esi
add esp, 4
jmp fcn.00508910
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x80], 0
test ecx, ecx
je 0x507cef
mov eax, dword [ecx]
push 1
call dword [eax]
pop edi
pop esi
pop ecx
ret
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x507e10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push esi
push edi
push 0x10
call ebp
movzx esi, ax
shr esi, 0xf
push 0x11
and esi, 1
call ebp
shr eax, 0xf
mov edi, esi
or edi, 2
and al, 1
push 0x12
cmove edi, esi
call ebp
shr eax, 0xf
mov ebx, edi
or ebx, 4
and al, 1
push 0xa5
cmove ebx, edi
mov esi, ebx
call ebp
shr eax, 0xf
test al, 1
je 0x507e6d
push 0xa3
call ebp
shr eax, 0xf
test al, 1
jne 0x507e6d
and esi, 0xfffffffd
or esi, 4
mov eax, dword [0x5899bc]
pop edi
and eax, 0x70
or eax, esi
pop esi
pop ebp
mov dword [0x5899bc], eax
pop ebx
ret

Function at 0x5088d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov ecx, ebx
and ecx, 1
mov eax, ebx
shl ecx, 4
mov edx, ecx
or edx, 0x20
and al, 2
mov eax, dword [0x5899bc]
cmove edx, ecx
and eax, 0xffffff8f
mov ecx, edx
or ecx, 0x40
and bl, 0x10
pop ebx
cmove ecx, edx
or ecx, eax
mov dword [0x5899bc], ecx
jmp fcn.00507e10
Function at 0x50c890
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547c4e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
push ebx
call fcn.00406320
lea eax, [ebx + 0x18]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x18]
push eax
call fcn.00406320
movzx eax, word [ebx + 0x30]
lea ecx, [edi + 0x40]
mov word [edi + 0x30], ax
movzx eax, word [ebx + 0x32]
mov word [edi + 0x32], ax
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
lea eax, [ebx + 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.0050c650
lea eax, [edi + 0x4c]
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, dword [ebx + 0x4c]
mov ebx, dword [ebx + 0x50]
cmp esi, ebx
je 0x50c968
mov edi, ebx
mov ecx, eax
sub edi, esi
sar edi, 3
push edi
call fcn.0042e590
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], eax
lea eax, [eax + edi*8]
mov edi, ecx
mov dword [edi + 0x54], eax
mov edx, dword [edi + 0x4c]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esi, 8
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
cmp esi, ebx
jne 0x50c951
mov dword [edi + 0x50], edx
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x58]
add eax, 0x58
mov byte [ebp - 4], 3
push eax
call fcn.00406320
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x532b65
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005329db
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 0x6d1460
push 1
push 0
push 0x6d1450
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.005b6d70
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.005b6d70
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.005b6d70
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 0x6d14a0
push 1
push 0
push 0x6d1490
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.005b6d70
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.005b6d70
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.RKS_STUDIO
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.005b6d70
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 0x6d14c0
push 1
push 0
push 0x6d14b0
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.005b6d70
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 [0x70bddc]
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.005dcd40
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.005b7080
add esp, 0x10
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x11c]
push ecx
call fcn.005b7ac0
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.005b6f40
add esp, 8
push str.1.6.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.005b6f40
add esp, 0xc
push 0x2f
push str.http:__147.50.253.115_TANAWANT_THONGPING_launcher_woupd.xml
call fcn.005dcd40
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.005b7080
add esp, 0x10
lea edi, [esi + 1]
push 0x6d1550
push edi
call fcn.005b7fd0
mov esi, eax
push str._p__n
push esi
call fcn.005dcd6d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push str.1.6.0
push ecx
lea edx, [esp + 0x2c]
push edx
push str.http:__147.50.253.115_TANAWANT_THONGPING_launcher_
push str.__u_url__s_s__crc__u__ver__s__size__u____n
push esi
call fcn.005dcd6d
push str.__p__n
push esi
call fcn.005dcd6d
push esi
call fcn.005dcf00
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.005dca77
add esp, 0x614
ret

Function at 0x402440
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemMultifunctionAdapter0DiskController0DiskPeripheral0
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 SysReAllocString
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.005dd265
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 0x402da0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xb14
mov eax, dword [0x70bddc]
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 0x402df3
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.005e03ec
add esp, 8
test eax, eax
je 0x402e55
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.00406b20
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.005dca77
add esp, 0xb14
ret
Function at 0x402ef0
Capabilities:
Inspect load icon resource
Terminate process

Disassembly:
mov eax, dword [0x84dac8]
push 5
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push str._generate
push 0x84d190
mov dword [0x84dad0], eax
mov dword [0x70abf8], 0
call fcn.005dd6a0
add esp, 8
test eax, eax
je 0x402f38
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 0x402f28
call fcn.00402da0
call fcn.00402e70
test al, al
jne 0x402f73
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.00407680
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x8f2af8
push 0x6db7b0
push 0x17
push 0
push 0x6af904
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x402fa7
mov dword [0x8f2af8], 0
push str._cmdLine
push 0x84d190
call fcn.005dd6a0
add esp, 8
test eax, eax
je 0x402fc4
mov byte [0x8f2af4], 1
push esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
call esi
push 0x7f89
push 0
mov dword [0x8f2608], eax
call esi
push 0x209
push 0x8f2b90
push 0x12f
push 0
mov dword [0x8f2604], eax
call dword [sym.imp.USER32.dll_LoadStringW]
pop esi
ret
Function at 0x403ba0
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x62dd0e
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x70bddc]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push esi
push edi
mov eax, dword [0x70bddc]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
call fcn.004134d0
cmp byte [0x8f2af4], 0
je 0x403c2d
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call fcn.005ddd85
add eax, 0x20
push eax
push 0x6db844
push 0x6dbb4c
call fcn.005ddd5f
call fcn.005ddd85
push eax
push 0x6dbb54
push str.CONIN_
call fcn.005ddd5f
add esp, 0x18
mov dword [0x84db48], 1
jmp 0x403da7
mov eax, 0x8f3678
call fcn.004021c0
mov eax, dword [0x84dac8]
push 5
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [0x84dacc]
push eax
push 0
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x84dacc]
push 0x800000
push 0
push edx
call fcn.005b6510
mov eax, dword [0x84dacc]
push 0xc00000
push 0
push eax
call fcn.005b6510
mov ecx, dword [0x84dacc]
add esp, 0x18
push 0x403a10
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.005c0b80
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 [0x84dacc]
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.005b8d20
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x220], 0
test eax, eax
je 0x403d20
mov ecx, eax
call fcn.005be540
jmp 0x403d22
xor eax, eax
mov dword [esp + 0x220], 0xffffffff
mov ecx, dword [0x84dacc]
push 0
push ecx
mov ecx, eax
mov dword [0x84db34], eax
call fcn.005b9ee0
call fcn.00403000
push str.May_26_2024_00:58:51
push str.1.6.0
lea edx, [esp + 0x1c]
push str.RKS_STUDIO__s___s_
push edx
call fcn.00406b40
mov ecx, dword [0x84dacc]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
call fcn.004033e0
mov edx, dword [0x84dacc]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
mov ecx, dword [0x84db3c]
call fcn.005c4320
mov ecx, dword [0x84db38]
call fcn.005c4560
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.005dca77
add esp, 0x214
ret
Function at 0x405700
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x30c30c31
imul ecx
sub esp, 0x30
sar edx, 4
push ebx
mov eax, edx
shr eax, 0x1f
push ebp
xor ebx, ebx
add eax, edx
push edi
je 0x40592f
xor edi, edi
mov dword [esp + 0xc], edi
jmp 0x405734
mov edi, dword [esp + 0xc]
cmp edi, 0x1a4
jae 0x40592f
cmp ebx, eax
jb 0x405749
call fcn.005ddc76
mov eax, dword [esi + 0xc]
lea eax, [edi + eax + 0x38]
mov ebp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x40575f
mov eax, dword [eax + 4]
jmp 0x405762
add eax, 4
fld dword [esp + 0x44]
mov edx, dword [0x8f2b74]
push eax
lea ecx, [esp + 0x20]
push ecx
sub esp, 8
fstp dword [esp + 4]
mov dword [esp + 0x2c], 0xfff3b656
fld dword [esp + 0x50]
fadd qword [0x6de5f8]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
push edx
call fcn.005c05b0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 0x14
cmp ebx, eax
jb 0x4057bf
call fcn.005ddc76
mov eax, dword [esi + 0xc]
add eax, edi
cmp dword [eax + 0x18], ebp
jb 0x4057ce
mov ebp, dword [eax + 4]
jmp 0x4057d1
lea ebp, [eax + 4]
mov edi, dword [0x8f2b74]
push ebp
call fcn.00403e40
fld dword [esp + 0x44]
fstp dword [esp + 0x2c]
mov dword [esp + 0x24], eax
fld dword [esp + 0x48]
mov dword [esp + 0x28], edx
fstp dword [esp + 0x30]
add esp, 4
fild dword [esp + 0x20]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 0xffffffff
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x30]
fild dword [esp + 0x24]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x34]
call fcn.00402ce0
test al, al
je 0x4058d0
fld1
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov dword [esp + 0x2c], 0xffffd800
fld dword [esp + 0x30]
fstp dword [esp + 8]
fld dword [esp + 0x34]
fadd dword [esp + 0x60]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld dword [esp + 0x5c]
fstp dword [esp]
call fcn.005c46c0
add esp, 0x1c
cmp dword [0x8f2b88], 0
je 0x4058d0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x30c30c31
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x40589f
call fcn.005ddc76
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xc]
cmp dword [edx + ecx + 0x34], 0x10
lea eax, [edx + ecx + 0x1c]
jb 0x4058b6
mov eax, dword [eax + 4]
jmp 0x4058b9
add eax, 4
push 5
push 0
push 0x6dbb4a
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
fld dword [esp + 0x44]
mov ecx, dword [0x8f2b74]
push ebp
push 0x6d191c
lea eax, [esp + 0x18]
push eax
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x54]
fstp dword [esp]
push ecx
call fcn.005c05b0
fld dword [esp + 0x5c]
mov ecx, dword [esi + 0x10]
fadd qword [0x6de5f0]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x24], 0x54
mov eax, 0x30c30c31
fstp dword [esp + 0x5c]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add esp, 0x18
cmp ebx, eax
jb 0x405730
pop edi
pop ebp
pop ebx
add esp, 0x30
ret