joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e353b
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x57bd3b
call fcn.00545eb8
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00417462
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5bac10
call fcn.0042649c
cmp eax, 0xffffffff
jne 0x4e3606
push 0
push 0x58a8a0
lea ecx, [ebp - 0x4d0]
call fcn.0042649c
cmp eax, 0xffffffff
jne 0x4e3606
push 0
push 0x5bada4
lea ecx, [ebp - 0x4d0]
call fcn.0042649c
cmp eax, 0xffffffff
jne 0x4e3606
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00417462
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4e35e3
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00545d60
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00415c24
jmp 0x4e363e
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00416a50
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00415c24
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4e362c
mov edi, dword [ebp - 0x4cc]
jmp 0x4e363e
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.00545d60
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00415c24
mov eax, edi
call fcn.00545e62
ret

Function at 0x564c5d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00564920

Function at 0x564c68
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00564aa1

Function at 0x569122
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00568de2
Function at 0x454e90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4f000]
push edi
jmp 0x454eaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x454eb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x454ea0
mov eax, 1
add ebx, ebx
jne 0x454ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x454ed4
jne 0x454ef3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x454ef3
dec eax
add ebx, ebx
jne 0x454ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x454eb8
add ebx, ebx
jne 0x454eef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x454f45
xor ecx, ecx
sub eax, 3
jb 0x454f0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x454f7a
sar eax, 1
mov ebp, eax
jmp 0x454f16
add ebx, ebx
jne 0x454f16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x454ee4
inc ecx
add ebx, ebx
jne 0x454f24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x454ee4
add ebx, ebx
jne 0x454f31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x454f26
jne 0x454f42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x454f26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x454f64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x454f56
jmp 0x454ea6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x454f64
add edi, ecx
jmp 0x454ea6
pop esi
mov edi, esi
mov ecx, 0x256
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x454f82
cmp byte [edi], 5
jne 0x454f82
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 0x454f87
lea edi, [esi + 0x52000]
mov eax, dword [edi]
or eax, eax
je 0x454ff6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9b7dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9b818]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x454fb4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9b820]
or eax, eax
je 0x454ff0
mov dword [ebx], eax
add ebx, 4
jmp 0x454fd1
call dword [esi + 0x9b81c]
mov ebp, dword [esi + 0x9b824]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45502a
sub esp, 0xffffff80
jmp 0x401fc1
Function at 0x4012a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4012bb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4012f2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4012ee
jmp 0x4012e0
cmp esi, eax
jae 0x4012f2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4012e0
cmp esi, eax
jb 0x4012f9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4022b0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517641
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x56cbc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x52c], 0
mov dword [ebp - 0x530], 0x401
call fcn.005016b0
add esp, 0xc
push str.SoftwareEasyCallInstall
lea ecx, [ebp - 0x51c]
call fcn.004021f0
push 0x401
lea ecx, [ebp - 0x518]
push 0
push ecx
mov dword [ebp - 4], 0
call fcn.005016b0
mov eax, dword [ebp - 0x51c]
add esp, 0xc
lea edx, [ebp - 0x520]
push edx
push 1
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4023ac
lea ecx, [ebp - 0x530]
push ecx
mov ecx, dword [ebp - 0x520]
lea edx, [ebp - 0x518]
push edx
lea eax, [ebp - 0x52c]
push eax
push 0
push str.InstallPath
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40239f
lea edx, [ebp - 0x518]
push edx
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00501651
add esp, 0xc
mov ecx, dword [ebp - 0x520]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x114], 0
je 0x4024bc
call fcn.004105cb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4023d3
push 0x80004005
call fcn.00401280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x528], eax
push 0x5262f0
lea ecx, [ebp - 0x528]
push str._s
push ecx
mov byte [ebp - 4], 1
call fcn.00402040
mov edi, dword [ebp - 0x528]
add esp, 0xc
push 0
push 0x5262f0
push edi
mov ecx, esi
call fcn.004090fd
call fcn.004105cb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402431
push 0x80004005
call fcn.00401280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x524], eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x524]
push str._sEasyCallStart.exe
push edx
mov byte [ebp - 4], 2
call fcn.00402040
mov esi, dword [ebp - 0x524]
add esp, 0xc
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40249c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4024bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x51c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4024e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call 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.00500c66
mov esp, ebp
pop ebp
ret
Function at 0x4065ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040f9a5
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x406603
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0040620c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x406661
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x406685
cmp dword [edi + 0x74], 0
jne 0x406685
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040f9a5
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00406622
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x406b18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x406b60
call fcn.0040f9a5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x406b60
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x406ba3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x406b8c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x406b8c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x406ba0
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40d5d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40d61b
call fcn.0040f9a5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40d61b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40d637
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040d0d9
mov esi, eax
test edi, edi
je 0x40d635
test ebx, ebx
je 0x40d635
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40ddee
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x51c2eb
call fcn.00501ae9
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x40de13
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40de65
call fcn.004105cb
push eax
lea ecx, [ebp - 0x10]
call fcn.004017c0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00503c3b
push eax
call fcn.00402bbc
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401000
mov eax, esi
call fcn.00501bc1
ret 8

Function at 0x46275a
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00462419
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4627a4
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040b56f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00401770
jmp 0x4627af
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041217c
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4627b5
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0040d6e0
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4627f2
call fcn.00462419
mov dword [esi + 0xc], 1
jmp 0x4627f7
call fcn.00462419
cmp dword [esi], 0
je 0x462840
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x462818
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040b56f
jmp 0x46282a
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004019c0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00401770
jmp 0x462864
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x462864
push dword [esi]
push dword [ebp + 8]
call fcn.0041217c
pop esi
pop ebp
ret 0xc
Function at 0x46c266
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x6dc]
push eax
call fcn.0046aefd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0046aeb2
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x46d080
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0046ae5e
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x46c2fa
or eax, 0xf900858b
invalid
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x46c343
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
invalid
test dword [eax], eax
stc
invalid

Function at 0x46cf6b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0046aeb2
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x46cf8e
jmp 0x46cf93
jmp fcn.0046c88f
invalid
invalid
test ah, bh

Function at 0x48cafd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x48cb17
call fcn.0040f9a5
mov esi, dword [eax + 0xc]
push dword [0x571e7c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x48cb35
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x48cb2d
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x48cb62
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x48cb2f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0048ca2b
mov esi, eax
jmp 0x48cb54

Function at 0x4ddeac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0040b98c
call fcn.00402f1d
cmp eax, esi
pop esi
jne 0x4ddec8
mov ecx, 0x56fd58
jmp fcn.004161fe
ret
Function at 0x4e1839
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e1851
mov edi, dword [esi + 0xc]
jmp 0x4e1891
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4e186a
call fcn.00410deb
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e187f
call fcn.00410deb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e1891
call fcn.00410deb
call fcn.0040f9a5
cmp dword [eax + 0x3c], 0
je 0x4e18a6
push edi
mov ecx, ebx
call fcn.004e0675
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e1753
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e18c4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e18d0
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x500c66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56cbc0]
jne 0x500c70
repz ret
jmp fcn.005085dc
Function at 0x513e51
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x56cbc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00507fd5
and dword [ebp - 0x14], 0
cmp dword [0x574410], 0
mov dword [ebp - 0x18], eax
jne 0x513f04
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x513fac
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x513fac
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x54d520
push ebx
mov dword [0x574410], eax
call edi
push eax
call esi
push 0x54d50c
push ebx
mov dword [0x574414], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x574418], eax
call edi
push eax
call esi
mov dword [0x574420], eax
test eax, eax
je 0x513f04
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x57441c], eax
mov eax, dword [0x57441c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x513f5d
cmp dword [0x574420], ecx
je 0x513f5d
push eax
call esi
push dword [0x574420]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x513f5d
test ebx, ebx
je 0x513f5d
call edi
test eax, eax
je 0x513f54
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x513f54
test byte [ebp - 8], 1
jne 0x513f5d
or dword [ebp + 0x10], 0x200000
jmp 0x513f90
mov eax, dword [0x574414]
cmp eax, dword [ebp - 0x18]
je 0x513f90
push eax
call esi
test eax, eax
je 0x513f90
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x513f90
mov eax, dword [0x574418]
cmp eax, dword [ebp - 0x18]
je 0x513f90
push eax
call esi
test eax, eax
je 0x513f90
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x574410]
call esi
test eax, eax
je 0x513fac
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x513fae
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00500c66
leave
ret
Function at 0x10003d90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10003db6
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x10003d10
push 0
push 0
mov dword [0x100213b0], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0x1000e0d4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1000df4a
Function at 0x421550
Capabilities:
Parse pe header

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

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ed0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1d9b534a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1cf86740
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0xae86cd
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00ae86cd
ret

Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

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