joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a6004]
jne 0x401010
repz ret
jmp fcn.004014f3

Function at 0x407a15
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.00404c04
and dword [ebp - 4], 0
cmp dword [0x4a8c9c], 0
mov ebx, eax
jne 0x407ac6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407b77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407b77
push eax
call fcn.00404b92
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a8c9c], eax
call esi
push eax
call fcn.00404b92
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a8ca0], eax
call esi
push eax
call fcn.00404b92
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a8ca4], eax
call esi
push eax
call fcn.00404b92
pop ecx
mov dword [0x4a8cac], eax
test eax, eax
je 0x407ac6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b92
pop ecx
mov dword [0x4a8ca8], eax
mov eax, dword [0x4a8ca8]
cmp eax, ebx
je 0x407b1e
cmp dword [0x4a8cac], ebx
je 0x407b1e
push eax
call fcn.00404c0d
push dword [0x4a8cac]
mov esi, eax
call fcn.00404c0d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407b1e
test edi, edi
je 0x407b1e
call esi
test eax, eax
je 0x407b15
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407b15
test byte [ebp - 0xc], 1
jne 0x407b1e
or dword [ebp + 0x10], 0x200000
jmp 0x407b57
mov eax, dword [0x4a8ca0]
cmp eax, ebx
je 0x407b57
push eax
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b57
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407b57
mov eax, dword [0x4a8ca4]
cmp eax, ebx
je 0x407b57
push eax
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b57
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a8c9c]
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b77
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407b79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409ba0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4a6004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x23c03b4], 0x930
jne 0x409bca
push 0x4a4e20
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x23c03b4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x23c01f8], eax
jne 0x409bfd
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
call sub.KERNEL32.dll_VerLanguageNameA
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x769e2032
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x80e8421b
add al, 0x8d
sub al, 0x55
xor ah, byte [ebp - 0x4602cabf]
inc edi
or eax, 0x6c5b12be
popal
mov eax, 0x2c360585
movsd dword es:[edi], dword [esi]
push edi
jg 0x769e2039
scasd eax, dword es:[edi]
sub eax, 0xcd9f0c90
int 0xda
dec ebx
push ebp

Function at 0x769e2fd0
Capabilities:
Encode data using xor

Disassembly:
jg 0x769e2ff4
sub esi, dword [ecx - 0x10]
xor eax, 0xfb7628ee
stosd dword es:[edi], eax
mov dh, 1
rol dword [eax - 7], 0x34
jnp 0x769e3032
loopne 0x769e2ff4
leave
or ah, ah
xchg ebp, eax
fidivr dword [0xa303813d]
cmp eax, 0xa303813d
xchg edi, eax
sahf
arpl di, ax
push ebx
push ebp
inc ecx
xor eax, 0xf9972a0a
stc
mov eax, dword [0xb4014e4]
cmp byte [esi + 0x20], al
dec ecx
js 0x769e3007
ja 0x769e2fea
cmc
jnp 0x769e303f
mov dword [0x33f3f0cb], eax
shr eax, 0xeb
nop
mov al, dh
push esi
cld
imul esp, ecx, 0x921394ff
les edi, [ebx]
xor eax, 0x589a7d0b
loop 0x769e2ffb
invalid
test byte [0x11f7aa9c], dl
cli
imul eax, dword [edi + 0x27f5254c], 0x2b24b740
jo 0x769e3095
inc eax
mov bh, 0x24
sub esi, dword [eax + 0x50]
xor eax, 0xf57e1b43
mov al, byte [0x30268a8a]
lock and dh, byte [eax + 0x3c7aaf64]
jno 0x769e2ff6
push ebp
mov edx, 0xf599f7cf
mov byte [0xfa9bb76c], al
popfd
and al, bl
add dword [ebx], 0x51b7e949
push ecx
dec edx
invalid
xor al, byte [ecx - 0x5c93b780]
jle 0x769e3018
scasb al, byte es:[edi]
jbe 0x769e30b6
loope 0x769e3056
mov esi, dword [edx]
and eax, ebx
scasd eax, dword es:[edi]
or ecx, ecx
mov bh, 0xfc
cmp eax, 0x142dcbbe
sbb dword [esi - 1], ecx
aad 0x6d
add ch, byte [edx + edi]
push es
sar dword [ebp + 0x64f5907c], cl
mov dword es:[ecx - 0x7f], edx
mov ch, 0xb9
xor al, 0x3a
cmp eax, 0xa60c59e
sbb al, 0xe4
sbb dh, 0xb0
inc edi
mov eax, dword [0x489bbc2]
cmp ecx, 0x34
jbe 0x769e3077
mov ebx, 0xf9830489
xor al, 0x76
mov ecx, 0x549c50a7
cmpsd dword [esi], dword es:[edi]
push eax
pushfd
push esp
xor ebp, edi
popfd
jno 0x769e30c0
ret 0x405a

Function at 0x769ed94b
Capabilities:
Get number of processors

Disassembly:
add byte [ecx + ebp*2 + 0x69a60002], bl
add al, byte [eax]
mov edx, 0xca000269
imul eax, dword [edx], 0x269d400
add al, dh
imul eax, dword [edx], 0x26a0c00
add byte [edx + ebp*2], bl
add al, byte [eax]
xor al, 0x6a
add al, byte [eax]
dec edx
push 2
add byte [edx + ebp*2 + 2], dl
add byte [eax], al
add byte [eax], al
add byte [edx + ebp*2 + 2], dh
add byte [edx + ebp*2 + 0x6aa40002], cl
mov word [edx + 2], gs
add byte [edx + ebp*2 + 0x6abc0002], ah
add al, byte [eax]
into

Function at 0x769ed980
Capabilities:
Get number of processors

Disassembly:
mov word [edx + 2], gs
add byte [edx + ebp*2 + 0x6abc0002], ah
add al, byte [eax]
into
push 2
add dh, ah
push 2
add al, bh
push 2
add byte [edx], cl
imul eax, dword [edx], 0
sub byte [ebx + 2], ch
add byte [edx], bh
cmp ch, byte [ebx + 2]
add byte [eax + 0x6b], dl
add al, byte [eax]
Function at 0x76a23664
Capabilities:
Authenticate hmac

Disassembly:
jne 0x76a23696
xor dh, bh
cdq
imul dword [ebp - 0x4677af]
aaa
sub dl, byte [ecx]
mov ecx, 0x112a37ff
add dword [ebx + ebp*2], edx
nop
push es
test al, 0x36
and eax, 0xed74a335
or dword [ebx + ebx*4 + 0x2501e89d], ebp
movsd dword es:[edi], dword [esi]
test dword [edi + 0x393dbea5], eax
jne 0x76a2366d
cmp esp, dword [edx + 0x6b]
sahf
jb 0x76a2369d
clc
xor cl, al
mov ch, 0xa8
adc dword [0x5cb7bbc5], edx
enter 0xffffffffffffa8b5, 0x11
adc eax, 0x5cb7bbc5
mov bh, 0x5c
imul ebx, dword [ecx], 0xffffffcf
dec edx
xchg ebp, eax
pop ecx
out dx, al
cmpsb byte [esi], byte es:[edi]
sahf
shr bl, cl
inc esp
dec edi
inc ecx
mov edx, 0x6ef98159
and byte [esi], ch
fldcw word [esp + ebp*4 + 0x74]
cmp dword [edx + 0x48f2d1c2], edx
les edi, [esi + eax*4 - 0x1b]
jle 0x76a23696
push 0xffffffffffffffa6
xlatb
invalid
Function at 0x76a33aea
Capabilities:
Encode data using xor

Disassembly:
dec ecx
in al, dx
add bl, cl
add cl, byte [ebx + 0xc]
inc ebx
cmp byte [edx], dl
aas
sbb dword [edx], edx
aaa
or eax, 0x61d0616
push es
xor al, 0x1d
push es
and dword [esi], eax
push es
mov al, byte [edx]
add byte [eax], 0
push es
sbb eax, 0xc86e0606
add dword [edx + eax + 0x25067153], ebp
push es
push es
dec ecx
push ecx
inc esp
dec edx
or eax, 0xe130752
cmpsb byte [esi], byte es:[edi]
add bl, byte [ebx]
pop es
or al, 0xc
sub eax, 0x821d131a
add dword [edi], eax
sbb dword [edi + 0x5b], esi
inc esi
add eax, 0x9d018015
add dword [edx], esp
cmp byte [eax + 0xf028415], dh
sbb ecx, ecx
add dword [ebx], edx
cmp al, 0x21
or bl, byte [ebp + 0x30]
xchg edx, eax
add dword [eax], edx
xor eax, 0x801f028c
add byte [esi], dh
bound ecx, qword ss:[edi + 0x2601b601]
bound ecx, qword ss:[edi + 0x2601b601]
push ds
cmp al, byte [edi]
push es
push es
sbb ebx, dword [ebx]
or dword [esi], esi
jne 0x76a33a82
add dword [0x3a352a35], edx
cmp al, 0xa
sub eax, 0x360a2a0a
pop ebx
sub ch, byte gs:[edi + eax*8 + 1]
adc eax, 0x923b0f15
add dword [ebx - 0x49fc27fe], eax
add al, 0x5a
cmp al, 0x27
xchg ebp, eax
add dword [ebx + 0x29], ecx
add byte [eax], 0
jne 0x76a33b44
sbb al, 0x51
pop ss
adc eax, esp
add ecx, dword [ecx + 0x2873805]
adc byte [esi], dl
adc byte [esp + ebx], cl
xchg byte [edi + esi*4], al
add dword [edx + 0x73], ebp
mov ebp, 0x1ad3901
add eax, 0x9f270a44
inc esp
or ah, byte [edi]
lahf
add eax, 0x80711a
add byte [ecx], bl
imul ecx, dword [edi + 5], 0x8017050f
add dword [esi], ecx
adc al, 0x28
rol byte [ecx], cl
adc ecx, ebx
add dword [esi], eax
push cs
or dword [esi], eax
and esp, dword [edx - 0x4d]
add dword [esi], eax
sbb eax, 0xa0f0606
sbb dword [esi], eax
push es
fiadd word [ecx]
stosb byte es:[edi], al
add bl, byte [eax + 0x2b]
sbb dword [ecx], ebx
cmp al, 0x8e
add ebp, dword [edx + 0x4501a701]
test dword [ecx], eax
mov dword [0xc00e3001], eax
add dword [ecx + 0xb7a5201], eax
adc al, 5
push ss
add eax, 0x9134409
adc byte [edx], bl
add eax, 0x80181a09
add byte [eax], al
or ah, byte [esi]
push ds
push ss
or bl, byte [ecx + 0x601ba01]
sbb eax, 0xf5a0606
or byte [0x15061706], cl
push es
push es
or al, 7
mov esp, 0x501dd01
or ecx, dword [edi + 0x40290801]
push 6
push es
or cl, byte [ecx + edx]
push es
push es
jo 0x76a33bd1
and eax, dword [esi]
push es
cmp al, 0x9a
add edi, ebp
out dx, eax
add dword [0xe01e516], edx
pop ds
or byte [edi + 0x52], dl
pop dword [ecx]
adc esp, dword [eax]
and esp, edx
add dword [esp + ebx], ecx
sbb eax, 0xce060841
add dword [ebx], edx
inc ebp
adc bl, byte [ecx]
xor al, 0x6b
mov word [ecx], es
push ss
adc esi, dword [esi]
jo 0x7bb23bfc
or dword [0x3acf7af], edx
add byte [edx], dl
lodsd eax, dword [esi]
add eax, dword [eax]
sub eax, 0x630003ad
lodsd eax, dword [esi]
add eax, dword [eax]
dec eax
lodsd eax, dword [esi]
add eax, dword [eax]
jle 0x76a33bc3
add eax, dword [eax]
pop ebp
scasb al, byte es:[edi]
add eax, dword [eax]
add byte [eax], al
add byte [ecx], al
add al, byte [ebx]
push cs
push cs
add al, 4
add eax, 0x6050505
pop es
or byte [ecx], cl
or cl, byte [ebx]
or al, 0xd
push cs
add al, 4
int3
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80e008]
jne 0x401010
repz ret
jmp fcn.0040189a

Function at 0x40923e
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.004053ae
and dword [ebp - 4], 0
cmp dword [0x810774], 0
mov ebx, eax
jne 0x4092ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4093a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4093a0
push eax
call fcn.0040533c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x810774], eax
call esi
push eax
call fcn.0040533c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x810778], eax
call esi
push eax
call fcn.0040533c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81077c], eax
call esi
push eax
call fcn.0040533c
pop ecx
mov dword [0x810784], eax
test eax, eax
je 0x4092ef
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040533c
pop ecx
mov dword [0x810780], eax
mov eax, dword [0x810780]
cmp eax, ebx
je 0x409347
cmp dword [0x810784], ebx
je 0x409347
push eax
call fcn.004053b7
push dword [0x810784]
mov esi, eax
call fcn.004053b7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409347
test edi, edi
je 0x409347
call esi
test eax, eax
je 0x40933e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40933e
test byte [ebp - 0xc], 1
jne 0x409347
or dword [ebp + 0x10], 0x200000
jmp 0x409380
mov eax, dword [0x810778]
cmp eax, ebx
je 0x409380
push eax
call fcn.004053b7
pop ecx
test eax, eax
je 0x409380
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409380
mov eax, dword [0x81077c]
cmp eax, ebx
je 0x409380
push eax
call fcn.004053b7
pop ecx
test eax, eax
je 0x409380
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x810774]
call fcn.004053b7
pop ecx
test eax, eax
je 0x4093a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4093a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b760
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x2af88b4], 0x930
jne 0x40b77d
push str.sacixinojepaluletejowesoyayeyige
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x2af88b4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x2af85d0], eax
jne 0x40b7a3
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov esp, ebp
pop ebp
ret
Function at 0x40d450
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x40d4b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x79d234]
test esi, esi
jle 0x40d5d0
mov eax, dword [0x79d238]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x40d4e4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x40d567
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x40d4d0
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x40d5f7
mov eax, dword [0x79d238]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x79d238]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40d5d7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x40d560
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x40d570
add dword [0x79d234], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x79d238]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x40d560
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x40d4ee
mov eax, dword [0x79d238]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x40dab0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x79d250
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x79d248]
sub esp, 4
test ebx, ebx
je 0x40db05
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40dafe
test esi, esi
je 0x40dafe
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40dae0
mov dword [esp], 0x79d250
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40de30
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x40de55
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x40de60
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x40de55
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x40dea8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40de9e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40deaa
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x40de90
xor eax, eax
pop ebx
pop esi
ret

Function at 0x40e480
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40e4c0
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
je 0x40e4e8
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x421190
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x4b4afc], 0
jne 0x4212b6
mov byte [0x4b4afc], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x421284
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym.___cxa_demangle
mov dword [esp], 2
mov esi, dword [dbg.__acrt_iob_func]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sym._fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
test edx, edx
je 0x421274
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4b7501
call sym._fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4ac3e4
jmp 0x4ac3dc
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._fputs
jmp 0x42123a
mov dword [esp], 2
call dword [0x4b307c]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sym._fwrite
jmp 0x4ac3d7
mov dword [esp], 2
call dword [0x4b307c]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sym._fwrite
call sym._abort
nop
nop
nop
nop
nop
nop
nop
nop
call sym._abort
mov dword [esp], edi
call sym._free
call sym.___cxa_rethrow
call sym.___cxa_begin_catch
call sym.___cxa_end_catch
jmp 0x4ac3d7
Function at 0x44ee70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f2e3b
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.004e7339
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44eef2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e4a6d
mov eax, dword [eax]
push 0x550d40
push eax
call fcn.004d62c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e75c4
test bl, bl
je 0x44eef2
push 0x550d40
lea ecx, [esp + 0xc]
call fcn.004e7954
push 0x550d4c
lea ecx, [esp + 0xc]
call fcn.004e7954
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 0x44ef2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e75c4
jmp 0x44eff9
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 0x44efb2
lea edx, [esp + 0x7c]
push 0x550d48
push edx
call fcn.004d62c4
add esp, 8
test eax, eax
je 0x44efb2
lea eax, [esp + 0x7c]
push 0x550d44
push eax
call fcn.004d62c4
add esp, 8
test eax, eax
je 0x44efb2
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 0x44ef42
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.004e75c4
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 0x44f7f0
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 0x44f852
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 0x44f860
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f2ebb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x568258]
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 0x44f998
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44f8c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e75c4
xor eax, eax
jmp 0x44fa0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e7701
push esi
lea ecx, [esp + 0xc]
call fcn.004e7990
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x550d80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44f9ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0044f7f0
test eax, eax
jne 0x44f9ed
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 accept
mov ecx, edi
call fcn.0044f7f0
test eax, eax
jne 0x44f9ed
lea eax, [esp + 0x14]
push 0x550d5c
push eax
call fcn.004d7410
mov esi, eax
add esp, 8
test esi, esi
jne 0x44f9cc
lea ecx, [esp + 0x14]
push 0x550d58
push ecx
call fcn.004d7390
mov esi, eax
add esp, 8
test esi, esi
jne 0x44f9cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44f9cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e76b1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44f8de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e75c4
xor eax, eax
jmp 0x44fa0f
mov byte [esi], 0
push 0x550d54
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.004e75c4
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