joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f220
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621196
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0052f1e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46f39c
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x46f2b2
xor ecx, ecx
jmp 0x46f2cf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x46f2c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f2c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00470470
push 1
push 0x642134
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00470270
cmp word [esi], 0
jne 0x46f305
xor ecx, ecx
jmp 0x46f31f
mov ecx, esi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f310
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.00470270
push 4
push str..lnk
lea ecx, [ebp - 0x230]
call fcn.00470270
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46f37e
cmp dword [ebp - 0x21c], 8
jb 0x46f374
push dword [ebp - 0x230]
call fcn.0052d900
add esp, 4
mov eax, 1
jmp 0x46f479
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 4], 0xffffffff
jb 0x46f39c
push dword [ebp - 0x230]
call fcn.0052d900
add esp, 4
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46f477
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0046e770
push 1
push 0x642134
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 1
call fcn.00470270
cmp word [esi], 0
jne 0x46f3ec
xor ecx, ecx
jmp 0x46f400
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f3f1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x248]
call fcn.00470270
push 4
push str..lnk
lea ecx, [ebp - 0x248]
call fcn.00470270
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46f460
cmp dword [ebp - 0x234], 8
jb 0x46f374
push dword [ebp - 0x248]
call fcn.0052d900
add esp, 4
mov eax, 1
jmp 0x46f479
cmp dword [ebp - 0x234], 8
jb 0x46f477
push dword [ebp - 0x248]
call fcn.0052d900
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 4
Function at 0x46f4a0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x428], eax
xor esi, esi
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], esi
push eax
push 9
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x46f4fc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0052f1e0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x104
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x46f617
jmp 0x46f550
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x46f5f5
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
mov dword [ebp - 0x424], 0x104
call fcn.0052f1e0
add esp, 0xc
mov dword [ebp - 0x420], 1
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46f5ed
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.0053006e
add esp, 8
test eax, eax
mov eax, 1
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
push 0x104
lea eax, [ebp - 0x20c]
inc edi
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x46f550
push dword [ebp - 0x418]
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 4
Function at 0x470ab0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62124b
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x6e4770]
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
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x470c83
push 0xff
lea eax, [ebp - 0x10f]
mov byte [ebp - 0x110], 0
push 0
push eax
call fcn.0052f1e0
lea edx, [ebp - 0x110]
add esp, 0xc
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x470b10
xor edi, edi
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x470b22
sub ebx, ecx
call fcn.0046bf40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x470b47
push 0x80004005
call fcn.00470a90
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x464], esi
push 0xff
lea eax, [ebp - 0x20f]
mov dword [ebp - 4], 0
push 0
push eax
mov byte [ebp - 0x210], 0
call fcn.0052f1e0
add esp, 0xc
cmp byte [ebp + ebx - 0x111], 0x5c
je 0x470b8d
mov byte [ebp + ebx - 0x110], 0x5c
cmp byte [ebp - 0x110], 0
je 0x470c1e
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov al, byte [ebp + edi - 0x110]
cmp al, 0x3a
jne 0x470bb0
add edi, 2
jmp 0x470c14
cmp al, 0x5c
jne 0x470c13
push edi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0052e410
add esp, 0xc
cmp edi, 0x100
jae 0x470c87
lea eax, [ebp - 0x210]
mov byte [ebp + edi - 0x210], 0
push eax
lea ecx, [ebp - 0x464]
call fcn.004707a0
mov esi, dword [ebp - 0x464]
lea eax, [ebp - 0x460]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x470c13
push 0
push esi
call ebx
test eax, eax
je 0x470c62
inc edi
cmp byte [ebp + edi - 0x110], 0
jne 0x470ba0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470c3f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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.0052dfa4
mov esp, ebp
pop ebp
ret 4
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470c83
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x470c44
call fcn.0052ed39
int3

Function at 0x471350
Capabilities:
Create thread

Disassembly:
mov eax, dword [ecx + 0x300]
cmp eax, 0xffffffff
je 0x471364
cmp eax, 1
je 0x471364
or eax, 0xffffffff
ret
push 0
push 0
push ecx
push 0x471120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret
Function at 0x471b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621304
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6e4770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00471960
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004765c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4732c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6215ec
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.BOOL_CRunSoftUpd::DoRequestSoftUpd_void_...........start
call fcn.0049ad90
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0052f1e0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x218], 0
jne 0x473337
xor ecx, ecx
jmp 0x47334f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473340
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x344]
call fcn.00470470
mov eax, dword [0x6ee738]
test eax, eax
jne 0x4733a0
push 0x154
call fcn.0052d905
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x473392
mov ecx, eax
call fcn.0047b690
jmp 0x473394
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6ee738], eax
mov ecx, eax
call fcn.0047b750
mov edx, eax
cmp word [edx], 0
jne 0x4733b3
xor ecx, ecx
jmp 0x4733cf
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x4733c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4733c0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x280]
call fcn.00470470
mov ecx, esi
call fcn.00476030
mov ecx, esi
mov dword [esi], 0
call fcn.00474e30
test eax, eax
je 0x473436
mov ecx, esi
call fcn.00474390
test eax, eax
je 0x473436
mov ecx, esi
call fcn.00472720
test eax, eax
je 0x473436
push 0x1f4
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.BOOL_CRunSoftUpd::DoRequestSoftUpd_void_...........end
mov dword [esi + 8], 1
call fcn.0049ad90
add esp, 4
mov eax, 1
jmp 0x47348e
mov eax, dword [0x6ee73c]
test eax, eax
jne 0x473474
push 0x920
call fcn.0052d905
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x473466
mov ecx, eax
call fcn.00476e80
jmp 0x473468
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6ee73c], eax
push 0
push 0
push 0x464
mov ecx, eax
call dword [0x693a60]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret

Function at 0x4734b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x10]
push eax
push 0
push esi
push 0x4734d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
pop esi
ret

Function at 0x4734f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x473523
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xc], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x476030
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0052f1e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0052f1e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0052f1e0
lea esi, [ebx + 0x280]
add esp, 0x24
cmp dword [esi + 0x14], 8
jb 0x4760ac
mov eax, dword [esi]
jmp 0x4760ae
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x642138
push 0x6423ec
push 0x6423f4
call edi
cmp dword [esi + 0x14], 8
jb 0x4760dc
mov eax, dword [esi]
jmp 0x4760de
mov eax, esi
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0x642138
push str.MinVer
push 0x6423f4
call edi
cmp dword [esi + 0x14], 8
jb 0x476104
mov esi, dword [esi]
push esi
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0x642418
push str.Spreader
push str.AppInfo
call edi
cmp word [ebp - 0x20c], 0
jne 0x476130
xor ecx, ecx
jmp 0x47614f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476140
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebx + 0x2fc]
call fcn.00470470
cmp word [ebp - 0x414], 0
jne 0x476170
xor ecx, ecx
jmp 0x47618f
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x476180
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebx + 0x314]
call fcn.00470470
cmp word [ebp - 0x61c], 0
jne 0x4761b0
xor ecx, ecx
jmp 0x4761cf
lea ecx, [ebp - 0x61c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4761c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x61c]
lea esi, [ebx + 0x32c]
push eax
mov ecx, esi
call fcn.00470470
mov eax, dword [ebx + 0x33c]
cmp eax, 6
jbe 0x47624b
add eax, 0xfffffffa
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x634]
push eax
call fcn.00476d40
mov edi, eax
cmp esi, edi
je 0x476234
cmp dword [esi + 0x14], 8
jb 0x476219
push dword [esi]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.0046fc60
cmp dword [ebp - 0x620], 8
jb 0x47624b
push dword [ebp - 0x634]
call fcn.0052d900
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x477b20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6223a8
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x94]
mov dword [ebp - 0x11c], eax
push edx
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x6e4034]
mov esi, dword [sym.WnPicViewer.exe_public:_bool___thiscall_UiLib::CDuiString::operator_wchar_t_const__const]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call esi
test al, al
jne 0x477c27
push dword [0x6e403c]
lea ecx, [ebp - 0x94]
call esi
test al, al
jne 0x477c27
push dword [0x6e4038]
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x477bcb
push 0
push 0xf020
push 0x112
mov ecx, ebx
call dword [0x693a7c]
jmp 0x477c2f
push dword [0x6e4040]
lea ecx, [ebp - 0x94]
call esi
test al, al
je 0x477c2f
mov ecx, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
push edx
mov ecx, dword [ecx + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x28]
push 5
push 0
push 0
mov ecx, eax
mov byte [ebp - 4], 1
call dword [0x693a70]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call dword [0x693a6c]
jmp 0x477c2f
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call dword [0x693a6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 4
Function at 0x47b000
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax]
mov esi, ecx
cmp eax, 0xd
jne 0x47b035
lea eax, [esi + 0x9d8]
mov byte [esi + 0x857], 1
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x47b0b0
cmp eax, 9
jne 0x47b09f
cmp byte [esi + 0x857], 0
je 0x47b0b0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0x1c]
mov ebx, ecx
mov eax, dword [ebp - 0x18]
mov edi, eax
sub ebx, dword [esi + 0x9d8]
sub edi, dword [esi + 0x9dc]
mov dword [esi + 0x9d8], ecx
mov dword [esi + 0x9dc], eax
test ebx, ebx
jne 0x47b077
test edi, edi
je 0x47b0b0
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
add edi, dword [ebp - 0x10]
add ebx, dword [ebp - 0x14]
push 0x19
push 0
push 0
push edi
push ebx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x47b0b0
cmp eax, 0xe
je 0x47b0a9
cmp eax, 0xa
jne 0x47b0b0
mov byte [esi + 0x857], 0
mov ecx, dword [esi + 0x840]
call dword [0x693a60]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x47d1e0
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 6
jne 0x47d211
push 3
push 0x642138
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [edi]
test eax, eax
je 0x47d2c3
cmp dword [eax], 0
je 0x47d2c3
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0xc
movq qword [ebp - 0xc], xmm0
lea edx, [ebp - 0x10]
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 1
mov eax, dword [eax]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jns 0x47d25a
cmp eax, 0x80004001
jne 0x47d2c3
cmp ebx, 6
jne 0x47d268
push 0
push 0x642134
jmp 0x47d273
cmp dword [esi + 0x14], 8
jb 0x47d270
mov esi, dword [esi]
push 0
push esi
mov eax, dword [edi]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x47d2c3
mov eax, dword [edi]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], ebx
push 0
mov eax, dword [eax]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x47d2c3
mov eax, dword [edi]
push 7
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
pop edi
test eax, eax
pop esi
setns al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 8
Function at 0x4812b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.0052f1e0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.005317ef
add esp, 0x1c
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret
Function at 0x481ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
test eax, eax
jne 0x481bb5
mov al, 2
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 4], 0
movzx ecx, word [eax + 0x234]
mov eax, dword [eax + 0x224]
push ebx
inc eax
mov dword [ebp - 0xc], 0x1b4
push esi
mov esi, dword [0x6f23d4]
imul ecx, eax
push edi
push esi
mov dword [ebp - 8], ecx
call fcn.0052f54b
push esi
push 0xffffffffffffffff
push eax
mov dword [0x6f23e0], eax
call fcn.0052f1e0
mov edi, dword [ebp + 8]
add esp, 0x10
push 0
push 0
push 0x4c
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 4]
push 0
push eax
push 0x1b4
push dword [0x6f23e0]
push edi
call ebx
cmp dword [ebp - 4], 0x1b4
jb 0x481cd9
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp dword [eax + 0x228], esi
jbe 0x481cce
mov edx, dword [ebp - 8]
cmp byte [0x6f2444], 1
je 0x481cf1
push 0
push 0
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push 0
push eax
mov eax, dword [ebp + 0xc]
shr ecx, 2
movzx eax, word [eax + 0x234]
sub eax, 4
push eax
mov eax, dword [0x6f23e0]
lea eax, [eax + ecx*4]
push eax
push edi
call ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
add dword [ebp - 0xc], ecx
movzx eax, word [eax + 0x234]
sub eax, 4
cmp ecx, eax
jb 0x481cd9
push 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push edi
call ebx
cmp dword [ebp - 4], 4
jb 0x481cd9
mov ecx, dword [ebp + 0xc]
inc esi
mov eax, dword [ebp - 8]
inc eax
movzx edx, word [ecx + 0x234]
imul edx, eax
mov dword [ebp - 8], edx
cmp esi, dword [ecx + 0x228]
jb 0x481c42
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.Premature_end_of_file_encountered_while_building_the_Master_SAT._n
call fcn.004812b0
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp + 0xc]
push eax
call fcn.00483170
add esp, 4
mov al, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x481d10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x481d25
mov al, 2
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
push dword [0x6f23d8]
mov dword [ebp - 4], 0
xor edi, edi
call fcn.0052f54b
mov dword [esi + 0x208], eax
push dword [0x6f23d8]
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [eax + 0x208]
call fcn.0052f1e0
mov edx, dword [ebp + 0xc]
xor esi, esi
add esp, 0x10
cmp dword [edx + 0x214], esi
jbe 0x481de2
mov ebx, dword [ebp + 8]
lea ebx, [ebx]
cmp byte [0x6f2444], 1
je 0x481e1d
mov eax, dword [0x6f23e0]
mov eax, dword [eax + esi*4]
test eax, eax
js 0x481e05
movzx ecx, word [edx + 0x234]
inc eax
push 0
imul ecx, eax
push 0
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push 0
push eax
mov ecx, edi
movzx eax, word [edx + 0x234]
push eax
mov eax, dword [edx + 0x208]
shr ecx, 2
lea eax, [eax + ecx*4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp + 0xc]
add edi, dword [ebp - 4]
movzx eax, word [edx + 0x234]
cmp dword [ebp - 4], eax
jb 0x481ded
inc esi
cmp esi, dword [edx + 0x214]
jb 0x481d70
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push str.Premature_end_of_file_encountered_while_building_the_SAT._n
call fcn.004812b0
add esp, 4
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
push str.Invalid_Master_SAT_termination_index._n
call fcn.004812b0
add esp, 4
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp + 0xc]
push eax
call fcn.00483170
add esp, 4
mov al, 2
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8