joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4184bf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
and dword [ebp + 8], 0
push edi
mov dword [ebp + 0xc], 0x420808
mov edx, dword [ecx + 4]
mov eax, dword [esi]
mov ebx, dword [ebp + 8]
xor eax, edx
mov edi, edx
not edi
shl edi, 6
add eax, edi
sub dword [ebp + 8], 4
mov edi, edx
shr edi, 5
add eax, edi
mov edi, dword [ebp + 0xc]
add eax, dword [edi]
add dword [ebp + 0xc], 4
xor eax, dword [ecx]
mov dword [ecx], eax
mov edi, dword [esi + 4]
xor edi, eax
add edi, dword [ebx + 0x420824]
mov ebx, eax
not ebx
shr ebx, 5
add edi, ebx
shl eax, 6
add edi, eax
xor edi, edx
cmp dword [ebp + 8], 0xffffffe0
mov dword [ecx + 4], edi
jg 0x4184d6
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x418612
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x224
push ebx
mov ebx, dword [ebp + 0x78]
push 0
push 0
push 0x4039c8
push ebx
call fcn.00416819
cmp eax, 0x2db0004
je 0x41864f
test eax, eax
jl 0x418727
push ebx
call fcn.00415f10
mov eax, 0x8000ffff
jmp 0x418727
push esi
push edi
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0xb
lea esi, [ebp - 0x4c]
pop edi
mov dword [ebp + 0x6c], esi
mov ecx, dword [ebp + 0x6c]
rdtsc
xor dword [ecx], eax
xor dword [ecx + 4], edx
lea eax, [esi - 8]
push eax
push esi
call fcn.0041852c
add esi, 8
dec edi
jne 0x418661
push 0x18
mov esi, 0x4207a8
push esi
lea eax, [ebp - 0x54]
push eax
push 0x420748
lea eax, [ebp + 0xc]
push eax
call fcn.00418b20
push 0x60
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.00415f2a
mov edi, eax
test edi, edi
jl 0x4186e9
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp - 0x1b4]
push eax
push ebx
mov dword [ebp + 0x78], 0x100
call fcn.00416572
cmp eax, 0x2db0003
je 0x4186d0
mov edi, 0x8000ffff
jmp 0x4186e9
lea eax, [ebp + 0x78]
push eax
push 0x60
lea eax, [ebp - 0xb4]
push eax
push ebx
call fcn.004160b1
mov edi, eax
test edi, edi
jge 0x4186f3
push ebx
call fcn.00415f10
mov eax, edi
jmp 0x418725
push 0x18
push esi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00418b20
mov eax, dword [ebp + 0x7c]
and dword [eax], 0
and dword [eax + 4], 0
push 0x60
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.00418564
mov eax, 0x2db0000
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
Function at 0x41872f
Capabilities:
Get hostname
Get local ipv4 addresses
Get socket information
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x90
push ebx
push esi
mov esi, dword [ebp + 0x74]
or dword [esi + 0x404], 2
push 0x10
pop ebx
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x3c]
push eax
mov dword [ebp + 0x74], ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x418768
mov eax, 0x8007000e
jmp 0x4188cc
push edi
xor edi, edi
push edi
lea eax, [ebp + 0x68]
push eax
push edi
push 3
push edi
push edi
push edi
push 0x4036f0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x418794
mov eax, 0x8007000e
jmp 0x4188cb
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x64]
push eax
push edi
mov edi, 0x403a1c
push edi
push dword [ebp + 0x68]
mov dword [ebp + 0x74], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4187c1
cmp dword [ebp + 0x64], 3
je 0x418816
lea ecx, [ebp + 0x5c]
rdtsc
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x2c]
push eax
push dword [esi + 0x400]
mov dword [ebp + 0x74], ebx
call dword [sym.imp.WS2_32.dll_getsockname]
push ebx
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.00418564
push 8
lea eax, [ebp + 0x5c]
push eax
push 3
push 0
push edi
push dword [ebp + 0x68]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x418816
push dword [ebp + 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41878a
push dword [ebp + 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x4c]
push eax
push dword [ebp + 0x78]
lea eax, [ebp + 0x5c]
push eax
call fcn.004185cd
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x7c]
lea eax, [ebp + 0x4c]
push eax
call fcn.004185cd
push dword [ebp + 0x54]
lea eax, [ebp + 0x3c]
push dword [ebp + 0x58]
push eax
lea eax, [ebp - 0x24]
push 0x4039f8
push eax
call fcn.0040c280
add esp, 0x14
push 0x4f
pop edi
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x24]
push eax
push eax
push esi
mov dword [ebp + 0x74], edi
call fcn.00416819
cmp eax, 0x82db0015
jne 0x4188cb
lea eax, [ebp + 0x54]
push eax
push esi
call fcn.00418612
mov eax, dword [ebp + 0x4c]
xor eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x50]
xor ecx, dword [ebp + 0x58]
push eax
push ecx
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x24]
push 0x4039d0
push eax
call fcn.0040c280
add esp, 0x14
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp - 0x24]
push eax
push eax
push esi
mov dword [ebp + 0x74], edi
call fcn.00416819
xor ecx, ecx
test eax, eax
setge cl
xor ecx, dword [esi + 0x404]
and ecx, 1
xor dword [esi + 0x404], ecx
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc
Function at 0x41a881
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x41a8bc
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x41a899
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x41a8d8
dec esi
je 0x41a8d1
dec esi
jne 0x41a8dd
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc
Function at 0x404422
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x44c654]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4044ba
push 0x43ac04
push 4
push eax
call fcn.0042180e
push eax
call fcn.00402410
add esp, 0x10
push ebx
push edi
call fcn.00421f0d
mov edi, dword [eax]
call fcn.00421f0d
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00421eaa
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00421f0d
cmp dword [eax], ebx
je 0x4044d1
call fcn.00421f0d
push dword [eax]
call fcn.00403c41
pop ecx
jmp 0x4044d8
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x404465
jmp 0x40455f
call fcn.00421f0d
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x40455b
cmp dword [ebp - 0x234], esi
jae 0x40455b
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0041faf0
add esp, 0xc
push 0x43a964
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x40454a
push 0x43abe8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40454a
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x40454a
push ebx
push ebx
push esi
jmp 0x404553
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x40455d
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041fae0
leave
ret

Function at 0x4053f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x405440
call fcn.0040877b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x405440
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x405483
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40546c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40546c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x405480
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x407dad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x407dd1
cmp dword [edi + 0x54], 0
jne 0x407dd1
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040877b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00407d6e
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40dfe7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40e02e
call fcn.0040877b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40e02e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40e04a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040db5f
mov esi, eax
test edi, edi
je 0x40e048
test ebx, ebx
je 0x40e048
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40f2ba
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43822a
call fcn.00421d36
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40f2df
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40f325
lea ecx, [ebp - 0x10]
call fcn.00401a80
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00403b6c
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401e40
mov eax, esi
call fcn.00421e0e
ret 8

Function at 0x41fae0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c654]
jne 0x41faea
repz ret
jmp fcn.00425d66
Function at 0x42da52
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.00425775
and dword [ebp - 4], 0
cmp dword [0x450540], 0
mov ebx, eax
jne 0x42db03
push 0x43e4f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42dbb4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43e4e4
push edi
call esi
test eax, eax
je 0x42dbb4
push eax
call fcn.00425703
mov dword [esp], 0x43e4d4
push edi
mov dword [0x450540], eax
call esi
push eax
call fcn.00425703
mov dword [esp], 0x43e4c0
push edi
mov dword [0x450544], eax
call esi
push eax
call fcn.00425703
mov dword [esp], 0x43e4a4
push edi
mov dword [0x450548], eax
call esi
push eax
call fcn.00425703
pop ecx
mov dword [0x450550], eax
test eax, eax
je 0x42db03
push 0x43e48c
push edi
call esi
push eax
call fcn.00425703
pop ecx
mov dword [0x45054c], eax
mov eax, dword [0x45054c]
cmp eax, ebx
je 0x42db5b
cmp dword [0x450550], ebx
je 0x42db5b
push eax
call fcn.0042577e
push dword [0x450550]
mov esi, eax
call fcn.0042577e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42db5b
test edi, edi
je 0x42db5b
call esi
test eax, eax
je 0x42db52
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42db52
test byte [ebp - 0xc], 1
jne 0x42db5b
or dword [ebp + 0x10], 0x200000
jmp 0x42db94
mov eax, dword [0x450544]
cmp eax, ebx
je 0x42db94
push eax
call fcn.0042577e
pop ecx
test eax, eax
je 0x42db94
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42db94
mov eax, dword [0x450548]
cmp eax, ebx
je 0x42db94
push eax
call fcn.0042577e
pop ecx
test eax, eax
je 0x42db94
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x450540]
call fcn.0042577e
pop ecx
test eax, eax
je 0x42dbb4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42dbb6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x434890
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp - 8]
push edx
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4348f1
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x434900
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x434953
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x434960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
mov ecx, dword [ebp + 0x14]
mov word [ecx], ax
lea edx, [ebp - 4]
push edx
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4349cd
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4349c1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4349e1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4349d5
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov eax, dword [ebp + 0x14]
push eax
call fcn.0041fc38
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4349f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x434a26
xor eax, eax
jmp 0x434a69
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0041fc38
add esp, 4
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 1
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x434a64
xor eax, eax
jmp 0x434a69
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x434bd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4391d9
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x44c654]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x454]
call fcn.00401a80
mov byte [ebp - 4], 1
mov ax, word [0x440a00]
mov word [ebp - 0x44c], ax
push 0x206
push 0
lea ecx, [ebp - 0x44a]
push ecx
call fcn.0041faf0
add esp, 0xc
mov dword [ebp - 0x244], 0x22c
mov dword [ebp - 0x450], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x434c8f
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x458], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x454]
call fcn.00401ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401ae0
mov eax, dword [ebp - 0x458]
jmp 0x434d44
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x434cd5
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x45c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x454]
call fcn.00401ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401ae0
mov eax, dword [ebp - 0x45c]
jmp 0x434d44
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp + 8]
call fcn.00403260
test eax, eax
jne 0x434cf6
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x450], ecx
jmp 0x434d0a
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x434cd5
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x450]
mov dword [ebp - 0x460], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x454]
call fcn.00401ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401ae0
mov eax, dword [ebp - 0x460]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041fae0
mov esp, ebp
pop ebp
ret
Function at 0x4354a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.0041faf0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], 0x441a34
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x435c50
Capabilities:
Check os version
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
mov eax, dword [0x44c654]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x328]
push eax
call fcn.0041faf0
add esp, 0xc
mov dword [ebp - 0x328], 0x114
lea ecx, [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x435c9b
xor eax, eax
jmp 0x435e0c
cmp dword [ebp - 0x324], 6
jae 0x435cae
mov eax, 1
jmp 0x435e0c
push 0x441b98
lea ecx, [ebp - 0x52c]
call fcn.00402320
push 0
lea edx, [ebp - 0x20c]
push edx
push 0
push 0x20106
push 0
push 0
push 0
lea ecx, [ebp - 0x52c]
call fcn.00402810
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x20c], 0
jne 0x435d21
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x52c]
call fcn.00402810
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x20c], 0
jne 0x435d4a
mov dword [ebp - 0x530], 0
lea ecx, [ebp - 0x52c]
call fcn.00401ae0
mov eax, dword [ebp - 0x530]
jmp 0x435e0c
mov ecx, dword [0x441c20]
mov dword [ebp - 0x208], ecx
mov edx, dword [0x441c24]
mov dword [ebp - 0x204], edx
mov eax, dword [0x441c28]
mov dword [ebp - 0x200], eax
mov ecx, dword [0x441c2c]
mov dword [ebp - 0x1fc], ecx
mov dx, word [0x441c30]
mov word [ebp - 0x1f8], dx
push 0x1ee
push 0
lea eax, [ebp - 0x1f6]
push eax
call fcn.0041faf0
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x528]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x208]
push edx
call fcn.0041fc38
add esp, 4
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x208]
push ecx
push 1
push 0
lea edx, [ebp - 0x528]
push edx
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x534], 1
lea ecx, [ebp - 0x52c]
call fcn.00401ae0
mov eax, dword [ebp - 0x534]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fae0
mov esp, ebp
pop ebp
ret
Function at 0x435e20
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4393a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x44c654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push str.Files
lea ecx, [ebp - 0x10]
call fcn.00402320
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00402810
push eax
lea ecx, [ebp + 0xc]
call fcn.00402810
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x435eb6
mov dword [ebp - 0x2c], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401ae0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401ae0
mov eax, dword [ebp - 0x2c]
jmp 0x435fbb
mov eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x28]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00401120
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00402810
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x441b5c
lea ecx, [ebp - 0x18]
call fcn.00402810
push eax
call fcn.0041ff74
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435f47
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004200ed
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
call fcn.004201e6
add esp, 4
jmp 0x435f82
mov dword [ebp - 0x30], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401ae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401ae0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401ae0
mov eax, dword [ebp - 0x30]
jmp 0x435fbb
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x18]
call fcn.00401ae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401ae0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401ae0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret