joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411910
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x470074]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x411944
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d98c
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x24
push str.dyfw
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x411962
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4119c6
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
push 1
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4119eb
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4119bd
cmp ebx, 0xa
jge 0x4119bd
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1c], 1
je 0x4119f8
lea eax, [ebp - 0x20]
inc ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x411997
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call ebx
push edi
call ebx
mov byte [ebp - 0x21], 0
test esi, esi
je 0x4119d4
push esi
call ebx
push edi
call ebx
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x21]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.0041d98c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
jne 0x4119bd
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call ebx
push edi
call ebx
mov byte [ebp - 0x21], 1
jmp 0x4119cd

Function at 0x411ce0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x470074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x124
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x138], ecx
push 0
push eax
mov dword [ebp - 0x134], 0
call fcn.00436900
add esp, 0xc
mov dword [ebp - 0x130], 0x128
push 0
push 2
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 0x411d89
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
push dword [ebp - 0x138]
lea eax, [ebp - 0x10c]
push eax
call edi
test eax, eax
je 0x411d7d
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push esi
call ebx
test eax, eax
jne 0x411d50
jmp 0x411d89
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x134], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x134]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041d98c
mov esp, ebp
pop ebp
ret
Function at 0x4121a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x470074]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
push 0x412170
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 8], 0
je 0x412220
push ebx
push esi
push edi
push str.SbpS
push str.32770
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
push esi
call edi
cmp eax, dword [ebp - 8]
je 0x41220f
push str.SbpS
push str.32770
push esi
push 0
call ebx
mov esi, eax
test esi, esi
jne 0x4121f0
jmp 0x41221d
push 0
push 0x4120b0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
push 9
push 0x467200
mov ecx, dword [ecx + 4]
add ecx, 0xcc
call fcn.004016f0
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0041d98c
mov esp, ebp
pop ebp
ret
Function at 0x4132c0
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov bl, dl
push esi
mov esi, ecx
cmp bl, 0x20
je case.default.0x4132ff
cmp bl, 0xd
je case.default.0x4132ff
cmp bl, 0xa
je case.default.0x4132ff
cmp bl, 9
je case.default.0x4132ff
cmp bl, 0xc
je case.default.0x4132ff
lea eax, [esi - 0x14]
cmp eax, 0xb
ja case.default.0x4132ff
jmp dword [eax*4 + 0x4134dc]
cmp bl, 0x2f
je 0x413376
cmp bl, 0x2a
je 0x413376
or bl, 0x20
sub bl, 0x61
cmp bl, 0x19
ja case.default.0x4132ff
pop esi
mov eax, 0x15
pop ebx
ret
mov al, bl
or al, 0x20
sub al, 0x61
cmp al, 0x19
jbe 0x4134cd
cmp bl, 0x3a
jne case.default.0x4132ff
pop esi
mov eax, 0x16
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x4132ff
pop esi
mov eax, 0x17
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x4132ff
pop esi
mov eax, 0x18
pop ebx
ret
cmp bl, 0x40
je case.default.0x4132ff
cmp bl, 0x2f
jne 0x41337e
pop esi
mov eax, 0x1b
pop ebx
ret
cmp bl, 0x3f
je 0x413441
cmp bl, 0x40
jne 0x413394
pop esi
mov eax, 0x1a
pop ebx
ret
mov al, bl
or al, 0x20
cmp al, 0x61
jb 0x4133a0
cmp al, 0x7a
jbe 0x41340d
cmp bl, 0x30
jl 0x4133aa
cmp bl, 0x39
jle 0x41340d
cmp bl, 0x2d
je 0x41340d
cmp bl, 0x5f
je 0x41340d
cmp bl, 0x2e
je 0x41340d
cmp bl, 0x21
je 0x41340d
cmp bl, 0x7e
je 0x41340d
cmp bl, 0x2a
je 0x41340d
cmp bl, 0x27
je 0x41340d
cmp bl, 0x28
je 0x41340d
cmp bl, 0x29
je 0x41340d
cmp bl, 0x25
je 0x41340d
cmp bl, 0x3b
je 0x41340d
cmp bl, 0x3a
je 0x41340d
cmp bl, 0x26
je 0x41340d
cmp bl, 0x3d
je 0x41340d
cmp bl, 0x2b
je 0x41340d
cmp bl, 0x24
je 0x41340d
cmp bl, 0x2c
je 0x41340d
cmp bl, 0x5b
je 0x41340d
cmp bl, 0x5d
jne case.default.0x4132ff
pop esi
mov eax, 0x19
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x466958], al
jne 0x4134cd
cmp bl, 0x23
je 0x413475
cmp bl, 0x3f
jne case.default.0x4132ff
pop esi
mov eax, 0x1c
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x466958], al
jne 0x41346d
cmp bl, 0x23
je 0x413475
cmp bl, 0x3f
jne case.default.0x4132ff
pop esi
mov eax, 0x1d
pop ebx
ret
pop esi
mov eax, 0x1e
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x466958], al
jne 0x4134a1
cmp bl, 0x23
je 0x4134cd
cmp bl, 0x3f
jne case.default.0x4132ff
pop esi
mov eax, 0x1f
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x466958], al
jne 0x4134cd
cmp bl, 0x23
je 0x4134cd
cmp bl, 0x3f
jne case.default.0x4132ff
mov eax, esi
pop esi
pop ebx
ret
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4158a0
Capabilities:
Parse credit card information

Disassembly:
lea eax, [ecx - 2]
cmp eax, 0xa
ja case.default.0x4158ac
jmp dword [eax*4 + 0x415a2c]
cmp dl, 0x40
jne 0x4158be
mov eax, 4
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x4158ca
cmp al, 0x7a
jbe 0x41592d
cmp dl, 0x30
jl 0x4158d4
cmp dl, 0x39
jle 0x41592d
cmp dl, 0x2d
je 0x41592d
cmp dl, 0x5f
je 0x41592d
cmp dl, 0x2e
je 0x41592d
cmp dl, 0x21
je 0x41592d
cmp dl, 0x7e
je 0x41592d
cmp dl, 0x2a
je 0x41592d
cmp dl, 0x27
je 0x41592d
cmp dl, 0x28
je 0x41592d
cmp dl, 0x29
je 0x41592d
cmp dl, 0x25
je 0x41592d
cmp dl, 0x3b
je 0x41592d
cmp dl, 0x3a
je 0x41592d
cmp dl, 0x26
je 0x41592d
cmp dl, 0x3d
je 0x41592d
cmp dl, 0x2b
je 0x41592d
cmp dl, 0x24
je 0x41592d
cmp dl, 0x2c
jne case.default.0x4158ac
mov eax, 3
ret
cmp dl, 0x5b
jne 0x41593e
mov eax, 5
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x41594a
cmp al, 0x7a
jbe 0x415988
cmp dl, 0x30
jl 0x415954
cmp dl, 0x39
jle 0x415988
cmp dl, 0x2e
je 0x415988
cmp dl, 0x2d
jne case.default.0x4158ac
mov eax, 6
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x415974
cmp al, 0x7a
jbe 0x415988
cmp dl, 0x30
jl 0x41597e
cmp dl, 0x39
jle 0x415988
cmp dl, 0x2e
je 0x415988
cmp dl, 0x2d
jne case.0x4158ac.8
mov eax, 6
ret
cmp dl, 0x3a
jne case.default.0x4158ac
mov eax, 0xb
ret
cmp dl, 0x5d
je 0x4159db
cmp dl, 0x30
jl 0x4159ac
cmp dl, 0x39
jle 0x4159d0
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x4159b8
cmp al, 0x66
jbe 0x4159d0
cmp dl, 0x3a
je 0x4159d0
cmp dl, 0x2e
je 0x4159d0
cmp ecx, 7
jne case.default.0x4158ac
cmp dl, 0x25
jne case.default.0x4158ac
lea eax, [ecx + 2]
ret
mov eax, 7
ret
cmp dl, 0x5d
jne case.0x4158ac.9
mov eax, 8
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x4159ed
cmp al, 0x7a
jbe 0x415a10
cmp dl, 0x30
jl 0x4159f7
cmp dl, 0x39
jle 0x415a10
cmp dl, 0x25
je 0x415a10
cmp dl, 0x2e
je 0x415a10
cmp dl, 0x2d
je 0x415a10
cmp dl, 0x5f
je 0x415a10
cmp dl, 0x7e
jne case.default.0x4158ac
mov eax, 0xa
ret
sub dl, 0x30
mov eax, 0xc
cmp dl, 9
jbe 0x415a28
mov eax, 1
ret
Function at 0x417af0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4556d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x470074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0041d99d
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0041b2f9
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4192c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
lea ecx, [esp]
call fcn.00419360
push eax
mov ecx, 0x470abc
call fcn.00407760
mov edx, dword [esp + 0x14]
cmp edx, 0x10
jb 0x41930d
mov ecx, dword [esp]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419303
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419354
push edx
push ecx
call fcn.0041d9cd
add esp, 8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x4735f4
push 0
push 0
push 0x419810
push 0
push 0
mov dword [0x4735f0], eax
call fcn.00438bcc
add esp, 0x18
mov dword [0x4735ec], eax
push 0x4e20
push dword [0x4735f0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esp, ebp
pop ebp
ret
call fcn.00438969
int3
Function at 0x41f402
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x44794a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004477c9

Function at 0x44d134
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044cdf4
Function at 0x532c1d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x473184
call fcn.005997a4
push ecx
push ebx
push esi
mov esi, ecx
push 4
mov dword [ebp - 0x10], esi
or dword [esi], 0xffffffff
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.005329e4
mov dword [ebx], 0x47a678
xor ebx, ebx
mov dword [esi + 0x28], 4
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x18], 0x47a690
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov byte [esi + 0x2c], 1
call fcn.00532d24
lea ecx, [esi + 0x8c]
mov byte [esi + 0x88], bl
push 3
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0052fdae
lea ecx, [esi + 0x9c]
mov byte [esi + 0x98], bl
mov byte [esi + 0x99], bl
push 3
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0052fdae
lea ecx, [esi + 0xac]
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov byte [esi + 0xaa], bl
push 3
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0052fdae
lea ecx, [esi + 0xb8]
push 3
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0052fdae
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xc4]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 8
mov dword [eax], 0x47a688
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x4731cf
call fcn.005997a4
push ecx
push ebx
push esi
push edi
push 3
mov esi, ecx
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.0052fdae
lea ecx, [esi + 0xc]
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0052fdae
lea ecx, [esi + 0x18]
push edi
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0052fdae
lea ecx, [esi + 0x24]
push edi
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0052fdae
lea ecx, [esi + 0x30]
push edi
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0052fdae
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], bl
push edi
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0052fdae
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0052fdae
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x53fa29
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4743a3
call fcn.005997a4
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.005318d4
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.005318d4
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.005318d4
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.005318d4
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.005318d4
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.005318d4
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.005318d4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x542b57
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0x542b84
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 + 0x493a00]
xor eax, edi
inc esi
cmp esi, edx
jb 0x542b63
pop edi
pop ebx
not eax
pop esi
ret

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

Disassembly:
mov eax, 0x474cd6
call fcn.005997a4
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov al, byte [edi]
lea ecx, [esi + 0xc]
mov byte [esi], al
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
lea eax, [edi + 0xc]
push eax
call fcn.005318d4
and dword [ebp - 4], 0
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.005457c4
and dword [esi + 0x30], 0
and dword [esi + 0x34], 0
lea ecx, [esi + 0x2c]
lea eax, [edi + 0x2c]
push eax
mov byte [ebp - 4], 1
mov dword [ecx], 0x47a7ec
call fcn.00545810
mov al, byte [edi + 0x38]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x38], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x5563ad
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x476a8f
call fcn.005997a4
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 4
mov dword [esi], 0x47b300
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], 0x47b2f8
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], al
push 3
mov byte [ebp - 4], 1
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.0052fdae
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x55873c
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x477084
call fcn.005997a4
push ecx
push ecx
push ebx
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
mov dword [esi + 0x10], 8
mov dword [esi], 0x47a688
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x47ab08
push 4
mov ebx, 0x47ab80
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.005329e4
mov dword [esi + 0x3c], 0x47b3a8
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.005329e4
mov dword [edi], 0x47b3b0
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0055537a
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.005578b1
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0055537a
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.005578b1
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0055537a
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.005578b1
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0055537a
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.005578b1
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.005578b1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x561945
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov eax, ecx
push esi
push edi
mov edi, dword [eax]
cmp dword [ebp + 0xc], 0
je 0x561994
mov esi, dword [eax + 4]
test esi, esi
je 0x561994
mov cl, byte [edx]
inc edx
mov byte [esi + eax + 8], cl
mov ecx, dword [eax + 4]
inc ecx
and ecx, 3
dec dword [ebp + 0xc]
test ecx, ecx
mov dword [eax + 4], ecx
jne 0x561952
and dword [ebp + 8], ecx
lea esi, [eax + 8]
movzx ebx, byte [esi]
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 8
shl ebx, cl
xor edi, ebx
inc esi
cmp dword [ebp + 8], 0x20
jl 0x56197d
jmp 0x561952
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov esi, ecx
dec ecx
test esi, esi
je 0x5619c4
inc ecx
movzx esi, byte [edx]
inc edx
xor ebx, ebx
mov bh, byte [edx]
or esi, ebx
inc edx
movzx ebx, byte [edx]
shl ebx, 0x10
or esi, ebx
inc edx
movzx ebx, byte [edx]
shl ebx, 0x18
or esi, ebx
inc edx
xor edi, esi
dec ecx
jne 0x5619a2
mov esi, dword [ebp + 0xc]
mov dword [eax], edi
and esi, 3
je 0x5619e5
mov ecx, dword [eax + 4]
mov bl, byte [edx]
inc edx
mov byte [ecx + eax + 8], bl
mov ecx, dword [eax + 4]
inc ecx
and ecx, 3
dec esi
mov dword [eax + 4], ecx
jne 0x5619ce
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x561b2d
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
xor esi, esi
mov edx, dword [eax + 4]
test edx, edx
jle 0x561b53
push edi
lea ecx, [edx*8 - 8]
movzx edi, byte [eax + esi + 8]
shl edi, cl
sub ecx, 8
xor dword [eax], edi
inc esi
cmp esi, edx
jl 0x561b41
pop edi
pop esi
ret

Function at 0x566710
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4782ca
call fcn.005997a4
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 + 0x18]
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
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
lea eax, [edi + 0x18]
push eax
call fcn.0052fd78
and dword [ebp - 4], 0
lea eax, [edi + 0x24]
push eax
lea ecx, [esi + 0x24]
call fcn.0052fd78
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0052fd78
mov al, byte [edi + 0x3c]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x3c], al
mov al, byte [edi + 0x3d]
mov byte [esi + 0x3d], al
mov al, byte [edi + 0x3e]
mov byte [esi + 0x3e], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x572d0a
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47921c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x47b270
mov dword [esi + 4], 0x47b910
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov dword [esi + 8], edi
call fcn.0053be96
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], edi
call fcn.0053be96
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 1
call fcn.0053be96
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 2
call fcn.0053be96
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x4a0], edi
mov dword [esi + 0x4a4], edi
mov dword [esi + 0x4b4], edi
mov eax, 0x100000
mov dword [esi + 0x4c0], edi
mov dword [esi + 0x4c8], eax
mov dword [esi + 0x4cc], eax
mov dword [esi + 0x4d0], eax
mov dword [esi + 0x4d4], eax
mov dword [esi + 0x4d8], 0x10000
mov dword [esi], 0x47b900
mov dword [esi + 4], 0x47b8ec
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x573eda
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47935b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x47aeb8
mov dword [esi + 4], 0x47bec4
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esp + 8], esi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x140]
mov dword [esp + 0x14], edi
call fcn.0053be96
mov dword [esi + 0x6fe4], edi
lea ecx, [esi + 0x6ff8]
mov dword [esi + 0x6ff4], edi
call fcn.00595b74
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword [esi + 0x7020], edi
mov dword [esi + 0x6fec], edi
mov dword [esi + 0x6ff0], edi
mov dword [esi + 0x7010], eax
mov byte [esi + 0x6fe0], al
mov dword [esi], 0x47beac
mov dword [esi + 4], 0x47be9c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret