joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x47231d9b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xa5c14e1
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x70cad0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x1f2000]
lea eax, [edi + 0x2e9664]
push dword [eax]
mov dword [eax], 0xfefefe0e
push eax
push edi
or ebp, 0xffffffff
jmp 0x70cb02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x70cb09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70caf8
mov eax, 1
add ebx, ebx
jne 0x70cb1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x70cb2c
jne 0x70cb4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70cb4b
dec eax
add ebx, ebx
jne 0x70cb38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x70cb10
add ebx, ebx
jne 0x70cb47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x70cb9d
xor ecx, ecx
sub eax, 3
jb 0x70cb63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x70cbd2
sar eax, 1
mov ebp, eax
jmp 0x70cb6e
add ebx, ebx
jne 0x70cb6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70cb3c
inc ecx
add ebx, ebx
jne 0x70cb7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70cb3c
add ebx, ebx
jne 0x70cb89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x70cb7e
jne 0x70cb9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x70cb7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x70cbbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x70cbae
jmp 0x70cafe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x70cbbc
add edi, ecx
jmp 0x70cafe
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x108e8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x70cbde
cmp byte [edi], 0x22
jne 0x70cbde
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 0x70cbe3
lea edi, [esi + 0x2ff000]
mov eax, dword [edi]
or eax, eax
je 0x70cc5b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30c1e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30c3dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x70cc10
mov ecx, edi
jns 0x70cc3f
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x30c3e4]
or eax, eax
je 0x70cc55
mov dword [ebx], eax
add ebx, 4
jmp 0x70cc2d
call dword [esi + 0x30c3e0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x70cc8c
cmp al, 0xef
ja 0x70cc7f
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x70cc61
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x70cc6e
mov ebp, dword [esi + 0x30c3e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x70ccc0
sub esp, 0xffffff80
jmp 0x5c7969
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x100015e0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0xc], 0
jmp 0x100016b6
mov eax, esp
mov dword [eax + 4], 0x2f8
mov dword [eax], 0x4f5679
mov eax, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
call eax
sub esp, 8
mov ecx, dword [sym.imp.GDI32.dll_GdiFlush]
mov dword [ebp - 0x10], eax
call ecx
mov dword [ebp - 0x14], eax
jmp 0x100016e8
jmp 0x10001727
mov eax, dword [ebp - 4]
mov ecx, 0xaaaaaaab
mov dword [ebp - 0x18], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, ecx
sub eax, 3
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
je 0x100015f2
jmp 0x1000164a
mov eax, dword [ebp - 0x1c]
sub eax, 0xa
mov dword [ebp - 0x24], eax
je 0x100016e8
jmp 0x100016ea
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x100016b6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x392
jne 0x10001623
mov eax, dword [ebp - 0xc]
mov ecx, 0xcc29786d
mov dword [ebp - 0x28], eax
mul ecx
shr edx, 8
imul eax, edx, 0x141
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov eax, ecx
sub eax, 5
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
je 0x1000170f
jmp 0x100016a9
mov eax, dword [ebp - 0x2c]
sub eax, 0x54
mov dword [ebp - 0x34], eax
je 0x100016ef
jmp 0x10001711
cmp dword [ebp - 0xc], 0xb1
je 0x1000173b
mov eax, dword [sym.imp.KERNEL32.dll_GetACP]
call eax
mov ecx, esp
mov dword [ecx], 0xec1bec
mov ecx, dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x38], eax
call ecx
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], eax
jmp 0x10001676
jmp 0x100016ea
jmp 0x1000166b
mov eax, esp
mov dword [eax], 0xedff59
mov eax, dword [sym.imp.ADVAPI32.dll_DeleteService]
call eax
sub esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
call ecx
mov dword [ebp - 0x44], eax
jmp 0x10001736
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0xa
jne 0x1000161e
jmp 0x10001734
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x10001718
jmp 0x10001736
jmp 0x1000165e
add esp, 0x4c
pop ebp
ret
Function at 0x100020a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x1009d058], 0x214c
mov dword [ebp - 4], 0
mov dword [0x1009d058], 0x1a44
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [0x1009d058], 0x15d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
jmp 0x1000214f
jmp 0x10002139
mov eax, dword [0x1009d054]
sub eax, 0xc08
mov dword [0x1009d054], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
je 0x100021ce
jmp 0x1000223b
jmp 0x1000223b
mov dword [0x1009d058], 0x2695
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
je 0x1000218c
mov dword [0x1009d054], 0x21c9
mov dword [ebp - 8], 0
jmp 0x10002242
cmp dword [ebp - 0xc], 0x104
jge 0x1000211d
mov dword [0x1009d058], 0x178b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x10002175
jmp 0x1000211d
mov dword [0x1009d054], 0x2527
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x1000214f
mov dword [0x1009d054], 0x1b7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x100020ec
mov dword [0x1009d054], 0x17a7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x100020ee
jmp 0x1000223d
mov dword [0x1009d054], 0xa9c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
jne 0x10002118
mov dword [0x1009d054], 0x553
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
jne 0x10002236
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx + eax*2 - 0xe]
cmp eax, 0x6c
jne 0x10002234
mov eax, dword [0x1009d058]
sub eax, 0x136c
mov dword [0x1009d058], eax
mov dword [ebp - 8], 1
jmp 0x10002242
jmp 0x10002236
jmp 0x10002118
jmp 0x1000223d
jmp 0x100020ec
mov eax, dword [ebp - 8]
add esp, 0x10
pop ebp
ret

Function at 0x10002540
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.10002540]
mov dword [ebp - 8], eax
jmp 0x10002573
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x10002551
jmp 0x10002582
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1000255f
jmp 0x10002584
jmp 0x10002584
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x1009d058], 0xe24
mov al, 1
test al, 1
jne 0x10002573
jmp 0x100025a6
mov eax, dword [0x1009d054]
add eax, 0x218a
mov dword [0x1009d058], eax
mov dword [ebp - 4], 0
jmp 0x10002557
Function at 0x42e003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x381b7ee1
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5a05554d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401780
Capabilities:
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x8702a8], 0x400
push esi
push edi
jne 0x4017c1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push 0
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogW]
lea esi, [ebp - 0x24]
call fcn.004018a0
mov ecx, esi
call fcn.004018c0
mov edi, dword [ebp - 4]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2afe65
jle 0x4017dc
cmp edi, 0x78e90b55
jne 0x4017e5
inc esi
cmp esi, 0x1c03
jl 0x4017c6
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x401811
inc esi
cmp esi, 0x4f6a4
jl 0x4017f4
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
lea esp, [esp]
push 0
call edi
cmp esi, 0x2b259d
jle 0x401834
cmp ebx, 0x785074d5
jne 0x40183d
inc esi
cmp esi, 0x11915
jl 0x401820
mov eax, dword [0x45123c]
mov ecx, dword [0x451210]
mov dword [0x8702a8], eax
mov dword [0x8702ac], ecx
call fcn.00401520
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
cmp dword [0x8702a8], 0x51f
jne 0x401876
lea edx, [ebp - 0x2c]
push edx
call esi
sub edi, 1
jne 0x401864
mov eax, dword [0x86f1fc]
mov dword [0x86f83c], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40360b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x450158]
jne 0x403615
repz ret
jmp fcn.0040827c
Function at 0x408527
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040458a
and dword [ebp - 4], 0
cmp dword [0x451f64], 0
mov ebx, eax
jne 0x4085d8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408689
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408689
push eax
call fcn.00404518
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x451f64], eax
call esi
push eax
call fcn.00404518
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x451f68], eax
call esi
push eax
call fcn.00404518
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x451f6c], eax
call esi
push eax
call fcn.00404518
pop ecx
mov dword [0x451f74], eax
test eax, eax
je 0x4085d8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404518
pop ecx
mov dword [0x451f70], eax
mov eax, dword [0x451f70]
cmp eax, ebx
je 0x408630
cmp dword [0x451f74], ebx
je 0x408630
push eax
call fcn.00404593
push dword [0x451f74]
mov esi, eax
call fcn.00404593
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408630
test edi, edi
je 0x408630
call esi
test eax, eax
je 0x408627
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408627
test byte [ebp - 0xc], 1
jne 0x408630
or dword [ebp + 0x10], 0x200000
jmp 0x408669
mov eax, dword [0x451f68]
cmp eax, ebx
je 0x408669
push eax
call fcn.00404593
pop ecx
test eax, eax
je 0x408669
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408669
mov eax, dword [0x451f6c]
cmp eax, ebx
je 0x408669
push eax
call fcn.00404593
pop ecx
test eax, eax
je 0x408669
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x451f64]
call fcn.00404593
pop ecx
test eax, eax
je 0x408689
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40868b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x545b030c
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x408d4519
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401023
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [section..data], eax
push 0
push 0
push 0
push dword [section..data]
call 0x401023
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffe4
push dword [ebp + 8]
pop dword [0x403049]
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [0x40304d], eax
mov dword [0x403061], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x403051], eax
push 0x403035
call sub.user32.dll_RegisterClassExA
push 1
call sub.user32.dll_GetSystemMetrics
shr eax, 1
sub eax, 0x96
push eax
push 0
call sub.user32.dll_GetSystemMetrics
shr eax, 1
sub eax, 0x96
pop ebx
push 0
push dword [ebp + 8]
push 0
push 0
push 0x12c
push 0x12c
push ebx
push eax
push 0
push str.Custom_Draw_TreeView_Example
push str.MainWindowClass
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x403004], eax
push 1
push eax
call sub.user32.dll_ShowWindow
push dword [0x403004]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_GetMessageA
or eax, eax
je 0x4010e8
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x4010c1
mov eax, dword [ebp - 0x14]
leave
ret 0x10

Function at 0x401316
Capabilities:
Enumerate files on windows
Get file system object information

Disassembly:
push 0x4001
push 0x160
push 0x403433
push 0
push str.c:users
call sub.shell32.dll_SHGetFileInfoA
mov dword [0x4032ed], eax
push eax
push 0
push 0x1109
push dword [0x403065]
call sub.user32.dll_SendMessageA
push dword [0x403437]
pop dword [0x403097]
push 0x4002
push 0x160
push 0x403433
push 0
push str.c:users
call sub.shell32.dll_SHGetFileInfoA
push dword [0x403437]
pop dword [0x40309b]
mov dword [0x403077], 0
mov dword [0x40307b], 0xffff0000
mov dword [0x40307f], 0x23
mov dword [0x40308f], 0x403321
push 0x4032f5
push str.c:
call sub.kernel32.dll_FindFirstFileA
or eax, eax
je 0x40140f
mov dword [0x4032f1], eax
cmp byte [0x403321], 0x2e
je 0x4013d1
test dword [0x4032f5], 0x10
jne 0x4013e7
push 0x4032f5
push dword [0x4032f1]
call sub.kernel32.dll_FindNextFileA
or eax, eax
je 0x40140f
jmp 0x4013bc
push 0x403321
push str.c:
call fcn.00401410
push 0x403077
push 0
push 0x1100
push dword [0x403065]
call sub.user32.dll_SendMessageA
jmp 0x4013d1
ret
Function at 0x409dec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409ebf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ed8
push ebx
push 0x409ee4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040336c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402750
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409e6c
mov al, 0x6a
call fcn.00409a48
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409dc0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409e75
call fcn.00409dc0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ec6
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x409f58
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40a00c
jmp 0x40a001
cmp dword [esi + 0x10], 0x1000
jne 0x409fed
test byte [esi + 0x15], 1
jne 0x409fed
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409fac
cmp eax, 2
je 0x409fac
cmp eax, 0x10
je 0x409fac
cmp eax, 0x20
jne 0x409fc1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409fc1
mov bl, 1
xor ebp, ebp
jmp 0x409fd2
mov eax, dword [esi]
add eax, ebp
call fcn.00409f50
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409fc5
test bl, bl
je 0x409fed
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40a00c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409f84
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
pop ds
rol dword [ebx], 1
xor al, 0x76
push ebp
test byte [ecx], dh
xchg edi, eax
pop esp
adc eax, 0xaf34d523
invalid