joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1840
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x4a185d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x4a196f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x4a1890
je 0x4a18dc
sub ecx, 0x2b
je 0x4a18d2
sub ecx, 4
je 0x4a18d7
dec ecx
sub ecx, 0xa
jb 0x4a18c1
jmp 0x4a18df
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4a18a2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4a18b0
jmp 0x4a18df
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x4a18df
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x4a18df
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x4a18df
mov byte [eax], 0x3e
jmp 0x4a18df
mov byte [eax], 0x3f
jmp 0x4a18df
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4a186f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x4a192f
cmp byte [esp + 3], 0xff
jne 0x4a192f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x4a1967
cmp dl, 0xff
je 0x4a1967
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x4a1868
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x4a24b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4a24d0
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4a24be
pop edi
pop esi
pop ebx
ret
Function at 0x4a50b4
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ebx, dword [esp]
and ebx, 0xff
mov ecx, dword [esp]
shr ecx, 8
and ecx, 0xff
mov eax, dword [esp]
shr eax, 0x10
and eax, 0xff
mov esi, dword [esp]
shr esi, 0x18
mov dword [esp + 8], esi
cmp dword [esp + 4], 0x100
jne 0x4a5145
movzx ebx, byte [ebx + 0x4d82e8]
mov esi, dword [edx + 0xc]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x4d81e8]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x4d81e8]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x4d82e8]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
cmp dword [esp + 4], 0xc0
jb 0x4a519f
movzx ebx, byte [ebx + 0x4d82e8]
mov esi, dword [edx + 8]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x4d82e8]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x4d81e8]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x4d81e8]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
movzx ebx, byte [ebx + 0x4d81e8]
mov esi, dword [edx + 4]
and esi, 0xff
xor ebx, esi
movzx ebx, byte [ebx + 0x4d81e8]
mov esi, dword [edx]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x4e811c]
movzx ecx, byte [ecx + 0x4d82e8]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ecx, esi
movzx ecx, byte [ecx + 0x4d81e8]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ecx, esi
xor ebx, dword [ecx*4 + 0x4e851c]
movzx eax, byte [eax + 0x4d81e8]
mov ecx, dword [edx + 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
movzx eax, byte [eax + 0x4d82e8]
mov ecx, dword [edx]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
xor ebx, dword [eax*4 + 0x4e891c]
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x4d82e8]
mov ecx, dword [edx + 4]
shr ecx, 0x18
xor eax, ecx
movzx eax, byte [eax + 0x4d82e8]
mov edx, dword [edx]
shr edx, 0x18
xor eax, edx
xor ebx, dword [eax*4 + 0x4e8d1c]
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x4a525c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
and ecx, 0xff
imul ecx, ecx, 0x1010101
mov esi, dword [edx + ebx*4]
xor esi, ecx
mov dword [eax + ebx*4], esi
mov esi, dword [edx + ebx*4 + 4]
xor esi, ecx
mov dword [eax + ebx*4 + 4], esi
mov esi, dword [edx + ebx*4 + 8]
xor esi, ecx
mov dword [eax + ebx*4 + 8], esi
mov esi, dword [edx + ebx*4 + 0xc]
xor esi, ecx
mov dword [eax + ebx*4 + 0xc], esi
add ebx, 4
cmp ebx, 0x40
jb 0x4a526c
pop esi
pop ebx
ret
Function at 0x4a6030
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], pe_nt_image_headers32
mov esi, 0x4d81e8
mov ebx, 0x4e811c
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.004a4f80
mov dword [esp + 8], eax
mov eax, edi
call fcn.004a4f90
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.004a4f80
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.004a4f90
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x4a6049
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a6484
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jb 0x4a64d8
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x4da618]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x4daa18]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x4dae18]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x4db218]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x4a6493
pop edi
pop esi
pop ebx
ret

Function at 0x4abfc4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0x4e9144
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0x4dcc4c]
mov eax, dword [esi*4 + 0x4dcc8c]
xor eax, dword [esp]
call fcn.004abf60
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.004abf9c
mov dword [ebx], eax
mov edx, dword [esi*4 + 0x4dcc5c]
mov eax, dword [esi*4 + 0x4dcc9c]
xor eax, dword [esp]
call fcn.004abf60
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.004abf9c
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0x4dcc6c]
mov eax, dword [esi*4 + 0x4dccac]
xor eax, dword [esp]
call fcn.004abf60
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.004abf9c
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0x4dcc7c]
mov eax, dword [esi*4 + 0x4dccbc]
xor eax, dword [esp]
call fcn.004abf60
mov edi, eax
mov eax, edi
call fcn.004abf9c
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x4abfd0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ac128
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x4ac15d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x4ac183
inc ebx
cmp ebx, 0xf
jne 0x4ac16d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x4ac13f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cd4f8
Capabilities:
Set socket configuration

Disassembly:
push ebx
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebx, eax
mov eax, dword [0x4e419c]
push eax
lea eax, [esp + 4]
push eax
push 0x1005
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
mov eax, dword [0x4e419c]
push eax
lea eax, [esp + 4]
push eax
push 0x1006
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
mov eax, dword [0x4e419c]
push eax
lea eax, [esp + 8]
push eax
push 0x1002
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
mov eax, dword [0x4e419c]
push eax
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
pop ecx
pop edx
pop ebx
ret

Function at 0x4cd5fc
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 5], cl
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404d70
xor eax, eax
push ebp
push 0x4cd779
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
cmp dword [ebp - 4], 0
je 0x4cd756
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004cd024
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00404958
mov eax, ebx
xor ecx, ecx
mov edx, 0x10
call fcn.004034c0
mov word [ebx], 2
push edi
call sub.wsock32.dll_htons
mov word [ebx + 2], ax
mov eax, dword [ebp - 4]
call fcn.004cceb8
test al, al
je 0x4cd694
mov eax, dword [ebp - 4]
call fcn.00404d80
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebx + 4], eax
jmp 0x4cd6d1
lea ecx, [ebp - 0x14]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004cd8c4
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00404958
cmp dword [ebp - 4], 0
jne 0x4cd6c0
mov dword [esi], 0x271e
jmp 0x4cd756
mov eax, dword [ebp - 4]
call fcn.00404d80
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebx + 4], eax
mov al, byte [ebp - 5]
dec al
jne 0x4cd6f2
push esi
mov ecx, 0x11
mov edx, 2
mov eax, 2
call fcn.004cd3e0
mov dword [ebp - 0xc], eax
jmp 0x4cd756
push esi
mov ecx, 6
mov edx, 1
mov eax, 2
call fcn.004cd3e0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4cd723
cmp byte [ebp + 0x10], 0
jne 0x4cd723
mov ecx, esi
mov dl, byte [ebp + 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004cd420
cmp dword [ebp - 0xc], 0xffffffff
je 0x4cd756
mov ecx, esi
mov edx, 0x1f4
mov eax, dword [ebp - 0xc]
call fcn.004cd498
push 0x10
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_connect
inc eax
jne 0x4cd756
call sub.wsock32.dll_WSAGetLastError
mov dword [esi], eax
lea eax, [ebp - 0xc]
call fcn.004cd578
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd780
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004048e4
lea eax, [ebp - 4]
call fcn.004048c0
ret
Function at 0x4cd7b4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp + 0xc]
push ebx
lea ebx, [ebp - 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push ebx
push ecx
push edx
push eax
call sub.wsock32.dll_sendto
mov ebx, eax
mov eax, ebx
call fcn.004cd414
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4cd84c
Capabilities:
Get socket status

Disassembly:
push esi
push edi
add esp, 0xfffffef4
mov esi, ecx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
test dl, dl
je 0x4cd87e
push esp
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
jmp 0x4cd88f
push esp
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
call sub.wsock32.dll_select
add esp, 0x10c
pop edi
pop esi
ret

Function at 0x4cd8c4
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00404d70
xor eax, eax
push ebp
push 0x4cd96c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404d80
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4cd94f
mov eax, dword [ebp - 0xc]
movsx eax, word [eax + 0xa]
test eax, eax
jns 0x4cd90e
add eax, 3
sar eax, 2
cmp esi, eax
jg 0x4cd946
dec esi
mov eax, esi
shl eax, 2
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
lea eax, [edx + eax]
lea edx, [ebp - 4]
mov ecx, 4
call fcn.00403050
mov eax, dword [ebp - 4]
call fcn.004ce054
mov edx, eax
mov eax, ebx
call fcn.00404ab8
jmp 0x4cd956
mov eax, ebx
call fcn.004048c0
jmp 0x4cd956
mov eax, ebx
call fcn.004048c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd973
lea eax, [ebp - 8]
call fcn.004048c0
ret

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

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
push ebx
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x4cda54
mov ax, word [esp + 6]
call fcn.004ce04c
movzx eax, ax
jmp 0x4cda56
xor eax, eax
add esp, 0x14
pop ebx
ret

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

Disassembly:
push ebx
push esi
add esp, 0xffffffec
mov esi, edx
mov ebx, eax
mov dword [esp], 0x10
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x10
call fcn.004034c0
push esp
lea eax, [esp + 8]
push eax
push ebx
call sub.wsock32.dll_getsockname
mov eax, dword [esp + 8]
call fcn.004ce054
mov edx, eax
mov eax, esi
call fcn.00404ab8
add esp, 0x14
pop esi
pop ebx
ret
Function at 0x4cfcc4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4cfd7c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0xc], ebx
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4cfd94
call fcn.0040c4ec
xor ebx, ebx
mov eax, 1
mov edx, dword [ebp - 4]
mov dl, byte [edx + eax - 1]
xor bl, dl
inc eax
cmp eax, 0x11
jne 0x4cfd07
lea eax, [ebp - 0x10]
push eax
xor eax, eax
mov al, bl
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4cfdac
call fcn.0040c4ec
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00404b88
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004ceae8
cmp dword [esi + 0x54], 0
jle 0x4cfd5e
mov edx, 0x4cfdc0
mov eax, 0x4000007
call fcn.00466930
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cfd83
lea eax, [ebp - 0x10]
call fcn.004048c0
lea eax, [ebp - 4]
call fcn.004048c0
ret

Function at 0x4cfdd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cffa9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
lea eax, [ebp - 8]
call fcn.004048c0
xor ecx, ecx
push ebp
push 0x4cff46
push dword fs:[ecx]
mov dword fs:[ecx], esp
jmp 0x4cfe68
mov eax, ebx
call fcn.004ced6c
test al, al
je 0x4cfe59
mov eax, ebx
call fcn.004cef04
test eax, eax
jne 0x4cfe48
mov edx, 0x4cffc4
mov eax, 0x4000007
call fcn.00466930
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cff8e
lea ecx, [ebp - 8]
mov edx, 0x15
mov eax, ebx
call fcn.004cebb4
jmp 0x4cfe68
mov eax, 1
call fcn.004cce88
call fcn.004cce14
cmp dword [ebp - 8], 0
je 0x4cfe16
xor eax, eax
push ebp
push 0x4cfea7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov ecx, 3
mov edx, 0x11
mov eax, dword [ebp - 8]
call fcn.00404de0
mov eax, dword [ebp - 0xc]
call fcn.0040b7c0
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cfec0
xor edx, edx
mov eax, 1
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + eax - 1]
xor dl, cl
inc eax
cmp eax, 0x11
jne 0x4cfec7
cmp dl, byte [ebp - 0xd]
je 0x4cfeea
mov edx, 0x4cffe0
mov eax, 0x4001002
call fcn.00466930
lea eax, [ebp - 0xc]
push eax
mov ecx, 9
mov edx, 7
mov eax, dword [ebp - 8]
call fcn.00404de0
xor eax, eax
push ebp
push 0x4cff23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0040b7c0
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cff3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cff8e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cffb0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004048e4
ret
Function at 0x403d40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 8], 0
je 0x403daf
push edi
xor edi, edi
test ebx, ebx
je 0x403d70
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x403d80
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov al, byte [ecx + edx]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
inc dword [esi + 0xc]
inc edi
cmp edi, ebx
jb 0x403d51
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 0
lea ecx, [ebp - 4]
push ecx
push 0x10000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403d70
mov eax, dword [ebp - 4]
test eax, eax
je 0x403d70
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x403d59
push esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0040e570
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x403d4a
Function at 0x40d9b0
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
push edi
mov edi, eax
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.00402060
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x40dabf
mov eax, dword [0x4b8fbc]
test eax, eax
je 0x43254c
mov byte [ebp - 1], 0
mov esi, 0x4ba158
cmp eax, 1
je 0x432562
push 0x4b8fbc
lea ecx, [ebp - 1]
mov eax, 0x4b8fd4
call fcn.004100b0
test al, al
je 0x432589
mov cl, byte [0x4ba158]
mov bl, byte [0x4ba159]
push 0x4b8fb8
lea edx, [ebp - 0x438]
push edx
push 0x104
push 0x4b8fd4
mov byte [0x4b8fc0], cl
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [0x4b8fbc]
push eax
push 0x4b8fd4
call fcn.004015c0
test eax, eax
jne 0x43259f
cmp bl, 1
je 0x4325c5
call fcn.004106d0
call fcn.00410640
cmp byte [0x4b8fc0], 0
jne 0x40da89
mov esi, 0x4b9780
call fcn.0040e5e0
push 1
mov ecx, 0x4b91e0
call fcn.00409610
cmp byte [0x4b8fc0], 0
jne 0x40daa8
mov ecx, 0x4b9780
call fcn.00401130
mov ebx, 0x4ba158
call fcn.0040ed30
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x228]
mov dword [0x4a855c], 0xffffffff
push ecx
jmp 0x40dab9
mov ebx, dword [0x4b8fc4]
push 0xffffffffffffffff
push 1
mov byte [ebp - 2], 0
call fcn.00403e80
mov dl, byte [0x4a8550]
mov bl, byte [ebp - 2]
mov byte [0x4ba15b], dl
jmp 0x40da4b
lea eax, [ebp - 0x228]
mov dword [0x4a855c], 1
push eax
jmp 0x40dab9
mov ebx, 0x4ba158
call fcn.0040ed30
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4a855c], 1
jmp 0x40dabf
call fcn.00436f73
test al, al
jne 0x40da6c
push 0x104
lea edx, [ebp - 0x438]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [ebp - 1], 0
je 0x432643
mov edi, 0x4958a8
lea esi, [ebp - 0x14]
call fcn.00401d80
mov edi, 0x4b8fd4
mov eax, esi
call fcn.0040d690
mov edi, 0x4958a8
mov eax, esi
call fcn.0040d690
mov ecx, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x228]
push eax
push ecx
lea edx, [ebp - 0x438]
push edx
push 0x4958ac
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, esi
call fcn.004023b0
jmp 0x40daa8
push 1
lea eax, [ebp - 0x228]
push eax
push edi
lea ecx, [ebp - 0x438]
push ecx
push 0x4958ac
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40daa8
Function at 0x40deb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
call fcn.00403780
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareAutoIt_v3AutoIt
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b54e
mov edx, dword [ebp - 8]
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0
push str.Include
push edx
xor bl, bl
call edi
test eax, eax
jne 0x40df64
mov eax, dword [ebp - 4]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412ac9
add esp, 4
lea esi, [ebp - 0x10]
call fcn.00410b30
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push str.Include
push ecx
call edi
test eax, eax
jne 0x40df5c
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [ebp + 8]
mov ebx, esi
call fcn.004022c0
mov bl, 1
lea esi, [ebp - 0x10]
call fcn.00410ae0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret