joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483850
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4deca3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d294d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004d7fe6
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004d9502
test eax, eax
je 0x48396c
mov ecx, dword [esp + 0x3c]
call fcn.004d8013
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x483930
push edi
mov ecx, esi
call fcn.004d5678
mov ecx, esi
call fcn.00483ad0
cmp dword [esp + 0x38], 1
jne 0x483965
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004d57b3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x486390
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4863c3
push esi
call fcn.004946f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4863bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x486449
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x486432
mov eax, dword [esi + 8]
test eax, eax
je 0x4863e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x48642e
cmp eax, 2
je 0x486432
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4863da
cmp eax, 3
je 0x48640d
cmp eax, 1
jne 0x4863da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4863da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4863da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00486470
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x486458
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00486470
add esp, 4
pop esi
ret

Function at 0x486cf0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x486d11
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x486d11
mov eax, dword [eax + 0x44]
test eax, eax
je 0x486d11
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4a42c0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
push esi
push edi
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x4a43c3
add ebx, 0x10
mov eax, dword [ebx]
test eax, eax
jne 0x4a4346
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x4a43a6
mov eax, dword [ebp + 0x34]
mov edx, dword [ebx - 4]
push eax
mov ecx, edi
push 4
push 0x1000
add ecx, edx
push esi
push ecx
call dword [ebp + 0x1c]
add esp, 0x14
test eax, eax
je 0x4a43ce
mov eax, dword [ebx - 4]
mov ecx, esi
mov edx, ecx
add edi, eax
xor eax, eax
mov dword [ebx - 8], edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4a43a2
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x1c]
add ecx, eax
push ecx
push edx
call fcn.004a42a0
add esp, 8
test eax, eax
je 0x4a43ce
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebx]
push eax
mov eax, dword [ebx - 4]
mov edx, edi
push 4
push 0x1000
add edx, eax
push ecx
push edx
call dword [ebp + 0x1c]
add esp, 0x14
test eax, eax
je 0x4a43ce
mov ecx, dword [ebx - 4]
mov esi, dword [ebx + 4]
mov eax, edi
mov edi, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [ebx]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov edi, dword [esp + 0x24]
mov ecx, dword [ebp]
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add ebx, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4a42f3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4a43e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
xor ecx, ecx
mov eax, dword [edi]
mov cx, word [eax + 0x14]
lea esi, [ecx + eax + 0x18]
mov ecx, dword [edi + 0x3c]
push ecx
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x1c], eax
call fcn.004a4530
push esi
push edi
mov dword [esp + 0x28], eax
call fcn.004a4540
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov edx, dword [esi + 0x24]
mov eax, 1
add esp, 0x10
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
add esi, 0x28
cmp word [ecx + 6], ax
mov dword [esp + 0x10], eax
jbe 0x4a44fb
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 8]
push ecx
push eax
mov dword [esp + 0x34], eax
call fcn.004a4530
push esi
push edi
mov ebx, eax
call fcn.004a4540
mov edx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, ebx
je 0x4a44a5
mov eax, dword [esp + 0x1c]
add eax, edx
cmp eax, ebx
ja 0x4a44a5
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.004a4570
add esp, 8
test eax, eax
je 0x4a451b
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x24]
mov dword [esp + 0x20], eax
jmp 0x4a44da
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x20]
test eax, 0x2000000
je 0x4a44c3
test ecx, 0x2000000
je 0x4a44c3
or ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x4a44ce
or eax, ecx
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub ebp, edx
add ebp, eax
mov dword [esp + 0x1c], ebp
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4a4441
mov eax, 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.004a4570
add esp, 8
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret

Function at 0x4ac140
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x9e60e4]
xor edx, edx
cmp eax, edx
jne 0x4ac166
xor eax, eax
mov byte [eax + 0x9e5fe4], al
inc eax
cmp eax, 0x100
jl 0x4ac14e
mov dword [0x9e60e4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x9e5fe4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4ac1f7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4ac1ca
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4ac198
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4ac270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4ac2c3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4ac2aa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b2c60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df13e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004b3580
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x9afe54
call fcn.004d10b6
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4b2cf3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d10b6
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4b2cec
push 0
mov ecx, eax
call fcn.004a9d70
mov dword [esi + 0xc], eax
jmp 0x4b2cf5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4b2cf5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4d3743
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d377b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d17d0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d17a8
jmp 0x4d3787
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d4e35
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d4e77
call fcn.004da8ed
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d4e77
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d4e6e
xor eax, eax
jmp 0x4d4e7f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d4e85
pop edi
pop esi
pop ebx
ret 4
Function at 0x4dae1d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4dae4b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4dae69
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004dad83
jmp 0x4dae69
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4dae69
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004dad83
test edi, edi
mov eax, edi
jne 0x4dae53
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40100c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a008]
jne 0x401016
repz ret
jmp fcn.004018a0

Function at 0x40924e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004053be
and dword [ebp - 4], 0
cmp dword [0x42c774], 0
mov ebx, eax
jne 0x4092ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4093b0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4093b0
push eax
call fcn.0040534c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42c774], eax
call esi
push eax
call fcn.0040534c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42c778], eax
call esi
push eax
call fcn.0040534c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42c77c], eax
call esi
push eax
call fcn.0040534c
pop ecx
mov dword [0x42c784], eax
test eax, eax
je 0x4092ff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040534c
pop ecx
mov dword [0x42c780], eax
mov eax, dword [0x42c780]
cmp eax, ebx
je 0x409357
cmp dword [0x42c784], ebx
je 0x409357
push eax
call fcn.004053c7
push dword [0x42c784]
mov esi, eax
call fcn.004053c7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409357
test edi, edi
je 0x409357
call esi
test eax, eax
je 0x40934e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40934e
test byte [ebp - 0xc], 1
jne 0x409357
or dword [ebp + 0x10], 0x200000
jmp 0x409390
mov eax, dword [0x42c778]
cmp eax, ebx
je 0x409390
push eax
call fcn.004053c7
pop ecx
test eax, eax
je 0x409390
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409390
mov eax, dword [0x42c77c]
cmp eax, ebx
je 0x409390
push eax
call fcn.004053c7
pop ecx
test eax, eax
je 0x409390
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42c774]
call fcn.004053c7
pop ecx
test eax, eax
je 0x4093b0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4093b2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b770
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x27148b4], 0x930
jne 0x40b78d
push str.butupoxehurelelehocosohixunexa
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x27148b4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x27145d0], eax
jne 0x40b7b3
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov esp, ebp
pop ebp
ret
Function at 0x41cbf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a4dcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00499e16
mov ecx, dword [esp + 8]
mov dword [esp + reloc.advapi32.dll_RegQueryValueA], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41cc72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00497cfc
mov eax, dword [eax]
push 0x4f4ca0
push eax
call fcn.00489f34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049a0a1
test bl, bl
je 0x41cc72
push 0x4f4ca0
lea ecx, [esp + 0xc]
call fcn.0049a431
push 0x4f4cac
lea ecx, [esp + 0xc]
call fcn.0049a431
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, reloc.advapi32.dll_RegQueryValueA
mov dword [esp + 0xc], eax
jne 0x41ccae
lea ecx, [esp + 8]
mov dword [esp + reloc.advapi32.dll_RegQueryValueA], eax
call fcn.0049a0a1
jmp 0x41cd79
push esi
mov esi, dword [esp + reloc.advapi32.dll_RegQueryValueA]
push edi
mov edi, dword [0x4a93f4]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41cd32
lea edx, [esp + 0x7c]
push 0x4f4ca8
push edx
call fcn.00489f34
add esp, 8
test eax, eax
je 0x41cd32
lea eax, [esp + 0x7c]
push 0x4f4ca4
push eax
call fcn.00489f34
add esp, 8
test eax, eax
je 0x41cd32
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x41ccc2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + reloc.advapi32.dll_RegQueryValueA], reloc.advapi32.dll_RegQueryValueA
call fcn.0049a0a1
pop edi
pop esi
mov ecx, dword [esp + reloc.advapi32.dll_RegQueryValueA]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41d580
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41d5e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.advapi32.dll_RegQueryValueA]
mov ecx, dword [esp + reloc.advapi32.dll_RegQueryValueA]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41d5f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a4e4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5040a8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + reloc.advapi32.dll_RegQueryValueA], 0
test eax, eax
jne 0x41d728
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41d656
lea ecx, [esp + 8]
mov dword [esp + reloc.advapi32.dll_RegQueryValueA], reloc.advapi32.dll_RegQueryValueA
call fcn.0049a0a1
xor eax, eax
jmp 0x41d79f
push 0x4f4ce8
lea ecx, [esp + 0xc]
call fcn.0049a1de
push esi
lea ecx, [esp + 0xc]
call fcn.0049a46d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + reloc.advapi32.dll_RegQueryValueA]
push ebp
push 0
push 0
push ecx
push 0x4f4ce0
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41d77d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4f4cd8
push 0x80000000
call fcn.0041d580
test eax, eax
jne 0x41d77d
mov ebx, dword [0x4a928c]
lea eax, [esp + 0x14]
push 0x4f4cc4
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.0041d580
test eax, eax
jne 0x41d77d
lea eax, [esp + 0x14]
push 0x4f4cbc
push eax
call fcn.0048afb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d75c
lea ecx, [esp + 0x14]
push 0x4f4cb8
push ecx
call fcn.0048af30
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d75c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41d75f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049a18e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41d66e
lea ecx, [esp + 8]
mov dword [esp + reloc.advapi32.dll_RegQueryValueA], reloc.advapi32.dll_RegQueryValueA
call fcn.0049a0a1
xor eax, eax
jmp 0x41d79f
mov byte [esi], 0
push 0x4f4cb4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.kernel32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + reloc.advapi32.dll_RegQueryValueA], reloc.advapi32.dll_RegQueryValueA
call fcn.0049a0a1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + reloc.advapi32.dll_RegQueryValueA]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x42e6c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x514848]
xor edx, edx
cmp eax, edx
jne 0x42e6e6
xor eax, eax
mov byte [eax + 0x514748], al
inc eax
cmp eax, 0x100
jl 0x42e6ce
mov dword [0x514848], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x514748
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42e777
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42e74a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x42e718
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42e780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x42e7d3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42e7ba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret