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

Disassembly:
push 0x81c
mov eax, 0x1002d483
call fcn.10017005
mov ebx, ecx
xor ecx, ecx
lea edi, [ebx + 0x40]
mov esi, ecx
mov dword [ebp - 0x818], ecx
mov dword [ebp - 0x814], ecx
cmp dword [edi], ecx
je 0x10013d7c
push 0x10
push ecx
lea eax, [ebp - 0x828]
push eax
call fcn.100194b0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.oleaut32.dll_VariantClear]
push esi
push str.Caption
push dword [edi]
lea eax, [ebp - 0x828]
mov dword [ebp - 4], esi
push eax
push 2
push ebx
call fcn.1000fc81
add esp, 0x18
test eax, eax
jne 0x10013ce1
push dword [ebp - 0x820]
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.1000fc81
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push esi
call dword [sym.imp.user32.dll_FindWindowW]
mov dword [ebp - 0x814], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x818]
push ecx
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x1002f4d0]
mov ecx, ebx
call esi
mov esi, eax
test esi, esi
js 0x10013d20
cmp dword [ebp - 0x818], 0
jne 0x10013d20
push 0
push str.Quit
push dword [edi]
push 0
push 1
push ebx
call fcn.1000fc81
add esp, 0x18
mov esi, eax
mov ecx, edi
call fcn.10009bb3
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x10013d7c
cmp dword [ebp - 0x818], 0
jne 0x10013d7c
test esi, esi
jns 0x10013d7c
and dword [ebp - 0x814], 0
lea ecx, [ebp - 0x814]
push ecx
push eax
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x814]
push 1
push 0x1fffff
call dword [sym.imp.kernel32.dll_OpenProcess]
push 1
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov eax, esi
call fcn.10016faf
ret
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1000fc81
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret
Function at 0x4017ae
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x423b42
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x42f060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 0x10]
lea ecx, [esp + 0x10]
call fcn.00402139
and dword [esp + 0x30], 0
lea eax, [esp + 0xc]
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0040174d
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.0040264c
mov dword [esi], vtable.std::system_error.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40202f
Capabilities:
Create directory

Disassembly:
push 0x84
mov eax, 0x423c01
call fcn.00420df9
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x30], edi
call fcn.00401fd5
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], edi
call fcn.00406075
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov edx, eax
mov dword [esp], 0x42b984
call fcn.00406041
pop ecx
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.0040264c
push edi
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.0040264c
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push edi
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4020b4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x90]
call fcn.00402114
xor ebx, ebx
inc ebx
jmp 0x4020c4
push 0x42b7dd
lea ecx, [ebp - 0x60]
call fcn.00402139
push 2
pop ebx
push eax
mov ecx, esi
call fcn.00402168
or ebx, 4
test bl, 2
je 0x4020e2
push edi
push 1
lea ecx, [ebp - 0x60]
and ebx, 0xfffffffd
call fcn.0040264c
test bl, 1
je 0x4020f5
push edi
push 1
lea ecx, [ebp - 0x90]
call fcn.0040264c
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040264c
mov eax, esi
call fcn.00420da8
ret
Function at 0x406a10
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x10]
lea eax, [edi + 2]
push eax
call fcn.004074d4
add esp, 4
mov ebx, eax
cmp dword [esi + 0x14], 0x10
jb 0x406a3e
mov esi, dword [esi]
push esi
lea eax, [edi + 1]
push eax
push ebx
call fcn.00407cbd
mov word [ebx + edi], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
add esp, 0xc
mov eax, 0x614
movq qword [ebp - 0x10], xmm0
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
mov word [ebp - 8], 0
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x12], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push ebx
mov esi, eax
call fcn.0040792b
mov ecx, dword [ebp - 4]
add esp, 4
xor eax, eax
test esi, esi
sete al
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00406b61
mov esp, ebp
pop ebp
ret

Function at 0x406ac0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x42f060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x42ba4c
push 0x463e
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
xor ecx, ecx
test esi, esi
je 0x406b22
lea esp, [esp]
movzx edx, byte [ecx + edi]
mov dl, byte [edx + 0x4305c0]
mov byte [ecx + edi], dl
inc ecx
cmp ecx, esi
jb 0x406b10
cmp dword [ebx + 0x14], 0x10
jb 0x406b2a
mov ebx, dword [ebx]
push 0x42ba50
lea eax, [ebp - 8]
push ebx
push eax
call fcn.00407dd6
push dword [ebp - 8]
push 1
push esi
push edi
call fcn.00407f74
push dword [ebp - 8]
call fcn.00408062
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00406b61
mov esp, ebp
pop ebp
ret
Function at 0x41646c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040d830
mov dword [ebp - 0x14], eax
cmp dword [0x4319b0], esi
jne 0x41655f
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4164ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41663f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41663f
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41663f
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4319b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4319b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4319b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4319c0], eax
test eax, eax
je 0x41655c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4319bc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416584
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416577
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x416599
push 4
pop eax
jmp 0x416641
cmp dword [ebp - 0x14], esi
je 0x416599
push dword [0x4319b0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41657e
mov eax, dword [0x4319bc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4165f7
cmp dword [0x4319c0], edi
je 0x4165f7
push eax
call ebx
push dword [0x4319c0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4165f7
test eax, eax
je 0x4165f7
call ecx
test eax, eax
je 0x4165ec
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4165ec
test byte [ebp - 8], 1
jne 0x4165f7
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416627
mov eax, dword [0x4319b4]
cmp eax, edi
je 0x416624
push eax
call ebx
test eax, eax
je 0x416624
call eax
mov esi, eax
test esi, esi
je 0x416624
mov eax, dword [0x4319b8]
cmp eax, edi
je 0x416624
push eax
call ebx
test eax, eax
je 0x416624
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4319b0]
call ebx
test eax, eax
je 0x41663f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416641
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406b61
mov esp, ebp
pop ebp
ret
Function at 0x1000ed10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1000ed1f
pop dword [ebp - 0xc]
mov eax, 0x62a99f95
sub eax, 0x52a8b276
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x28a093b1
add dword [ebp - 0x1c], 0x25b1b19a
mov dword [ebp - 0x18], 0x3412fa2
sub dword [ebp - 0x18], 0xd10de35d
mov dword [ebp - 0x14], 0x65f5d195
sub dword [ebp - 0x14], 0x19a98d67
mov dword [ebp - 0x10], 0x76c2c578
add dword [ebp - 0x10], 0x893d3a88
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xe01d33fa
sub eax, 0xd01b83ea
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xa2492f46
add dword [ebp - 0x1c], 0xd2293a10
mov dword [ebp - 0x18], 0x76de87dd
add dword [ebp - 0x18], 0xca8dd998
mov dword [ebp - 0x14], 0x3af157e3
sub dword [ebp - 0x14], 0xd781eb77
mov dword [ebp - 0x10], 0xeecc17db
sub dword [ebp - 0x10], 0xeecc17db
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x313a9ce0
add eax, 0xdec71334
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x37e47
push 0
call eax
mov ecx, 0x2e1b
xor ebx, ebx
add ebx, eax
mov esi, 0x57b85555
sub esi, 0x47b5a555
add esi, dword [ebp - 0xc]
mov edi, 0xae0ec669
xor dword [ebp - 8], ebx
mov edx, dword [esi]
sub dword [ebp - 4], 0x76ed269b
add edx, edi
xor dword [ebp - 4], esi
mov dword [ebx], edx
add ebx, 0x8fed48cd
add ebx, 0x7012b737
add esi, 0x57238cd7
add esi, 0xa8dc732d
loop 0x1000ee37
add eax, 0xa3406f45
add eax, 0x5cc03bfa
xor ebx, ebx
add ebx, eax
add eax, 0xf02f8471
sub eax, 0xf02f846c
mov ecx, 0xa5697133
add ecx, 0x6a968ecd
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, reloc.advapi32.dll_CreateProcessAsUserA
nop
sub eax, 0x40a009
nop
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
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x45a350
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x801aa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], ecx
mov eax, dword [ebp + 8]
push eax
push str.C:WindowsPrefetch_s
lea ecx, [ebp - 0x108]
push ecx
call fcn.0045b2e0
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fbb88
mov esp, ebp
pop ebp
ret 4

Function at 0x45a3a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x801aa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0x10
jne 0x45a3ef
mov edx, dword [ebp + 8]
add edx, 0x2c
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x52c960
lea ecx, [ebp - 0x108]
push ecx
call fcn.0045b2e0
add esp, 0x10
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fbb88
mov esp, ebp
pop ebp
ret 8

Function at 0x45a410
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x801aa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x11c], ecx
mov eax, dword [0x802b58]
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x110]
mov al, byte [edx]
mov byte [ebp - 0x109], al
add dword [ebp - 0x110], 1
cmp byte [ebp - 0x109], 0
jne 0x45a443
mov ecx, dword [ebp - 0x110]
sub ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [0x802b58]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00501990
add esp, 0xc
test eax, eax
jne 0x45a4b5
mov edx, dword [ebp + 8]
push edx
push str.C:WindowsPrefetch_s
lea eax, [ebp - 0x108]
push eax
call fcn.0045b2e0
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fbb88
mov esp, ebp
pop ebp
ret 4
Function at 0x45ab40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529eb0
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x801aa8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x6c]
call fcn.0045a060
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
push 0x52c81c
call fcn.00501db6
add esp, 4
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.0045aa40
mov dword [ebp - 0x3c], eax
push 0x52c824
mov ecx, dword [ebp - 0x3c]
call fcn.0045aa40
push eax
lea ecx, [ebp - 0x28]
call fcn.00459d90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.0045a240
mov eax, dword [str.chrome.log]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.00459680
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.0045ab20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x84]
call fcn.0045a240
push 0x52c828
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00459680
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.0045ab20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x9c]
call fcn.0045a240
push 0x802de8
lea ecx, [ebp - 0xb4]
call fcn.00459e40
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
call fcn.004f98c0
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.0045aa40
mov ecx, eax
call fcn.0045ab20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.0045a240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0045a240
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fbb88
mov esp, ebp
pop ebp
ret

Function at 0x45acc0
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x801aa8]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Application
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x45ad21
push 0
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
push 0x40
push 0x52c5f4
push 0x52c638
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x45ad53
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x52c698
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x10
push 0x52c77c
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fbb88
mov esp, ebp
pop ebp
ret
Function at 0x45ae50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x801aa8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x144]
push eax
push str.C:WindowsPrefetch.
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0xffffffff
je 0x45aecd
mov ecx, dword [ebp - 0x144]
and ecx, 0x10
jne 0x45aea8
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14c], edx
lea eax, [ebp - 0x118]
push eax
call dword [ebp - 0x14c]
add esp, 4
lea ecx, [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45ae84
mov eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fbb88
mov esp, ebp
pop ebp
ret

Function at 0x45aee0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x801aa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x254], eax
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x45af10
mov dword [ebp - 0x250], 0x52c5a0
jmp 0x45af1a
mov dword [ebp - 0x250], 0x52c5a4
mov edx, dword [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0045b2e0
add esp, 0xc
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0xffffffff
je 0x45afa5
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x248]
push eax
call dword [ebp - 0x258]
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x45af80
jmp 0x45af98
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45af5a
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fbb88
mov esp, ebp
pop ebp
ret
Function at 0x468d10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x468d22
cmp dword [ebp + 0xc], 0
jne 0x468d39
push 0x642
push 0x52f220
push str.filename__file_open_mode
call fcn.00507981
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x468d48
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00468e60
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x468d68
xor eax, eax
jmp 0x468e55
push 2
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00508812
add esp, 0xc
test eax, eax
jne 0x468da5
mov edx, dword [ebp - 4]
push edx
call fcn.00508f36
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x468da5
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00508812
add esp, 0xc
test eax, eax
je 0x468db8
mov ecx, dword [ebp - 4]
push ecx
call fcn.00507ec9
add esp, 4
xor eax, eax
jmp 0x468e55
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x14]
push eax
call fcn.0046b9a0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x468de6
mov ecx, dword [ebp - 4]
push ecx
call fcn.00507ec9
add esp, 4
xor eax, eax
jmp 0x468e55
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00508435
add esp, 0x10
cmp eax, dword [ebp - 8]
je 0x468e1d
mov edx, dword [ebp - 4]
push edx
call fcn.00507ec9
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.0046b9f0
add esp, 4
xor eax, eax
jmp 0x468e55
cmp dword [ebp + 0x14], 0
jle 0x468e38
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 8]
push edx
call fcn.004fdef0
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call fcn.00507ec9
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x468e52
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x469120
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0x52ee20
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x469181
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor edx, eax
mov eax, dword [ebp - 0x10]
xor ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x46913b
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret