joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b1a
Capabilities:
Set file attributes

Disassembly:
test edx, 0xf0000000
je 0x405b28
and edx, 0x3fff
jmp fcn.00405a8c

Function at 0x405b2d
Capabilities:
Delete directory

Disassembly:
mov eax, 0x4a3f9c
call fcn.0049fb10
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00408a41
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x405b5c
push edi
call esi
test eax, eax
je 0x405b5c
mov al, 1
jmp 0x405ba0
test ebx, ebx
je 0x405b9e
lea ecx, [ebp - 0x18]
call fcn.00402e04
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00408b4a
test al, al
push dword [ebp - 0x18]
je 0x405b98
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401e40
test esi, esi
pop ecx
setne al
jmp 0x405ba0
call fcn.00401e40
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405baf
Capabilities:
Move file

Disassembly:
mov eax, 0x4a3fb8
call fcn.0049fb10
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
call fcn.00408a41
mov ecx, dword [ebp - 0x10]
mov esi, eax
call fcn.00408a41
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x14], eax
push 1
pop ebx
cmp esi, ebx
je 0x405bf8
cmp eax, ebx
je 0x405bf8
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x405bf8
mov al, bl
jmp 0x405c6f
test esi, esi
jne 0x405c01
cmp dword [ebp - 0x14], esi
je 0x405c6d
lea ecx, [ebp - 0x30]
call fcn.00402e04
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402e04
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x405c21
cmp dword [ebp - 0x14], ebx
jne 0x405c23
xor ebx, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00409065
test al, al
push dword [ebp - 0x24]
je 0x405c5e
push dword [ebp - 0x30]
call edi
mov esi, eax
push dword [ebp - 0x24]
call fcn.00401e40
push dword [ebp - 0x30]
call fcn.00401e40
pop ecx
test esi, esi
pop ecx
setne al
jmp 0x405c6f
call fcn.00401e40
push dword [ebp - 0x30]
call fcn.00401e40
pop ecx
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405d7a
Capabilities:
Create directory

Disassembly:
mov eax, 0x4a3fe8
call fcn.0049fb10
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00408a41
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x405db8
push 0
push edi
call esi
test eax, eax
je 0x405dab
mov al, 1
jmp 0x405e01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405dff
test ebx, ebx
je 0x405dff
lea ecx, [ebp - 0x18]
call fcn.00402e04
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00408b4a
test al, al
je 0x405df6
push 0
push dword [ebp - 0x18]
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401e40
test esi, esi
pop ecx
setne al
jmp 0x405e01
push dword [ebp - 0x18]
call fcn.00401e40
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x405f51
Capabilities:
Create directory

Disassembly:
mov eax, 0x4a402b
call fcn.0049fb10
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00408a41
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 1
je 0x405f96
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405f89
mov al, 1
jmp 0x40607d
call ebx
cmp eax, 0xb7
je 0x40602c
test edi, edi
je 0x40602c
lea ecx, [ebp - 0x18]
call fcn.00402e04
and dword [ebp - 4], 0
cmp edi, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.00408b4a
test al, al
je 0x40601f
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405fd2
mov bl, 1
jmp 0x40601a
call ebx
cmp eax, 0xb7
je 0x405fdf
xor bl, bl
jmp 0x40601a
lea ecx, [ebp - 0x50]
call fcn.004067f0
lea ecx, [ebp - 0x28]
call fcn.00402e04
push 0
lea ecx, [ebp - 0x50]
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00406c72
test al, al
jne 0x406008
xor bl, bl
jmp 0x406011
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.00401e40
pop ecx
push dword [ebp - 0x18]
jmp 0x406075
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00401e40
pop ecx
call ebx
cmp eax, 0xb7
je 0x406039
xor al, al
jmp 0x40607d
lea ecx, [ebp - 0x88]
call fcn.004067f0
lea ecx, [ebp - 0x60]
call fcn.00402e04
push 0
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 2
call fcn.00406c72
test al, al
jne 0x406069
xor bl, bl
jmp 0x406072
mov ebx, dword [ebp - 0x68]
shr ebx, 4
and bl, 1
push dword [ebp - 0x60]
call fcn.00401e40
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406096
Capabilities:
Delete file

Disassembly:
mov eax, 0x4a4040
call fcn.0049fb10
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00406bf5
cmp eax, 0xffffffff
je 0x4060ca
test al, 0x10
jne 0x4060ca
test al, 1
je 0x4060ca
mov edx, eax
mov ecx, edi
and edx, 0xfffffffe
call fcn.00405a8c
test al, al
je 0x40612b
mov ecx, edi
call fcn.00408a41
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
cmp ebx, 1
je 0x4060e9
push edi
call esi
test eax, eax
je 0x4060e9
mov al, 1
jmp 0x40612d
test ebx, ebx
je 0x40612b
lea ecx, [ebp - 0x18]
call fcn.00402e04
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00408b4a
test al, al
push dword [ebp - 0x18]
je 0x406125
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401e40
test esi, esi
pop ecx
setne al
jmp 0x40612d
call fcn.00401e40
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x406bf5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4a413c
call fcn.0049fb10
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00408a41
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x406c21
push edi
call esi
cmp eax, 0xffffffff
jne 0x406c63
test ebx, ebx
je 0x406c60
lea ecx, [ebp - 0x18]
call fcn.00402e04
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00408b4a
test al, al
push dword [ebp - 0x18]
je 0x406c5a
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401e40
pop ecx
mov eax, esi
jmp 0x406c63
call fcn.00401e40
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x407496
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4a4208
call fcn.0049fb10
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.00427ebb
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x18], ebx
je 0x40756c
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4074d2
mov eax, ebx
add eax, eax
push eax
call fcn.00401e0c
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x14], ebx
je 0x407565
cmp ebx, dword [ebp - 0x18]
ja 0x407565
lea ecx, [ebp - 0x2c]
call fcn.00402e04
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
jbe 0x40754d
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x407542
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402f88
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 1]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
call fcn.004404d2
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
call fcn.00401524
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x14]
jb 0x407510
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x2c]
call fcn.00401e40
push esi
call fcn.00401e40
cmp dword [ebp - 0x18], ebx
pop ecx
pop ecx
sete al
jmp 0x40756e
push esi
call fcn.00401e40
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40766c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp byte [ecx + 5], bl
push esi
je 0x40768e
cmp byte [ecx + 6], bl
je 0x40768e
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 4], ecx
jmp 0x4076ce
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4076b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4076b2
xor al, al
jmp 0x4076d0
push 1
push ebx
push ebx
push dword [ebp - 4]
call fcn.0049fe10
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
pop ebx
leave
ret 4
Function at 0x40a239
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, SysReAllocStringLen
mov eax, dword [esi]
mov dword [esi + 4], ebx
lea ecx, [ebp - 0x14]
and byte [eax], bl
call fcn.004a0300
cmp dword [ebp - 0x14], 0x80000004
jb 0x40a292
lea edx, [ebx - 0x7ffffffe]
lea ecx, [ebp - 0x14]
call fcn.004a0300
lea edi, [ebp - 0x14]
mov dword [ebp - 4], 4
mov edx, dword [edi]
mov ecx, esi
call fcn.0040a2dd
add edi, 4
dec dword [ebp - 4]
jne 0x40a27b
inc ebx
cmp ebx, 3
jb 0x40a263
mov ecx, esi
call fcn.00402a4e
mov ecx, esi
call fcn.00402a11
cmp dword [esi + 4], 0
jne 0x40a2d8
xor edx, edx
lea ecx, [ebp - 0x14]
call fcn.004a0300
push 1
pop edi
mov eax, edi
mov ecx, esi
shr eax, 1
xor eax, edi
mov edx, dword [ebp + eax*4 - 0x14]
call fcn.0040a2dd
inc edi
cmp edi, 4
jb 0x40a2b3
mov ecx, esi
call fcn.00402a4e
mov ecx, esi
call fcn.00402a11
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4134f4
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4a4957
call fcn.0049fb10
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00402e04
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.00402e04
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402e04
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00402e04
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.00402e04
and byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.00402e04
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.00402e04
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x413c81
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4a4a63
call fcn.0049fb10
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00402f1c
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00402f1c
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00402f1c
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00402f1c
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00402f1c
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.00402f1c
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.00402f1c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41970f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 4]
push ebx
push esi
mov esi, dword [ecx]
xor edx, edx
push edi
test eax, eax
mov ebx, 0x159a55e5
mov edi, 0x1f123bb5
mov dword [ebp - 4], eax
jbe 0x41975f
mov eax, 0xffff
mov ecx, ebx
and ecx, eax
imul ecx, ecx, 0x9069
shr ebx, 0x10
add ebx, ecx
mov ecx, edi
and ecx, eax
imul ecx, ecx, 0x4650
shr edi, 0x10
add edi, ecx
mov ecx, edi
xor cl, byte [ebp + 8]
mov byte [edx + esi], cl
inc edx
cmp edx, dword [ebp - 4]
jb 0x419733
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x419766
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ecx + 4]
and dword [ebp - 4], 0
mov ecx, dword [ecx]
push ebx
push edi
push 1
pop edx
mov edi, 0x159a55e5
test eax, eax
mov ebx, 0x1f123bb5
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edx
jbe 0x41992a
push esi
mov esi, 0xffff
jmp 0x4197a3
push 1
pop edx
mov eax, edi
and eax, esi
imul eax, eax, 0x9069
shr edi, 0x10
add edi, eax
mov eax, ebx
and eax, esi
imul eax, eax, 0x4650
shr ebx, 0x10
add ebx, eax
mov eax, edi
shl eax, 0x10
add eax, ebx
xor eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, edx
shr eax, 1
test ecx, ecx
mov dword [ebp - 8], eax
je 0x419911
cmp dword [ebp - 4], 0x400
jb 0x419911
lea ecx, [ebp - 8]
call fcn.00419930
mov ecx, eax
mov eax, dword [ebp - 8]
shr dword [ebp - 8], 3
and eax, 7
inc ecx
test eax, eax
mov dword [ebp - 0xc], ecx
je 0x4198da
lea ecx, [ebp - 8]
call fcn.00419930
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
push 1
pop eax
shl eax, cl
cmp eax, dword [ebp - 4]
jae 0x41982f
push 1
inc ecx
pop eax
shl eax, cl
cmp eax, dword [ebp - 4]
jb 0x419821
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
cmp eax, ecx
mov dword [ebp - 0x10], eax
jbe 0x41983c
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x15
mov dword [ebp - 0x18], 5
ja 0x419850
mov dword [ebp - 0x18], 4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
push 1
pop eax
shl eax, cl
mov ecx, edi
and ecx, esi
imul ecx, ecx, 0x9069
shr edi, 0x10
add edi, ecx
mov ecx, ebx
and ecx, esi
dec eax
imul ecx, ecx, 0x4650
shr ebx, 0x10
add ebx, ecx
mov ecx, edi
shl ecx, 0x10
add ecx, ebx
and eax, edx
xor ecx, dword [ebp + 0xc]
add eax, 6
cmp eax, dword [ebp - 0x10]
mov edx, ecx
mov dword [ebp - 8], edx
ja 0x419853
mov dword [ebp - 0x24], 1
mov ecx, eax
mov eax, dword [ebp - 0x24]
shl eax, cl
dec eax
and eax, edx
cmp eax, dword [ebp - 4]
jb 0x4198d3
mov eax, edi
and eax, esi
imul eax, eax, 0x9069
shr edi, 0x10
add edi, eax
mov eax, ebx
and eax, esi
mov edx, edi
imul eax, eax, 0x4650
shr ebx, 0x10
add ebx, eax
shl edx, 0x10
add edx, ebx
xor edx, dword [ebp + 0xc]
jmp 0x419853
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
cmp ecx, eax
jbe 0x4198e9
mov dword [ebp - 0xc], eax
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
add dword [ebp - 4], ecx
add eax, edx
mov dword [ebp - 0x24], eax
sub eax, dword [ebp - 0x18]
test ecx, ecx
jbe 0x41991d
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x24]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 0x10]
jne 0x419904
jmp 0x41991d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
inc dword [ebp - 4]
mov byte [ecx + edx], al
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x20]
jb 0x4197a0
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x41bac9
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
mov eax, ecx
jbe 0x41bbe0
mov ecx, edx
mov edx, dword [esp + 4]
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
dec ecx
jne 0x41bad9
ret 4

Function at 0x41ef00
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0x41ef2d
push ebx
push edi
movzx edi, byte [esi + ecx]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x4c7340]
xor eax, edi
inc esi
cmp esi, edx
jb 0x41ef0c
pop edi
pop ebx
not eax
pop esi
ret
Function at 0x42021a
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4a5832
call fcn.0049fb10
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], bl
mov byte [esi + 0x33], bl
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.004202c9
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.00413d66
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x422b09
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4a5bf2
call fcn.0049fb10
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402e04
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00422b63
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x422bb5
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4a5c3d
call fcn.0049fb10
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0042d24e
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00422c0b
push dword [esi + 0x24]
call fcn.00401e40
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00432db9
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00423187
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x424345
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4a5e32
call fcn.0049fb10
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x48]
mov dword [ebp - 4], edi
call fcn.00402e04
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00402e04
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi], fcn.00423b36
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x424ed6
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x4a5ec1
call fcn.0049fb10
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov byte [esi + 0xa], bl
mov byte [esi + 0xb], bl
call fcn.004026dd
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004026dd
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004026dd
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004026dd
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x427694
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4a6276
call fcn.0049fb10
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.00402f1c
and dword [ebp - 4], 0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.00427898
mov eax, dword [edi + 0x28]
add edi, 0x34
mov dword [esi + 0x28], eax
mov al, byte [edi - 8]
mov byte [esi + 0x2c], al
mov al, byte [edi - 7]
mov byte [esi + 0x2d], al
mov eax, dword [edi - 4]
push edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
mov dword [esi + 0x30], eax
call fcn.00427829
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x427715
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4a62a9
call fcn.0049fb10
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004277f3
mov al, byte [edi + 8]
and dword [ebp - 4], 0
mov byte [esi + 8], al
mov al, byte [edi + 9]
mov byte [esi + 9], al
mov al, byte [edi + 0xa]
mov byte [esi + 0xa], al
mov al, byte [edi + 0xb]
mov byte [esi + 0xb], al
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00402739
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00402739
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00402739
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00402739
mov eax, dword [edi + 0x40]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4