joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ce3d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x45ce5f
cmp dword [edi + 0x3c], 0
jne 0x45ce5f
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0047144d
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
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0045ce8c
pop edi
pop esi
pop ebx
ret 8

Function at 0x45e4cf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45e507
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045cb2b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045cb03
jmp 0x45e513
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45ff4f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45ff91
call fcn.0047144d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
cmp eax, edi
je 0x45ff91
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, edi
jne 0x45ff88
xor eax, eax
jmp 0x45ff99
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045ff9f
pop edi
pop esi
pop ebx
ret 4
Function at 0x461f9e
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x461fce
push edi
call ebx
push eax
call fcn.00463398
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x461ff8
test byte [ebp - 4], 1
je 0x461ff8
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
jne 0x461ff8
push edi
call ebx
push eax
call fcn.00463398
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x46209e
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00461eeb
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x46202a
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00461eeb
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x462040
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00461eeb
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x46206a
push 0
call ebx
push eax
call fcn.00463398
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
jne 0x462088
push eax
call ebx
push eax
call fcn.00463398
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x46209c
push eax
call ebx
push eax
call fcn.00463398
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x4620c5
test byte [ebp - 4], 1
jne 0x4620c5
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
jne 0x4620c5
push edi
call ebx
push eax
call fcn.00463398
pop edi
pop ebx
leave
ret 8

Function at 0x464c19
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x478aa4
call fcn.004490c8
push ecx
push ecx
push esi
push 0x10
call fcn.0045cc2f
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x464c66
mov ecx, esi
call fcn.004625fe
mov eax, dword [0x48e444]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CArchiveException.0
mov dword [esi + 8], eax
call fcn.0045c80d
jmp 0x464c68
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x489748
push eax
mov dword [ebp - 0x10], esi
call fcn.00447c14
pop esi
Function at 0x470e9a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0047144d
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
test eax, eax
je 0x470ed7
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x470ed7
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
mov esi, eax
test esi, esi
jne 0x470edb
xor eax, eax
jmp 0x470f59
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0045cc2f
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x470f13
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x470efd
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0047104a
push ebx
mov edi, eax
call fcn.0045cc58
test edi, edi
pop ecx
je 0x470f55
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00470e13
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00470f5e
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x407b20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467b0b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x489c50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.00404530
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x30
call fcn.00402840
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], 0x787878
mov edx, dword [ebp - 0x20]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x20]
fld dword [0x479b1c]
fstp dword [eax + 0xc]
push 0x479588
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.00405970
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x2c], 0xe0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.00402900
mov edx, dword [ebp - 0x20]
add edx, 0x30
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x803355
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ah, byte [esp + 1]
mov al, 0xce
mov bp, 0x8e9b
mov byte [esp + 0xf], ch
jmp 0x8033de
mov ah, byte [esp]
rdtsc
mov eax, ebp
clc
mov byte [esp + 0x11], bh
xchg byte [esp], dl
jmp 0x803451
lea edx, [ebx + esi]
mov ebp, eax
sub esp, 8
rdtsc
add esp, 0x1a
call fcn.0080341b
xor esi, dword [ebx + reloc.WINMM.dll_waveOutUnprepareHeader]
mov dword ss:[esp + 0x13], eax
mov dword [esp + 0x13], eax
mov bp, dx
sub dh, ah
mov bp, sp
mov word [esp + 0xb], bx
setb dh
jmp 0x803438
Function at 0x80341b
Capabilities:
Execute anti-debugging instructions

Disassembly:
not ah
jmp 0x803492
lea edx, [ecx - 0x1b]
mov dx, word [esp + 6]
mov word [esp + 8], sp
btr ebp, edx
jmp 0x803467
lea ebp, [ebx*4]
lea ebp, [esp + esi]
xchg ah, dh
lea esp, [esp + 0xd]
mov edx, dword [esp + 7]
sub esp, 8
jmp 0x8034d1
lea edx, [ebx + esi]
mov dh, 0xe0
stc
xchg ebp, eax
mov ax, di
xchg byte [esp + 0xa], dl
jmp 0x80341f
btr ebp, edx
lea esp, [esp + 0xb]
mov dword [esp + 1], ecx
mov dh, byte [esp + 8]
mov dh, byte [esp + 3]
pop ax
jmp 0x80354b
push dword [esp + 2]
mov dh, bh
and bp, 0x63b2
inc al
mov dword [esp + 5], ecx
not bp
jmp 0x8034a6
lea ebp, [esp + edi]
pop dword [esp]
mov dh, ch
rdtsc
mov ebp, 0xe0b21130
not dh
jmp 0x803629
pop ebp
rdtsc
mov ebp, eax
pushal
lea ebp, reloc.WINMM.dll_waveOutUnprepareHeader
pop dx
jmp 0x80350e
rdtsc
bsf bp, si
xchg dh, dl
neg ah
mov byte [esp + 5], bh
lea ebp, [eax + 0xc1]
jmp 0x80352e
clc
lea ebp, [esi*4]
call int.0080359b
pushal
sub esp, 0x18
lea esp, [esp + 0x58]
xchg bp, ax
neg bp
rcr edx, 0x1d
jmp 0x80360c
mov bp, word [esp]
mov al, 0xee
xchg edx, ebp
mov dh, byte [esp]
stc
rdtsc
jmp 0x80378d
xchg word [esp + 8], bp
mov ebp, eax
inc al
sub esp, 2
lea ebp, [esp + eax]
xchg dword [esp + 0x12], ebp
jmp 0x8035ca
mov ebp, dword [esp + 3]
mov bp, word [esp]
btc ebp, ebx
mov dh, byte [esp + 1]
mov eax, 0x9275bfe6
jmp 0x8036bf
lea eax, [eax + 0xa1]
mov ebp, ecx
xchg dword [esp], ebp
not edx
cmc
rdtsc
jmp 0x803665
inc dh
xchg word [esp], bp
lea esp, [esp + 2]
add esp, 0
xchg bp, ax
jmp 0x803741
setno ah
clc
clc
setae dh
add esp, 5
neg bp
jmp 0x803692
xchg dword [esp], ebp
rcr dh, 5
mov ebp, 0x9cabee4
push edx
xchg dx, bp
bswap ebp
jmp 0x8036a8
xchg ebp, edx
xchg byte [esp + 1], dl
cld
push word [esp + 1]
pop word [esp + 1]
lea ebp, [edx*4]
jmp 0x803680
mov dl, dh
neg bp
bswap ebp
mov bp, word [esp]
cld
mov dh, bh
jmp 0x80370f
setp dh
sub esp, 0x14
mov dh, ch
mov byte [esp + 0x11], dh
mov eax, dword [esp + 0x11]
jmp 0x803771
bswap ebp
lea esp, [esp]
mov dh, byte [esp]
xchg bp, ax
not ax
mov byte [esp], ah
jmp 0x8036fb
add esp, 0
btc eax, esp
mov bp, cx
stc
sub dh, ah
lea ebp, reloc.WINMM.dll_waveOutUnprepareHeader
jmp 0x803725
mov dx, word [esp + 0x18]
push dword [esp + 0x24]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x26], ebp
mov edx, ecx
rdtsc
jmp 0x8037a0
xchg word [esp + 0x10], bp
mov dl, 0xec
setge dh
pushal
mov dword [esp + 0x27], eax
mov word [esp + 0x15], di
jmp 0x803755
neg ebp
push edx
mov bp, bx
shl ebp, 0xd
mov byte [esp], ah
xor dl, ch
jmp 0x8036e1
mov dh, byte [esp + 0x27]
lea eax, [esp + ecx]
mov dx, word [esp + 0x20]
pop eax
rdtsc
neg bp
jmp 0x803b3b
mov edx, dword [esp + 0xa]
push dword [esp + 7]
mov bp, 0x8061
lea edx, [eax + edi]
bswap ebp
mov byte [esp + 0x11], ah
jmp 0x8037d2
lea ebp, [edi*4]
rdtsc
not ax
lea edx, [esp + ecx]
xchg word [esp + 0xd], dx
add esp, 1
jmp 0x8037ea
mov edx, dword [esp + 7]
setb dh
pop ax
push esp
mov ah, byte [esp + 0xd]
bswap ebp
jmp 0x803891
bsr dx, cx
btc ebp, edi
mov dh, ch
pop bp
xchg word [esp + 0x25], dx
lea esp, [esp + 0x23]
jmp 0x8039ba
lea ebp, [ecx*4]
btr ebp, esp
push word [esp + 0x21]
mov edx, dword [esp + 0xd]
lea ebp, [ebx*4]
rdtsc
jmp 0x803aff
Function at 0x803561
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp + 0xf]
jmp 0x8035b4
xchg dword [esp + 0x16], eax
cld
mov bp, 0xc951
lea edx, reloc.WINMM.dll_waveOutUnprepareHeader
jmp 0x8035fc
mov ebp, 0x259c1de8
mov al, ah
lea eax, reloc.WINMM.dll_waveOutUnprepareHeader
mov bp, sp
jmp 0x803568
rol bp, cl
pushal
lea esp, [esp + 0x4d]
setg dh
pushal
bswap eax
jmp 0x8035d7

Function at 0x80364d
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edx, dword [esp + 1]
rdtsc
push dword [esp + 0x19]
xchg dh, al
bsr bp, cx
call fcn.00803055
mov ebp, 0x6c9c0896
rol dh, 3
pop word [esp + 0x15]
pop word [esp + 5]
xchg byte [esp + 9], dl
bswap ebp
jmp 0x8030ef
mov dx, sp
neg dh
clc
mov ebp, 0x57db8ac6
xchg dword [esp + 0x10], eax
inc dl
jmp 0x80319a
mov ebp, dword [esp + 5]
mov byte [esp + 0x1b], ch
rdtsc
setno dh
mov dh, bh
mov byte [esp + 0xb], ch
jmp 0x8030a8
bsr ax, bp
mov ax, 0xa3fb
mov ax, word [esp + 2]
mov ebp, dword [esp + 0xd]
lea ebp, [ebx + esi]
bsr dx, bp
jmp 0x803238
mov al, 6
mov byte [esp + 5], dh
mov al, 0x16
mov dh, 0xba
mov bp, 0x5fb7
not dh
jmp 0x80312c
mov dx, word [esp + 0x18]
mov bp, di
mov ebp, 0x17d2720
not dh
lea eax, [ecx + edx]
clc
jmp 0x803152
sub esp, 0x18
pop bp
add esp, 9
mov eax, dword [esp + 0xb]
mov byte [esp + 0xd], ch
mov word [esp + 8], bx
jmp 0x803178
mov eax, dword [esp + 0xc]
xchg byte [esp + 0xa], dh
mov dx, 0x6bdb
pop word [esp + 0x13]
mov bp, 0xe001
ror ebp, 0x15
jmp 0x803114
neg edx
call fcn.0080320f
pushal
xchg dword [esp + 0x17], ebp
call fcn.0080329d
xchg ecx, eax
push ds
mov ebx, gs
invalid
mov dx, di
pop edx
push edx
xchg dword [esp + 5], ebp
xchg dword [esp + 0xf], ebp
mov dh, 0x22
jmp 0x8031c1
xchg word [esp + 4], bp
pop word [esp + 0xf]
mov ebp, dword [esp + 0x1c]
mov dx, sp
mov al, ah
jmp 0x8034fa

Function at 0x803d8e
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 0x17
push dword [esp + 6]
mov byte [esp + 0x17], ch
pop dx
lea edx, [edi + ebp]
jmp 0x803cdb
not bp
cld
cmc
bswap ebp
sub esp, 0
mov ebp, 0xf54f245a
jmp 0x803b59
mov ebp, esi
xchg edx, ebp
rdtsc
dec ax
mov ax, 0x7737
mov byte [esp + 0x34], ah
jmp 0x803b71
lea ebp, reloc.WINMM.dll_waveOutUnprepareHeader
pop bp
xor dl, ch
xchg word [esp + 0xf], bp
cld
shr ah, 1
jmp 0x803b92
setl dh
mov ax, 0xfa6f
call fcn.00803c2f
stosd dword es:[edi], eax
aaa
cmpsd dword [esi], dword es:[edi]
ret 0x8131
not ebp
sbb eax, ebp
mov dx, di
xchg byte [esp], dl
mov dx, di
xchg dx, ax
call fcn.00803bc6
mov eax, esi
pop edx
adc dx, 0xb544
mov eax, ecx
pop ax
lea edx, [eax + ebx]
jmp 0x803bc8
mov word [esp + 4], sp
pop ebp
mov bp, sp
mov ebp, dword [esp]
rdtsc
mov word [esp], di
jmp 0x803be6
mov dh, byte [esp + 4]
mov bp, 0xf5e1
bt edx, esp
rcr ebp, 0x1d
lea ebp, [edi*4]
xchg word [esp + 4], ax
jmp 0x803c1b
shl ax, cl
inc ax
mov ebp, 0xbb7184e6
pop word [esp + 0x11]
pop word [esp + 0x11]
lea esp, [esp + 0x16]
jmp 0x803c57
mov dh, 0x48
jmp 0x803bb2
Function at 0x804040
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebp, 0x25278228
pop bp
lea esp, [esp + 1]
xchg byte [esp], dh
mov byte [esp + 1], dh
not eax
jmp 0x80411a
mov edx, eax
add esp, 0xd
xchg dword [esp + 1], edx
jmp 0x804022
push esp
btr ebp, edx
mov byte [esp + 4], ah
shr dh, 7
mov ebp, edi
pop word [esp + 1]
jmp 0x8040ed
add esp, 4
mov bp, word [esp]
add esp, 1
mov eax, dword [esp]
setge dh
xchg byte [esp], dh
jmp 0x804076
rdtsc
lea ebp, [eax*4]
sete dh
xchg dword [esp], eax
rol ebp, 5
xchg ebp, eax
jmp 0x804090
mov ax, sp
bsf dx, si
adc eax, esi
mov bp, 0x54b3
btr ebp, esp
lea esp, [esp + 1]
jmp 0x804101
lea edx, [edi*4]
sub esp, 2
stc
clc
rdtsc
mov ebp, dword [esp + 5]
jmp 0x8040c5
mov al, 0x16
xchg byte [esp + 2], dl
not dh
xchg ah, dh
mov word [esp], di
jmp 0x8041de
xchg word [esp + 1], dx
neg dx
xchg dword [esp], eax
mov dx, bx
xchg word [esp + 2], bp
neg bp
jmp 0x8040b0
mov dh, byte [esp]
cmc
neg eax
lea esp, [esp]
mov dh, byte [esp]
lea ebp, [ebx*4]
jmp 0x8041b3
mov ebp, dword [esp]
mov byte [esp], bh
add esp, 0
mov dl, 0x44
xchg byte [esp], al
lea eax, [edi*4]
jmp 0x804135
inc bp
lea esp, [esp]
setae ah
lea esp, [esp]
call fcn.0080419c
add esp, 2
shr ebp, 0x1b
pushal
xchg dh, dl
not ax
shr ebp, 0x1d
jmp 0x804345
mov ebp, 0xbf5426ae
pop ebp
btc ebp, esp
mov dh, byte [esp]
xchg dh, al
mov dh, byte [esp]
jmp 0x804157
add ebp, ebp
in eax, dx
call fcn.00804265
mov al, ah
call fcn.00804311
jle 0x8042af
popal
add bl, dh
adc ah, byte [eax - 0xe]
pushal
pop es
adc byte [edx - 9], ah
add dh, cl
push ss
push 0xffffffffffffff85
xchg byte [esp], dh
xchg byte [esp], dh
push word [esp + 1]
pop edx
mov ebp, dword [esp + 0x12]
and ax, 0x4eaa
jmp 0x8042b5
xchg dword [esp + 0x19], ebp
xchg dh, dl
mov byte [esp + 0xf], ch
add esp, 8
lea edx, [ecx*4]
mov edx, 0xd0d14708
jmp 0x8042ae

Function at 0x80452f
Capabilities:
Parse pe header

Disassembly:
call int.008030dc
push edx
mov word [esp + 8], sp
jmp 0x80458d
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x8045a7
push eax
jmp 0x8030d7
lea esp, [esp + 1]
mov dword [esp + 0x8c], edi
lea esp, [esp + 0x8c]
mov eax, dword fs:[0x30]
jmp 0x80456c
mov eax, dword [eax + 8]
jmp 0x804576
Function at 0x4014bd
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040166d
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4015bb
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40155e
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4015a1
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x401575
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x401590
test al, 0x40
je 0x401587
mov ecx, dword [edi + 0x20]
jmp 0x40158e
test al, 0x80
je 0x4015a1
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4015a1
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40152d
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40b180
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b99b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004605be
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b202
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045e33d
mov eax, dword [eax]
push 0x4a01d0
push eax
call fcn.00450a84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00460849
test bl, bl
je 0x40b202
push 0x4a01d0
lea ecx, [esp + 0xc]
call fcn.00460bd9
push 0x4a3d44
lea ecx, [esp + 0xc]
call fcn.00460bd9
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40b23e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00460849
jmp 0x40b309
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40b2c2
lea edx, [esp + 0x7c]
push 0x4a3d40
push edx
call fcn.00450a84
add esp, 8
test eax, eax
je 0x40b2c2
lea eax, [esp + 0x7c]
push 0x4a3d3c
push eax
call fcn.00450a84
add esp, 8
test eax, eax
je 0x40b2c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40b252
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00460849
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40bb00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40bb62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40bb70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ba1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4aa2d8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40bca8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40bbd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00460849
xor eax, eax
jmp 0x40bd1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00460986
push esi
lea ecx, [esp + 0xc]
call fcn.00460c15
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40bcfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040bb00
test eax, eax
jne 0x40bcfd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.0040bb00
test eax, eax
jne 0x40bcfd
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00451ac0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bcdc
lea ecx, [esp + 0x14]
push 0x4a3d54
push ecx
call fcn.00451a40
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bcdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40bcdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00460936
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40bbee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00460849
xor eax, eax
jmp 0x40bd1f
mov byte [esi], 0
push 0x4a3d50
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00460849
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4