joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
mov eax, section..00cfg
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x64d33074
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x45534af2
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401460
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x24
call sym.___main
mov dword [ebp - 0xc], str.aaaaa
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 4
mov dword [esp], 0
call sym._VirtualAlloc_16
sub esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
call eax
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret
Function at 0x401b10
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401b5b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401b54
test esi, esi
je 0x401b54
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401b30
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401d40
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401d90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401e68
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401dce
cmp eax, 4
jne 0x401df0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401dde
cmp edx, 4
je 0x401dde
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401d40

Function at 0x40123a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e8
push edi
and dword [ebp - 0xc], 0
mov byte [ebp - 0x110], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x390]
push eax
call sub.iphlpapi.DLL_GetAdaptersInfo
mov dword [ebp - 8], eax
push 0
call sub.KERNEL32.dll_DeleteFileA
cmp dword [ebp - 4], 0
jne 0x4013f1
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp - 8]
Function at 0x41f150
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x41f172
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41f179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41f168
mov eax, 1
add ebx, ebx
jne 0x41f18b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41f180
jne 0x41f19c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f180
xor ecx, ecx
sub eax, 3
jb 0x41f1b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41f222
mov ebp, eax
add ebx, ebx
jne 0x41f1bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41f1c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41f1ec
inc ecx
add ebx, ebx
jne 0x41f1d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41f1cd
jne 0x41f1e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f1cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41f20c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41f1fd
jmp 0x41f16e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41f20c
add edi, ecx
jmp 0x41f16e
pop esi
mov edi, esi
mov ecx, 0x7b7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41f22a
cmp byte [edi], 5
jne 0x41f22a
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 eax, ebx
loop 0x41f22f
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41f2a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x208f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20998]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41f25c
mov ecx, edi
jns 0x41f28b
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 + 0x2099c]
or eax, eax
je 0x41f2a1
mov dword [ebx], eax
add ebx, 4
jmp 0x41f279
call dword [esi + 0x209a0]
popal
jmp section.UPX0
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
pushfd
xor eax, eax
inc eax
popfd
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
push eax
pop ebp
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
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 + 0x19090]
test eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x4caef7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x4caef7
lcall 0x5de5, 0x8b10c483
jmp loc.00a0b03c
Function at 0x409b15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80cb90]
jne 0x409b1f
repz ret
jmp fcn.0040d5bc

Function at 0x40b5fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80cb90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004060dd
and dword [ebp - 0x14], 0
cmp dword [0x80ea0c], 0
mov dword [ebp - 0x18], eax
jne 0x40b6ae
push GetCommandLineW
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je HeapSetInformation
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402d38
push ebx
call edi
test eax, eax
je GetCPInfo
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push InterlockedIncrement
push ebx
mov dword [0x80ea0c], eax
call edi
push eax
call esi
push 0x402d14
push ebx
mov dword [0x80ea10], eax
call edi
push eax
call esi
push 0x402cf8
push ebx
mov dword [0x80ea14], eax
call edi
push eax
call esi
mov dword [0x80ea1c], eax
test eax, eax
je 0x40b6ae
push GetOEMCP
push ebx
call edi
push eax
call esi
mov dword [0x80ea18], eax
mov eax, dword [0x80ea18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je EncodePointer
cmp dword [0x80ea1c], ecx
je 0x40b707
push eax
call esi
push dword [TlsAlloc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je TlsGetValue
test ebx, ebx
je 0x40b707
call edi
test eax, eax
je 0x40b6fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je DecodePointer
test byte [ebp - 8], 1
jne 0x40b707
or dword [ebp + 0x10], 0x200000
jmp reloc.KERNEL32.dll_GetProcAddress
mov eax, dword [0x80ea10]
cmp eax, dword [ebp - 0x18]
je reloc.KERNEL32.dll_GetProcAddress
push eax
call esi
test eax, eax
je reloc.KERNEL32.dll_GetProcAddress
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je reloc.KERNEL32.dll_GetProcAddress
mov eax, dword [0x80ea14]
cmp eax, dword [ebp - 0x18]
je reloc.KERNEL32.dll_GetProcAddress
push eax
call esi
test eax, eax
je reloc.KERNEL32.dll_GetProcAddress
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [GetProcAddress]
call esi
test eax, eax
je 0x40b756
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b758
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409b15
leave
ret
Function at 0x808350
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0xb92a98], ax
mov word [0xb92a9c], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0xb92a98
mov dword [0xb92aa4], 0x320033
mov dword [0xb92aac], 0x6c006c
mov word [0xb92a9e], cx
mov dword [0xb92aa0], 0x6c0065
mov dword [0xb92aa8], 0x64002e
mov word [0xb92a9a], dx
mov word [0xb92ab0], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0xb92a94]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0xb92a90], eax
mov eax, dword [0x813ae4]
push edx
push eax
mov byte [0x80ed5b], 0x65
mov dword [0x80ed51], 0x75747269
mov word [0x80ed55], 0x6c61
mov byte [0x80ed50], 0x56
mov word [0x80ed5c], 0x7463
mov byte [0x80ed5e], 0
mov dword [0x80ed57], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

Function at 0x808440
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x108c
call fcn.0040e830
cmp dword [0xb92a94], 0x37
jne 0x808515
push 0
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x4046bc
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov ecx, dword [esp + 4]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
push 0
lea edx, [esp + 0x8c]
push edx
push 0x4046dc
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea eax, [esp + 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 0xc]
push edx
push 0x4046e8
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessIoCounters]
push 0
lea ecx, [esp + 0x88c]
push ecx
push 0
push 0x404708
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404720
push 0x404790
push 0x4047f8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov edx, dword [0xb93a88]
mov dword [esp + 4], edx
mov eax, 0x5d1
add dword [esp + 4], eax
mov eax, dword [esp + 4]
mov cl, byte [eax + esi]
mov edx, dword [0x813ae4]
mov byte [edx + esi], cl
add esp, 0x108c
ret
Function at 0x8086b0
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb92a94]
sub esp, 0x2dc
push ebx
push ebp
push esi
mov esi, dword [0x813ae4]
shr eax, 3
push edi
test eax, eax
je 0x80885c
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
jmp 0x8086e4
mov esi, dword [esp + 0x18]
cmp dword [0xb92a94], 0x1c
jne 0x808701
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [str.s6us]
mov ecx, dword [0x80d214]
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x28], edx
mov edx, dword [0x80d218]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x80d21c]
mov dword [esp + 0x14], eax
mov ebx, 0xc6ef3720
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x808745
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x34]
shl ecx, 4
add ecx, dword [esp + 0x24]
add eax, ebx
xor edx, ecx
xor edx, eax
sub edi, edx
mov ecx, edi
shl ecx, 4
mov dword [0xb92a04], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
cmp dword [0xb92a94], 0x1be
lea ebp, [ebx + edi]
jne 0x80879a
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x2c]
cmp dword [0xb92a94], 0x979
mov dword [0xb92a08], 0xff6b3619
mov dword [0xb92a0c], 0xffffffff
jne 0x8087da
mov eax, dword [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor esi, ebp
xor dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
add ebx, 0x61c88647
dec dword [esp + 0x1c]
jne 0x808741
cmp dword [0xb92a94], 0x8d4
jne 0x80880f
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], edi
cmp dword [0xb92a94], 0x17
jne 0x80884b
push 0
push 0
push 0
push 0x404690
push 0x4046a0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x8086e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret
Function at 0x402095
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x4020a4
pop dword [ebp - 0x14]
mov eax, 0x55bf71fe
add eax, 0xaa80aea6
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x1746e175
add dword [ebp - 0x24], 0x370b63d6
mov dword [ebp - 0x20], 0x485c464d
sub dword [ebp - 0x20], 0x1628fa08
mov dword [ebp - 0x1c], 0xba7f9afc
sub dword [ebp - 0x1c], 0x6e3356ce
mov dword [ebp - 0x18], 0xb596587b
add dword [ebp - 0x18], 0x4a69a785
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x67f1081f
add dword [ebp - 0x24], 0xc816137
mov dword [ebp - 0x20], 0x827b7e9a
add dword [ebp - 0x20], 0xbef0e2db
mov dword [ebp - 0x1c], 0x1a3a5e62
sub dword [ebp - 0x1c], 0xb6caf1f6
mov dword [ebp - 0x18], 0xa438ef95
add dword [ebp - 0x18], 0x5bc7106b
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x4cf21
push 0
call eax
mov ecx, 0x2042417
sub ecx, 0x203dd99
mov ebx, eax
mov esi, 0x476000
add esi, dword [ebp - 0x14]
mov edi, 0x3cb9bd15
sub edi, 0xe246ece3
add dword [ebp - 0x10], edi
mov edx, dword [esi]
sub dword [ebp - 0xc], ebx
sub edx, edi
sub dword [ebp - 0x10], edi
mov dword [ebx], edx
xor dword [ebp - 0x10], eax
add ebx, 4
add esi, 0xfe57d863
sub esi, 0xfe57d85f
loop 0x4021b6
add eax, 0x79703055
add eax, 0x8690dc76
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x263deaa2
add ecx, 0xda02155e
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x4057ca
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x4481d0], 2
jl 0x4057ef
movaps xmm0, xmmword [0x433750]
movaps xmmword [0x43ee90], xmm0
movaps xmm0, xmmword [0x433740]
movaps xmmword [0x43eea0], xmm0
push esi
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.00405b84
xor edx, edx
mov ecx, dword [esi + 0xf4]
mov eax, dword [edx + 0x433720]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x20
jl 0x4057fd
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret 0xc

Function at 0x405f0c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x405f3e
test dl, 7
je 0x405f3e
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43eeb0]
inc edx
mov dword [ebp + 0xc], edx
sub esi, 1
jne 0x405f1e
cmp esi, 8
jb 0x405fce
push edi
mov edi, esi
shr edi, 3
xor ebx, dword [edx]
sub esi, 8
mov edx, dword [edx + 4]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x43eeb0]
xor ecx, dword [eax*4 + 0x43f2b0]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43f6b0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43feb0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x4402b0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4406b0]
movzx eax, dl
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp + 0xc], edx
xor ecx, dword [eax*4 + 0x43fab0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x440ab0]
mov ebx, ecx
sub edi, 1
jne 0x405f4d
pop edi
test esi, esi
je 0x405fea
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43eeb0]
inc edx
sub esi, 1
jne 0x405fd2
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc

Function at 0x406165
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
xor ebx, ebx
push 0x20
pop ebp
cmp dword [esi], 2
jne 0x4061bc
mov eax, dword [esi + 4]
push edi
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push ebp
push dword [esp + 0x5c]
call fcn.0040683f
mov dword [esi + 4], ebx
mov edx, ebx
mov edi, ebx
movzx eax, byte [esp + edx + 0x14]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor edi, eax
inc edx
cmp edx, ebp
jb 0x4061a2
mov dword [esi + 4], edi
pop edi
cmp dword [esi], 3
jne 0x4061e8
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
add esi, 4
push eax
push ebp
push esi
push ebp
push dword [esp + 0x58]
call fcn.0040683f
push ebp
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0041f720
add esp, 0xc
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8