joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c23
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
push 0x5c
push eax
mov byte [ecx + eax], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x401cf2
push edi
mov byte [esi], bl
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x403]
mov byte [ebp - 0x404], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
inc esi
push 0x5c
push esi
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
cmp eax, ebx
pop ecx
pop edi
je 0x401c93
mov byte [eax], bl
inc eax
push eax
lea eax, [ebp - 0x404]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x401ca4
lea eax, [ebp - 0x404]
push esi
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
mov byte [esi], bl
pop ecx
push dword [ebp + 8]
call fcn.00401b91
pop ecx
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401cf2
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
test eax, eax
je 0x401ce2
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401cf2
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
pop esi
pop ebx
leave
ret

Function at 0x401cf6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.00406ff0
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x401d33
xor eax, eax
jmp 0x401d94
push 0x2000
lea eax, [ebp - 0x2008]
push esi
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 0x10]
lea eax, [ebp - 0x2008]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x2008]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x18
push eax
lea eax, [ebp - 0x2008]
push eax
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
test eax, eax
je 0x401d89
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401d2f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
pop esi
leave
ret
Function at 0x403034
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 4]
mov dword [ebp - 8], edi
cmp eax, 0xffffffff
jne 0x403056
push 1
pop eax
jmp 0x4030eb
push ebx
push 1
mov dword [ebp - 0x110], eax
pop ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push edi
lea eax, [ebp - 0x114]
push edi
push eax
push edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x114], ebx
call sub.WSOCK32.dll_select
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
cmp eax, edi
je 0x4030e7
lea eax, [ebp - 0x114]
push eax
push dword [esi + 4]
call sub.WSOCK32.dll___WSAFDIsSet
cmp eax, edi
je 0x4030e7
mov al, byte [0x40c340]
push 2
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push ebx
push eax
push dword [esi + 4]
call sub.WSOCK32.dll_recv
mov esi, eax
cmp esi, edi
jg 0x4030e7
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2744
je 0x4030e4
cmp eax, 0x2745
je 0x4030e4
cmp eax, 0x2746
je 0x4030e4
cmp eax, 0x2726
je 0x4030e4
cmp esi, edi
mov dword [ebp - 8], edi
jne 0x4030e7
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x40610a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40611c
xor eax, eax
ret
and eax, 0x10
cmp al, 0x10
jne 0x40612d
xor eax, eax
cmp dword [esp + 8], eax
setne al
ret
xor eax, eax
cmp dword [esp + 8], eax
sete al
ret
Function at 0x403140
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x27], 0
je 0x403162
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x15]
inc eax
xor byte [edx], cl
cmp eax, 0x26
jb 0x403150
mov byte [esi + 0x27], 0
pop esi
ret

Function at 0x403170
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x403192
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x15]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x403180
mov byte [esi + 0xb], 0
pop esi
ret

Function at 0x404f80
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 0x404fcc
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x404faf
cmp edi, 2
jb 0x404faf
cmp byte [esi], cl
jne 0x404faf
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 + 0x48e860]
test edi, edi
jne 0x404f95
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x404ffb
cmp cl, 0x23
jne 0x404fe2
cmp byte [esi], cl
jne 0x404fe2
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 + 0x48e860]
test cl, cl
jne 0x404fd3
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x4050e0
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 0x4050f4
mov dword [eax], 0
mov edx, 0x48e6b0
call fcn.00405010
mov edi, eax
test edi, edi
je 0x4051d1
push edi
call fcn.0045ad29
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x4051c8
push 2
push 0
push edi
call fcn.0045b673
add esp, 0xc
test eax, eax
jne 0x4051c8
push edi
call fcn.0045ad29
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x4051c8
push 0
push esi
push edi
call fcn.0045b673
add esp, 0xc
test eax, eax
jne 0x4051c8
cmp ebx, 0xffffffff
je 0x4051c8
mov eax, dword [0x4b6d20]
test eax, eax
je 0x405169
inc dword [eax + 0x370]
push ebx
call fcn.00462c9a
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x4051c8
push edi
push ebx
push 1
push eax
call fcn.0045e2d0
push edi
mov esi, eax
call fcn.0045b318
add esp, 0x14
cmp esi, ebx
je 0x4051b5
mov eax, dword [0x4b6d20]
test eax, eax
je 0x4051a1
dec dword [eax + 0x370]
push dword [ebp - 4]
call fcn.0045e0cf
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 0x4051be
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.0045b318
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ad10
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 0x40ad4d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40ad33
cmp byte [esi], bl
jne 0x40ad33
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 + 0x48e860]
test bl, bl
jne 0x40ad24
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040aca0
Function at 0x40f490
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4b6d20]
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 + 0x48e860]
sub esi, 1
jne 0x40f4c6
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [ebp - 8]
cmp ecx, esi
jne 0x40f510
inc ecx
test esi, esi
je 0x40f4fc
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x40f501
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00415320
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 0x413eb0
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 0x413f31
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x413eec
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.00415620
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00405530
mov edx, dword [esi]
mov ecx, 0x4b6d1c
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.0045bec3
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.00405530
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d0f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41d126
mov eax, dword [0x4b6d20]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41d116
dec dword [eax + 0x370]
push ecx
call fcn.0045e0cf
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41d15a
mov eax, dword [0x4b6d20]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41d14a
dec dword [eax + 0x370]
push ecx
call fcn.0045e0cf
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41d18e
mov eax, dword [0x4b6d20]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41d17e
dec dword [eax + 0x370]
push ecx
call fcn.0045e0cf
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 0x41d1de
mov eax, dword [0x4b6d20]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41d1ce
dec dword [eax + 0x370]
push ecx
call fcn.0045e0cf
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41d212
mov eax, dword [0x4b6d20]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41d202
dec dword [eax + 0x370]
push ecx
call fcn.0045e0cf
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41d246
mov eax, dword [0x4b6d20]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41d236
dec dword [eax + 0x370]
push ecx
call fcn.0045e0cf
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0041fa40
Function at 0x4293c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d77a
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.0043d6bf
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 0x42944d
push eax
push esi
call fcn.0043dba0
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.00429360
push 0x49b88c
lea eax, [ebp - 0x1c]
push eax
call fcn.00456ed7
int3

Function at 0x429f10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x429f32
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x13]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x429f20
mov byte [esi + 5], 0
mov eax, esi
pop esi
ret

Function at 0x429f70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x14], edx
mov ebx, ecx
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x42a001
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x42a001
nop dword [eax + eax]
mov eax, ebx
lea ecx, [esp + 0x34]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x429fe6
test dl, dl
je 0x429fe2
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x429fe6
add ecx, 2
add eax, 2
test dl, dl
jne 0x429fc6
xor eax, eax
jmp 0x429feb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x429ff5
cmp dword [esp + 0x24], eax
ja 0x42a00a
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x429fc0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x18]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x42ab20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x40], 0
je 0x42ab42
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x13]
inc eax
xor byte [edx], cl
cmp eax, 0x3f
jb 0x42ab30
mov byte [esi + 0x40], 0
mov eax, esi
pop esi
ret
Function at 0x42ae80
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 0x42aea5
pop edi
xor al, al
pop esi
ret 4
movups xmm0, xmmword [0x4b721c]
push 0x1c
push esi
movups xmmword [edi], xmm0
push 1
movq xmm0, qword [0x4b722c]
movq qword [edi + 0x10], xmm0
mov eax, dword [0x4b7234]
mov dword [edi + 0x18], eax
mov ax, word [0x4b7238]
mov word [edi + 0x1c], ax
call edi
push 0x1000
push 0
push edi
mov esi, eax
call fcn.00457a50
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 0x42af00
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [0x4b716c]
cmp ecx, 1
jne 0x42af12
mov dword [0x4b7260], ecx
ret
cmp ecx, 2
jne 0x42af1e
mov dword [0x4b7260], ecx
ret
cmp ecx, 3
jne 0x42af2e
mov dword [0x4b7260], 4
ret
cmp ecx, 4
jne 0x42af3e
mov dword [0x4b7260], 5
ret
cmp ecx, 5
jne 0x42af4e
mov dword [0x4b7260], 6
ret
cmp ecx, 6
jne 0x42af5e
mov dword [0x4b7260], 3
ret
cmp ecx, 7
jne 0x42af6e
mov dword [0x4b7260], 8
ret
cmp ecx, 8
jne 0x42af7e
mov dword [0x4b7260], 9
ret
cmp ecx, 9
jne 0x42af8e
mov dword [0x4b7260], 0xc
ret
cmp ecx, 0xa
je 0x42b19c
cmp ecx, 0xb
jne 0x42afa7
mov dword [0x4b7260], 0x10
ret
cmp ecx, 0xc
jne 0x42afb7
mov dword [0x4b7260], 0x11
ret
cmp ecx, 0xd
jne 0x42afc7
mov dword [0x4b7260], 0x12
ret
cmp ecx, 0xe
jne 0x42afd7
mov dword [0x4b7260], 0x14
ret
cmp ecx, 0xf
jne 0x42afe7
mov dword [0x4b7260], 0x1b
ret
cmp ecx, 0x10
jne 0x42aff7
mov dword [0x4b7260], 0x20
ret
cmp ecx, 0x11
jne 0x42b007
mov dword [0x4b7260], 0x41
ret
cmp ecx, 0x12
jne 0x42b017
mov dword [0x4b7260], 0x42
ret
cmp ecx, 0x13
jne 0x42b027
mov dword [0x4b7260], 0x43
ret
cmp ecx, 0x14
jne 0x42b037
mov dword [0x4b7260], 0x44
ret
cmp ecx, 0x15
jne 0x42b047
mov dword [0x4b7260], 0x45
ret
cmp ecx, 0x16
jne 0x42b057
mov dword [0x4b7260], 0x46
ret
cmp ecx, 0x17
jne 0x42b067
mov dword [0x4b7260], 0x47
ret
cmp ecx, 0x18
jne 0x42b077
mov dword [0x4b7260], 0x48
ret
cmp ecx, 0x19
jne 0x42b087
mov dword [0x4b7260], 0x49
ret
cmp ecx, 0x1a
jne 0x42b097
mov dword [0x4b7260], 0x4a
ret
cmp ecx, 0x1b
jne 0x42b0a7
mov dword [0x4b7260], 0x4b
ret
cmp ecx, 0x1c
jne 0x42b0b7
mov dword [0x4b7260], 0x4c
ret
cmp ecx, 0x1d
jne 0x42b0c7
mov dword [0x4b7260], 0x4d
ret
cmp ecx, 0x1e
jne 0x42b0d7
mov dword [0x4b7260], 0x4e
ret
cmp ecx, 0x1f
jne 0x42b0e7
mov dword [0x4b7260], 0x4f
ret
cmp ecx, 0x20
jne 0x42b0f7
mov dword [0x4b7260], 0x50
ret
cmp ecx, 0x21
jne 0x42b107
mov dword [0x4b7260], 0x51
ret
cmp ecx, 0x22
jne 0x42b117
mov dword [0x4b7260], 0x52
ret
cmp ecx, 0x23
jne 0x42b127
mov dword [0x4b7260], 0x53
ret
cmp ecx, 0x24
jne 0x42b137
mov dword [0x4b7260], 0x54
ret
cmp ecx, 0x25
jne 0x42b147
mov dword [0x4b7260], 0x55
ret
cmp ecx, 0x26
jne 0x42b157
mov dword [0x4b7260], 0x56
ret
cmp ecx, 0x27
jne 0x42b167
mov dword [0x4b7260], 0x57
ret
cmp ecx, 0x28
jne 0x42b177
mov dword [0x4b7260], 0x58
ret
cmp ecx, 0x29
jne 0x42b187
mov dword [0x4b7260], 0x59
ret
mov eax, dword [0x4b7260]
cmp ecx, 0x2a
mov edx, 0x5a
cmove eax, edx
mov dword [0x4b7260], eax
ret
Function at 0x42b1a0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [0x4b40d4]
cmp ecx, 1
jne 0x42b1b2
mov dword [0x4b7154], ecx
ret
cmp ecx, 2
jne 0x42b1be
mov dword [0x4b7154], ecx
ret
cmp ecx, 3
jne 0x42b1ce
mov dword [0x4b7154], 4
ret
cmp ecx, 4
jne 0x42b1de
mov dword [0x4b7154], 5
ret
cmp ecx, 5
jne 0x42b1ee
mov dword [0x4b7154], 6
ret
cmp ecx, 6
jne 0x42b1fe
mov dword [0x4b7154], 3
ret
cmp ecx, 7
jne 0x42b20e
mov dword [0x4b7154], 8
ret
cmp ecx, 8
jne 0x42b21e
mov dword [0x4b7154], 9
ret
cmp ecx, 9
jne 0x42b22e
mov dword [0x4b7154], 0xc
ret
cmp ecx, 0xa
je 0x42b43c
cmp ecx, 0xb
jne 0x42b247
mov dword [0x4b7154], 0x10
ret
cmp ecx, 0xc
jne 0x42b257
mov dword [0x4b7154], 0x11
ret
cmp ecx, 0xd
jne 0x42b267
mov dword [0x4b7154], 0x12
ret
cmp ecx, 0xe
jne 0x42b277
mov dword [0x4b7154], 0x14
ret
cmp ecx, 0xf
jne 0x42b287
mov dword [0x4b7154], 0x1b
ret
cmp ecx, 0x10
jne 0x42b297
mov dword [0x4b7154], 0x20
ret
cmp ecx, 0x11
jne 0x42b2a7
mov dword [0x4b7154], 0x41
ret
cmp ecx, 0x12
jne 0x42b2b7
mov dword [0x4b7154], 0x42
ret
cmp ecx, 0x13
jne 0x42b2c7
mov dword [0x4b7154], 0x43
ret
cmp ecx, 0x14
jne 0x42b2d7
mov dword [0x4b7154], 0x44
ret
cmp ecx, 0x15
jne 0x42b2e7
mov dword [0x4b7154], 0x45
ret
cmp ecx, 0x16
jne 0x42b2f7
mov dword [0x4b7154], 0x46
ret
cmp ecx, 0x17
jne 0x42b307
mov dword [0x4b7154], 0x47
ret
cmp ecx, 0x18
jne 0x42b317
mov dword [0x4b7154], 0x48
ret
cmp ecx, 0x19
jne 0x42b327
mov dword [0x4b7154], 0x49
ret
cmp ecx, 0x1a
jne 0x42b337
mov dword [0x4b7154], 0x4a
ret
cmp ecx, 0x1b
jne 0x42b347
mov dword [0x4b7154], 0x4b
ret
cmp ecx, 0x1c
jne 0x42b357
mov dword [0x4b7154], 0x4c
ret
cmp ecx, 0x1d
jne 0x42b367
mov dword [0x4b7154], 0x4d
ret
cmp ecx, 0x1e
jne 0x42b377
mov dword [0x4b7154], 0x4e
ret
cmp ecx, 0x1f
jne 0x42b387
mov dword [0x4b7154], 0x4f
ret
cmp ecx, 0x20
jne 0x42b397
mov dword [0x4b7154], 0x50
ret
cmp ecx, 0x21
jne 0x42b3a7
mov dword [0x4b7154], 0x51
ret
cmp ecx, 0x22
jne 0x42b3b7
mov dword [0x4b7154], 0x52
ret
cmp ecx, 0x23
jne 0x42b3c7
mov dword [0x4b7154], 0x53
ret
cmp ecx, 0x24
jne 0x42b3d7
mov dword [0x4b7154], 0x54
ret
cmp ecx, 0x25
jne 0x42b3e7
mov dword [0x4b7154], 0x55
ret
cmp ecx, 0x26
jne 0x42b3f7
mov dword [0x4b7154], 0x56
ret
cmp ecx, 0x27
jne 0x42b407
mov dword [0x4b7154], 0x57
ret
cmp ecx, 0x28
jne 0x42b417
mov dword [0x4b7154], 0x58
ret
cmp ecx, 0x29
jne 0x42b427
mov dword [0x4b7154], 0x59
ret
mov eax, dword [0x4b7154]
cmp ecx, 0x2a
mov edx, 0x5a
cmove eax, edx
mov dword [0x4b7154], eax
ret

Function at 0x42bac0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1e], 0
je 0x42bae2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x13]
inc eax
xor byte [edx], cl
cmp eax, 0x1d
jb 0x42bad0
mov byte [esi + 0x1e], 0
mov eax, esi
pop esi
ret
Function at 0x42edb0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
je 0x42edd2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x13]
inc eax
xor byte [edx], cl
cmp eax, 0x2b
jb 0x42edc0
mov byte [esi + 0x2c], 0
mov eax, esi
pop esi
ret

Function at 0x430000
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push dword [0x4b6eb0]
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.00457a50
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 0x43009d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
nop dword [eax]
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.004632b0
add esp, 8
test eax, eax
je 0x430093
lea eax, [ebp - 0x228]
push eax
push esi
call edi
test eax, eax
jne 0x430060
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 0x434fb0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d859
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 0x48e598
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
mov byte [esi], 0
call fcn.0043b330
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 0x435020
sub edi, ecx
je 0x435157
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 0x4350b7
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00438c50
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 0x435070
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.0043b330
mov byte [ebp - 4], 0
test ebx, ebx
je 0x4350b7
mov ecx, dword [ebp - 0x20]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x4350ad
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43516a
push ecx
push ebx
call fcn.0043f63c
add esp, 8
sub esp, 8
mov ecx, esi
call fcn.00439730
cmp eax, 0xffffffff
je 0x435157
nop word [eax + eax]
push 2
push 0x48e69c
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.0043b330
sub esp, 8
mov dword [ebp - 4], 2
mov ecx, esi
call fcn.00439730
push 0
push ecx
push dword [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0043b1c0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x435144
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43513a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43516a
push edx
push ecx
call fcn.0043f63c
add esp, 8
sub esp, 8
mov ecx, esi
call fcn.00439730
cmp eax, 0xffffffff
jne 0x4350d0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00465175
int3
Function at 0x4366f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5a], 0
je 0x436712
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x13]
inc eax
xor byte [edx], cl
cmp eax, 0x59
jb 0x436700
mov byte [esi + 0x5a], 0
mov eax, esi
pop esi
ret