joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454c40
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5c
push 0
push 0
dec ecx
jne 0x454c48
push ecx
push ebx
push esi
mov ebx, edx
push eax
pop esi
lea eax, [ebp - 0x164]
mov edx, dword [0x407b60]
call fcn.004056ec
xor eax, eax
push ebp
push 0x454efb
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov eax, esi
call fcn.00409160
test al, al
jne 0x454cb3
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x15
jne 0x454ca2
mov eax, ebx
mov edx, 0x454f10
call fcn.00404df0
jmp 0x454ea9
push ebx
pop eax
mov edx, 0x454f28
call fcn.00404df0
jmp 0x454ea9
lea eax, [ebp - 0x2c8]
mov ecx, 0x454f40
mov edx, esi
call fcn.004050a8
mov eax, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x164]
mov edx, 0x3f
call fcn.00409320
or eax, eax
jne 0x454ea2
mov eax, dword [ebp - 0x15c]
and eax, 0x10
cmp eax, 0x10
jne 0x454d9c
lea eax, [ebp - 0x2cc]
push eax
pushfd
xor ecx, ecx
inc ecx
popfd
nop
push 1
nop
pop edx
mov eax, dword [ebp - 0x158]
call fcn.004052bc
mov eax, dword [ebp - 0x2cc]
mov edx, 0x454f4c
call fcn.004051a8
je 0x454e75
push dword [ebp - 8]
push 0x454f58
push dword [ebp - 0x158]
push 0x454f64
mov eax, dword [ebp - 0x164]
call fcn.00409600
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2d0]
call fcn.0040b5bc
push dword [ebp - 0x2d0]
push 0x454f70
mov eax, dword [ebp - 0x164]
call fcn.00409600
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2d4]
call fcn.0040b5d4
push dword [ebp - 0x2d4]
push 0x454f7c
lea eax, [ebp - 8]
nop
push 8
nop
pop edx
call fcn.0040511c
jmp 0x454e75
push 0x400
push 0x160
lea eax, [ebp - 0x2c4]
push eax
push 0
lea eax, [ebp - 0x2d8]
mov ecx, dword [ebp - 0x158]
push esi
pop edx
call fcn.004050a8
mov eax, dword [ebp - 0x2d8]
call fcn.0040525c
push eax
call sub.shell32.dll_SHGetFileInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x1b4]
mov ecx, 0x50
call fcn.0040500c
push dword [ebp - 4]
push dword [ebp - 0x158]
push 0x454f7c
lea edx, [ebp - 0x2dc]
mov eax, dword [ebp - 0x160]
call fcn.00408c24
push dword [ebp - 0x2dc]
push 0x454f7c
push dword [ebp - 0xc]
push 0x454f7c
mov eax, dword [ebp - 0x164]
call fcn.00409600
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2e0]
call fcn.0040b5bc
push dword [ebp - 0x2e0]
push 0x454f70
mov eax, dword [ebp - 0x164]
call fcn.00409600
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x2e4]
call fcn.0040b5d4
push dword [ebp - 0x2e4]
push 0x454f7c
lea eax, [ebp - 4]
mov edx, 0xb
call fcn.0040511c
push ebx
pop eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004050a8
lea eax, [ebp - 0x164]
call fcn.00409370
or eax, eax
je 0x454ce3
lea eax, [ebp - 0x164]
call fcn.00409394
jmp 0x454ea9
mov eax, ebx
call fcn.00404d9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454f02
lea eax, [ebp - 0x2e4]
push 6
pop edx
push edi
pop edi
call fcn.00404dc0
lea eax, [ebp - 0x2cc]
call fcn.00404d9c
lea eax, [ebp - 0x2c8]
call fcn.00404d9c
lea eax, [ebp - 0x164]
mov edx, dword [0x407b60]
call fcn.004057bc
lea eax, [ebp - 0xc]
push 3
pop edx
push ebx
pop ebx
call fcn.00404dc0
ret
Function at 0x455280
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040524c
sub eax, eax
push ebp
push 0x45534b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x455335
sub eax, eax
push ebp
push 0x455329
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
sub ecx, ecx
mov edx, 0x1e
call fcn.00403500
lea eax, [ebp - 0x122]
sub ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00403500
lea eax, [ebp - 0x122]
mov edx, dword [ebp - 4]
call fcn.00409710
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x122]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x40
or word [ebp - 0x12], 0x10
or word [ebp - 0x12], 4
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
or eax, eax
sete bl
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x455335
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455352
lea eax, [ebp - 4]
call fcn.00404d9c
ret

Function at 0x455b88
Capabilities:
Get file size
Packed with generic packer
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040524c
mov eax, dword [ebp - 8]
call fcn.0040524c
mov eax, dword [ebp - 0xc]
call fcn.0040524c
xor eax, eax
push ebp
push 0x455cdc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040525c
push eax
call dword [0x4602b0]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x455cc1
sub eax, eax
push ebp
push 0x455cb4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov ebx, eax
mov eax, ebx
call fcn.00402a50
push eax
pop esi
push 0
lea eax, [ebp - 0x1c]
push eax
push ebx
push esi
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_ReadFile
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x455c3a
call fcn.00404804
jmp 0x455cc1
push 0
mov eax, dword [ebp - 8]
call fcn.0040525c
push eax
call sub.KERNEL32.DLL_BeginUpdateResourceA
mov dword [ebp - 0x14], eax
sub eax, eax
push ebp
push 0x455c95
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push esi
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040525c
push eax
push 0xa
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_UpdateResourceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x1d], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455c9c
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_EndUpdateResourceA
ret
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455ce3
lea eax, [ebp - 0xc]
pushal
popal
push 3
pop edx
call fcn.00404dc0
ret

Function at 0x456044
Capabilities:
Power down monitor

Disassembly:
push 2
push 0xf170
push 0x112
push 0xffff
call sub.user32.dll_SendMessageA
ret
Function at 0x456210
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
xor eax, eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x160]
mov edx, dword [0x407b60]
call fcn.004056ec
xor eax, eax
push ebp
push 0x456367
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.004556a8
mov eax, dword [ebp - 8]
call fcn.00409160
test al, al
je 0x45632b
lea eax, [ebp - 0x164]
mov ecx, 0x45637c
mov edx, dword [ebp - 8]
call fcn.004050a8
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
push 0x3f
pop edx
push eax
pop eax
call fcn.00409320
test eax, eax
jne 0x456320
test byte [ebp - 0x158], 0x10
jne 0x45630d
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 0x154]
call fcn.004094fc
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 4]
call fcn.00408954
mov eax, dword [ebp - 4]
mov edx, 0x456388
call fcn.004051a8
jne 0x45630d
push 1
push 0x456390
push 0x456390
lea eax, [ebp - 0x16c]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.004050a8
mov eax, dword [ebp - 0x16c]
call fcn.0040525c
push eax
push 0x456394
push 0
call dword [0x4601dc]
jmp 0x456320
lea eax, [ebp - 0x160]
call fcn.00409370
test eax, eax
je 0x45629b
lea eax, [ebp - 0x160]
call fcn.00409394
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45636e
lea eax, [ebp - 0x16c]
pushal
popal
push 3
pop edx
call fcn.00404dc0
lea eax, [ebp - 0x160]
mov edx, dword [0x407b60]
call fcn.004057bc
lea eax, [ebp - 8]
nop
push 2
nop
pop edx
call fcn.00404dc0
ret

Function at 0x456674
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x460194], 0
je 0x4566cc
mov byte [0x45df40], 0
mov eax, dword [0x4601b0]
call fcn.00403fb8
sub eax, eax
mov dword [0x4601b0], eax
push 0x1f4
mov eax, dword [0x460194]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
jne 0x4566b9
push 0
mov eax, dword [0x460194]
push eax
call sub.KERNEL32.DLL_TerminateThread
mov eax, dword [0x460194]
push eax
call dword [0x4601e0]
sub eax, eax
mov dword [0x460194], eax
ret

Function at 0x4566d0
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x460190], 0
je 0x456728
mov byte [0x45df48], 0
mov eax, dword [0x4601ac]
call fcn.00403fb8
xor eax, eax
mov dword [0x4601ac], eax
push 0x1f4
mov eax, dword [0x460190]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
jne 0x456715
push 0
mov eax, dword [0x460190]
push eax
call sub.KERNEL32.DLL_TerminateThread
mov eax, dword [0x460190]
push eax
call dword [0x4601e0]
sub eax, eax
mov dword [0x460190], eax
ret
Function at 0x45672c
Capabilities:
Packed with generic packer

Disassembly:
push ebp
push esp
pop ebp
push eax
mov eax, 0x87
add esp, 0xfffff004
push eax
dec eax
jne 0x456735
mov eax, dword [ebp - 4]
add esp, 0xfffff410
push ebx
push esi
sub edx, edx
mov dword [ebp - 0x87bf4], edx
mov dword [ebp - 0x87bf0], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040524c
sub eax, eax
push ebp
push 0x45685c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.0040525c
mov edx, eax
lea eax, [ebp - 0x87bf0]
call fcn.00404f94
mov eax, dword [ebp - 0x87bf0]
call fcn.00409150
test al, al
je 0x456836
mov eax, dword [ebp - 4]
call fcn.00458f38
test al, al
jne 0x456836
mov esi, 0x43df0
lea ebx, [ebp - 0x43dfc]
lea edx, [ebp - 0x87bf4]
push 1
pop eax
pushal
popal
call fcn.00456d68
mov eax, dword [ebp - 0x87bf4]
mov al, byte [eax]
mov byte [ebx], al
inc ebx
dec esi
jne 0x4567b8
xor esi, esi
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.0040525c
push eax
call dword [0x4602b0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x456836
push 2
push 0
push 2
push ebx
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea eax, [ebp - 0xc]
push eax
push 0x87be1
lea eax, [ebp - 0x87bec]
push eax
push ebx
call dword [0x4602ac]
push ebx
call dword [0x4601e0]
inc esi
cmp esi, 0xa
jl 0x4567d8
mov byte [ebp - 5], 1
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456863
lea eax, [ebp - 0x87bf4]
mov edx, 2
call fcn.00404dc0
lea eax, [ebp - 4]
call fcn.00404d9c
ret

Function at 0x45686c
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffd8
push eax
pop ebx
push esp
push 0x28
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call dword [0x460240]
mov dword [esp + 8], 1
lea eax, [esp + 0xc]
push eax
push 0x4568dc
push 0
call dword [0x460244]
test bl, bl
je 0x4568a9
mov dword [esp + 0x14], 2
jmp 0x4568af
sub eax, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x10
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call dword [0x460248]
mov eax, dword [esp]
push eax
call dword [0x4601e0]
add esp, 0x28
pop ebx
ret

Function at 0x456ccc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
sub ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040524c
mov eax, dword [ebp - 8]
call fcn.0040524c
xor eax, eax
push ebp
push 0x456d59
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004050a8
mov eax, dword [ebp - 0xc]
call fcn.0040525c
push eax
pop ebx
mov eax, ebx
call fcn.004519b4
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x456d3e
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004050a8
push ebx
call sub.KERNEL32.DLL_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456d60
lea eax, [ebp - 0x10]
push edi
pop edi
push 4
pop edx
call fcn.00404dc0
ret
Function at 0x457ae8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040524c
sub eax, eax
push ebp
push 0x457b94
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409150
test al, al
je 0x457b7e
sub eax, eax
push ebp
push 0x457b74
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 4
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040525c
push eax
call dword [0x4602b0]
push eax
pop ebx
cmp ebx, 0xffffffff
je 0x457b6a
push 0
push ebx
call sub.KERNEL32.DLL_GetFileSize
mov dword [0x460068], eax
mov eax, dword [0x460064]
push eax
mov eax, dword [0x460068]
push eax
push 0
push 0
push ebx
call sub.KERNEL32.DLL_LockFile
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457b7e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457b9b
lea eax, [ebp - 4]
call fcn.00404d9c
ret

Function at 0x458954
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x458a6c
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x460094]
push dword [0x4600c8]
lea edx, [ebp - 0xc]
mov eax, 0x458a80
call fcn.00458fb8
push dword [ebp - 0xc]
lea eax, [ebp - 8]
pushal
popal
push 3
pop edx
call fcn.0040511c
mov eax, dword [ebp - 8]
call fcn.00409150
test al, al
jne 0x458a51
mov eax, dword [0x460108]
call fcn.00409150
test al, al
je 0x458a0d
lea edx, [ebp - 0x10]
mov eax, dword [0x460094]
call fcn.00458618
push dword [0x460094]
push dword [0x4600c8]
lea edx, [ebp - 0x14]
mov eax, 0x458aa4
call fcn.00458fb8
push dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040511c
mov edx, dword [ebp - 4]
mov eax, dword [0x460108]
call fcn.00458404
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00458660
mov eax, dword [ebp - 4]
call fcn.004093b0
jmp 0x458a4a
cmp dword [0x460060], 1
jne 0x458a4a
mov eax, dword [0x460064]
push eax
mov eax, dword [0x460068]
push eax
push 0
push 0
mov eax, dword [0x4600a4]
push eax
call sub.KERNEL32.DLL_UnlockFile
mov eax, dword [0x4600a4]
push eax
call dword [0x4601e0]
lea edx, [ebp - 0x1c]
mov eax, dword [0x460138]
call fcn.00458660
push 0x32
call sub.KERNEL32.DLL_Sleep_1
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458a73
lea eax, [ebp - 0x1c]
nop
push 7
nop
pop edx
call fcn.00404dc0
ret
Function at 0x45b758
Capabilities:
Packed with generic packer

Disassembly:
push ebp
push esp
pop ebp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
push eax
pop edi
xor eax, eax
push ebp
push 0x45b860
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push edi
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
sub esi, esi
lea edx, [ebp - 0x1c]
mov eax, 0x45b878
call fcn.00459098
mov eax, dword [ebp - 0x1c]
call fcn.0040525c
push eax
push 0x45b8ac
call sub.KERNEL32.DLL_LoadLibraryA
push eax
call fcn.00456fc4
mov dword [0x4602dc], eax
pushal
popal
push 0x10
pop ebx
push esi
pop eax
sub eax, 1
jb 0x45b7c9
je 0x45b804
jmp 0x45b83a
push 0x41
push 0
push 0
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 8]
push eax
push 0xffffffffffffffff
push edi
call dword [0x4602dc]
push 0x41
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
add eax, 8
push eax
push 0xffffffffffffffff
push edi
call dword [0x4602dc]
mov esi, 1
jmp 0x45b83a
push 0x41
push 0
push 0
mov eax, dword [ebp - 4]
sub eax, 8
push eax
mov eax, dword [ebp - 8]
push eax
push 0xffffffffffffffff
push edi
call dword [0x4602dc]
push 0x41
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
sub eax, 8
push eax
push 0xffffffffffffffff
push edi
call dword [0x4602dc]
sub esi, esi
push 0xffffffffffffffff
push 0x32
call sub.KERNEL32.DLL_SleepEx
dec ebx
jne 0x45b7be
sub eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b867
lea eax, [ebp - 0x1c]
call fcn.00404d9c
ret
Function at 0x40dd30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46aefb
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.0045f806
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ddb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045d71d
mov eax, dword [eax]
push 0x4821f4
push eax
call fcn.00450244
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045fa91
test bl, bl
je 0x40ddb2
push 0x4821f4
lea ecx, [esp + 0xc]
call fcn.0045fe21
push 0x485d6c
lea ecx, [esp + 0xc]
call fcn.0045fe21
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 0x40ddee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045fa91
jmp 0x40deb9
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 0x40de72
lea edx, [esp + 0x7c]
push 0x485d68
push edx
call fcn.00450244
add esp, 8
test eax, eax
je 0x40de72
lea eax, [esp + 0x7c]
push 0x485d64
push eax
call fcn.00450244
add esp, 8
test eax, eax
je 0x40de72
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 0x40de02
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.0045fa91
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 0x40e6d0
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 0x40e732
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 0x40e740
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46af7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48c26c]
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 0x40e878
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e7a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045fa91
xor eax, eax
jmp 0x40e8ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045fbce
push esi
lea ecx, [esp + 0xc]
call fcn.0045fe5d
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 0x40e8cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040e6d0
test eax, eax
jne 0x40e8cd
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.0040e6d0
test eax, eax
jne 0x40e8cd
lea eax, [esp + 0x14]
push 0x485d80
push eax
call fcn.00451280
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e8ac
lea ecx, [esp + 0x14]
push 0x485d7c
push ecx
call fcn.00451200
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e8ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e8af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045fb7e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e7be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045fa91
xor eax, eax
jmp 0x40e8ef
mov byte [esi], 0
push 0x485d78
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.0045fa91
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
Function at 0x420300
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42036e
cmp si, 0x69
ja 0x42036e
add esi, 0xffd0
cmp si, 0x11
je 0x42033e
push 0x11
call edi
test ax, ax
jge 0x42033e
or esi, 0x2000
cmp si, 0x10
je 0x420353
push 0x10
call edi
test ax, ax
jge 0x420353
or esi, 0x4000
cmp si, 0x12
je 0x420368
push 0x12
call edi
test ax, ax
jge 0x420368
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42037b
mov esi, 0xbd
jmp 0x42032f
cmp si, 0x6e
jne 0x420388
mov esi, 0xbe
jmp 0x42032f
cmp si, 0x6f
jne 0x420329
mov esi, 0xbf
jmp 0x42032f

Function at 0x421ab0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x49c8f8]
xor edx, edx
cmp eax, edx
jne 0x421ad6
xor eax, eax
mov byte [eax + 0x49c7f8], al
inc eax
cmp eax, 0x100
jl 0x421abe
mov dword [0x49c8f8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x49c7f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x421b67
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 0x421b3a
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 0x421b08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x421be0
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 0x421c33
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 0x421c1a
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