joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411b83
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x45b080]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, ecx
lea eax, [esp + 4]
push eax
push 2
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x411bb1
mov byte [esi], 1
mov ecx, dword [esp + 0x194]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0043e25d
add esp, 0x194
ret

Function at 0x41354a
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push edi
push 1
push ebx
mov edi, ecx
call fcn.0041fe47
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
push dword [eax + 0x10]
push dword [eax + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_connect]
xor ebp, ebp
test eax, eax
jns 0x4135b6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x413591
mov eax, dword [edi + 4]
mov dword [eax], 2
xor al, al
jmp 0x41363d
mov eax, dword [edi + 0xc]
push dword [eax + 4]
push dword [eax]
mov eax, dword [edi + 8]
push dword [eax + 4]
push dword [eax]
push ebx
call fcn.00420543
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [ecx], eax
mov eax, dword [edi + 4]
cmp dword [eax], ebp
jne 0x41358a
push ebp
push ebx
call fcn.0041fe47
mov eax, dword [edi + 0x14]
pop ecx
pop ecx
push ebp
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.0043e490
mov ecx, eax
mov ebp, 0xffff
mov eax, dword [edi + 0x10]
push 4
imul eax, dword [eax], 0x3e8
add ecx, eax
lea eax, [esp + 0x14]
push eax
push 0x1006
push ebp
push ebx
mov dword [esp + 0x24], ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [edi + 0x1c]
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.0043e490
mov ecx, eax
mov eax, dword [edi + 0x18]
push 4
imul eax, dword [eax], 0x3e8
add ecx, eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x1005
push ebp
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [edi + 4]
mov al, 1
and dword [ecx], 0
pop edi
pop ebp
pop ebx
ret 8

Function at 0x41368c
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 0xc]
push dword [eax]
mov eax, dword [ecx + 8]
push dword [eax]
mov eax, dword [ecx + 4]
push dword [eax]
mov eax, dword [ecx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_recv]
ret

Function at 0x41375f
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ecx + 0xc]
push dword [eax]
mov eax, dword [ecx + 8]
push dword [eax]
mov eax, dword [ecx + 4]
push dword [eax]
mov eax, dword [ecx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
ret

Function at 0x413779
Capabilities:
Get socket status

Disassembly:
push dword [ecx + 0x10]
mov eax, dword [ecx]
push dword [ecx + 0xc]
push dword [ecx + 8]
mov eax, dword [eax]
push dword [ecx + 4]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
ret
Function at 0x41c224
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x408
mov eax, dword [0x45b080]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
mov ebx, dword [esp + 0x418]
push esi
mov esi, dword [esp + 0x414]
push edi
mov edi, dword [esp + 0x424]
push 2
movzx eax, word [esi]
pop ecx
cmp ax, cx
je 0x41c260
cmp eax, 0x17
jne 0x41c2c8
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push ebp
movzx eax, ax
mov ebp, 0x401
mov dword [edi], eax
xor edi, edi
push ebp
lea eax, [esp + 0x14]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push 2
push edi
push edi
push ebp
push eax
push dword [esp + 0x434]
push esi
call dword [sym.imp.WS2_32.dll_getnameinfo]
pop ebp
test eax, eax
jne 0x41c2c8
lea edx, [esp + 0xc]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41c2ae
sub edx, esi
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, ebx
call fcn.00403c80
mov al, 1
jmp 0x41c2ca
xor al, al
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043e25d
add esp, 0x408
ret

Function at 0x41c2fb
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x88
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp + 0x68], eax
push esi
mov esi, dword [ebp + 0x78]
lea eax, [ebp - 0x1c]
push edi
mov edi, dword [ebp + 0x7c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0x80
push eax
push dword [ebp + 0x74]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x41c345
push edi
push esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.0041c224
add esp, 0x10
mov ecx, dword [ebp + 0x68]
pop edi
xor ecx, ebp
pop esi
call fcn.0043e25d
add ebp, 0x6c
leave
ret
Function at 0x432770
Capabilities:
Hash data using sha256

Disassembly:
push 0x20
push 0x44cf50
push dword [esp + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
ret
Function at 0x4359ea
Capabilities:
Hash data using sha1

Disassembly:
call fcn.00432603
test al, al
je 0x435a08
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.0043cb00
add esp, 0x10
ret
jmp fcn.00432784

Function at 0x435a0d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.00432603
test al, al
je 0x435a2b
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.0043cd87
add esp, 0x10
ret
jmp fcn.00433d40

Function at 0x437558
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
movzx edi, byte [edx + 0x44e798]
mov dword [esp + 0x10], edi
mov eax, edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
or ebp, ecx
mov ecx, dword [esp + 0x10]
shl ecx, 3
xor ecx, dword [esp + 0x10]
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
imul eax, edi, 0x11b
or ebp, ecx
mov ecx, dword [esp + 0x10]
shl ecx, 2
xor ecx, dword [esp + 0x10]
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x460960], eax
mov dword [edx*8 + 0x460964], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x437565
pop edi
pop esi
pop ebp
pop ebx
mov byte [0x461161], 1
add esp, 0x10
ret

Function at 0x4376b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
push edi
xor edi, edi
movzx edx, byte [edi + str.cw]
mov ecx, edx
mov eax, edx
shr ecx, 7
imul esi, ecx, 0x1b000000
shl eax, 0x19
imul ecx, ecx, 0x11b
xor esi, eax
mov eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or esi, eax
lea eax, [edx + edx]
xor ecx, eax
xor eax, eax
xor ecx, edx
or eax, esi
or ecx, esi
mov dword [edi*8 + 0x460150], eax
mov dword [edi*8 + 0x460154], ecx
inc edi
cmp edi, 0x100
jl 0x4376b4
xorps xmm0, xmm0
pop edi
movlpd qword [0x460958], xmm0
movlpd qword [0x460950], xmm0
pop esi
mov byte [0x461160], 1
ret
Function at 0x439201
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x44
mov eax, 0x446cdc
call fcn.0043e2c1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x461250]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x461168]
cmp eax, dword [ecx + 4]
jg 0x439249
push 0
push dword [ebp + 0xc]
push esi
push dword [0x461164]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x439284
call fcn.0043e27f
ret 8
mov edi, 0x461168
push edi
call fcn.0043e1f9
cmp dword [0x461168], 0xffffffff
pop ecx
jne 0x43922c
and dword [ebp - 4], 0
mov ecx, 0x461164
call fcn.00439048
push 0x447382
call fcn.0043ddd1
or dword [ebp - 4], 0xffffffff
push edi
call fcn.0043e1a8
pop ecx
pop ecx
jmp 0x43922c
push eax
call fcn.004392c1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x44d448
lea ecx, [ebp - 0x28]
call fcn.004034b0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.004390f2
push 0x4584bc
lea eax, [ebp - 0x50]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x43a058
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [esp + 0x10]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
cmp edi, 4
jb 0x43a0b8
push ebp
mov ebp, edi
shr ebp, 2
push 4
lea eax, [esp + 0x18]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x34]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x3c]
add esp, 0x18
xor eax, dword [esp + 0x14]
add ebx, 4
mov ecx, dword [esp + 0x10]
add esi, 4
or ecx, eax
sub edi, 4
mov dword [esp + 0x10], ecx
sub ebp, 1
jne 0x43a07a
pop ebp
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test edi, edi
je 0x43a0eb
sub ebx, esi
movzx ecx, byte [ebx + esi]
movzx eax, byte [esi]
xor ecx, eax
or edx, ecx
inc esi
sub edi, 1
jne 0x43a0da
pop edi
test edx, edx
pop esi
sete al
pop ebx
pop ecx
pop ecx
ret

Function at 0x43a0f6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x43a181
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x28]
cmp edi, 4
jb 0x43a168
mov eax, edi
shr eax, 2
mov dword [esp + 0x2c], eax
push 4
lea eax, [esp + 0x18]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x20]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push 4
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
add ebp, 4
add ebx, 4
add esi, 4
sub edi, 4
sub dword [esp + 0x2c], 1
jne 0x43a11f
test edi, edi
je 0x43a17e
sub ebx, esi
sub ebp, esi
mov al, byte [ebx + esi]
xor al, byte [esi]
mov byte [esi + ebp], al
inc esi
sub edi, 1
jne 0x43a170
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret
Function at 0x43a186
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x43a1fe
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
cmp edi, 4
jb 0x43a1eb
push ebp
mov ebp, edi
shr ebp, 2
push 4
lea eax, [esp + 0x14]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x34]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push 4
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
add esi, 4
add ebx, 4
sub edi, 4
sub ebp, 1
jne 0x43a1a6
pop ebp
test edi, edi
je 0x43a1fc
sub ebx, esi
mov al, byte [ebx + esi]
xor byte [esi], al
inc esi
sub edi, 1
jne 0x43a1f1
pop esi
pop ebx
pop edi
pop ecx
pop ecx
ret

Function at 0x43d513
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
mov edx, dword [esp + 4]
add eax, eax
push 4
lea ecx, [ecx*4 - 4]
movups xmm0, xmmword [edx + eax*8]
movups xmm1, xmmword [edx]
movups xmmword [edx], xmm0
movups xmmword [edx + eax*8], xmm1
pop eax
cmp ecx, eax
jbe 0x43d559
aesimc xmm0, xmmword [edx + ecx*4]
aesimc xmm1, xmmword [edx + eax*4]
movups xmmword [edx + eax*4], xmm0
add eax, 4
movups xmmword [edx + ecx*4], xmm1
sub ecx, 4
cmp eax, ecx
jb 0x43d53b
aesimc xmm0, xmmword [edx + eax*4]
movups xmmword [edx + eax*4], xmm0
ret
Function at 0x43d564
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
push eax
push esi
movups xmm0, xmmword [eax + edi - 0x10]
movaps xmmword [esp + 0x2c], xmm0
call sub.VCRUNTIME140.dll_memcpy
movaps xmm1, xmmword [esp + 0x2c]
mov eax, edi
shr eax, 2
add esp, 0xc
mov edx, eax
mov dword [esp + 0x14], eax
aeskeygenassist xmm0, xmm1, 0
shl edx, 2
lea ecx, [eax + 7]
mov dword [esp + 0x18], 0x44e654
shl ecx, 4
add ecx, esi
mov dword [esp + 0x1c], ecx
pextrd ecx, xmm0, 3
xor ecx, dword [esi]
xor ecx, 1
mov dword [edx + esi], ecx
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edx + esi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + eax*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + ecx*4 + 0xc], eax
lea eax, [esi + 0x10]
add eax, edx
jmp 0x43d6a0
cmp edi, 0x18
jne 0x43d613
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
pinsrd xmm1, ecx, 3
jmp 0x43d658
cmp edi, 0x20
jne 0x43d651
pinsrd xmm1, dword [esi + 0x2c], 3
mov eax, dword [esi + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 2
xor ecx, dword [esi + 0x10]
xor eax, ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x18]
xor ecx, eax
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x1c]
xor eax, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
pinsrd xmm1, eax, 3
jmp 0x43d658
pinsrd xmm1, dword [esi + 0x1c], 3
mov eax, dword [esp + 0x18]
add esi, edx
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [eax]
add eax, 4
xor ecx, dword [esi]
mov dword [edx + esi], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edx + esi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + eax*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + ecx*4 + 0xc], eax
lea eax, [edx + 0x10]
add eax, esi
cmp eax, dword [esp + 0x1c]
jne 0x43d5f5
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43ebf4
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 8], ecx
mov esi, edx
push edi
mov ecx, 0x46210d
call fcn.00442cfb
push esi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
xor ebx, ebx
cmp esi, 0xffffffff
je 0x441cb7
push 0x220
lea eax, [ebp - 0x228]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x22c], 0x224
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x441cb0
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_Module32Next]
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
add esp, 8
test eax, eax
je 0x441d2b
lea eax, [ebp - 0x22c]
push eax
push esi
call ebx
test eax, eax
jne 0x441c87
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
mov edi, 1
mov eax, dword [ebp + 0x10]
sub eax, ecx
sar eax, 2
mov esi, dword [ecx]
add esi, ebx
mov dword [ebp - 4], esi
cmp eax, edi
jbe 0x441cff
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 8]
call ebx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, ecx
sar eax, 2
mov esi, dword [ecx + edi*4]
inc edi
add esi, dword [ebp - 4]
mov dword [ebp - 4], esi
cmp edi, eax
jb 0x441cd8
test ecx, ecx
je 0x441d40
mov edx, dword [ebp + 0x14]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x441d36
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x441d36
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ebx, dword [ebp - 0x218]
jmp 0x441cb0
push edx
push ecx
call fcn.0043dde6
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4420f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, ecx
mov ecx, 0x46210d
call fcn.00442cfb
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x44ec98
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x442201
push ebx
mov ebx, dword [ebp - 8]
push esi
lea esi, [ebp - 0x1b]
nop
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x442130
xorps xmm0, xmm0
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x1b]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], edx
cmp esi, eax
jne 0x44217a
pop esi
mov dword [edi + 0x14], 0xf
mov eax, edi
mov byte [edi], dl
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
lea ebx, [ebp - 0x1b]
sub ebx, esi
cmp ebx, 0x7fffffff
ja 0x44221c
mov dword [edi + 0x14], 0xf
cmp ebx, 0xf
ja 0x4421b2
push ebx
push esi
push edi
mov dword [edi + 0x10], ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebx + edi], 0
mov eax, edi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, ebx
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x4421c5
mov eax, closesocket
jmp 0x4421cf
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
lea edx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00405cd0
mov ecx, dword [ebp - 4]
mov esi, eax
push ebx
push dword [ebp - 0xc]
mov dword [edi], esi
push esi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
mov eax, edi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push str.error
lea ecx, [ebp - 0x18]
call fcn.004015d0
push 0x458a74
lea eax, [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.004015b0
int3
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40a60b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40a61a
pop dword [ebp - 0x48]
mov eax, 0x40a61a
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xc100a17e
add dword [ebp - 0x58], 0x8d51a3cd
mov dword [ebp - 0x54], 0x73b4c1c4
add dword [ebp - 0x54], 0xbe7e8a81
mov dword [ebp - 0x50], 0x1effe372
add dword [ebp - 0x50], 0x2d4c60bc
mov dword [ebp - 0x4c], 0x76d78eec
add dword [ebp - 0x4c], 0x89287114
lea eax, [ebp - 0x58]
push eax
mov eax, 0x4a595948
add eax, 0xb5e7770c
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x5b0addd9
sub dword [ebp - 0x58], 0xe6987483
mov dword [ebp - 0x54], 0x18ae6a15
add dword [ebp - 0x54], 0x28bdf760
mov dword [ebp - 0x50], 0x32f6e9d3
sub dword [ebp - 0x50], 0xcf877d67
mov dword [ebp - 0x4c], 0x2aebe43b
sub dword [ebp - 0x4c], 0x2aebe43b
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xf47bb896
sub eax, 0xf43ae84a
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3c178
push 0
call eax
mov ecx, 0x50e3
xor esi, esi
add esi, eax
mov edx, 0x41b000
add edx, dword [ebp - 0x48]
mov ebx, 0x8d8ca8e7
add ebx, 0xb81216d7
mov edi, dword [edx]
xor dword [ebp - 8], 0x73ce5469
sub edi, ebx
sub dword [ebp - 0x1c], eax
mov dword [esi], edi
add dword [ebp - 0x34], 0xa744cfa2
add esi, 0x47627caf
add esi, 0xb89d8355
add edx, 0x641e4977
add edx, 0x9be1b68d
loop 0x40a72d
add eax, 0xbfcda65f
sub eax, 0xbfcc7000
mov ebx, eax
add eax, 0xd669c62f
sub eax, 0xd669c62a
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x416b90
Capabilities:
Check for software breakpoints

Disassembly:
add al, dh
xor esi, dword [ebx]
xor esi, dword [ebx]
push ebp
loop 0x416bce
loopne 0x416bd0
add esp, edx
push esp
loop 0x416beb
add esp, eax
xor byte [ebx], al
bound edx, qword [ecx + 0x3f]
loop 0x416bf4
add dl, byte [ebp - 1]
pop ebp
add al, 0xe2
push ebx
add al, 0xe2
pop ebx
aas
cmp al, byte [ecx + 0x55]
add byte [eax], al
xchg ebp, eax
aad 0xff
xor al, 0xd7
xlatb
xchg edi, eax
loop 0x416c32
push edi
loop 0x416c11
add al, 0x55
loop 0x416bbc
pushal
jle 0x416bc5
inc eax
add byte [eax], al
pop ebp
inc ecx
outsb dx, byte [esi]
add byte [eax], 0
add byte [edx + edi - 8], dl
cmp bh, al
adc eax, 0x56570000
salc
jb 0x416b8a
add eax, dword [eax]
invalid
bound eax, qword [ecx - 0x6828c564]
lock xor esi, dword [ebx]
xor esi, dword [ebx]
xor esp, edx
adc ecx, dword [ecx]
add dword [ecx - 0x69acb1a0], ebx
sbb eax, 0xf030ccc0
loop 0x416c60
xadd byte [eax + 0x60], dh
push cs
sal byte [eax + 0x60], 0xe
adc al, 0x51
add byte [eax], al
pop ebp
cmp al, 0xcc
jb 0x416bb7
pushal
push ds
push es
ret 0xc340
xor esi, dword [ebx]
xor esp, edx
adc dword [ecx], ecx
add edx, esp
adc cl, byte [edi]
sal byte [edx], 0xc3
in eax, dx
push eax
add eax, 0xedc395d4
pop esp
or esp, 0xd5bd61b4
or dword [ecx], eax
loop 0x416c48
xadd byte [edx], dh
ret
arpl word [ecx], dx
add al, byte [esi]
popfd
xchg edx, esp
pop ds
or dword [0xce0312e2], eax
jle 0x416bf4
inc edx
loop 0x416c71
add al, al
jbe 0x416c2d
invalid
pushfd
add esp, eax
mov al, 0x40
loopne 0x416c97
or cl, dh
mov ch, 0x9c
mov ecx, 0x97d730cc
salc
invalid
adc al, 0x94
cmp ah, byte [edi + edi*8 + 0x5656ffff]
popal
xor byte [0x910e2ca], bl
jo 0x416ce3
invalid
adc byte [ebp + 0x11e800d0], al
test eax, edx
add al, ch
adc al, byte [ebp + 0x13e800d0]
test eax, edx
add al, dh
loop 0x416d0a
test eax, edx
add al, ch
adc dword [ebp + 0x12e800d0], eax
test eax, edx
add al, ch
adc eax, dword [ebp - 0x1d0fff30]
adc dword [ecx], ecx
add edx, esp
inc ebx
or dword [ecx], eax
loop 0x416d40
adc dword [eax - 0x70], edi
add byte [ebp + 0x1d01144e], dl
add al, 0xe2
jl 0x416ce4
mov ebp, 0x91dc003
add ah, al
xor byte [ebx], al
into
mov cl, 0x9c
cli
fidiv dword [edx + 3]
rcl byte [ebx], 9
add dl, byte [edi + 0x41dc70ce]
dec esi
adc al, 1
sbb eax, 0xf030cc80
dec dword [ebp + 0x12]
test eax, edx
add byte [edx], bh
sbb dword [ebp - 0xfa90001], ebp
lcall 0x90, 0x6c021a08
cmp bh, byte [esi]
jmp 0xe6d45
notrack jmp 0xe6d45