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

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [edx + 8]
push esi
test eax, eax
jne 0x41c7df
mov esi, dword [edx + 0xc]
test esi, esi
jne 0x41c7a8
or eax, 0xffffffff
jmp 0x41c7dc
movzx eax, byte [edx + 0x10]
shl eax, 7
xor ecx, ecx
test esi, esi
jle 0x41c7d3
push edi
jmp 0x41c7c0
movzx edi, byte [edx + ecx + 0x10]
imul eax, eax, 0xf4243
xor eax, edi
inc ecx
cmp ecx, esi
jl 0x41c7c0
pop edi
xor eax, esi
jne 0x41c7dc
mov eax, 0x1c7d301
mov dword [edx + 8], eax
mov esi, dword [esp + 8]
push eax
push edx
push esi
call fcn.004197f0
add esp, 0xc
test eax, eax
jns 0x41c7f8
mov eax, dword [esp + 0x10]
pop esi
ret
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x41c801
inc dword [ecx]
mov esi, dword [ecx + eax*8 + 0x10]
test ecx, ecx
je 0x41c819
mov eax, dword [ecx]
dec eax
mov dword [ecx], eax
jne 0x41c819
push ecx
call fcn.00417a40
add esp, 4
mov eax, esi
pop esi
ret
Function at 0x421d80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esi + 8]
test edi, edi
jne 0x421dd0
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x421d9a
or edi, 0xffffffff
jmp 0x421dcd
movzx ecx, byte [esi + 0x10]
xor edx, edx
shl ecx, 7
test edi, edi
jle 0x421dc2
jmp 0x421db0
movzx eax, byte [esi + edx + 0x10]
imul ecx, ecx, 0xf4243
xor ecx, eax
inc edx
cmp edx, edi
jl 0x421db0
xor ecx, edi
mov edi, 0x1c7d301
je 0x421dcd
mov edi, ecx
mov dword [esi + 8], edi
mov ebx, dword [esp + 0x10]
push edi
push esi
push ebx
call fcn.004197f0
push eax
mov eax, dword [esp + 0x28]
push edi
push eax
push esi
push ebx
call fcn.004219b0
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x4257d9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c3a0]
jne 0x4257e3
repz ret
jmp fcn.0042b66b

Function at 0x4261ed
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43c3a0]
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.00426737
and dword [ebp - 0x14], 0
cmp dword [0x43d1e0], 0
mov dword [ebp - 0x18], eax
jne 0x4262a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x426348
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x426348
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43d1e0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43d1e4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43d1e8], eax
call edi
push eax
call esi
mov dword [0x43d1f0], eax
test eax, eax
je 0x4262a0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43d1ec], eax
mov eax, dword [0x43d1ec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4262f9
cmp dword [0x43d1f0], ecx
je 0x4262f9
push eax
call esi
push dword [0x43d1f0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4262f9
test ebx, ebx
je 0x4262f9
call edi
test eax, eax
je 0x4262f0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4262f0
test byte [ebp - 8], 1
jne 0x4262f9
or dword [ebp + 0x10], 0x200000
jmp 0x42632c
mov eax, dword [0x43d1e4]
cmp eax, dword [ebp - 0x18]
je 0x42632c
push eax
call esi
test eax, eax
je 0x42632c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42632c
mov eax, dword [0x43d1e8]
cmp eax, dword [ebp - 0x18]
je 0x42632c
push eax
call esi
test eax, eax
je 0x42632c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43d1e0]
call esi
test eax, eax
je 0x426348
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42634a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004257d9
leave
ret
Function at 0x43287b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4328a2
call fcn.004237b4
mov dword [eax], esi
call fcn.004237a1
push 0x16
pop esi
mov dword [eax], esi
call fcn.00423f7e
mov eax, esi
jmp 0x4328f7
test dword [ebp + 0xc], 0xfffffff9
jne 0x432888
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4328cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004237c7
pop ecx
call fcn.004237a1
mov eax, dword [eax]
jmp 0x4328f7
test al, 0x10
jne 0x4328f5
test al, 1
je 0x4328f5
test byte [ebp + 0xc], 2
je 0x4328f5
call fcn.004237b4
mov dword [eax], 5
call fcn.004237a1
mov dword [eax], 0xd
jmp 0x4328c6
xor eax, eax
pop esi
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 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40673a
pop dword [ebp - 0x38]
mov eax, 0x40673a
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x196ab844
sub dword [ebp - 0x48], 0xcb1872f9
mov dword [ebp - 0x44], 0x818029e9
sub dword [ebp - 0x44], 0x4f4cdda4
mov dword [ebp - 0x40], 0x7409ca92
sub dword [ebp - 0x40], 0x27bd8664
mov dword [ebp - 0x3c], 0xce09f99
sub dword [ebp - 0x3c], 0xce09f99
lea eax, [ebp - 0x48]
push eax
mov eax, 0xeaf6187d
sub eax, 0xeab59779
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xfae562c4
add dword [ebp - 0x48], 0x798d0692
mov dword [ebp - 0x44], 0xc024c0db
sub dword [ebp - 0x44], 0x7eb85f66
mov dword [ebp - 0x40], 0x2fa0037e
sub dword [ebp - 0x40], 0xcc309712
mov dword [ebp - 0x3c], 0xcac03af4
sub dword [ebp - 0x3c], 0xcac03af4
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x9cc44e36
add eax, 0x637c32ca
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x367c9
push 0
call eax
mov ecx, 0x8b606672
sub ecx, 0x8b602290
mov ebx, eax
mov edi, 0x46e400
add edi, dword [ebp - 0x38]
mov edx, 0x53a00d5e
sub edx, 0x34522e2a
add dword [ebp - 0x24], 0xe66dff91
mov esi, dword [edi]
xor dword [ebp - 0x28], edi
xor esi, edx
mov dword [ebx], esi
add dword [ebp - 0x2c], esi
add ebx, 0x7cc2548b
add ebx, 0x833dab79
add edi, 0xd44c22c
add edi, 0xf2bb3dd8
loop 0x406851
add eax, 0xc07c4752
add eax, 0x3f84bb09
mov ebx, eax
add eax, 0x6a2b456a
sub eax, 0x6a2b4565
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2e
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xcf
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x7e
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xcd
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4e
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd8
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x11
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x88
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x8e
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x3b
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xaa
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x76
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x43
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb8
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x82
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412cf0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412e9a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x3f
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x8c
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x15
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x18
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc2
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x18
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x6e
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9b
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x51
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x83
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x64
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9d
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x26
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5b
push str.Protocol_of_Mind
push 0x4d04b0
call fcn.0040349a
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc9
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d10
pop ebx
pop edi
pop esi
ret

Function at 0x4035d5
Capabilities:
Terminate process

Disassembly:
jmp 0x451b59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451b6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004058fd
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403706
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b002
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b013
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aee9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b03b
push ebx
push esi
push edi
call fcn.004056f0
add esp, 0xc
push 0
call fcn.0040623a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1fca1f1a
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x636551df
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x818058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008181a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x81807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81806a
add dl, dl
jne 0x818089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8180dc
xor eax, eax
add dl, dl
jne 0x818096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81817d
add dl, dl
jne 0x8180a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8180d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x818075
mov eax, 1
add dl, dl
jne 0x8180ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8180f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8180e1
sub eax, ebx
mov ebx, 1
jne 0x818128
mov ecx, 1
add dl, dl
jne 0x81810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x818119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x81813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x81814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x818136
cmp eax, 0x7d00
jae 0x81816d
cmp eax, 0x500
jb 0x818168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
cmp eax, 0x7f
ja 0x818170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x818075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x81819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x818075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401f82
Capabilities:
Encode data using xor

Disassembly:
call 0x401e79
mov ecx, 0x1f3
call 0x401f82
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x401f85
mov eax, 0x50402e3
out dx, al
clc
div esi
cmc
retf 0x3d52

Function at 0x409340
Capabilities:
Encode data using xor

Disassembly:
jo 0x40937d
pop esi
pop ebx
pop ebp
ret
push ebp
mov ebp, esp
in al, dx
push esi
xor eax, 0x3357ec75
inc dword [ebx + 0xfff047e]
test byte [eax + eax + 0x468a0065], al
sub al, 0x84
sal byte [eax + ecx + 0x56], 0x90
outsd dx, dword [esi]
pop ds
add byte [eax], al
mov edi, eax
mov eax, dword [esi - 0x1b]
and eax, 0x6000000
je 0x409342
cmp eax, 0x6000000
jne 0x40938b
push 0xffffffffffffffe8
call dword [sym.imp.WSOCK32.dll_ntohl]
add esp, 4
push 0xffffffffffffffff
push 0xfffffffffffffff4
call dword [0x402ca4]
jmp 0x4093a1
les eax, [edx + ebp*2]
jmp [edx - 0xc]
cmp eax, 0x4009800
jne 0x409332
push 1
call dword [sym.imp.MSVCRT.dll__close]
cmp dword [ebx], 4
push 0xffffffffffffffff
push 0xfffffffffffffff5
adc byte [0x1c0a4], dl
jmp 0x4093d1
mov dword [esi + 0x18], 0xff1cffff
mov eax, dword [esi + 0xc]
test dword [ecx + 0x74], esi
adc eax, 0x8510408b
sal byte [edi + 0xe], 0x50
call dword [0x402574]
invalid
Function at 0x402170
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1070
call fcn.00405690
mov eax, dword [0x42f014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], 0xc
push eax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1014], 1
push eax
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x1018], 0
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x4022fa
mov eax, dword [ebp - 0x1010]
xorps xmm0, xmm0
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x1034], eax
lea eax, [ebp - 0x102c]
push eax
lea eax, [ebp - 0x1070]
movlpd qword [ebp - 0x1044], xmm0
or dword [ebp - 0x1044], 0x100
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push str.wmic_baseboard_get__format:list
push 0
movups xmmword [ebp - 0x102c], xmm0
mov dword [ebp - 0x1070], 0x44
movlpd qword [ebp - 0x106c], xmm0
movlpd qword [ebp - 0x1064], xmm0
movlpd qword [ebp - 0x105c], xmm0
movlpd qword [ebp - 0x1054], xmm0
movlpd qword [ebp - 0x104c], xmm0
movlpd qword [ebp - 0x103c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4022fa
push esi
push edi
push dword [ebp - 0x102c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x1028]
call edi
push dword [ebp - 0x1010]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x1008]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x100c]
call esi
test eax, eax
je 0x4022f0
nop dword [eax + eax]
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x4022f0
lea ecx, [ebp - 0x1004]
push ecx
push eax
push str._.s
call fcn.004011b0
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x100c]
call esi
test eax, eax
jne 0x4022b0
push dword [ebp - 0x100c]
call edi
pop edi
pop esi
call fcn.0040a950
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004048b3
mov esp, ebp
pop ebp
ret

Function at 0x410d1d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x424888
push 0x424880
push str.FlsAlloc
push 0x1e
call fcn.00410b8a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410d51
push dword [ebp + 8]
mov ecx, esi
call dword [0x421138]
call esi
jmp 0x410d57
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x410d9b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x424898
push 0x424890
push str.FlsGetValue
push 0x20
call fcn.00410b8a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410dd2
push dword [ebp + 8]
mov ecx, esi
call dword [0x421138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4137ab
Capabilities:
Read file on windows

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

Function at 0x4137b6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004135dc
Function at 0x4154cc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00405690
mov eax, dword [0x42f014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004122b2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41550e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41566a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004206a0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4309b0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004158f2
mov ecx, dword [esi*4 + 0x4309b0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x415663
cmp eax, dword [edi + ecx + 0x24]
jne 0x415663
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415663
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004158f2
add esp, 0x14
test edx, edx
jl 0x415663
jg 0x4155d9
test eax, eax
jb 0x415663
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x415663
jl 0x4155f3
cmp dword [ebp - 0x1008], eax
ja 0x415663
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x415611
test ebx, ebx
je 0x41564a
cmp ecx, edi
jae 0x41564a
mov al, byte [ecx]
cmp al, 0xd
jne 0x41562b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x415637
cmp byte [ecx + 1], 0xa
jne 0x415637
inc ecx
jmp 0x415637
movzx eax, al
movsx eax, byte [eax + 0x42f950]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x415611
cmp edx, ebx
jne 0x415611
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x415668
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004048b3
leave
ret