joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455de0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x484be4]
cmp dword [eax + 0x30], 0
je 0x455e8a
cmp dword [ebx + 0x94], 0
jne 0x455e84
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455d70
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455e84
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 0x455e4a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455e84
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.00418154
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455e59
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4569ec
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 0x456a21
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.0040420c
jmp 0x456a2e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404170
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457b20
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x457b61
mov eax, esi
call fcn.0043e274
test al, al
je 0x457b61
mov eax, dword [ebx + 0x84]
call fcn.0043df9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x457b61
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043df9c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4697b0
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 0x4697b8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4699aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4699c0
mov eax, esi
call fcn.0046763c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404170
lea ecx, [ebp - 0x10]
mov edx, 0x4699d4
mov eax, esi
call fcn.0046763c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404170
lea ecx, [ebp - 0x14]
mov edx, 0x4699ec
mov eax, esi
call fcn.0046763c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404170
lea ecx, [ebp - 0x18]
mov edx, 0x469a08
mov eax, esi
call fcn.0046763c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404170
lea ecx, [ebp - 0x1c]
mov edx, 0x469a24
mov eax, esi
call fcn.0046763c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404170
lea ecx, [ebp - 0x24]
mov edx, 0x469a3c
mov eax, esi
call fcn.0046763c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004084a8
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408888
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x469a54
mov eax, esi
call fcn.0046763c
mov eax, dword [ebp - 0x28]
call fcn.00461114
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x469a64
mov eax, esi
call fcn.0046763c
mov eax, dword [ebp - 0x2c]
call fcn.00461114
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x469a7c
mov eax, esi
call fcn.0046763c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408888
inc eax
je 0x46994d
lea ecx, [ebp - 0x34]
mov edx, 0x469a7c
mov eax, esi
call fcn.0046763c
mov eax, dword [ebp - 0x34]
call fcn.0040884c
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.00409ff4
fstp qword [ebp - 0x3c]
wait
call fcn.0040a358
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x469968
lea ecx, [ebp - 0x40]
mov edx, 0x469a7c
mov eax, esi
call fcn.0046763c
mov eax, dword [ebp - 0x40]
call fcn.00461114
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x469a8c
mov eax, esi
call fcn.0046763c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404170
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4699b1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404140
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404140
ret
Function at 0x47073c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x470796
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047072c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0045fc84
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0045f884
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47079d
lea eax, [ebp - 4]
call fcn.0040411c
ret
Function at 0x47b1bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, ecx
mov dword [ebp - 8], eax
dec edx
mov eax, edx
shl eax, 2
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x47b229
xor eax, eax
push ebp
push 0x47b222
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b229
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
ret
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47e39c
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x47e3a5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47e52f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00404768
mov eax, dword [ebp - 4]
call fcn.004045dc
push eax
push 0
push 0
push 7
push 0
call sub.shell32.dll_SHGetFolderPathA
test eax, eax
jne 0x47e4e1
mov eax, dword [ebp - 4]
call fcn.004045dc
call fcn.00409048
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404768
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0040cdb8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.004041b4
push dword [ebp - 4]
push esi
push 0x47e548
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040449c
lea edx, [ebp - 0x30]
mov eax, 0x47e558
call fcn.0047d650
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x18]
call fcn.00413dc8
lea eax, [ebp - 8]
push eax
push 0x47e568
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040f8b4
add esp, 0x10
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x28]
call fcn.00413eb0
push ebx
push 0x47e57c
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.0040f8b4
add esp, 0x10
push edi
push 0x47e58c
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.0040f8b4
add esp, 0x10
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.00408eb0
mov eax, dword [ebp - 0x44]
push eax
push 0x47e59c
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.0040f8b4
add esp, 0x10
push 1
push 0x47e5b4
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.0040f8b4
add esp, 0x10
push 0x47e5c4
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.0040f8b4
add esp, 0xc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e536
lea eax, [ebp - 0x44]
call fcn.0040411c
lea eax, [ebp - 0x40]
call fcn.0040f8ac
lea eax, [ebp - 0x30]
call fcn.00405ba0
lea eax, [ebp - 0x2c]
call fcn.0040411c
lea eax, [ebp - 0x28]
mov edx, dword [0x4010b0]
mov ecx, 2
call fcn.00404bf0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404140
ret
Function at 0x47e8e8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045cc
xor eax, eax
push ebp
push 0x47eab2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040411c
xor edi, edi
xor eax, eax
push ebp
push 0x47e99d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x416280]
call fcn.0041ae38
mov esi, eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x458a70]
call fcn.0041edb4
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.0045895c
lea edx, [ebp - 0x2c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, ebx
call fcn.00403348
mov eax, esi
call fcn.00403348
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x2c]
mov edx, 0x1f
call fcn.0047e850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e9ac
dec edi
jne 0x47ea87
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00408eb0
push dword [ebp - 0x30]
push 0x47eac8
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00408ee4
push dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040449c
push 0
mov eax, dword [ebp - 0xc]
call fcn.004045dc
push eax
mov eax, dword [ebp - 4]
call fcn.004045dc
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
push ebp
push 0x47ea75
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x416280]
call fcn.0041ae38
mov esi, eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x458a70]
call fcn.0041edb4
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.0045895c
lea edx, [ebp - 0x2c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, ebx
call fcn.00403348
mov eax, esi
call fcn.00403348
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x2c]
mov edx, 0x1f
call fcn.0047e850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ea7f
mov eax, dword [ebp - 0xc]
call fcn.00408e18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47eab9
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00404140
lea eax, [ebp - 0xc]
call fcn.0040411c
lea eax, [ebp - 4]
call fcn.0040411c
ret
Function at 0x47ed8c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor ebx, ebx
push eax
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x47edb6
push edi
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x47f02c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045cc
mov eax, dword [ebp - 8]
call fcn.004045cc
mov eax, dword [ebp - 0xc]
call fcn.004045cc
xor eax, eax
push ebp
push 0x47f0d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408cfc
test al, al
je 0x47f0bd
lea eax, [ebp - 4]
mov edx, 0x47f0f0
call fcn.004043e4
lea eax, [ebp - 8]
mov edx, 0x47f0f0
call fcn.004043e4
lea eax, [ebp - 0xc]
mov edx, 0x47f0f0
call fcn.004043e4
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.00404634
push eax
lea eax, [ebp - 8]
call fcn.00404634
push eax
lea eax, [ebp - 4]
call fcn.00404634
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f0df
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404140
ret
Function at 0x1011e51
Capabilities:
Encode data using xor

Disassembly:
sbb ecx, dword [esi]
pop esi
mov cl, 0xf8
sbb dh, byte [esi + 0x2c24cd4f]
mov dh, 0x4f
int 0x24
sub al, 0x9c
pushfd
dec eax
out dx, eax
inc ebx
xor dh, byte [edx + 0x40]
jecxz 0x1011e57
rcl byte [eax], 0x7b
lodsb al, byte [esi]
fsubr qword [ebx + 0x2a]
fsubrp st(0)
inc ecx
arpl word fs:[edx + ebp + 0x72], si
fcom st(1)
jne 0x1011e5c
aaa
push ss
cmp byte [ecx + 0x60431396], ah
and eax, dword [ebx + 0x28]
invalid

Function at 0x10125ca
Capabilities:
Encode data using xor

Disassembly:
and ah, byte [0x258e310f]
mov ebx, 0xa9810c9f
or al, 0x81
test eax, 0xc7ef896b
pushal
daa
mov al, 0x90
or al, 0x81
test eax, 0xc7ef896b
pushal
daa
mov al, 0x90
xor ebp, eax
scasd eax, dword es:[edi]
wait
sub dword [eax - 0x721ca395], ebx
stosd dword es:[edi], eax
sahf
stosd dword es:[edi], eax
jle 0x10125c2
mov al, 0x1f
cmp al, 8
in eax, dx
shl byte [edi - 0x5016a631], 1
mov eax, 0x67280f5e
outsb dx, byte [esi]
mov edx, 0xef7b1ec6
invalid
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x6a6a13f0
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x5e0d4cf8
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
ret

Function at 0x8c2133
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x8c1ea3
or ecx, ecx
inc edi
call fcn.008c2171
sub ecx, edi
dec edi
push 0x5d15c0e1
pop edi
xor dword [eax], edx
inc edi
dec edi
add ecx, edi
add eax, 1
sub ecx, 0xd1ab236c
mov ecx, edi
or ecx, edi
cmp eax, ebx
jne fcn.008c2133
sub ecx, edi
mov ecx, edi
ret
Function at 0x134b370
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 0x134b38e
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 0x1374074
push ecx
mov edi, eax
call fcn.0135f198
mov esi, eax
add esp, 8
test esi, esi
jne 0x134b3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0135f02e
push esi
call fcn.0135efb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x134e850
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 0x134e8ae
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 0x1379720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x134e8ba
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.0135f1e1
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 0x134e8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x1379720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x134e92a
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.01360082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x134e957
mov word [eax], si
add eax, 2
push eax
call fcn.01360030
add esp, 4
jmp 0x134e959
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 0x134e8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x134e8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x134eff0
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
Function at 0x134f080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x134f0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x1374458
push ecx
call fcn.0135f1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.0135f1e1
add esp, 0x10
jmp 0x134f0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0135f20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.0135edff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0134f050
mov eax, dword [0x1379728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x134f13b
push esi
call fcn.0134efb0
add esp, 4
mov dword [0x1379728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x134f14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.0134eff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x1352440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x13524b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x135248e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1352471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x135247e
add edx, ecx
cmp ebx, edx
jb 0x135248a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1352467
xor ecx, ecx
jmp 0x13524a2
test eax, eax
jne 0x1352492
xor ecx, ecx
jmp 0x13524a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.013523c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x13528f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1352921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x1352946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x135296e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x1352993
push ecx
push esi
call fcn.013524c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret