joyce8/EMBER2024-capa huggingface dataset:
Function at 0x530b0c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe04
push esi
push edi
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x1fc]
push ecx
mov ecx, 0x78
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
sub eax, 0x80
je 0x530b48
sub eax, 0x40
je 0x530b51
sub eax, 0x40
je 0x530b5a
jmp 0x530b63
mov dword [ebp - 0x18], 4
jmp 0x530b6f
mov dword [ebp - 0x18], 6
jmp 0x530b6f
mov dword [ebp - 0x18], 8
jmp 0x530b6f
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x530c5d
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
setge al
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.005301ec
sub eax, 0x80
je 0x530b96
sub eax, 0x40
je 0x530b9f
sub eax, 0x40
je 0x530ba8
jmp 0x530bb1
mov dword [ebp - 0x1c], 0xa
jmp 0x530bbd
mov dword [ebp - 0x1c], 0xc
jmp 0x530bbd
mov dword [ebp - 0x1c], 0xe
jmp 0x530bbd
mov dword [ebp - 0x10], 0xfffffffd
jmp 0x530c5d
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
shl eax, 2
lea edx, [ebp + eax*8 - 0x1fc]
mov eax, dword [ebp - 4]
call fcn.00530268
mov cl, byte [ebp - 0x18]
mov edx, 0x595154
mov eax, dword [ebp - 4]
call fcn.0053037c
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.005302c4
mov eax, dword [ebp - 0x1c]
dec eax
cmp eax, 1
jl 0x530c47
mov dword [ebp - 0x14], eax
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 0x14]
shl eax, 2
lea edx, [ebp + eax*8 - 0x1fc]
mov eax, dword [ebp - 4]
call fcn.00530268
mov dl, byte [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.005304f8
mov cl, byte [ebp - 0x18]
mov edx, 0x595154
mov eax, dword [ebp - 4]
call fcn.0053037c
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dl, 1
call fcn.005302c4
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jne 0x530bfe
mov cl, byte [ebp - 0x18]
lea edx, [ebp - 0x1fc]
mov eax, dword [ebp - 4]
call fcn.00530268
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x530f74
Capabilities:
List groups for user account

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.0040627c
xor eax, eax
push ebp
push 0x530fe6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004060ec
push eax
push 0
call sub.netapi32.dll_NetUserGetLocalGroups
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x530fd0
mov eax, dword [ebp - 0xc]
push eax
call sub.netapi32.dll_NetApiBufferFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x530fed
lea eax, [ebp - 4]
call fcn.00405f8c
ret
Function at 0x534a94
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
xor edx, edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x534b1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x80
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x88]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x534af7
lea eax, [ebp - 0x8c]
lea edx, [ebp - 0x88]
mov ecx, 0x80
call fcn.004059c8
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 4]
call fcn.0040a250
jmp 0x534b04
mov eax, dword [ebp - 4]
mov edx, 0x534b30
call fcn.0040579c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x534b24
lea eax, [ebp - 0x8c]
call fcn.00405748
ret

Function at 0x534b38
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x534bdc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00403210
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.0040b0f4
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x534bb9
lea eax, [ebp - 0x14]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405c7c
mov eax, dword [ebp - 0x14]
mov edx, 0x534bf4
call fcn.00405b68
sete byte [ebp - 1]
cmp byte [ebp - 1], 0
jne 0x534bb9
mov eax, dword [ebp - 8]
call fcn.00405c1c
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x534be3
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040576c
lea eax, [ebp - 8]
call fcn.00405748
ret

Function at 0x534c44
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, 0x104
call fcn.0040b630
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x534cba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 0x104
call fcn.004039a0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x534c9c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00405950
jmp 0x534ca4
mov eax, dword [ebp - 8]
call fcn.00405748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x534cc1
mov eax, dword [ebp - 0xc]
call fcn.0040b67c
ret
Function at 0x534d94
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405c0c
xor eax, eax
push ebp
push 0x534e4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x534e60
call fcn.0040579c
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405c1c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x534e2a
lea ecx, [ebp - 0x18]
movzx eax, word [ebp - 0x14]
mov edx, 4
call fcn.0040a7e8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004088c0
movzx eax, ax
lea ecx, [ebp - 0x1c]
mov edx, 4
call fcn.0040a7e8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
pop ecx
call fcn.00405a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x534e54
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040576c
lea eax, [ebp - 4]
call fcn.00405748
ret

Function at 0x535954
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], 7
push 0
lea eax, [ebp - 8]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret

Function at 0x53597c
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
call fcn.00535954
test al, al
je 0x5359bf
lea eax, [ebp - 0x19c]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 4]
call fcn.00405c1c
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
setne byte [ebp - 5]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x547ae0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00405c0c
xor eax, eax
push ebp
push 0x547cbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405c1c
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x597418]
movzx eax, word [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x59734c]
movzx eax, word [eax]
test eax, eax
jle 0x547c78
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 1
mov eax, dword [0x596c00]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x14]
dec edx
mov eax, dword [0x597250]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
call fcn.0057b93c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x370]
mov eax, dword [eax + 0x294]
dec eax
test eax, eax
jl 0x547c68
inc eax
mov dword [ebp - 0x20], eax
xor edi, edi
lea eax, [ebp - 8]
call fcn.00405748
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x370]
mov esi, dword [eax + 0x264]
dec esi
test esi, esi
jl 0x547c51
inc esi
xor ebx, ebx
test ebx, ebx
jle 0x547be2
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x370]
mov ecx, edi
mov edx, ebx
call fcn.004e28bc
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x597584]
movzx ecx, byte [ecx]
mov dl, 0x2e
call fcn.00510c18
jmp 0x547bf8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x370]
mov ecx, edi
mov edx, ebx
call fcn.004e28bc
test edi, edi
jne 0x547c2c
test ebx, ebx
jne 0x547c2c
push dword [ebp - 8]
push 0x547cd4
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
call fcn.004059bc
push dword [ebp - 0x2c]
push 0x547ce8
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
jmp 0x547c49
push dword [ebp - 8]
push 0x547cf4
push dword [ebp - 0xc]
push 0x547ce8
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
dec esi
jne 0x547bad
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0053c518
inc edi
dec dword [ebp - 0x20]
jne 0x547b8a
inc dword [ebp - 0x14]
add dword [ebp - 0x24], 4
dec dword [ebp - 0x1c]
jne 0x547b4e
mov edx, dword [ebp - 0x18]
dec edx
mov eax, dword [0x597250]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
call fcn.0057b93c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547cc5
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040576c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040576c
ret
Function at 0x563fc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405c0c
xor eax, eax
push ebp
push 0x564131
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405c1c
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [edi + 0x66c]
mov eax, dword [eax + 0x264]
dec eax
test eax, eax
jl 0x564045
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
push dword [ebp - 8]
push 0x564148
lea eax, [ebp - 0x18]
push eax
mov eax, dword [edi + 0x66c]
xor ecx, ecx
mov edx, ebx
call fcn.004e28bc
push dword [ebp - 0x18]
push 0x564154
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
dec dword [ebp - 0x14]
jne 0x56400f
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0053c518
mov eax, dword [0x59734c]
movzx eax, word [eax]
test eax, eax
jle 0x564109
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 8]
call fcn.00405748
mov eax, dword [edi + 0x66c]
mov esi, dword [eax + 0x264]
dec esi
test esi, esi
jl 0x5640f0
inc esi
xor ebx, ebx
test ebx, ebx
jle 0x5640bb
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x66c]
mov ecx, dword [ebp - 0x10]
mov edx, ebx
call fcn.004e28bc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x597584]
movzx ecx, byte [ecx]
mov dl, 0x2e
call fcn.00510c18
jmp 0x5640cf
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi + 0x66c]
mov ecx, dword [ebp - 0x10]
mov edx, ebx
call fcn.004e28bc
push dword [ebp - 8]
push 0x564148
push dword [ebp - 0xc]
push 0x564154
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
dec esi
jne 0x564088
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0053c518
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x56406c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x564138
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040576c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040576c
ret
Function at 0x564158
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405c0c
xor eax, eax
push ebp
push 0x5642dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405c1c
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [esi + 0x654]
mov eax, dword [eax + 0x264]
dec eax
test eax, eax
jl 0x5641dd
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
push dword [ebp - 8]
push 0x5642f4
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [esi + 0x654]
call fcn.004e28bc
push dword [ebp - 0x18]
push 0x564300
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
dec dword [ebp - 0x14]
jne 0x5641a7
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0053c518
mov eax, dword [0x59734c]
movzx eax, word [eax]
test eax, eax
jle 0x5642b4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 8]
call fcn.00405748
mov eax, dword [esi + 0x654]
mov edi, dword [eax + 0x264]
dec edi
test edi, edi
jl 0x56429b
inc edi
xor ebx, ebx
test ebx, ebx
jle 0x564266
mov eax, dword [esi + 0x654]
mov eax, dword [eax + 0x264]
sub eax, 2
cmp ebx, eax
jge 0x564266
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [esi + 0x654]
call fcn.004e28bc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x597584]
movzx ecx, byte [ecx]
mov dl, 0x2e
call fcn.00510c18
jmp 0x56427a
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [esi + 0x654]
call fcn.004e28bc
push dword [ebp - 8]
push 0x5642f4
push dword [ebp - 0xc]
push 0x564300
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405adc
inc ebx
dec edi
jne 0x564220
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0053c518
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x564204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5642e3
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040576c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040576c
ret

Function at 0x567d70
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
mov byte [0x59c9a0], 0
mov eax, sub.wsock32.dll_WSAStartup
test eax, eax
je 0x567da7
push esp
push 0x101
call sub.wsock32.dll_WSAStartup
sub eax, 0x2726
je 0x567da7
add eax, 0xffffffbb
sub eax, 2
jb 0x567da7
mov byte [0x59c9a0], 1
add esp, 0x190
ret
Function at 0x401140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x164
mov eax, dword [0x536324]
xor eax, esp
mov dword [esp + 0x160], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x144]
push 0x4a4c04
push eax
mov dword [esp + 0x24], edi
movups xmmword [esp + 0x14c], xmm0
mov byte [esp + 0x16c], 0
movups xmmword [esp + 0x15c], xmm0
call fcn.004035a0
add esp, 0xc
mov dword [esp + 0x34], 0xf
cmp byte [esp + 0x140], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x4011bf
xor ecx, ecx
jmp 0x4011d9
lea ecx, [esp + 0x140]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4011d0
sub ecx, edx
push ecx
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x28]
call fcn.004052e0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x15c], 0xf
push eax
lea ecx, [esp + 0x14c]
mov dword [esp + 0x15c], 0
mov byte [esp + 0x14c], 0
call fcn.00404e10
mov eax, dword [esp + 0x150]
lea ecx, [esp + 0x38]
cmp dword [esp + 0x154], 0x10
mov edx, 0x100
mov dword [esp + 0x14], eax
lea eax, [esp + 0x140]
cmovae eax, dword [esp + 0x140]
mov dword [esp + 0x10], eax
xor eax, eax
nop
mov byte [ecx], al
lea ecx, [ecx + 1]
inc eax
cmp ax, dx
jl 0x401250
xor dl, dl
mov word [esp + 0x138], 0
xor ebx, ebx
lea esi, [esp + 0x38]
mov edi, 0x100
mov eax, dword [esp + 0x10]
lea esi, [esi + 1]
mov cl, byte [esi - 1]
movzx edx, dl
mov al, byte [eax + edx]
add al, bl
add al, cl
movzx ebx, al
movzx eax, byte [esp + ebx + 0x38]
mov byte [esi - 1], al
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x14]
mov byte [esp + ebx + 0x38], cl
sub edi, 1
jne 0x401272
mov edi, dword [esp + 0x18]
xor esi, esi
test edi, edi
je 0x4012f6
movzx edx, byte [esp + 0x138]
movzx ebx, byte [esp + 0x139]
nop dword [eax]
inc dl
movzx edx, dl
mov cl, byte [esp + edx + 0x38]
add bl, cl
movzx ebx, bl
movzx eax, byte [esp + ebx + 0x38]
mov byte [esp + edx + 0x38], al
mov byte [esp + ebx + 0x38], cl
movzx eax, byte [esp + edx + 0x38]
add al, cl
mov ecx, dword [esp + 0x1c]
movzx eax, al
movzx eax, byte [esp + eax + 0x38]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jb 0x4012c0
mov eax, dword [esp + 0x154]
cmp eax, 0x10
jb 0x401334
mov ecx, dword [esp + 0x140]
inc eax
cmp eax, 0x1000
jb 0x40132b
test cl, 0x1f
jne 0x401385
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x40138a
sub ecx, eax
cmp ecx, 4
jb 0x40138f
cmp ecx, 0x23
ja 0x401394
mov ecx, eax
push ecx
call fcn.00462a58
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x40136c
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, 0x1000
jb 0x401363
test cl, 0x1f
jne 0x401399
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x40139e
sub ecx, eax
cmp ecx, 4
jb 0x4013a3
cmp ecx, 0x23
ja 0x4013a8
mov ecx, eax
push ecx
call fcn.00462a58
add esp, 4
mov ecx, dword [esp + 0x16c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00462ba5
mov esp, ebp
pop ebp
ret 8
call fcn.00468921
call fcn.00468921
call fcn.00468921
call fcn.00468921
call fcn.00468921
call fcn.00468921
call fcn.00468921
call fcn.00468921
int3
Function at 0x402d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x536324]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x402ea0
cmp byte [edi + 0x3d], 0
je 0x402ea0
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x402d8d
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00462ba5
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [esp + 0x14], 0
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
cmp ecx, 0x10
movq qword [esp + 0x14], xmm0
lea eax, [esp + 0x14]
mov dword [esp + 0x24], 8
cmovae eax, dword [esp + 0x14]
mov byte [eax + 8], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ebx, dword [edi + 0x38]
lea ecx, [esp + 0x14]
cmp edx, 0x10
lea esi, [esp + 0x14]
cmovae ecx, eax
cmovae esi, eax
mov edx, dword [ebx]
cmp edx, vtable.std::codecvt_char__char__struct__Mbstatet_.0
mov edx, dword [esp + 0x28]
jne 0x402eb4
mov dword [esp + 0xc], esi
xor ecx, ecx
sub ecx, 0
je 0x402e03
sub ecx, 1
je 0x402e07
sub ecx, 2
je 0x402e55
xor bl, bl
jmp 0x402e57
mov byte [edi + 0x3d], 0
cmp edx, 0x10
lea ecx, [esp + 0x14]
cmovae ecx, eax
sub esi, ecx
je 0x402e3a
push dword [edi + 0x4c]
cmp edx, 0x10
lea ecx, [esp + 0x18]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.00471753
mov edx, dword [esp + 0x38]
add esp, 0x10
cmp esi, eax
mov eax, dword [esp + 0x14]
jne 0x402dff
cmp byte [edi + 0x3d], 0
je 0x402e55
test esi, esi
jne 0x402dc4
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.00404a90
jmp 0x402dbc
mov bl, 1
cmp edx, 0x10
jb 0x402e8c
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x402e83
test byte [esp + 0x14], 0x1f
jne 0x402edf
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x402ee4
sub eax, ecx
cmp eax, 4
jb 0x402ee9
cmp eax, 0x23
ja 0x402eee
mov eax, ecx
push eax
call fcn.00462a58
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00462ba5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00462ba5
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x28]
add eax, ecx
mov ecx, ebx
push eax
push esi
lea eax, [edi + 0x40]
push eax
mov eax, dword [ebx]
call dword [eax + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
jmp 0x402df0
call fcn.00468921
call fcn.00468921
call fcn.00468921
call fcn.00468921
int3
Function at 0x405760
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x536324]
xor eax, esp
mov dword [esp + 0x258], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x22c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00465f50
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4057c2
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00462ba5
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x405894
nop dword [eax]
lea edx, [esp + 0x54]
lea ecx, [esp + 0x18]
call fcn.004058d0
cmp dword [esp + 0x2c], 0x10
lea esi, [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmovae esi, dword [esp + 0x18]
call fcn.00404ba0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405849
mov eax, dword [esp + 0x38]
mov ecx, ebx
mov esi, dword [ebx]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
push esi
call fcn.00406340
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4058b2
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
jb 0x405881
mov eax, dword [esp + 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x405878
test al, 0x1f
jne 0x4058bc
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x4058bc
sub eax, ecx
cmp eax, 4
jb 0x4058bc
cmp eax, 0x23
ja 0x4058bc
mov eax, ecx
push eax
call fcn.00462a58
add esp, 4
lea eax, [esp + 0x30]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4057e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x264]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00462ba5
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.00410277
call fcn.00468921
int3