joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6500fe
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6582f0
cmp edx, dword [eax]
je 0x650120
add eax, 8
inc ecx
cmp eax, 0x658380
jl 0x650111
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6582f0]
jne 0x65024e
mov eax, dword [0xa5b934]
cmp eax, 1
je 0x650228
test eax, eax
jne 0x650151
cmp dword [0x658234], 1
je 0x650228
cmp edx, 0xfc
je 0x65024e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x650188
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00650810
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00650a40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6501cb
lea eax, [ebp - 0x1a4]
push eax
call fcn.00650a40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x6549d0
push edi
call fcn.00652210
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00650810
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00650820
lea eax, [ebp - 0xa0]
push 0x6549b0
push eax
call fcn.00650820
push dword [esi + 0x6582f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00650820
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00652184
add esp, 0x2c
pop edi
jmp 0x65024e
lea eax, [ebp + 8]
lea esi, [esi + 0x6582f4]
push 0
push eax
push dword [esi]
call fcn.00650a40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x48abd6
Capabilities:
Encode data using xor

Disassembly:
cmp dword [ebx], ebp
out dx, eax
jecxz 0x46b833
mov ebx, 0x6aa02d53
xor bl, cl
out 2, al
and byte [ebp - 0x1c43fd60], al
out dx, eax
add ah, byte [eax]
test dword [eax - 0x101c43fe], esp
inc bp
or dword [eax + 0x22e3bc02], esp
out dx, eax
adc al, 0x37
neg byte [ecx + 0x45]
dec ecx
mov byte [edx], al
rcr dword [edi + 0x51], 1
dec ebx
mov esp, 0x908d7216
insd dword es:[edi], dx
mov ch, 0x4e
push ss
xor ah, byte [eax - 0x7e9a7b73]
add bh, byte [ebx + 0x2bc98b9f]
cli
push eax
mov esp, 0xbf0b81a4
lodsd eax, dword [esi]
sub dword [eax], edx
add byte [esi], bh
out dx, al
add bh, byte [ebp - 0x34]
mov al, 0xa5
cld
cmp eax, 0xe52602ee
xchg dword [esi], edx
or al, 0xe4
lahf
pop ebx
inc ecx
movsb byte es:[edi], byte [esi]
adc eax, 0x8800260b
invalid
jmp 0x48ab8e
pushal
clc
jmp 0x48abbd
call 0x48abd6
push edi
test eax, 0xec24448e
mov cr4, esp
pop edx
xor eax, 0x4bb48aa3
xor eax, 0x26527f97
pop ebx
jmp 0x48abe8
add ebx, 0xffffff7e
jmp 0x48ac0e
cmp dword [ebx], 0
stc
jmp 0x48ac1f
je 0x48adb6
clc
jmp 0x48ac32
mov edi, ebx
jmp 0x48ac51
adc dword [edx], esi
mov byte [edi - 0x571fcc10], al
push eax
or bh, byte [ecx + 0x72074546]
dec ebp
add ebx, 4
jmp 0x48ac7c
mov eax, dword [ebx]
jmp 0x48ac96
mov dword [ecx - 0x44], edi
jns 0x48ac41
insd dword es:[edi], dx
loopne 0x48acac
out dx, al
sbb ecx, 0xffffffc7
sahf
in eax, 0xa0
ljmp 0xde1b
add eax, ebx
stc
jb 0x48acaa
stosb byte es:[edi], al
test cl, ch
jno 0x48ac82
ljmp 0xf7f9:0x5c71ef70
xlatb
mov edx, dword [ebx + 4]
add al, 0xeb
adc dword [edi + ecx], edx
fucom st(4)
insd dword es:[edi], dx
je 0x48ac83
jmp 0x48acc0
jmp 0x48ad01
sub dword [eax], 0x29fe3bc
jmp 0x48acd4
add eax, 4
jmp 0x48ad03
mov dword [eax - 0x14fe157d], ebx
adc dword [esi], edi
adc dword [ecx + edi - 0x144543be], esp
mov byte [ebx], dl
jl 0x48aca9
sub edx, 1
jmp 0x48ad19
adc edi, dword [ebp + edx*4 - 3]
std
lahf
pop edx
mov bl, 0xbb
jne 0x48acad
jmp 0x48ad39
add ebx, 8
jmp 0x48ad68
jne 0x48ad11
sub dword [edi], 1
jmp 0x48ad96
test dword [ebp + 0x35af6459], edx
pop edi
loopne 0x48ad66
jne 0x48ac54
stc
jb 0x48adb1
outsd dx, dword [esi]
inc eax
adc dword [ecx + 0x77], eax
jo 0x48ad8d
into
in eax, 0x32
les ecx, [esi]
fisubr dword [ebp + 2]
invalid
call fcn.0048adfb
jmp 0x48ade4
popal
stc
jb 0x48adf6
and di, 0x7ac2
sub dword [edx + 0x28d8c24d], ecx
mov cl, 0x16
xchg edi, eax
jmp 0x46b825
Function at 0x10018e04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x10018e13
pop dword [ebp - 0x24]
mov eax, 0x118c97f9
sub eax, 0x18b09e6
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x41e93
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x982fba8e
sub ecx, 0x982f6cbe
mov edx, eax
mov ebx, 0x1003be00
add ebx, dword [ebp - 0x24]
mov edi, 0xf949a7c2
sub dword [ebp - 0x1c], 0x857097d2
mov esi, dword [ebx]
sub dword [ebp - 4], ecx
xor esi, edi
xor dword [ebp - 0x14], esi
mov dword [edx], esi
xor dword [ebp - 8], edi
add edx, 0x7edec741
sub edx, 0x7edec73d
add ebx, 0x70ef1f3d
sub ebx, 0x70ef1f39
loop 0x10018e61
add eax, 0x12a13
xor ebx, ebx
add ebx, eax
add eax, 0x10d189
sub eax, 0x10d184
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.10018e04
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.10018e04
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret
Function at 0x4012af
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403d14], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403d10], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x4011a6
mov dword [ebp - 0x24], str.cognomen
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403d10]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.invocatory
push str.cognomen
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d18], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401379
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401360
mov eax, dword [0x403d14]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

Function at 0x401499
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x10
mov edx, esi
mov eax, 4
mov esi, 0x401116
mov edi, 0x4035f5
dec ecx
call fcn.00401cc6
mov eax, ecx
push edi
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call fcn.004013a1
call fcn.00401c72
mov eax, 0x14
mov ecx, 0x78f
mov esi, 0x401192
mov edi, 0x4014e3
call fcn.00401cc6
xor eax, eax
xor eax, 0x17cf0b66
sub eax, 0x4a88926a
fisttp qword [edi - 0x2d]
sbb al, 0xa9
invalid

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

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x1a702cd
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x756030f7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x1111ff5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
call fcn.01111f2f
push 0x13
pop eax
xor esi, esi
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0x23
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], 0xd
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x10], 0xa
mov dword [ebp - 0xc], 0xb
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xf
call dword [0x111e008]
call dword [0x111e01c]
cmp eax, 0x57
je 0x1112066
push esi
call dword [0x111e024]
mov ecx, esi
mov edx, esi
mov al, byte [ebp + ecx*4 - 0x2c]
xor byte [edx + 0x1124250], al
inc ecx
xor eax, eax
cmp ecx, 0xb
cmove ecx, eax
inc edx
cmp edx, 0x13000
jb 0x111206a
call fcn.01111e43
push esi
test eax, eax
jne 0x1112060
call dword [0x111e018]
int3
Function at 0x403080
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44674d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x45f080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.00427038
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x403330
push 0
push 0
call fcn.0042bf8c
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x403101
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042702a
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.00425aae
int3
Function at 0x406800
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446c98
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
mov eax, dword [0x45f080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x44a300
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x406991
mov ecx, edx
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406883
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00403110
mov byte [ebp - 4], 1
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 7
lea ecx, [ebp - 0x4c]
push dword [ebx + 0x18]
cmova eax, dword [ebx + 8]
push eax
call fcn.00402ef0
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x64], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x14], 7
mov word [eax], cx
xor eax, eax
movq qword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x34], xmm1
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00404dc0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x19], al
cmp ecx, 7
jbe 0x40693d
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406933
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069eb
push ecx
push edx
call fcn.00427068
add esp, 8
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp ecx, 7
jbe 0x406987
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40697d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069eb
push ecx
push edx
call fcn.00427068
add esp, 8
cmp byte [ebp - 0x19], 0
mov byte [ebp - 0x19], 1
jne 0x406995
mov byte [ebp - 0x19], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 7
jbe 0x4069cb
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4069c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069f0
push ecx
push edx
call fcn.00427068
add esp, 8
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042702a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042bddf
call fcn.0042bddf
int3
Function at 0x407340
Capabilities:
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446df5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x50
mov eax, dword [0x45f080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], esi
call fcn.00406fa0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x4073fa
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
push 0x456198
mov ecx, esi
call fcn.00403110
mov ecx, dword [ebp - 0x20]
cmp ecx, 7
jbe 0x4073f3
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4073e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407531
push ecx
push edx
call fcn.00427068
add esp, 8
mov eax, esi
jmp 0x407513
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, 0x7ffffffe
mov edx, esp
sub eax, ecx
mov dword [ebp - 0x38], edx
cmp eax, 0xd
jb 0x407536
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
push 0xd
cmova eax, dword [ebp - 0x34]
push 0x4561a8
push ecx
push eax
push ecx
push dword [ebp - 0x38]
mov ecx, edx
call fcn.0040aca0
call fcn.004256e0
add esp, 0x18
mov byte [ebp - 0x40], 0
mov edi, eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x38], edi
push dword [ebp - 0x40]
call fcn.0040aea0
add esp, 4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004051f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x4074a1
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407497
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40753b
push ecx
push edx
call fcn.00427068
add esp, 8
push 2
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, edi
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4074c3
sub ecx, edx
sar ecx, 1
push ecx
push edi
jmp 0x4073b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042702a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042bddf
call fcn.00401350
call fcn.0042bddf
int3
Function at 0x408510
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446f9b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24c
mov eax, dword [0x45f080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
push 0x104
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
test eax, eax
je 0x408709
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x244], 0
movups xmmword [ebp - 0x254], xmm0
mov dword [ebp - 0x240], 0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4085a0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.00403110
push 1
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.0040aad0
mov dword [ebp - 0x22c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x228], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x23c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x22c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 9
push str.cmd.exe_
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.00402ef0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x4086ae
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4086a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408747
push ecx
push edx
call fcn.00427068
add esp, 8
mov ecx, dword [ebp - 0x240]
xor eax, eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
cmp ecx, 7
jbe 0x408728
mov edx, dword [ebp - 0x254]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4086fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408747
push ecx
push edx
call fcn.00427068
add esp, 8
jmp 0x408728
push 0x1d
movups xmmword [esi], xmm0
push str._C:WindowsSystem32cmd.exe_
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00403110
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042702a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042bddf
int3
Function at 0x408750
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446f9b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24c
mov eax, dword [0x45f080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
push 0x104
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
test eax, eax
je 0x408949
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x244], 0
movups xmmword [ebp - 0x254], xmm0
mov dword [ebp - 0x240], 0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4087e0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.00403110
push 1
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.0040aad0
mov dword [ebp - 0x22c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x228], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x23c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x22c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x27
push str.WindowsPowerShell_v1.0powershell.exe_
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.00402ef0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x4088ee
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4088e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408987
push ecx
push edx
call fcn.00427068
add esp, 8
mov ecx, dword [ebp - 0x240]
xor eax, eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
cmp ecx, 7
jbe 0x408968
mov edx, dword [ebp - 0x254]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40893d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408987
push ecx
push edx
call fcn.00427068
add esp, 8
jmp 0x408968
push 0x3b
movups xmmword [esi], xmm0
push str._C:WindowsSystem32WindowsPowerShell_v1.0powershell.exe_
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00403110
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042702a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042bddf
int3
Function at 0x40c600
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 0x40c632
jl 0x40c625
test ecx, ecx
jne 0x40c632
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 0x40c6f2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.0040da60
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40c69e
jg 0x40c65d
test esi, esi
je 0x40c69e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x40c675
mov eax, dword [esp + 0x10]
jl 0x40c66f
cmp eax, esi
jae 0x40c675
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.004287b0
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 0x40c6bf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x40c6db
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 0x40c644
jl 0x40c6db
test ecx, ecx
jne 0x40c644
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]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x40c736
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x40c736
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.004287b0
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
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x40c7a7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x40c75c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x40c792
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0042d2a3
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x40c7a7
cmp edi, eax
ja 0x40c770
test edi, edi
je 0x40c7a7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0042d2a3
add esp, 0x10
sub edi, eax
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