joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ee17
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call fcn.00476400
mov dword [ebp - 4], 0
add edi, 0x194
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp + 0xc], edi
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
call dword [edx + 4]
lea esi, [edi + 8]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi], 0x584184
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], ax
mov byte [ebp - 4], 1
mov byte [esi + 0x24], al
mov byte [ebp - 4], 2
lea ecx, [edi + 0x30]
call fcn.00423b90
mov byte [ebp - 4], 3
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov byte [ebp - 4], 4
lea ecx, [edi + 0x5c]
call fcn.00423c70
mov byte [ebp - 4], 5
mov ecx, esi
mov eax, dword [esi]
push ebx
call dword [eax + 0xc]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
mov dword [eax + 0x210], 0x5846d8
mov dword [eax + 0x214], ebx
mov dword [eax + 0x218], 0
mov byte [ebp - 4], 7
mov dword [eax + 0x21c], 0
mov byte [ebp - 4], 9
lea edi, [eax + 0x224]
mov dword [eax], 0x58633c
mov ecx, ebx
mov dword [eax + 0x24], 0x58625c
mov dword [eax + 0x28], 0x586248
mov eax, dword [ebx]
mov dword [ebp + 8], edi
call dword [eax + 8]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 4]
mov dword [edi], 0x590f74
mov dword [edi + 4], eax
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov byte [ebp - 4], 0xc
mov dword [edi], 0x590f74
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x10]
lea eax, [edi + 0x254]
mov dword [ebp + 8], eax
mov dword [eax], 0
mov byte [ebp - 4], 0xe
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
mov byte [ebp - 4], 0xf
mov dword [edi + 0x264], 0
mov dword [ebp - 4], 0xffffffff
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 8
Function at 0x463850
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f398
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5d0074]
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 edi, ecx
mov dword [ebp - 0x5c], edi
mov ebx, dword [ebp + 0xc]
lea ecx, [edi + 0x138]
push ebx
call fcn.00451a60
mov dword [ebp - 0x58], eax
test eax, eax
je 0x4639b1
push 0xf000
push ebx
push 0x1127
push dword [edi + 0x138]
call dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xf000
shr eax, 0xc
cmp eax, 2
je 0x4638c8
cmp eax, 3
mov eax, 2
jne 0x4638cd
mov eax, 3
push eax
push dword [ebp - 0x58]
lea ecx, [edi + 0x194]
push ebx
call fcn.004646c0
mov edi, dword [edi + 0x198]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
mov eax, dword [edi]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov esi, dword [eax + 8]
xor eax, eax
push eax
push 0x57df48
mov word [ecx], ax
call fcn.00407880
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
xor eax, eax
push 0xd
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.AiRefreshCost
mov word [ecx], ax
call fcn.00407880
mov byte [ebp - 4], 1
push 0x138d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004e1930
mov dword [ebp - 4], 2
mov ecx, edi
push eax
call esi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00407b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00407b40
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
mov ecx, esi
push ebx
call fcn.00462f90
push ebx
push 9
push 0x110b
push dword [esi + 0x138]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.004639e0
mov dword [esi + 0x220], 1
xor eax, eax
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.005214e1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x468b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ffe3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call fcn.00476400
mov dword [ebp - 4], 0
lea edi, [ebx + 0x194]
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp + 0xc], edi
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, esi
mov ebx, eax
call dword [edx + 4]
lea esi, [edi + 8]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi], 0x584184
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], ax
mov byte [ebp - 4], 1
mov byte [esi + 0x24], al
mov byte [ebp - 4], 2
lea ecx, [edi + 0x30]
call fcn.00423b90
mov byte [ebp - 4], 3
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov byte [ebp - 4], 4
lea ecx, [edi + 0x5c]
call fcn.00423c70
mov byte [ebp - 4], 5
mov ecx, esi
mov eax, dword [esi]
push ebx
call dword [eax + 0xc]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
mov ecx, ebx
lea edi, [eax + 0x214]
mov dword [eax], 0x5869c4
mov dword [eax + 0x24], 0x5868e4
mov dword [eax + 0x28], 0x5868d0
mov eax, dword [ebx]
mov dword [ebp + 0xc], edi
call dword [eax + 8]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 4]
mov dword [edi], 0x590f74
mov dword [edi + 4], eax
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 7
xor eax, eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov byte [ebp - 4], 9
mov dword [edi], 0x590f74
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + 0x244]
mov dword [eax], 0
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0xb
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
mov byte [ebp - 4], 0xc
mov dword [ecx + 0x254], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x468fa0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f068
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x30]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x60]
and eax, 1
shl eax, 5
cmp dword [ecx + 0x14], 8
jb 0x468ff0
mov ecx, dword [ecx]
mov dword [ebp - 0x7c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 0x1132
push dword [edi + 0x138]
mov dword [ebp - 0x8c], ebx
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x64], 0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], 0x2f
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0
push 0
push 0
push 0
mov ebx, eax
lea ecx, [edi + 0x138]
push 4
push ebx
call fcn.00451ea0
mov ecx, dword [edi + 0x194]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xffffffff
cmove ecx, dword [ebp - 0x38]
mov dword [ebp - 0x34], ecx
cmp ecx, 3
jne 0x4690af
xor eax, eax
jmp 0x4690e4
cmp ecx, 0x64
jne 0x4690b9
lea eax, [ecx - 0x62]
jmp 0x4690e4
cmp ecx, 4
jne 0x4690c3
lea eax, [ecx + 4]
jmp 0x4690e4
cmp ecx, 1
jne 0x4690cd
lea eax, [ecx + 5]
jmp 0x4690e4
cmp ecx, 2
jne 0x4690d7
lea eax, [ecx + 2]
jmp 0x4690e4
xor eax, eax
mov edx, 4
cmp ecx, 0xffffffff
cmove eax, edx
push 0
push 0
push 0
push eax
push eax
push 0
push 0x22
push ebx
lea ecx, [edi + 0x138]
call fcn.00451ea0
push esi
lea ecx, [ebp - 0x30]
call fcn.00406ba0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 1
lea esi, [edi + 0x1c4]
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x30]
push ecx
mov edi, dword [eax]
mov eax, dword [edi + 4]
push eax
push edi
mov dword [ebp - 0x3c], eax
call fcn.004415a0
mov edx, eax
mov ecx, 0x71c71c6
mov eax, dword [esi + 8]
sub ecx, eax
cmp ecx, 1
jb 0x469193
inc eax
mov ecx, esi
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 4], edx
mov dword [eax], edx
mov eax, dword [esi + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00441190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00407b40
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005214e1
mov esp, ebp
pop ebp
ret 0xc
push str.list_T__too_long
call fcn.0051f521
int3
Function at 0x46f5f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5511c0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x54], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
wait
lea ecx, [esi + 0x138]
push dword [eax + 0x10]
call fcn.0041cda0
mov ebx, eax
mov dword [ebp - 0x60], ebx
mov ecx, 0x811c9dc5
lea edx, [ebp - 0x60]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], ecx
lea eax, [ebp - 0x5c]
cmp edx, eax
je 0x46f66a
movzx eax, byte [edx]
xor ecx, eax
mov dword [ebp - 0x64], ecx
imul ecx, ecx, 0x1000193
inc edx
jmp 0x46f64c
mov edx, dword [esi + 0x1b0]
and edx, ecx
mov edi, dword [esi + 0x1a4]
mov ecx, dword [edi + edx*8]
nop dword [eax + eax]
mov eax, dword [esi + 0x19c]
cmp dword [edi + edx*8], eax
je 0x46f691
mov eax, dword [edi + edx*8 + 4]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
cmp ecx, eax
je 0x46f6a9
cmp dword [ecx + 8], ebx
jne 0x46f6a5
mov eax, dword [esi + 0x19c]
jmp 0x46f6b1
mov ecx, dword [ecx]
jmp 0x46f680
mov ecx, dword [esi + 0x19c]
mov eax, ecx
cmp ecx, eax
je 0x46f6ff
mov eax, dword [ecx + 0x38]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov edx, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x30]
call fcn.0053e6b0
mulsd xmm0, qword [0x597120]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
mov ecx, dword [ebp - 0x5c]
comisd xmm1, xmm0
jbe 0x46f6ec
mov dword [ecx + 0x34], 0
jmp 0x46f709
xor eax, eax
comisd xmm1, xmmword [0x597108]
setbe al
inc eax
mov dword [ecx + 0x34], eax
jmp 0x46f709
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x34], 2
wait
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005214e1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4702a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551473
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov eax, 0x811c9dc5
lea ecx, [edi + 8]
lea edx, [ecx + 4]
mov esi, ecx
cmp edx, ecx
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 4
mov dword [ebp - 0x10], ecx
lea ecx, [edi + 8]
cmp ecx, edx
ja 0x470307
mov edx, dword [ebp - 0x10]
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
inc ebx
imul eax, ecx, 0x1000193
cmp ebx, edx
jne 0x4702f4
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x18]
and ecx, eax
lea esi, [ecx*8]
mov ecx, dword [edx + 0xc]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x47033d
cmp dword [ecx], edi
jne 0x470335
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x470345
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x470345
cmp dword [ecx], edi
jne 0x470345
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea eax, [edi + 8]
dec dword [edx + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00407b40
push 0x40
push edi
call fcn.005214f2
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x478670
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x5526d9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp + 0x410], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [ebp]
mov dword [ebp - 0x18], esi
push eax
push 0x104
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4786db
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x478754
cmp dword [edi + 0x14], 8
jb 0x4786e3
mov edi, dword [edi]
lea eax, [ebp + 0x208]
push eax
push 0
push edi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x47870d
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
jmp 0x47875b
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp + 0x208]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478736
sub ecx, edx
lea eax, [ebp + 0x208]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407880
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.005214e1
lea esp, [ebp + 0x414]
pop ebp
ret
Function at 0x478790
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552718
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5d0074]
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, ecx
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x4787d6
mov ecx, esi
call fcn.00407b40
add esi, 0x18
cmp esi, edi
jne 0x4787c6
mov esi, dword [ebx]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebx + 4], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push eax
push eax
call edi
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmp esi, ecx
ja 0x478827
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmovae ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ecx + esi*2], ax
jmp 0x478836
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00478b30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call edi
test eax, eax
jne 0x47884d
xor bl, bl
jmp 0x47887c
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push ebx
cmovae ecx, dword [ebp - 0x28]
mov edx, eax
call fcn.0048f980
mov ecx, dword [ebx + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
setne bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407b40
mov al, bl
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.005214e1
mov esp, ebp
pop ebp
ret
Function at 0x47f1f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f3c0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x47f233
lea eax, [edx + 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, edx
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47f240
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x47f280
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541210
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x47f2c7
lea eax, [ebx + 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor esi, esi
mov edx, ebx
nop dword [eax + eax]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47f2d5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x47f2d0
mov eax, dword [ebp - 0x10]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x480590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x553d00
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x410]
mov eax, dword [ebp + 0x414]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x480638
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x480638
call fcn.00410770
mov edi, eax
jmp 0x480740
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x480655
call fcn.00410770
jmp 0x480733
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x480670
call fcn.00410770
jmp 0x480733
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x14], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x48068e
mov edi, 0x8007000e
jmp 0x480735
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
test edx, edx
ja 0x480782
jb 0x4806b2
cmp eax, 0xffffffff
ja 0x480782
cmp eax, 0x400
jbe 0x4806cb
push eax
lea ecx, [ebp]
call fcn.00476330
mov dword [ebp - 4], 1
jmp 0x4806f0
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x4806f0
mov eax, dword [ebp]
test eax, eax
jne 0x4806fe
mov edi, 0x8007000e
jmp 0x480735
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x480719
call fcn.00410770
jmp 0x480733
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x41c]
push dword [ebp]
lea ecx, [ebp - 0x24]
call fcn.00480430
mov edi, eax
test esi, esi
je 0x480740
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x480754
lea ecx, [ebp]
call fcn.004762f0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.005214e1
lea esp, [ebp + 0x408]
pop ebp
ret 0x10
push 0x80070216
call fcn.004126a0
int3
Function at 0x483260
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5543f8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x54]
mov ecx, 0x58a8b4
movzx esi, ax
call fcn.00452d20
mov ebx, eax
push str.IsWow64Process
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4832ee
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x30]
test eax, eax
je 0x4832ee
cmp dword [ebp - 0x34], 0
je 0x4832ee
push str.GetNativeSystemInfo
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4832ee
lea ecx, [ebp - 0x58]
push ecx
call eax
jmp 0x4832f8
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov cx, word [ebp - 0x58]
movzx eax, cx
test eax, eax
je 0x48333b
cmp eax, 6
je 0x483336
cmp eax, 9
jne 0x483340
cmp esi, eax
je 0x483316
test si, si
jne 0x483340
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005214e1
mov esp, ebp
pop ebp
ret 4
cmp esi, 6
jmp 0x483314
cmp si, cx
je 0x483316
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push 0x1048
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
jne 0x483384
lea edx, [ebp - 0x2c]
mov ecx, 0x661
call fcn.004810e0
cmp dword [ebp - 0x1c], 0
jne 0x483384
push ecx
mov eax, esp
push ecx
mov dword [eax], 0x2797
mov eax, esp
mov dword [eax], 0x2796
jmp 0x48339d
push ecx
mov eax, esp
lea ecx, [ebp - 0x2c]
mov dword [eax], 0
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov eax, esp
mov dword [eax], ecx
mov edx, 0x10
xor ecx, ecx
call fcn.004379c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407b40
xor al, al
jmp 0x483318