joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407380
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x460408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 8], ebx
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x24]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x407403
call fcn.00406eb0
cmp eax, ebx
je 0x407407
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x4073ee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 8], ebx
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
mov dword [esp + 8], eax
mov edx, dword [esp + 8]
push esi
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x40742e
call fcn.00406eb0
cmp eax, ebx
jl 0x40743a
mov eax, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x40743e
mov esi, dword [esp + 0x10]
push esi
call fcn.00444681
mov edx, dword [esp + 0x10]
add esp, 4
push ebx
lea ecx, [esp + 0x2c]
push ecx
push esi
push eax
push edx
mov dword [edi + 4], eax
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x4074a4
call fcn.00406eb0
cmp eax, ebx
jge 0x4074aa
mov eax, dword [edi + 4]
push eax
call fcn.00442370
add esp, 4
mov dword [edi + 4], ebx
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00407000
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
cmp dword [esp + 0x28], esi
jne 0x40746e
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4074b4
mov dword [eax], esi
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00407000
mov ecx, dword [esp + 0x18]
pop esi
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8

Function at 0x4074e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
push 0x46842c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x407505
pop edi
xor al, al
pop esi
ret 8
mov eax, dword [esi + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4074fe
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x40752a
pop ebx
pop edi
xor al, al
pop esi
ret 8
mov eax, dword [esi + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
call fcn.00444681
push edi
push ebx
push eax
mov dword [esi + 4], eax
call fcn.00442bb0
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x407555
mov dword [eax], edi
pop ebx
pop edi
mov al, 1
pop esi
ret 8
Function at 0x42afd0
Capabilities:
Encode data using xor

Disassembly:
xor ebp, dword [ecx + 0x6fdbc351]
adc al, 0x2a
movsd dword es:[edi], dword [esi]
mov ecx, cs
mov ah, 0xae
retf
push es
mov cl, 0x6c
push ebx
jmp 0x42af57
loop 0x42af0f
or byte [edx - 0x38], bl
jbe 0x42af38
adc dword [edi - 0x4048f915], esi
sti
in eax, 0xa3
inc ecx
and eax, 0x90be454d
jnp 0x42af04
pop edi
fcmovne st(0), st(3)
clc
sbb esp, 0x354a844b
jb 0x42afe7
push 0x3059ddcb
mov dh, 0xb0
clc
cmpsb byte [esi], byte es:[edi]
mov bh, 0x9c
cdq
jns 0x42af59
jb 0x42afa8
pop ss
invalid
xchg esp, eax
sub ah, byte [ebp - 0x7f]
mov ah, byte [ebx - 0x7782dd2d]
mov esi, 0xe35a1f40
cmp al, 0x61
jae 0x42affe
cmpsb byte [esi], byte es:[edi]
lodsd eax, dword [esi]
push 0xffffffffffffffbf
out dx, al
test eax, 0xc51a69ed
je 0x42afb7
loope 0x42b01c
pop edx
stosb byte es:[edi], al
out dx, eax
loopne 0x42afcb
sub al, 0xa7
mov eax, cs
insb byte es:[edi], dx
jb 0x42af7c
mov esp, 0x7b09b2e3
push ds
invalid
sub eax, 0x18167c53
invalid
test byte [edx], cl
invalid
Function at 0x4316c0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e7df
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x477a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x238]
call fcn.004318e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x238]
mov dword [ecx], 0x464f70
lea edx, [ebp - 0x21c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x468428
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x464f4c
lea ecx, [ebp - 0x228]
call fcn.004062d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.004013a0
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00414520
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x4317c8
push ecx
mov ecx, esp
mov dword [ebp - 0x22c], esp
lea edx, [ebp - 0x21c]
push edx
call fcn.004062d0
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
call fcn.00431880
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x224], eax
push 0x10
call fcn.00442a44
add esp, 4
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x234], 0
je 0x431812
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x234]
call fcn.0042c170
mov dword [ebp - 0x244], eax
jmp 0x43181c
mov dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x238]
add ecx, 8
call fcn.004320e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00406380
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442761
mov esp, ebp
pop ebp
ret 4
Function at 0x431ae0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e88a
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x477a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.004318e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx], 0x464fa8
lea edx, [ebp - 0x21c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x468428
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x228]
call fcn.00406280
mov byte [ebp - 4], 1
call fcn.00414520
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x431be4
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.00431cf0
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x244], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x244]
mov eax, dword [edx]
push eax
push 0x464f94
lea ecx, [ebp - 0x228]
push ecx
call fcn.0041a080
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.00406380
lea ecx, [ebp - 0x228]
call fcn.004013a0
push eax
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ecx
mov ecx, esp
mov dword [ebp - 0x230], esp
lea eax, [ebp - 0x21c]
push eax
call fcn.004062d0
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], ecx
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
call fcn.00431d60
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x224], eax
push 0x10
call fcn.00442a44
add esp, 4
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x238], 0
je 0x431c81
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x238]
call fcn.0042c170
mov dword [ebp - 0x250], eax
jmp 0x431c8b
mov dword [ebp - 0x250], 0
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x234], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x234]
push edx
mov ecx, dword [ebp - 0x23c]
add ecx, 8
call fcn.004320e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00406380
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442761
mov esp, ebp
pop ebp
ret 4
Function at 0x431dc0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e914
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x477a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x234]
call fcn.004318e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x234]
mov dword [ecx], 0x464fc4
lea edx, [ebp - 0x21c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x468428
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x228]
call fcn.00406280
mov byte [ebp - 4], 1
call fcn.00414520
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x431e91
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 0xfc]
push ecx
push 0x464fb8
lea edx, [ebp - 0x228]
push edx
call fcn.0041a080
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.004013a0
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0x100
call fcn.004063f0
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x224], eax
push 0x10
call fcn.00442a44
add esp, 4
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x230], 0
je 0x431f0c
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.0042c170
mov dword [ebp - 0x238], eax
jmp 0x431f16
mov dword [ebp - 0x238], 0
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x22c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x22c]
push edx
mov ecx, dword [ebp - 0x234]
add ecx, 8
call fcn.004320e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00406380
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442761
mov esp, ebp
pop ebp
ret 4
Function at 0x43f070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f7b2
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x477a20]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
call fcn.00414520
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43f0b4
jmp 0x43f21a
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 0x465b9c
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43f0e5
mov ecx, dword [ebp - 0x240]
call fcn.0043f260
jmp 0x43f21a
mov dword [ebp - 0x230], 0x104
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
push 0
push 0x465cd4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43f133
mov ecx, dword [ebp - 0x240]
call fcn.0043f260
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43f21a
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004062d0
mov dword [ebp - 4], 0
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0043f7f0
lea ecx, [ebp - 0x10]
call fcn.0043f8f0
push 0
push 0x465cd8
lea ecx, [ebp - 0x10]
call fcn.0040d4d0
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
je 0x43f20b
push ecx
mov ecx, esp
mov dword [ebp - 0x238], esp
mov edx, dword [ebp - 0x234]
push edx
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040d510
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
call fcn.0043f6b0
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00418ef0
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x240]
add ecx, 0x6c
call fcn.004063d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.00406380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00406380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00442761
mov esp, ebp
pop ebp
ret

Function at 0x43f330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
push eax
lea ecx, [ebp - 8]
call fcn.004025e0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.0043f950
test eax, eax
je 0x43f398
push 5
push 0
push 0
push 0x465cf8
push 0x465cec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x445130
Capabilities:
Encode data using xor

Disassembly:
add dh, bh
sbb dl, byte [edi]
sub dl, byte [ecx]
or dword [edx], ebp
add byte [ecx + eax*2 + 0x4d0034], ch
xchg dword [edx], esp
inc eax
dec edx
and al, byte [eax + 0x4a]
sti
add byte [edi + 0x41d60], al
add byte [eax], dl
rol byte [ebx], 0x85
add bl, bh
rol dword [eax], 2
xor al, 3
add byte [eax], al
das
rol byte [0x20180], 0x80
or byte [ecx], 1
inc edx
jb 0x445141
hlt
Function at 0x48e080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5d000]
push edi
jmp 0x48e09a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48e0a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e090
mov eax, 1
add ebx, ebx
jne 0x48e0b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48e0c4
jne 0x48e0e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e0e3
dec eax
add ebx, ebx
jne 0x48e0d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48e0a8
add ebx, ebx
jne 0x48e0df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48e135
xor ecx, ecx
sub eax, 3
jb 0x48e0fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48e16a
sar eax, 1
mov ebp, eax
jmp 0x48e106
add ebx, ebx
jne 0x48e106
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e0d4
inc ecx
add ebx, ebx
jne 0x48e114
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48e0d4
add ebx, ebx
jne 0x48e121
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48e116
jne 0x48e132
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48e116
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48e154
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48e146
jmp 0x48e096
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48e154
add edi, ecx
jmp 0x48e096
pop esi
mov edi, esi
mov ecx, 0x28ed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48e172
cmp byte [edi], 0x1b
jne 0x48e172
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 0x48e177
lea edi, [esi + 0x8b000]
mov eax, dword [edi]
or eax, eax
je 0x48e1ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x95414]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9552c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48e1a4
mov ecx, edi
jns 0x48e1d3
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 + 0x95530]
or eax, eax
je 0x48e1e9
mov dword [ebx], eax
add ebx, 4
jmp 0x48e1c1
call dword [esi + 0x95540]
mov ebp, dword [esi + 0x95534]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48e223
sub esp, 0xffffff80
jmp 0x44be98
Function at 0x40b250
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46996b
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.0045e451
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b2d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045c1d0
mov eax, dword [eax]
push 0x5af1f0
push eax
call fcn.0044ee04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045e6dc
test bl, bl
je 0x40b2d2
push 0x5af1f0
lea ecx, [esp + 0xc]
call fcn.0045ea6c
push 0x5b2d78
lea ecx, [esp + 0xc]
call fcn.0045ea6c
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 0x40b30e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045e6dc
jmp 0x40b3d9
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 0x40b392
lea edx, [esp + 0x7c]
push 0x5b2d74
push edx
call fcn.0044ee04
add esp, 8
test eax, eax
je 0x40b392
lea eax, [esp + 0x7c]
push 0x5b2d70
push eax
call fcn.0044ee04
add esp, 8
test eax, eax
je 0x40b392
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 0x40b322
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.0045e6dc
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 0x40bbd0
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 0x40bc32
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 0x40bc40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4699eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5b92d8]
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 0x40bd78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40bca6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e6dc
xor eax, eax
jmp 0x40bdef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045e819
push esi
lea ecx, [esp + 0xc]
call fcn.0045eaa8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5b2db0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40bdcd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040bbd0
test eax, eax
jne 0x40bdcd
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.0040bbd0
test eax, eax
jne 0x40bdcd
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0044fe40
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bdac
lea ecx, [esp + 0x14]
push 0x5b2d88
push ecx
call fcn.0044fdc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bdac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40bdaf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045e7c9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40bcbe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e6dc
xor eax, eax
jmp 0x40bdef
mov byte [esi], 0
push 0x5b2d84
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.0045e6dc
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