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

Disassembly:
cmp ecx, dword [0x408010]
jne 0x404450
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x409368], eax
mov dword [0x409364], ecx
mov dword [0x409360], edx
mov dword [0x40935c], ebx
mov dword [0x409358], esi
mov dword [0x409354], edi
mov word [0x409380], ss
mov word [0x409374], cs
mov word [0x409350], ds
mov word [0x40934c], es
mov word [0x409348], fs
mov word [0x409344], gs
pushfd
pop dword [0x409378]
mov eax, dword [ebp]
mov dword [0x40936c], eax
mov eax, dword [ebp + 4]
mov dword [0x409370], eax
lea eax, [ebp + 8]
mov dword [0x40937c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x4092b8], 0x10001
mov eax, dword [0x409370]
mov dword [0x40926c], eax
mov dword [0x409260], 0xc0000409
mov dword [0x409264], 1
mov eax, dword [0x408010]
mov dword [ebp - 0x328], eax
mov eax, dword [0x408014]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x4092b0], eax
push 1
call fcn.00406093
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x401d80
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x4092b0], 0
jne 0x40453c
push 1
call fcn.00406093
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x406667
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x406676
pop dword [ebp - 0x4c]
mov eax, 0x406676
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xb58df529
add dword [ebp - 0x5c], 0x98c45022
mov dword [ebp - 0x58], 0x5a324b3c
sub dword [ebp - 0x58], 0x27fefef7
mov dword [ebp - 0x54], 0x5196e5b2
add dword [ebp - 0x54], 0xfab55e7c
mov dword [ebp - 0x50], 0x376deba1
sub dword [ebp - 0x50], 0x376deba1
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xbaa48775
sub eax, 0xba647759
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xf4d4d369
sub dword [ebp - 0x5c], 0x80626a13
mov dword [ebp - 0x58], 0x96af2b04
sub dword [ebp - 0x58], 0x5542c98f
mov dword [ebp - 0x54], 0xe424a8f5
add dword [ebp - 0x54], 0x7f4ac377
mov dword [ebp - 0x50], 0xf3ddc071
sub dword [ebp - 0x50], 0xf3ddc071
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xd9da0e61
add eax, 0x266601c3
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x35252
push 0
call eax
mov ecx, 0xdf622e5e
add ecx, 0x209e0e4a
mov edx, eax
mov ebx, 0x161582a1
sub ebx, 0x15d24aa1
add ebx, dword [ebp - 0x4c]
mov esi, 0xb58269f6
sub esi, 0x3d126183
mov edi, dword [ebx]
mov dword [ebp - 0x40], 0xfe73f313
xor edi, esi
sub dword [ebp - 0x24], 0xca7aea22
mov dword [edx], edi
xor dword [ebp - 0x20], eax
add edx, 0x9e649cb7
add edx, 0x619b634d
add ebx, 0x1c34c491
add ebx, 0xe3cb3b73
loop 0x406793
add eax, 0xa96c4044
sub eax, 0xa96b5ad1
mov ebx, eax
add eax, 5
mov ecx, 0xc72f774d
add ecx, 0x391088b3
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4097c8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40987c
jmp 0x409871
cmp dword [esi + 0x10], 0x1000
jne 0x40985d
test byte [esi + 0x15], 1
jne 0x40985d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40981c
cmp eax, 2
je 0x40981c
cmp eax, 0x10
je 0x40981c
cmp eax, 0x20
jne 0x409831
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409831
mov bl, 1
xor ebp, ebp
jmp 0x409842
mov eax, dword [esi]
add eax, ebp
call fcn.004097c0
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409835
test bl, bl
je 0x40985d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40987c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4097f4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40572b
Capabilities:
Encode data using xor

Disassembly:
dec edi
dec edi
adc bh, byte [ecx - 0x3f]
adc byte [ebx - 0x76a274bb], bh
mov cl, 0x49
xchg byte [eax - 0x46], bl
xor ecx, dword [edx + 0x78]
jge 0x40572a
stosd dword es:[edi], eax
out dx, eax
sub bh, ch
out dx, eax
fdivrp st(3)
xor ch, byte [edi - 0x3e18bb3b]
je 0x40577c
imul esi, dword [edi - 0x6c], 0x3ef5d16c
pop ebx
je 0x405742
pushfd
int3
pop esi
wait
dec edx
fmul dword [0xc7821e98]
adc al, 0xe9
invalid
Function at 0x11495ee
Capabilities:
Check http status code

Disassembly:
mov dword [ebp - 0x3c], ecx
sbb ecx, edi
rcl ecx, 0x67
mov dword [ebp - 0x28], 0
shl cx, cl
stc
dec edx
jmp 0x114a34e
push ebp
mov ebp, esp
jmp 0x11ae5c3
mov dword [ebp - 0x34], ecx
mov cl, al
dec ecx
mov ecx, dword [edi + 0x24]
jmp 0x114c05f
mov ecx, dword [edi + 0x44]
shr si, 2
rcl si, 0x86
mov esi, dword [edi + 0x20]
stc
cmc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi + 8]
test ecx, edi
mov dword [ebp - 0x2c], edx
mov edx, 1
bts eax, ebp
bsf eax, esi
mov ax, si
shl edx, cl
mov ecx, dword [edi + 4]
mov eax, 1
stc
shl eax, cl
bswap cx
mov ecx, dword [edi + 0x14]
jmp 0x1144ff7
dec eax
jmp 0x11b2d16
mov eax, dword [edi + 0x10]
sbb bl, ah
sub ebx, 0x5f394282
mov edx, dword [edi + 0x3c]
ror esi, 0xd3
bswap bx
btc bx, 0x52
mov dword [ebp - 0x20], eax
rcl ah, 0xf5
btr ax, si
xor al, 0xb6
mov eax, dword [edi + 0x40]
mov ebx, dword [edi + 0x34]
stc
bts esi, ecx
not si
mov dword [ebp - 0x18], ecx
jmp 0x114a60d
lea esp, [esp - 0x50]
push ebx
push esi
movzx eax, sp
xor ecx, ebx
push edi
mov bl, 0x6a
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x38]
cwd
jmp 0x114d92c
mov dword [ebp - 0x48], eax
mov eax, dword [edi]
mov dword [ebp - 0x40], eax
btc eax, 0x68
mov eax, dword [edi + 0x28]
test bp, 0x4150
test ebp, ebp
cmp al, 6
mov dword [ebp - 0x24], eax
add al, 0x11
btc eax, ecx
mov eax, dword [edi + 0x2c]
stc
clc
mov dword [ebp - 0x10], eax
shrd ax, sp, 0xfc
mov eax, dword [edi + 0x18]
cmp bp, ax
cmc
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 0x30]
stc
test si, bx
mov dword [ebp - 4], eax
btc ax, ax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x50], edx
jmp 0x10a952b
Function at 0x4740ac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x558db0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x592020], 1
jge 0x558e1f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x558df5
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x558df5
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x558dd2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x558e0b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x558e12
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x558f0f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x558ee0
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x558ed5
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x558ec9
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x558ed0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x558f0f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x558f0a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x558ef3
mov eax, dword [ebx + 8]
jmp 0x558f0f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x558f01
xor eax, eax
jmp 0x558f0f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x558e3f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x544620
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00471a64
mov eax, dword [0x590014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x592d30]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x5447f8
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x544747
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x544747
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x544725
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x5446a9
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5447b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x544818
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x5447f3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x544818
jmp 0x544682
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472883
mov esp, ebp
pop ebp
ret
Function at 0x5448b0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00471a64
mov eax, dword [0x590014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x592d30]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x544a9b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x5449e6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x5449e6
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x5449c2
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x544939
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x544a54
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x544abb
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x544a96
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x544abb
jmp 0x544912
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472883
mov esp, ebp
pop ebp
ret
Function at 0x425560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5837e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x61094c]
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_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00553f41
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0053eefa
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 0x431910
Capabilities:
Delete directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x431a0b
xor eax, eax
cmp ax, word [esi]
je 0x431a0b
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431940
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x431a0b
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.005561e0
push 0x5bd3ec
push esi
push 0x5bd3f4
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004350a0
add esp, 0x20
lea ecx, [ebp - 0x210]
mov edx, edi
call fcn.00431700
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4319f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4319c8
cmp eax, 0x91
jne 0x4319f9
push ecx
mov ecx, esi
call fcn.00431a20
add esp, 4
neg eax
sbb eax, eax
inc eax
test edi, edi
je 0x4319f7
test eax, eax
je 0x4319f7
mov edi, 1
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
xor edi, edi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
Function at 0x431a20
Capabilities:
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x374
mov eax, dword [0x61094c]
xor eax, esp
mov dword [esp + 0x370], eax
push ebx
push esi
push edi
push 0x110
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
mov esi, ecx
call fcn.005561e0
add esp, 0xc
mov dword [esp + 0x10], 0x114
test esi, esi
je 0x431b89
xor eax, eax
cmp ax, word [esi]
je 0x431b89
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x431a96
lea eax, [ebx + 0x11]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [esp + 0x20], 2
push 0x250
sete al
mov dword [esp + 0x10], eax
lea eax, [esp + 0x12c]
push 0
push eax
call fcn.005561e0
add esp, 0xc
lea eax, [esp + 0x128]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x431adb
call edi
test eax, eax
jmp 0x431aea
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [esp + 0x128], 0x10
jne 0x431afe
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0xc], ebx
je 0x431b2e
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x431b72
call edi
call edi
mov ebx, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [esp + 0x12c]
push 0
push eax
call fcn.005561e0
add esp, 0xc
lea eax, [esp + 0x128]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov edx, 0x5bd41c
lea ecx, [esp + 0x128]
call fcn.00431bb0
test eax, eax
jne 0x431b72
call edi
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x370]
xor ecx, esp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x37c]
mov eax, 0x57
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
Function at 0x436fe0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.005545c0
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x1008]
xor bl, bl
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x437028
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [ebp - 0x1008]
xor esi, esi
shr edi, 2
test edi, edi
je 0x43705c
nop dword [eax]
mov eax, dword [ebp + esi*4 - 0x1004]
test eax, eax
je 0x437057
push eax
call fcn.004369e0
mov bl, al
test bl, bl
jne 0x43705c
inc esi
cmp esi, edi
jb 0x437040
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
Function at 0x43f8f0
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5856e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], edx
mov dword [edx], vtable.external_client_impl.0
mov dword [edx + 4], vtable.external_client_impl.1.0
movq xmm0, qword [0x620678]
movq qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edx + 8], eax
xorps xmm0, xmm0
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0xc8
movups xmmword [edx + 0x18], xmm0
movq qword [edx + 0x28], xmm0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [ebp - 4], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], 0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], 0
mov dword [edx + 0x54], 0
lea eax, [edx + 0x60]
mov dword [edx + 0x58], 0
mov byte [edx + 0x5c], 0
mov dword [ebp - 0x20], eax
mov dword [eax], edx
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 3
lea ebx, [eax + 0x1c]
push 0x3c
mov dword [eax + 0x18], 0
mov dword [ebp - 0x14], ebx
call fcn.00553f41
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
xorps xmm0, xmm0
movq qword [edi], xmm0
lea esi, [edi + 0xc]
mov dword [edi + 8], 0
push 2
push esi
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_std::mutex_.0
call fcn.0053fb59
xorps xmm0, xmm0
lea eax, [ebx + 8]
movq qword [ebx], xmm0
push eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
call fcn.0053f74c
add esp, 0xc
mov edi, dword [ebp - 0x1c]
lea esi, [edi + 0x60]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x7c], 0
xorps xmm0, xmm0
mov word [esi + 0x80], 0
movq qword [esi + 0x84], xmm0
mov byte [ebp - 4], 7
cmp byte [0x61141f], 6
ja 0x43fa99
push 6
push 0x5be258
call fcn.00443e50
add esp, 8
push 4
call fcn.00553f41
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
push ecx
push 0
push eax
push 0x4484c0
push 0
push 0
call fcn.00567c3d
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x43fb21
cmp dword [esi + 0x88], 0
jne 0x43fb2f
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], eax
mov al, byte [0x61141f]
cmp al, 6
ja 0x43fb03
push dword [edi + 0xc]
push dword [edi + 8]
push 6
push 0x5be44c
call fcn.00443e50
add esp, 0x10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x24], 0
call fcn.0053fbf7
call fcn.00560231
int3
Function at 0x448b50
Capabilities:
Get os information via kuser_shared_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58632d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x7ffe026c]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
cmp ax, 6
jb 0x448b9d
ja 0x448b99
jne 0x448b9d
cmp word [0x7ffe0270], 2
jb 0x448b9d
mov al, 1
jmp 0x448b9f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553d2a
mov esp, ebp
pop ebp
ret