joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fea4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45004f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450030
mov dl, 1
mov eax, dword [0x412978]
call fcn.00403384
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404170
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45001f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043deb0
test al, al
je 0x450012
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x450060
lea eax, [ebp - 0x254]
call fcn.00409518
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450012
xor eax, eax
push ebp
push 0x45000b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x450098
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44fff4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043e0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44fff4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450012
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44ff15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416f84
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450056
lea eax, [ebp - 0x260]
call fcn.00404170
ret

Function at 0x450984
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x48ebb4]
cmp byte [eax + 0xa5], 0
jne 0x4509f5
cmp dword [0x48ebcc], 0
jne 0x4509b6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450940
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48ebcc], eax
cmp dword [0x48ebc8], 0
jne 0x4509d1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48ebc8], eax
cmp dword [0x48ebd0], 0
jne 0x4509f5
push esp
push 0
push 0
push 0x4508e4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x48ebd0], eax
pop edx
ret
Function at 0x450aec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450b03
add esp, 0xfffffff0
call fcn.004036c0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b47c
mov eax, dword [0x48d848]
cmp word [eax + 2], 0
jne 0x450b2b
mov eax, dword [0x48d848]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004521dc
mov eax, dword [0x48d974]
cmp word [eax + 2], 0
jne 0x450b45
mov eax, dword [0x48d974]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004523d4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412314]
call fcn.00403384
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412314]
call fcn.00403384
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41d658]
call fcn.004232a0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x450ccc
mov eax, dword [0x48d6cc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423670
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452984
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48d6cc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cd08
test eax, eax
je 0x450c3a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ed0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cd30
test eax, eax
je 0x450c4e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004043e0
mov eax, dword [0x48d4fc]
cmp byte [eax], 0
jne 0x450c82
mov eax, ebx
call fcn.00450df4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00452b60
mov eax, ebx
call fcn.00453524
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450cc2
call fcn.00403718
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451074
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48ebb4]
cmp dword [eax + 0x30], 0
je 0x45111e
cmp dword [ebx + 0x94], 0
jne 0x451118
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451004
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451118
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4510de
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451118
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004149f0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4510ed
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451c80
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x451cb5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404260
jmp 0x451cc2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041c4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452d3c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452d7d
mov eax, esi
call fcn.004394dc
test al, al
je 0x452d7d
mov eax, dword [ebx + 0x84]
call fcn.004391d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452d7d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004391d8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4680a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4680a8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46829a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4682b0
mov eax, esi
call fcn.00464960
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004041c4
lea ecx, [ebp - 0x10]
mov edx, 0x4682c4
mov eax, esi
call fcn.00464960
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004041c4
lea ecx, [ebp - 0x14]
mov edx, 0x4682dc
mov eax, esi
call fcn.00464960
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004041c4
lea ecx, [ebp - 0x18]
mov edx, 0x4682f8
mov eax, esi
call fcn.00464960
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004041c4
lea ecx, [ebp - 0x1c]
mov edx, 0x468314
mov eax, esi
call fcn.00464960
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004041c4
lea ecx, [ebp - 0x24]
mov edx, 0x46832c
mov eax, esi
call fcn.00464960
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004081d0
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408618
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x468344
mov eax, esi
call fcn.00464960
mov eax, dword [ebp - 0x28]
call fcn.00458d70
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x468354
mov eax, esi
call fcn.00464960
mov eax, dword [ebp - 0x2c]
call fcn.00458d70
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46836c
mov eax, esi
call fcn.00464960
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408618
inc eax
je 0x46823d
lea ecx, [ebp - 0x34]
mov edx, 0x46836c
mov eax, esi
call fcn.00464960
mov eax, dword [ebp - 0x34]
call fcn.004085dc
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409e68
fstp qword [ebp - 0x3c]
wait
call fcn.0040a200
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x468258
lea ecx, [ebp - 0x40]
mov edx, 0x46836c
mov eax, esi
call fcn.00464960
mov eax, dword [ebp - 0x40]
call fcn.00458d70
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46837c
mov eax, esi
call fcn.00464960
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004041c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4682a1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404194
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404194
ret
Function at 0x46e334
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x46e33d
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46e4eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046e68c
xor eax, eax
push ebp
push 0x46e4c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x46e389
call fcn.00403bd4
jmp 0x46e4d0
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x46e452
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x46e3dc
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x46e3dc
lea eax, [ebp - 0x14]
call fcn.0046e08c
push dword [ebp - 0x14]
push 0x46e504
push dword [ebp + 8]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044f0
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
mov cl, byte [ebp - 9]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x46e413
lea eax, [ebp - 0x1c]
call fcn.0046e08c
push dword [ebp - 0x1c]
push 0x46e504
push dword [ebp + 8]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004044f0
mov eax, dword [ebp - 0x18]
call fcn.00404630
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x46e4b3
lea eax, [ebp - 0x24]
call fcn.0046e08c
push dword [ebp - 0x24]
push 0x46e504
push dword [ebp + 8]
push 0x46e510
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004044f0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0046e2f0
jmp 0x46e4b3
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x46e478
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x46e478
mov eax, dword [ebp + 8]
push eax
mov ebx, dword [ebp - 4]
mov cl, byte [ebp - 9]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x46e48f
mov eax, dword [ebp + 8]
call fcn.00404630
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x46e4b3
lea eax, [ebp - 0x28]
mov ecx, 0x46e510
mov edx, dword [ebp + 8]
call fcn.0040447c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0046e2f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e4d0
mov eax, dword [ebp - 4]
call fcn.0046e6a4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e4f2
lea eax, [ebp - 0x28]
mov edx, 7
call fcn.00404194
ret

Function at 0x47b608
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0047c724
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
pop ecx
pop ebp
ret
Function at 0x47fdd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404630
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x47fdf6
test byte [ebp - 0xc], 0x10
jne 0x47fdfa
xor eax, eax
jmp 0x47fdfc
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
jp 0x414ae7
xchg ebp, eax
mov byte [esi + esi*8 + 0x6d], bh
cld
dec ecx
aaa
push ss
adc eax, 0x7e99013a
sal dword [ecx - 0x12], cl
mov eax, 0x2489949d
sahf
movsb byte es:[edi], byte [esi]
adc eax, 0x26a289b
sar dword [esi - 0x613bfd0d], cl
mov esi, 0x9ec402f3
mov al, 0x15
aas
pop ss
push 2
xor dword [ebp - 0x6b], 0xfffffffd
cmp bl, byte [ebp - 0x753b5d41]
jle 0x414a91
les eax, [eax - 0x3b]
movsb byte es:[edi], byte [esi]
jp 0x414b23
jge 0x414a70
cld
mov ebp, dword [edx + 0x78]
sti
add dword [eax + 0x6a2acf15], edx
add dh, dl
mov bh, 0x99
std
outsb dx, byte [esi]
cld
jo 0x414aff
movsd dword es:[edi], dword ds:[esi]
les edi, [ebx + edi - 0x16d2028c]
xor edx, dword [ebp - 0x10623269]
cmp ch, al
mov al, ch
adc eax, 0x26bb39f
xor byte [ebp + 0x65], 0xbb
cmp ecx, edi
xchg ecx, eax
or eax, 0xcd2d757d
pop ebx
int 0x5b
xor al, 0x95
adc eax, 0x26a8a6b
shr dword [esi], cl
push 2
invalid
xor al, 0xf8
jne 0x414a98
std
cmp esi, dword [ebp - 0x6b]
std
cmp esi, dword [ebp - 0x6b]
std
cmp esi, dword [ebp - 0x6b]
std
les ecx, [edx + 0x753b026a]
xchg ebp, eax
std
les ecx, [edx + 0x753b026a]
xchg ebp, eax
std
cmp esi, dword [ebp - 0x6b]
std
cmp esi, dword [ebp - 0x6b]
std
cmp esi, dword [ebp + 0x16]
adc dword [edi], edi
mov dl, 0x91
invalid
Function at 0xaf6f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x8eb015
lea edi, [esi - 0x4ea015]
push edi
or ebp, 0xffffffff
jmp 0xaf6f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xaf6f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaf6f38
mov eax, 1
add ebx, ebx
jne 0xaf6f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xaf6f6c
jne 0xaf6f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaf6f8b
dec eax
add ebx, ebx
jne 0xaf6f78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xaf6f50
add ebx, ebx
jne 0xaf6f87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xaf6fdd
xor ecx, ecx
sub eax, 3
jb 0xaf6fa3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xaf7012
sar eax, 1
mov ebp, eax
jmp 0xaf6fae
add ebx, ebx
jne 0xaf6fae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaf6f7c
inc ecx
add ebx, ebx
jne 0xaf6fbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaf6f7c
add ebx, ebx
jne 0xaf6fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xaf6fbe
jne 0xaf6fda
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xaf6fbe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xaf6ffc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xaf6fee
jmp 0xaf6f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xaf6ffc
add edi, ecx
jmp 0xaf6f3e
pop esi
mov edi, esi
mov ecx, 0x1ef4f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xaf701a
cmp byte [edi], 0x33
jne 0xaf701a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xaf701f
lea edi, [esi + 0x6f2000]
mov eax, dword [edi]
or eax, eax
je 0xaf708e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x71d02c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x71d10c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xaf704c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x71d114]
or eax, eax
je 0xaf7088
mov dword [ebx], eax
add ebx, 4
jmp 0xaf7069
call dword [esi + 0x71d110]
mov ebp, dword [esi + 0x71d118]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x6f70e9]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xaf70da
sub esp, 0xffffff80
jmp 0x402f10
Function at 0x10004770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, ebx
inc eax
mov eax, 0x8ec4973d
nop
cmp eax, 0x2d
cmp eax, 0xffffffb8
nop
mov eax, ecx
inc eax
mov eax, ebx
mov eax, ebx
mov eax, ecx
mov eax, 0x2dc06e16
mov eax, ebx
cmp eax, 0xb16e050b
mov eax, ecx
mov eax, ecx
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
mov eax, 0x8c74657
inc eax
mov eax, ebx
mov eax, ebx
mov eax, 0x9a6487c7
cmp eax, 0xd90e5fdd
inc eax
inc eax
inc eax
cmp eax, 0x6f20e7d8
cmp eax, 0x56
inc eax
mov eax, ecx
mov eax, 0x7a22d4c8
mov eax, ecx
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x3bf01827
cmp eax, 0x2a
mov eax, ecx
nop
cmp eax, 0x74faf240
cmp eax, 0xfffffffd
mov eax, ecx
mov eax, ebx
mov eax, ecx
nop
cmp eax, 0xffffffec
nop
inc eax
mov eax, 0x644b3198
mov eax, ebx
cmp eax, 0xffffff94
nop
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
push 0x1002beb4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
inc eax
cmp eax, 0x4e
mov eax, ebx
inc eax
mov eax, 0x41aefa3d
cmp eax, 0xd287634b
mov eax, 0x17193ed7
mov eax, ebx
mov eax, 0x2e9779b7
cmp eax, 0x70
inc eax
cmp eax, 0xb98c4684
cmp eax, 0x1e
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003e22c], eax
mov eax, ecx
cmp eax, 0x22315c17
inc eax
mov eax, ebx
cmp eax, 0xadff81bd
cmp eax, 0xffffff95
nop
cmp eax, 0x56
cmp eax, 0x61fe2382
mov eax, 0x967a1255
nop
mov eax, 0xbf80d906
mov eax, ebx
inc eax
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
jne 0x1000491f
push 0x41030
push str.DllWrap
push str.miss
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 0x49a4c9af
mov eax, ecx
mov eax, 0xba132e7d
inc eax
cmp eax, 0xe850b7b7
cmp eax, 0x43b4732d
mov eax, ebx
mov eax, ebx
mov eax, ecx
nop
mov eax, 0xadd43e5f
cmp eax, 0xf408e182
inc eax
inc eax
push 3
push 2
push 1
call fcn.1000c1f0
add esp, 0xc
cmp dword [0x1003e22c], 0
je 0x10004931
mov dword [ebp - 4], 1
jmp 0x10004938
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x55b370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x55b38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x584074
push ecx
mov edi, eax
call fcn.0056f198
mov esi, eax
add esp, 8
test esi, esi
jne 0x55b3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0056f02e
push esi
call fcn.0056efb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x55e850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x55e8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x589720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x55e8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0056f1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x55e8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x589720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x55e92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00570082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x55e957
mov word [eax], si
add eax, 2
push eax
call fcn.00570030
add esp, 4
jmp 0x55e959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x55e8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x55e8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x55eff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret