joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4424d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442503
push esi
call fcn.00450890
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4424fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x442589
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442572
mov eax, dword [esi + 8]
test eax, eax
je 0x442527
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44256e
cmp eax, 2
je 0x442572
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44251a
cmp eax, 3
je 0x44254d
cmp eax, 1
jne 0x44251a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44251a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44251a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004425b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442598
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004425b0
add esp, 4
pop esi
ret

Function at 0x442e20
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x442e41
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x442e41
mov eax, dword [eax + 0x44]
test eax, eax
je 0x442e41
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x460130
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1151db0]
xor edx, edx
cmp eax, edx
jne 0x460156
xor eax, eax
mov byte [eax + 0x1151cb0], al
inc eax
cmp eax, 0x100
jl 0x46013e
mov dword [0x1151db0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1151cb0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4601e7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4601ba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x460188
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x460260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4602b3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46029a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x466c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493b1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00467550
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x11213a4
call fcn.00485646
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x466cc3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00485646
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x466cbc
push 0
mov ecx, eax
call fcn.0045dd60
mov dword [esi + 0xc], eax
jmp 0x466cc5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x466cc5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x487cac
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x487ce4
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.00485d60
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00485d38
jmp 0x487cf0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48939e
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 0x4893e0
call fcn.0048ee4e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4893e0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4893d7
xor eax, eax
jmp 0x4893e8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004893ee
pop edi
pop esi
pop ebx
ret 4
Function at 0x48f37e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48f3ac
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48f3ca
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048f2e4
jmp 0x48f3ca
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48f3ca
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048f2e4
test edi, edi
mov eax, edi
jne 0x48f3b4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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 0x1d2a2a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1715000]
push edi
or ebp, 0xffffffff
jmp 0x1d2a2c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1d2a2c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1d2a2b8
mov eax, 1
add ebx, ebx
jne 0x1d2a2db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1d2a2ec
jne 0x1d2a30b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1d2a30b
dec eax
add ebx, ebx
jne 0x1d2a2f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1d2a2d0
add ebx, ebx
jne 0x1d2a307
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1d2a35d
xor ecx, ecx
sub eax, 3
jb 0x1d2a323
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1d2a392
sar eax, 1
mov ebp, eax
jmp 0x1d2a32e
add ebx, ebx
jne 0x1d2a32e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1d2a2fc
inc ecx
add ebx, ebx
jne 0x1d2a33c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1d2a2fc
add ebx, ebx
jne 0x1d2a349
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1d2a33e
jne 0x1d2a35a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1d2a33e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1d2a37c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1d2a36e
jmp 0x1d2a2be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1d2a37c
add edi, ecx
jmp 0x1d2a2be
pop esi
mov edi, esi
mov ecx, 0x3110ef
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1d2a3b7
cmp byte [edi], 0x92
jne 0x1d2a39c
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1d2a39a
lea edi, [esi + 0x1908000]
mov eax, dword [edi]
or eax, eax
je 0x1d2a3ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1942828]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1942bfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1d2a3bd
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1942c00]
or eax, eax
je 0x1d2a3f9
mov dword [ebx], eax
add ebx, 4
jmp 0x1d2a3da
call dword [esi + 0x1942c08]
mov ebp, dword [esi + 0x1942c04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1d2a433
sub esp, 0xffffff80
jmp 0x76c278
Function at 0x401000
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ecx
mov eax, dword [section..data]
xor eax, esp
mov dword [esp], eax
mov ecx, dword [edi + 0x60]
push ebx
push ebp
xor ebx, ebx
test ecx, ecx
push esi
mov esi, 0xc0000001
je 0x401056
mov edx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
cmp ecx, 0x222428
mov eax, dword [edi + 0xc]
je 0x40107f
cmp ecx, 0x224030
jne 0x401056
test eax, eax
je 0x401078
lea ecx, [edx - 0x1f]
cmp ecx, 0x1e0
ja 0x401078
push edx
call fcn.00401380
cmp eax, 0x103
mov esi, eax
je 0x401068
xor dl, dl
mov ecx, edi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
mov ecx, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401822
pop ecx
ret
mov esi, 0xc000000d
jmp 0x401056
cmp edx, 4
jne 0x401056
cmp ebp, edx
jne 0x401056
mov edx, dword [0x40487c]
mov dword [eax], edx
mov ebx, 4
xor esi, esi
jmp 0x401056

Function at 0x401150
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
call fcn.00401310
test eax, eax
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
je 0x401200
push 0x404460
lea eax, [esp + 0x14]
push eax
call edi
push 0x404668
lea ecx, [esp + 0x1c]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0x22
lea eax, [esp + 0x20]
push eax
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jl 0x401200
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
mov dword [0x404870], 1
or dword [eax + 0x1c], 4
push edx
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
test eax, eax
jl 0x401200
mov dword [0x404874], 1
mov eax, 0x4010a0
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0xc]
and dword [eax + 0x1c], 0xffffff7f
mov dword [esi + 0x34], 0x401100
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [0x404874], 0
je 0x401220
push 0x404668
lea eax, [esp + 0x24]
push eax
call edi
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoDeleteSymbolicLink]
cmp dword [0x404870], 0
je 0x401233
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
pop edi
mov eax, 0xc0000001
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x401380
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, eax
movzx eax, word [edi]
xor ebx, ebx
cmp ax, 0x61
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
jb 0x4013a0
cmp ax, 0x7a
jbe 0x4013b4
cmp ax, 0x41
jb 0x40146b
cmp ax, 0x5a
ja 0x40146b
cmp word [edi + 2], 0x3a
jne 0x40146b
push esi
push 0x514d494e
push 0xc
push ebx
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
mov eax, dword [esp + 0x18]
push esi
push 0x401480
push ebx
push ebx
push ebx
push 0x1fffff
lea ecx, [esp + 0x24]
push ecx
mov dword [esi + 4], edi
mov dword [esi], eax
mov dword [esi + 8], 0xc0000001
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov edi, eax
cmp edi, ebx
jge 0x401405
mov dword [esp + 0xc], ebx
jmp 0x401433
mov eax, dword [esp + 0xc]
push ebx
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
push 0x1fffff
push eax
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401445
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x401445
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x401458
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov dword [esp + 0xc], ebx
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop esi
mov eax, edi
pop edi
pop ebx
add esp, 8
ret 4
pop edi
mov eax, 0xc000000d
pop ebx
add esp, 8
ret 4

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 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 0x4c1bc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7a000]
push edi
or ebp, 0xffffffff
jmp 0x4c1be2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c1be9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c1bd8
mov eax, 1
add ebx, ebx
jne 0x4c1bfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c1c0c
jne 0x4c1c2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c1c2b
dec eax
add ebx, ebx
jne 0x4c1c18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c1bf0
add ebx, ebx
jne 0x4c1c27
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c1c7d
xor ecx, ecx
sub eax, 3
jb 0x4c1c43
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c1cb2
sar eax, 1
mov ebp, eax
jmp 0x4c1c4e
add ebx, ebx
jne 0x4c1c4e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c1c1c
inc ecx
add ebx, ebx
jne 0x4c1c5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c1c1c
add ebx, ebx
jne 0x4c1c69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c1c5e
jne 0x4c1c7a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c1c5e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c1c9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c1c8e
jmp 0x4c1bde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c1c9c
add edi, ecx
jmp 0x4c1bde
pop esi
mov edi, esi
mov ecx, 0x642
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c1cba
cmp byte [edi], 5
jne 0x4c1cba
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 0x4c1cbf
lea edi, [esi + 0xbf000]
mov eax, dword [edi]
or eax, eax
je 0x4c1d37
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc3228]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc3318]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c1cec
mov ecx, edi
jns 0x4c1d1b
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 + 0xc331c]
or eax, eax
je 0x4c1d31
mov dword [ebx], eax
add ebx, 4
jmp 0x4c1d09
call dword [esi + 0xc332c]
mov ebp, dword [esi + 0xc3320]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x4c1d6b
sub esp, 0xffffff80
jmp 0x40f262

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 0x40d740
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47865b
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.0046d007
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d7c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046aa60
mov eax, dword [eax]
push 0x616210
push eax
call fcn.0045ce24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046d292
test bl, bl
je 0x40d7c2
push 0x616210
lea ecx, [esp + 0xc]
call fcn.0046d622
push 0x619d94
lea ecx, [esp + 0xc]
call fcn.0046d622
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 0x40d7fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046d292
jmp 0x40d8c9
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 0x40d882
lea edx, [esp + 0x7c]
push 0x619d90
push edx
call fcn.0045ce24
add esp, 8
test eax, eax
je 0x40d882
lea eax, [esp + 0x7c]
push 0x619d8c
push eax
call fcn.0045ce24
add esp, 8
test eax, eax
je 0x40d882
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 0x40d812
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.0046d292
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 0x40e0c0
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 0x40e122
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 0x40e130
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4786db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x624a04]
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 0x40e268
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e196
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046d292
xor eax, eax
jmp 0x40e2df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046d3cf
push esi
lea ecx, [esp + 0xc]
call fcn.0046d65e
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 0x40e2bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040e0c0
test eax, eax
jne 0x40e2bd
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.0040e0c0
test eax, eax
jne 0x40e2bd
lea eax, [esp + 0x14]
push 0x619da8
push eax
call fcn.0045de60
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e29c
lea ecx, [esp + 0x14]
push 0x619da4
push ecx
call fcn.0045dde0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e29c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e29f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046d37f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e1ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046d292
xor eax, eax
jmp 0x40e2df
mov byte [esi], 0
push 0x619da0
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.0046d292
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