joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b6ff
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov ebx, eax
push 0
push dword [ebx + 0x2c]
call esi
call fcn.0040a217
cmp byte [ebx + 0x2f0], 0
sete cl
mov byte [ebx + 0x2f0], cl
test cl, cl
je 0x40b7bb
mov edi, dword [ebx + 0x294]
mov eax, dword [ebx + 0x29c]
xor ecx, ecx
lea edx, [ebx + 0x3c]
cmp dword [ebx + 0x2c8], ecx
je 0x40b751
mov dword [ebx + 0x2c8], ecx
mov dword [ebx + 0x2c8], edi
mov edi, eax
mov dword [ebx + 0x2d0], edi
mov dword [ebx + 0x2c4], edx
mov dword [ebx + 0x2e0], ecx
mov dword [ebx + 0x2d4], ecx
lea edi, [ebx + 0x2c4]
mov dword [ebx + 0x2e4], ecx
mov dword [ebx + 0x2e8], ecx
call fcn.00406702
push 5
push dword [ebx + 0x2a4]
call esi
cmp dword [ebx + 0xf0], 0
mov eax, dword [ebx + 0x2a4]
mov dword [ebx + 0x2c], eax
je 0x40b7fe
push 0
push 1
mov edi, 0x423
push edi
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
jmp 0x40b7f2
mov eax, dword [ebx + 0x1e8]
push 5
push dword [eax + 4]
call esi
cmp dword [ebx + 0xf0], 0
mov eax, dword [ebx + 0x1e8]
mov eax, dword [eax + 4]
mov dword [ebx + 0x2c], eax
je 0x40b7fe
push 1
push 1
mov edi, 0x423
push edi
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 2
push edi
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebx + 0x1b8]
call esi
push 1
mov ecx, ebx
call fcn.0040c8c6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f6f2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and dword [ebx], 0
push esi
mov esi, eax
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x40f720
cmp eax, 0x79
jne 0x40f717
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x40f720
cmp dword [esi + 0xa8], 0x20
jne 0x40f792
cmp dword [ebp + 8], 0xf100
jne 0x40f792
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x40f74f
mov eax, esi
call fcn.00411a74
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40f792
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x40f792
test byte [esi + 0x84], 0x40
jne 0x40f787
mov al, byte [esi + 0x85]
test al, 2
je 0x40f77c
test al, 4
jne 0x40f77c
test al, 8
je 0x40f77c
mov al, 1
call fcn.00411af2
push edi
mov edi, esi
call fcn.00411a4d
pop edi
jmp 0x40f78c
cmp eax, 0x20
je 0x40f792
mov dword [ebx], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x411c2f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov byte [ebp - 1], 1
cmp cl, 0xc
jne 0x411c79
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x411ca0
shr eax, 2
test al, 1
je 0x411ca9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x411cdc
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push 0x429814
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x411cdb
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
leave
ret

Function at 0x4142f1
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x430724], 0
push esi
push edi
jne 0x414267
call fcn.004141d3
test eax, eax
je 0x4142ac
mov eax, dword [0x430724]
cmp eax, 1
jne 0x414288
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4142ac
jmp 0x4142ee
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4142ee
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4142b0
xor eax, eax
jmp 0x4142ee
mov eax, dword [esi]
push dword [0x430724]
call edi
mov edi, eax
test edi, edi
je 0x4142d2
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4142ee
lea edi, [esi + 0xff0]
push esi
push dword [0x430724]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4142d8
mov eax, esi
pop edi
pop esi
ret
jmp 0x414253

Function at 0x4144e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e07c]
jne 0x4144ee
repz ret
jmp fcn.0041609b
Function at 0x41eacc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041888c
and dword [ebp - 0x14], 0
cmp dword [0x431570], 0
mov dword [ebp - 0x18], eax
jne 0x41eb7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ec27
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4287e0
push ebx
call edi
test eax, eax
je 0x41ec27
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4287d0
push ebx
mov dword [0x431570], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x431574], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x431578], eax
call edi
push eax
call esi
mov dword [0x431580], eax
test eax, eax
je 0x41eb7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43157c], eax
mov eax, dword [0x43157c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41ebd8
cmp dword [0x431580], ecx
je 0x41ebd8
push eax
call esi
push dword [0x431580]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ebd8
test ebx, ebx
je 0x41ebd8
call edi
test eax, eax
je 0x41ebcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ebcf
test byte [ebp - 8], 1
jne 0x41ebd8
or dword [ebp + 0x10], 0x200000
jmp 0x41ec0b
mov eax, dword [0x431574]
cmp eax, dword [ebp - 0x18]
je 0x41ec0b
push eax
call esi
test eax, eax
je 0x41ec0b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ec0b
mov eax, dword [0x431578]
cmp eax, dword [ebp - 0x18]
je 0x41ec0b
push eax
call esi
test eax, eax
je 0x41ec0b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x431570]
call esi
test eax, eax
je 0x41ec27
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ec29
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004144e4
leave
ret
Function at 0x423190
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.00423020
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [ebp - 0xc], ecx
shr ecx, 3
and ecx, 0x3f
mov dword [ebp - 8], edx
mov eax, 0x38
cmp ecx, 0x38
jb 0x4231f9
mov eax, 0x78
sub eax, ecx
push 0x430208
call fcn.00423020
lea eax, [ebp - 0xc]
push eax
mov eax, 8
call fcn.00423020
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
push 0x58
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
push 0
push esi
mov dword [edi + 0xc], ecx
call fcn.00414cd0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.004144e4
mov esp, ebp
pop ebp
ret 8

Function at 0x423410
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x430348]
movzx ecx, byte [eax + 4]
mov byte [eax], dl
movzx edx, byte [ecx + 0x430348]
movzx ecx, byte [eax + 8]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 0x430348]
movzx ecx, byte [eax + 0xc]
mov byte [eax + 8], dl
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 0xc], dl
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 1], dl
movzx ecx, byte [eax + 5]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 5], dl
movzx ecx, byte [eax + 9]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 9], dl
movzx ecx, byte [eax + 0xd]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 0xd], dl
movzx ecx, byte [eax + 2]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 2], dl
movzx ecx, byte [eax + 6]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 6], dl
movzx ecx, byte [eax + 0xa]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 0xa], dl
movzx ecx, byte [eax + 0xe]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 0xe], dl
movzx ecx, byte [eax + 3]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 3], dl
movzx ecx, byte [eax + 7]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 7], dl
movzx ecx, byte [eax + 0xb]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 0xb], dl
movzx ecx, byte [eax + 0xf]
movzx edx, byte [ecx + 0x430348]
mov byte [eax + 0xf], dl
ret
Function at 0x4234f0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x430248]
movzx ecx, byte [eax + 4]
mov byte [eax], dl
movzx edx, byte [ecx + 0x430248]
movzx ecx, byte [eax + 8]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 0x430248]
movzx ecx, byte [eax + 0xc]
mov byte [eax + 8], dl
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 0xc], dl
movzx ecx, byte [eax + 1]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 1], dl
movzx ecx, byte [eax + 5]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 5], dl
movzx ecx, byte [eax + 9]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 9], dl
movzx ecx, byte [eax + 0xd]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 0xd], dl
movzx ecx, byte [eax + 2]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 2], dl
movzx ecx, byte [eax + 6]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 6], dl
movzx ecx, byte [eax + 0xa]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 0xa], dl
movzx ecx, byte [eax + 0xe]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 0xe], dl
movzx ecx, byte [eax + 3]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 3], dl
movzx ecx, byte [eax + 7]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 7], dl
movzx ecx, byte [eax + 0xb]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 0xb], dl
movzx ecx, byte [eax + 0xf]
movzx edx, byte [ecx + 0x430248]
mov byte [eax + 0xf], dl
ret
Function at 0x424140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x424193
mov ebx, ecx
and ebx, 0x80000003
jns 0x424174
dec ebx
or ebx, 0xfffffffc
inc ebx
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov dl, byte [ecx + edi]
sar eax, 2
add eax, esi
mov byte [eax + ebx*4], dl
mov eax, dword [esi + 0x10]
add eax, eax
inc ecx
add eax, eax
cmp ecx, eax
jl 0x424165
mov ecx, dword [esi + 0x18]
mov eax, esi
call fcn.004235d0
mov eax, dword [esi + 0x18]
dec eax
cmp eax, 1
jl 0x424242
mov ecx, eax
add ecx, ecx
lea ebx, [esi + ecx*8 + 0x3d]
mov dword [ebp - 4], eax
call fcn.00423270
mov eax, esi
call fcn.00423410
movzx edx, byte [ebx - 1]
xor byte [esi], dl
movzx eax, byte [ebx]
xor byte [esi + 4], al
movzx ecx, byte [ebx + 1]
xor byte [esi + 8], cl
movzx edx, byte [ebx + 2]
xor byte [esi + 0xc], dl
movzx eax, byte [ebx + 3]
xor byte [esi + 1], al
movzx ecx, byte [ebx + 4]
xor byte [esi + 5], cl
movzx edx, byte [ebx + 5]
xor byte [esi + 9], dl
movzx eax, byte [ebx + 6]
xor byte [esi + 0xd], al
movzx ecx, byte [ebx + 7]
xor byte [esi + 2], cl
movzx edx, byte [ebx + 8]
xor byte [esi + 6], dl
movzx eax, byte [ebx + 9]
xor byte [esi + 0xa], al
movzx ecx, byte [ebx + 0xa]
xor byte [esi + 0xe], cl
movzx edx, byte [ebx + 0xb]
xor byte [esi + 3], dl
movzx eax, byte [ebx + 0xc]
xor byte [esi + 7], al
movzx ecx, byte [ebx + 0xd]
xor byte [esi + 0xb], cl
movzx edx, byte [ebx + 0xe]
xor byte [esi + 0xf], dl
mov edi, esi
call fcn.00423b70
sub ebx, 0x10
dec dword [ebp - 4]
jne 0x4241b5
call fcn.00423270
mov eax, esi
call fcn.00423410
movzx eax, byte [esi + 0x3c]
xor byte [esi], al
movzx ecx, byte [esi + 0x3d]
xor byte [esi + 4], cl
movzx edx, byte [esi + 0x3e]
xor byte [esi + 8], dl
movzx eax, byte [esi + 0x3f]
xor byte [esi + 0xc], al
movzx ecx, byte [esi + 0x40]
xor byte [esi + 1], cl
movzx edx, byte [esi + 0x41]
xor byte [esi + 5], dl
movzx eax, byte [esi + 0x42]
xor byte [esi + 9], al
movzx ecx, byte [esi + 0x43]
xor byte [esi + 0xd], cl
movzx edx, byte [esi + 0x44]
xor byte [esi + 2], dl
movzx eax, byte [esi + 0x45]
xor byte [esi + 6], al
movzx ecx, byte [esi + 0x46]
xor byte [esi + 0xa], cl
movzx edx, byte [esi + 0x47]
xor byte [esi + 0xe], dl
movzx eax, byte [esi + 0x48]
xor byte [esi + 3], al
movzx ecx, byte [esi + 0x49]
xor byte [esi + 7], cl
movzx edx, byte [esi + 0x4a]
xor byte [esi + 0xb], dl
movzx eax, byte [esi + 0x4b]
xor byte [esi + 0xf], al
mov ecx, dword [esi + 0x10]
add ecx, ecx
add ecx, ecx
xor eax, eax
test ecx, ecx
jle 0x4242ea
lea ebx, [ebx]
mov edi, eax
shr edi, 2
mov edx, eax
add edi, esi
and edx, 3
mov dl, byte [edi + edx*4]
mov edi, dword [ebp + 8]
mov byte [eax + edi], dl
inc eax
cmp eax, ecx
jl 0x4242d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x424352
mov ebx, ecx
and ebx, 0x80000003
jns 0x424333
dec ebx
or ebx, 0xfffffffc
inc ebx
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov dl, byte [ecx + edi]
sar eax, 2
add eax, esi
mov byte [eax + ebx*4], dl
mov eax, dword [esi + 0x10]
add eax, eax
inc ecx
add eax, eax
cmp ecx, eax
jl 0x424324
xor ecx, ecx
mov eax, esi
call fcn.004235d0
mov ecx, dword [esi + 0x18]
mov ebx, 1
dec ecx
cmp ecx, ebx
jl 0x424401
lea edi, [esi + 0x4d]
nop
mov eax, esi
call fcn.004234f0
call fcn.00423340
mov ecx, esi
call fcn.00424010
movzx edx, byte [edi - 1]
xor byte [esi], dl
movzx eax, byte [edi]
xor byte [esi + 4], al
movzx ecx, byte [edi + 1]
xor byte [esi + 8], cl
movzx edx, byte [edi + 2]
xor byte [esi + 0xc], dl
movzx eax, byte [edi + 3]
xor byte [esi + 1], al
movzx ecx, byte [edi + 4]
xor byte [esi + 5], cl
movzx edx, byte [edi + 5]
xor byte [esi + 9], dl
movzx eax, byte [edi + 6]
xor byte [esi + 0xd], al
movzx ecx, byte [edi + 7]
xor byte [esi + 2], cl
movzx edx, byte [edi + 8]
xor byte [esi + 6], dl
movzx eax, byte [edi + 9]
xor byte [esi + 0xa], al
movzx ecx, byte [edi + 0xa]
xor byte [esi + 0xe], cl
movzx edx, byte [edi + 0xb]
xor byte [esi + 3], dl
movzx eax, byte [edi + 0xc]
xor byte [esi + 7], al
movzx ecx, byte [edi + 0xd]
xor byte [esi + 0xb], cl
movzx edx, byte [edi + 0xe]
xor byte [esi + 0xf], dl
mov eax, dword [esi + 0x18]
inc ebx
dec eax
add edi, 0x10
cmp ebx, eax
jle 0x424370
mov eax, esi
call fcn.004234f0
call fcn.00423340
mov ecx, dword [esi + 0x18]
lea eax, [ecx*4]
movzx edx, byte [esi + eax*4 + 0x3c]
xor byte [esi], dl
movzx edx, byte [esi + eax*4 + 0x3d]
xor byte [esi + 4], dl
movzx edx, byte [esi + eax*4 + 0x3e]
xor byte [esi + 8], dl
movzx edx, byte [esi + eax*4 + 0x3f]
xor byte [esi + 0xc], dl
add ecx, 4
add ecx, ecx
movzx ecx, byte [esi + ecx*8]
xor byte [esi + 1], cl
movzx edx, byte [esi + eax*4 + 0x41]
xor byte [esi + 5], dl
movzx ecx, byte [esi + eax*4 + 0x42]
xor byte [esi + 9], cl
movzx edx, byte [esi + eax*4 + 0x43]
xor byte [esi + 0xd], dl
movzx ecx, byte [esi + eax*4 + 0x44]
xor byte [esi + 2], cl
movzx edx, byte [esi + eax*4 + 0x45]
xor byte [esi + 6], dl
movzx ecx, byte [esi + eax*4 + 0x46]
xor byte [esi + 0xa], cl
movzx edx, byte [esi + eax*4 + 0x47]
xor byte [esi + 0xe], dl
movzx ecx, byte [esi + eax*4 + 0x48]
xor byte [esi + 3], cl
movzx edx, byte [esi + eax*4 + 0x49]
xor byte [esi + 7], dl
movzx ecx, byte [esi + eax*4 + 0x4a]
xor byte [esi + 0xb], cl
movzx edx, byte [esi + eax*4 + 0x4b]
xor byte [esi + 0xf], dl
mov ecx, dword [esi + 0x10]
add ecx, ecx
add ecx, ecx
xor eax, eax
test ecx, ecx
jle 0x4244c1
mov edi, eax
shr edi, 2
mov edx, eax
add edi, esi
and edx, 3
mov dl, byte [edi + edx*4]
mov edi, dword [ebp + 8]
mov byte [eax + edi], dl
inc eax
cmp eax, ecx
jl 0x4244a7
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4245d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425d48
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x42e07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx - 0xc]
mov ecx, dword [edx - 8]
lea esi, [eax + eax + 2]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x424620
xor eax, eax
lea ecx, [ebp + 0x10]
call fcn.0040229b
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edx
mov edx, dword [ecx + 4]
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test eax, eax
mov eax, dword [ebp + 0x10]
jne 0x424678
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424661
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424691
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4246b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0041afb0
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0xffe
mov ebx, ecx
push eax
lea ecx, [ebp - 0x1002]
push ecx
mov dword [ebp - 0x1008], 0x800
mov word [ebp - 0x1004], ax
call fcn.00414cd0
add esp, 0xc
lea edx, [ebp - 0x1008]
push edx
mov edx, dword [esi + 4]
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x100c]
push ecx
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42474b
lea eax, [ebp - 0x1004]
push eax
call fcn.00414cae
add esp, 4
lea ecx, [ebp - 0x1004]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00402371
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004144e4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004144e4
mov esp, ebp
pop ebp
ret
Function at 0x1000b350
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e531d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101170e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.10012390
add esp, 0xc
test al, al
je 0x1000b3c1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x1000b3f1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b3e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b40a
push ecx
push edx
call fcn.10084de4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008511a
mov esp, ebp
pop ebp
ret
call fcn.1008ca42
int3

Function at 0x1000b410
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e535d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101170e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.10012490
add esp, 0xc
test al, al
je 0x1000b47f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x1000b4b5
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b4ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b4ce
push ecx
push edx
call fcn.10084de4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008511a
mov esp, ebp
pop ebp
ret
call fcn.1008ca42
int3
Function at 0x1000d660
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xa78
mov eax, dword [0x101170e4]
xor eax, esp
mov dword [esp + 0xa74], eax
mov eax, dword [esp + 0xa7c]
push ebx
mov ebx, dword [esp + 0xa8c]
push esi
mov esi, dword [esp + 0xa88]
push edi
mov edi, dword [esp + 0xa90]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.100147b0
push 0x208
lea eax, [esp + 0x84]
push 0
push eax
call fcn.10088fa0
cmp dword [esp + 0x88], 8
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
push eax
push 0x100f2108
lea eax, [esp + 0x94]
push 0x104
push eax
call fcn.1000dd10
add esp, 0x24
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x10], 0
jbe 0x1000d723
cmp dword [esi + 0x14], 8
jb 0x1000d6f7
mov esi, dword [esi]
cmp dword [esp + 0x74], 8
lea eax, [esp + 0x60]
push esi
cmovae eax, dword [esp + 0x64]
push eax
push str.__s___s
lea eax, [esp + 0x28c]
push 0x400
push eax
call fcn.1000dd10
add esp, 0x14
jmp 0x1000d74c
cmp dword [esp + 0x74], 8
lea eax, [esp + 0x60]
cmovae eax, dword [esp + 0x60]
push eax
push str.__s_
lea eax, [esp + 0x288]
push 0x400
push eax
call fcn.1000dd10
add esp, 0x10
push 0x40
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x44
push 0
push eax
call fcn.10088fa0
add esp, 0xc
lea eax, [esp + 0xc]
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x80]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2a0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1000d7a1
xor bl, bl
jmp 0x1000d7d9
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000d7b2
push eax
call esi
mov eax, dword [esp + 0xc]
test ebx, ebx
je 0x1000d7be
mov dword [ebx], eax
jmp 0x1000d7cd
test eax, eax
je 0x1000d7cd
push eax
call esi
mov dword [esp + 0xc], 0
test edi, edi
je 0x1000d7d7
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov bl, 1
mov ecx, dword [esp + 0x74]
cmp ecx, 8
jb 0x1000d811
mov edx, dword [esp + 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d807
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d82b
push ecx
push edx
call fcn.10084de4
add esp, 8
mov ecx, dword [esp + 0xa80]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008511a
add esp, 0xa78
ret
call fcn.1008ca42
int3