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

Disassembly:
cmp ecx, dword [0x429008]
jne 0x401010
repz ret
jmp fcn.0040181d

Function at 0x4077ae
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.0040458e
and dword [ebp - 4], 0
cmp dword [0x42b790], 0
mov ebx, eax
jne 0x40785f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407910
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407910
push eax
call fcn.0040451c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42b790], eax
call esi
push eax
call fcn.0040451c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42b794], eax
call esi
push eax
call fcn.0040451c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42b798], eax
call esi
push eax
call fcn.0040451c
pop ecx
mov dword [0x42b7a0], eax
test eax, eax
je 0x40785f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040451c
pop ecx
mov dword [0x42b79c], eax
mov eax, dword [0x42b79c]
cmp eax, ebx
je 0x4078b7
cmp dword [0x42b7a0], ebx
je 0x4078b7
push eax
call fcn.00404597
push dword [0x42b7a0]
mov esi, eax
call fcn.00404597
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4078b7
test edi, edi
je 0x4078b7
call esi
test eax, eax
je 0x4078ae
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4078ae
test byte [ebp - 0xc], 1
jne 0x4078b7
or dword [ebp + 0x10], 0x200000
jmp 0x4078f0
mov eax, dword [0x42b794]
cmp eax, ebx
je 0x4078f0
push eax
call fcn.00404597
pop ecx
test eax, eax
je 0x4078f0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4078f0
mov eax, dword [0x42b798]
cmp eax, ebx
je 0x4078f0
push eax
call fcn.00404597
pop ecx
test eax, eax
je 0x4078f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b790]
call fcn.00404597
pop ecx
test eax, eax
je 0x407910
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407912
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a920
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x2ae41c4], 0x930
jne 0x40a93d
push str.hevevutodorayeyehuxupiw
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x2ae41c4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x2ae3ee0], eax
jne 0x40a963
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x49f16ca2
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x398144d0
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1000dbb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000dbdd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000dbdd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

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

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 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x442008]
jne 0x401010
repz ret
jmp fcn.00401798

Function at 0x4082ab
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.00404f7f
and dword [ebp - 4], 0
cmp dword [0x444774], 0
mov ebx, eax
jne 0x40835c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40840d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40840d
push eax
call fcn.00404f0d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x444774], eax
call esi
push eax
call fcn.00404f0d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x444778], eax
call esi
push eax
call fcn.00404f0d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44477c], eax
call esi
push eax
call fcn.00404f0d
pop ecx
mov dword [0x444784], eax
test eax, eax
je 0x40835c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f0d
pop ecx
mov dword [0x444780], eax
mov eax, dword [0x444780]
cmp eax, ebx
je 0x4083b4
cmp dword [0x444784], ebx
je 0x4083b4
push eax
call fcn.00404f88
push dword [0x444784]
mov esi, eax
call fcn.00404f88
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4083b4
test edi, edi
je 0x4083b4
call esi
test eax, eax
je 0x4083ab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4083ab
test byte [ebp - 0xc], 1
jne 0x4083b4
or dword [ebp + 0x10], 0x200000
jmp 0x4083ed
mov eax, dword [0x444778]
cmp eax, ebx
je 0x4083ed
push eax
call fcn.00404f88
pop ecx
test eax, eax
je 0x4083ed
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4083ed
mov eax, dword [0x44477c]
cmp eax, ebx
je 0x4083ed
push eax
call fcn.00404f88
pop ecx
test eax, eax
je 0x4083ed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x444774]
call fcn.00404f88
pop ecx
test eax, eax
je 0x40840d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40840f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b790
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x272c8b4], 0x930
jne 0x40b7ad
push str.zukatatuxaweporijoj
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x272c8b4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x272c5d0], eax
jne 0x40b7d3
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov esp, ebp
pop ebp
ret
Function at 0x401560
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40ef40
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x20], 8
lea esi, [edi + 0xc]
mov eax, esi
jb 0x401590
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401758
test al, 0x10
jne 0x401758
push esi
lea ecx, [ebp - 0x54]
call fcn.00401cc0
lea eax, [edi + 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401cc0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call section..text
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0x3c
cmovae eax, dword [ebp - 0x54]
cmp dword [ebp - 0x14], 0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 0x440
mov dword [ebp - 0x88], 0
jne 0x40161b
xor eax, eax
jmp 0x401626
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x7c], eax
jne 0x401633
xor eax, eax
jmp 0x40163e
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x74], 5
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x84], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x401675
cmp dword [ebp - 0x58], 0
je 0x401675
mov bl, al
jmp 0x401677
xor bl, bl
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x4016b1
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4016a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40176b
push edx
push ecx
call fcn.0040291d
add esp, 8
mov edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp edx, 8
jb 0x4016fb
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4016f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401770
push edx
push ecx
call fcn.0040291d
add esp, 8
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
cmp edx, 8
jb 0x401745
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40173b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401775
push edx
push ecx
call fcn.0040291d
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00406042
call fcn.00406042
call fcn.00406042
int3
Function at 0x405a7a
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 0x405ab5
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x405a9c
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x405aad
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x405ab7
inc edi
add eax, 0x28
cmp edi, esi
jb 0x405a92
xor eax, eax
pop edi
pop esi
ret

Function at 0x406286
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi

Function at 0x4062e1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x4062fb
push dword [ebp + 0x14]
call fcn.004059ff
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
test dword [ecx + edi*8 - 0x7a380001], ecx
jl 0x406300
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
invalid
Function at 0x406b4a
Capabilities:
Get number of processors
Parse pe header

Disassembly:
jmp 0x4077d3
mov eax, 0x484c4d4e
mov edi, dword [esp]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
jne 0x4077f7
mov esi, edi
add esi, dword [esi + 0x3c]
cmp dword [esi], 0x4550
jne 0x4077f7
jmp 0x40780e
sub edi, 0x10000
cmp edi, 0x70000000
jae 0x40780c
mov edi, 0xbff70000
jmp 0x40780e
jmp 0x4077e1
push edi
mov ecx, entry0
add ecx, 0x268
push ecx
push edi
add ecx, 0x8d7
call ecx
push eax
push esp
sub dword [esp], 4
push 0x40
push 0x2800
add byte [eax + 0x4a], ch
imul eax, dword [eax], 0xffffffff
rcr byte [eax - 0x47], 1
dec edx
imul eax, dword [eax], 0xffffff89
adc dword [esi + 3], 0x89580000
adc edx, 0xb9000000
dec edx
imul eax, dword [eax], 0xffffff81
rol dword [esi + 3], 0
add byte [ecx + 0x50], dl
add ecx, 0x7f9
call ecx
mov ecx, entry0
mov dword [ecx + 0x396], eax
mov eax, entry0
mov ecx, eax
add eax, 0x268
add ecx, 0x356
mov ebx, dword [ecx - 0x284]
push eax
push ecx
push ebx
push eax
push ebx
mov ecx, entry0
add ecx, 0x396
call dword [ecx]
pop ebx
pop ecx
mov dword [ecx], eax
add ecx, 4
pop eax
inc eax
cmp byte [eax], 0
jne 0x40789d
inc eax
cmp byte [eax], 0xff
jne 0x407883
push 0xbb8
push 0

Function at 0x407780
Capabilities:
Encode data using xor

Disassembly:
add byte [ecx + 0x1f1c1], al
add bh, bh
xor dword [ecx + entry0], edi
call dword [ecx + 0x36a]
popal
mov ecx, 5
mov edi, eax
pushal
mov esi, eax
add esi, 0x2800
mov ecx, 0x800
mov al, byte [esi]
xor byte [edi], al
inc edi
inc esi
dec ecx
jne 0x4077aa
popal
add edi, 0x800
dec ecx
jne 0x40779c
mov esi, eax
mov edi, entry0
mov ecx, 0x27fc
cld
rep movsb byte es:[edi], byte [esi]
mov eax, 0x40d3b0
jmp eax

Function at 0x407830
Capabilities:
Get number of processors

Disassembly:
jmp 0x4077d3
mov eax, 0x484c4d4e
mov edi, dword [esp]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
jne 0x4077f7
mov esi, edi
add esi, dword [esi + 0x3c]
cmp dword [esi], 0x4550
jne 0x4077f7
jmp 0x40780e
sub edi, 0x10000
cmp edi, 0x70000000
jae 0x40780c
mov edi, 0xbff70000
jmp 0x40780e
jmp 0x4077e1
push edi
mov ecx, entry0
add ecx, 0x268
push ecx
push edi
add ecx, 0x8d7
call ecx
push eax
push esp
sub dword [esp], 4
push 0x40
push 0x2800
add byte [eax + 0x4a], ch
imul eax, dword [eax], 0xffffffff
rcr byte [eax - 0x47], 1
dec edx
imul eax, dword [eax], 0xffffff89
adc dword [esi + 3], 0x89580000
adc edx, 0xb9000000
dec edx
imul eax, dword [eax], 0xffffff81
rol dword [esi + 3], 0
add byte [ecx + 0x50], dl
add ecx, 0x7f9
call ecx
mov ecx, entry0
mov dword [ecx + 0x396], eax
mov eax, entry0
mov ecx, eax
add eax, 0x268
add ecx, 0x356
mov ebx, dword [ecx - 0x284]
push eax
push ecx
push ebx
push eax
push ebx
mov ecx, entry0
add ecx, 0x396
call dword [ecx]
pop ebx
pop ecx
mov dword [ecx], eax
add ecx, 4
pop eax
inc eax
cmp byte [eax], 0
jne 0x40789d
inc eax
cmp byte [eax], 0xff
jne 0x407883
push 0xbb8
push 0
Function at 0x40820b
Capabilities:
Get number of processors

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + 0x15], ch
invalid
invalid
je 0x40824f
add bh, bh
je 0x408237
add al, 0x68
add byte fs:[eax], al
add byte [edx], ch
call dword [esp + 0xc]
mov edx, eax
pop eax
mov ecx, dword [esp]
add ecx, 0x46
sub eax, ecx
sub eax, 4
mov dword [ecx], eax
jmp 0x408239
xor al, 0x12
mov eax, 0x484c4d44
pop eax
push 1
push eax
dec edx
je 0x408250
inc edx
mov ecx, edx
add esp, 8
jmp 0x408f24
add byte [ebp - 0x75], dl
in al, dx
push ebp
mov ebp, esp
push ebp
push 0
push 0
push dword [esp + 0x10]
add dword [esp], 0xc2
push dword [esp + 0x14]
add dword [esp], 0xce
push dword fs:[0]
mov dword fs:[0], esp
sub esp, 5
mov edx, 0x1c5
mov dword [esp], 0x100
popfd
shl edx, 1
pushfd
dec esp
mov eax, 0x484c4d48
push ecx
mov eax, dword fs:[0x30]
test eax, eax
jns 0x408f3a
in al, 0x21
and al, 0xfd
out 0x21, al
mov eax, 0x4081ef
push dword [eax]
push 0xffffff08
add eax, 0x45
call eax
pop ecx
mov eax, 0x484c4d49
cmp ecx, 1
jne 0x408f81
push 0x30ab
push 0
mov ecx, entry0
call dword [ecx + 0x35a]
mov esi, entry0
add esi, 0xbde
mov edi, eax
mov ecx, 0xab
cld
rep movsb byte es:[edi], byte [esi]
jmp eax

Function at 0x40ba20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
lea eax, [esp + 4]
push edi
xor esi, esi
push eax
push 0x20019
push esi
push ecx
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ba91
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x14]
push eax
push esi
push esi
push ecx
call edi
test eax, eax
jne 0x40ba91
mov edx, dword [esp + 0x14]
push edx
call fcn.0040b0a0
mov ecx, dword [esp + 0xc]
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
push 0
push ecx
call edi
test eax, eax
je 0x40ba91
push esi
call fcn.0040b0b0
add esp, 4
xor esi, esi
mov eax, dword [esp + 8]
test eax, eax
je 0x40baa0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ecx
ret

Function at 0x40bb40
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x54
push ebx
push esi
push edi
push str._shellopencommand
push eax
xor esi, esi
xor edi, edi
call fcn.00426b00
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40bbb4
push ebx
push 0x80000000
call fcn.0040ba20
mov esi, eax
add esp, 8
test esi, esi
je 0x40bbb4
mov ecx, dword [esp + 0x68]
push ecx
push esi
call fcn.0040bab0
mov edi, eax
add esp, 8
test edi, edi
je 0x40bbb4
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push ebx
call fcn.00426af0
push esi
call fcn.00426af0
push edi
call fcn.00426af0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x54
ret
Function at 0x401393
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 8], 0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x30], 0x9e3779b9
push edi
lea ecx, [ebp - 8]
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a308]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a30c]
mov dword [ebp - 0x2c], eax
call fcn.0040138c
mov eax, dword [0x41a314]
add dword [ebp - 8], 0x23f
mov esi, dword [0x41a310]
push 0x20
mov dword [ebp - 0x20], eax
pop ebx
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, dword [ebp - 0x14]
shl eax, 4
add eax, esi
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x48da08], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x48da04]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x48da08], 0x3eb
mov dword [0x48da04], eax
mov eax, dword [0x48d490]
cmove eax, dword [ebp - 0x1c]
mov dword [0x48d490], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub edi, eax
mov dword [ebp - 0xc], eax
mov eax, edi
mov dword [0x48da00], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, edi
shr eax, cl
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x1c]
cmp dword [0x48da08], 0xb03
mov dword [ebp - 4], eax
jne 0x4014c0
push str.Poh_petopanoz_fonoso_culowisuvekocamoc
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
sub dword [ebp - 8], eax
dec ebx
jne 0x4013e4
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], edi
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret