joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428420
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b9804]
sub esp, 0x97c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x7b976c]
cmp eax, ebx
jbe 0x42861e
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jmp 0x428456
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7b9804], 0x1c
jne 0x42846d
lea eax, [esp + 0x40]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x4312d0]
mov eax, dword [0x4312d4]
mov esi, dword [edi]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4312d8]
mov dword [esp + 0x28], edx
mov edx, dword [0x4312dc]
mov edi, 0xc6ef3720
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov ebp, 0x20
jmp 0x4284b2
xor ebx, ebx
mov ecx, esi
shl ecx, 4
add ecx, dword [esp + 0x30]
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x2c]
lea edx, [edi + esi]
xor ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [0x7b9770], ebx
mov eax, dword [esp + 0x18]
add dword [0x7b9770], eax
mov eax, dword [0x7b9770]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x28]
cmp dword [0x7b9804], 0x1be
mov dword [esp + 0x10], ecx
lea ebx, [edi + eax]
jne 0x428587
push 0
lea edx, [esp + 0x18c]
push edx
push 0
push 0x403f08
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
xor eax, eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
shr eax, 5
add eax, dword [esp + 0x34]
xor ecx, ebx
mov dword [0x7b9778], 0xff6b3619
mov dword [0x7b977c], 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec ebp
jne 0x4284b0
cmp dword [0x7b9804], 0x8d4
jne 0x4285d7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], edx
cmp dword [0x7b9804], 0x17
jne 0x42860d
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea eax, [esp + 0x48]
push eax
push 0x403f68
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x1c], edi
jne 0x428450
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x97c
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x7fc51f70
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..text
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x24194d4b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4012af
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403d14], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403d10], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x4011a6
mov dword [ebp - 0x24], str.cognomen
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403d10]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.invocatory
push str.cognomen
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d18], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401379
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401360
mov eax, dword [0x403d14]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

Function at 0x401499
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x10
mov edx, esi
mov eax, 4
mov esi, 0x401116
mov edi, 0x4035f5
dec ecx
call fcn.00401cc6
mov eax, ecx
push edi
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call fcn.004013a1
call fcn.00401c72
mov eax, 0x14
mov ecx, 0x78f
mov esi, 0x401192
mov edi, 0x4014e3
call fcn.00401cc6
xor eax, eax
xor eax, 0x17cf0b66
sub eax, 0x4a88926a
fisttp qword [edi - 0x2d]
sbb al, 0xa9
invalid

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

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4063b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x415e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4042ec
call fcn.0040759b
push 4
mov dword [esp + 0x18], 0
call fcn.00408778
mov edi, eax
add esp, 4
test edi, edi
je 0x406424
push ebx
call fcn.00407396
mov dword [edi], eax
call fcn.00407155
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0040755c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406418
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00407584
pop ebx
jmp 0x406426
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40934b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x419354]
jne 0x409355
repz ret
jmp fcn.0040dc2c
Function at 0x4118a2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419354]
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.0040b3ec
and dword [ebp - 0x14], 0
cmp dword [0x4af024], 0
mov dword [ebp - 0x18], eax
jne 0x411955
push 0x403e58
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4119fd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e4c
push ebx
call edi
test eax, eax
je 0x4119fd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e3c
push ebx
mov dword [0x4af024], eax
call edi
push eax
call esi
push 0x403e28
push ebx
mov dword [0x4af028], eax
call edi
push eax
call esi
push 0x403e0c
push ebx
mov dword [0x4af02c], eax
call edi
push eax
call esi
mov dword [0x4af034], eax
test eax, eax
je 0x411955
push 0x403df4
push ebx
call edi
push eax
call esi
mov dword [0x4af030], eax
mov eax, dword [0x4af030]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4119ae
cmp dword [0x4af034], ecx
je 0x4119ae
push eax
call esi
push dword [0x4af034]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4119ae
test ebx, ebx
je 0x4119ae
call edi
test eax, eax
je 0x4119a5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4119a5
test byte [ebp - 8], 1
jne 0x4119ae
or dword [ebp + 0x10], 0x200000
jmp 0x4119e1
mov eax, dword [0x4af028]
cmp eax, dword [ebp - 0x18]
je 0x4119e1
push eax
call esi
test eax, eax
je 0x4119e1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4119e1
mov eax, dword [0x4af02c]
cmp eax, dword [ebp - 0x18]
je 0x4119e1
push eax
call esi
test eax, eax
je 0x4119e1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4af024]
call esi
test eax, eax
je 0x4119fd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4119ff
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040934b
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

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

Disassembly:
pushal
mov esi, 0x412015
lea edi, [esi - 0x11015]
push edi
or ebp, 0xffffffff
jmp 0x41e0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e098
mov eax, 1
add ebx, ebx
jne 0x41e0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e0b0
jne 0x41e0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e0b0
xor ecx, ecx
sub eax, 3
jb 0x41e0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e152
mov ebp, eax
add ebx, ebx
jne 0x41e0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e11c
inc ecx
add ebx, ebx
jne 0x41e108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e0fd
jne 0x41e119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e12d
jmp 0x41e09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e13c
add edi, ecx
jmp 0x41e09e
pop esi
mov edi, esi
mov ecx, 0x6b8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e15a
cmp byte [edi], 6
jne 0x41e15a
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 0x41e15f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e484]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e55c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e564]
or eax, eax
je 0x41e1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x41e1a9
call dword [esi + 0x1e560]
mov ebp, dword [esi + 0x1e568]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41e202
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x414a2f
Capabilities:
Read file on windows

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

Function at 0x419060
Capabilities:
Set environment variable

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

Function at 0x40189d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov edx, dword [0x403050]
mov ebx, eax
add edx, eax
mov eax, 0x403054
call fcn.004017e0
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x40277c
push edx
sub edi, fcn.00401f26
push edi
xor eax, eax
push fcn.00401f26
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401907
mov eax, fcn.00401f26
mov ebx, esi
mov edx, edi
call fcn.004017e0
mov edx, 0x1c000
mov eax, 0x403054
mov ebx, esi
call fcn.004010f2
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401dfd
Capabilities:
Check if file exists
Check mutex on windows
Get common file path

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x460, 0
lea ebx, [ebp - 0x258]
push ebx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHFOLDER.DLL_SHGetFolderPathW]
push 0x104
lea ebx, [ebp - 0x460]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0
push 0
push 0
lea ebx, [ebp - 0x460]
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push ebx
mov byte [ebp - 8], 0
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
push 0
push 0
push 3
push 0
push 0
push 0x80000000
lea ebx, [ebp - 0x258]
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push 0
push 0
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
push ebx
lea ebx, [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
lea ebx, [ebp - 0x10]
push ebx
lea ebx, [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push ebx
push ebx
push ebx
sub esi, 5
mov byte [ebp - 0x50], 0
call dword [sym.imp.SHLWAPI.DLL_PathCombineA]
mov eax, esi
jmp 0x401666
Function at 0x43e15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x43e168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x43e14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x43e145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x43e145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret

Function at 0x43e1d2
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
jmp edx
mov ecx, dword [ebx + 0x28]
cmp ecx, 1
je 0x43e1c1
mov ecx, ebx
sub ecx, dword [ebx + 4]
xor cx, cx
mov dword [ebx + 0x24], ecx
add ecx, dword [ebx + 8]
mov esi, ecx
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov eax, dword [ebx + 0x10]
xor dword [esi + edx], eax
add edx, 1
add edx, 2
sub edx, 1
sub edx, 1
add edx, 3
push edx
push ecx
pop ecx
pop edx
cmp edx, ecx
jl 0x43e1f5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebx + 0x1c]
mov esi, ecx
mov ecx, dword [ebx + 0x20]
xor edx, edx
mov eax, dword [ebx + 0x10]
xor dword [esi + edx], eax
add edx, 1
add edx, 2
sub edx, 1
sub edx, 1
add edx, 3
push edx
push ecx
pop ecx
pop edx
cmp edx, ecx
jl 0x43e285
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebx + 0x28], 1
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
mov dword [esp + 0x34], edx
jmp edx
Function at 0x4159a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af4cb
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.004a1cd9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x415a22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049f582
mov eax, dword [eax]
push 0x4d4cd8
push eax
call fcn.004911f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a1f64
test bl, bl
je 0x415a22
push 0x4d4cd8
lea ecx, [esp + 0xc]
call fcn.004a2340
push 0x4d4ce4
lea ecx, [esp + 0xc]
call fcn.004a2340
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 0x415a5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a1f64
jmp 0x415b29
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 0x415ae2
lea edx, [esp + 0x7c]
push 0x4d4ce0
push edx
call fcn.004911f4
add esp, 8
test eax, eax
je 0x415ae2
lea eax, [esp + 0x7c]
push 0x4d4cdc
push eax
call fcn.004911f4
add esp, 8
test eax, eax
je 0x415ae2
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 0x415a72
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.004a1f64
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 0x416330
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 0x416392
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 0x4163a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af54b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e4e60]
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 0x4164d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x416406
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a1f64
xor eax, eax
jmp 0x41654f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a20ed
push esi
lea ecx, [esp + 0xc]
call fcn.004a237c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4d4d18
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41652d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00416330
test eax, eax
jne 0x41652d
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 closesocket
mov ecx, edi
call fcn.00416330
test eax, eax
jne 0x41652d
lea eax, [esp + 0x14]
push 0x4d4cf4
push eax
call fcn.004923e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41650c
lea ecx, [esp + 0x14]
push 0x4d4cf0
push ecx
call fcn.00492360
mov esi, eax
add esp, 8
test esi, esi
jne 0x41650c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41650f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a209d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41641e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a1f64
xor eax, eax
jmp 0x41654f
mov byte [esi], 0
push 0x4d4cec
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.004a1f64
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