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

Disassembly:
push 0xffffffffffffffff
push 0x100c0963
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.100b3e9d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.100b9555
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100baa71
test eax, eax
je 0x1005a36c
mov ecx, dword [esp + 0x3c]
call fcn.100b9582
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 0x1005a330
push edi
mov ecx, esi
call fcn.100b6bcb
mov ecx, esi
call fcn.1005a510
cmp dword [esp + 0x38], 1
jne 0x1005a365
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.100b6d06
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 0x1005c580
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x1005c5b3
push esi
call fcn.1006a7f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1005c5ac
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 0x1005c639
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1005c622
mov eax, dword [esi + 8]
test eax, eax
je 0x1005c5d7
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 0x1005c61e
cmp eax, 2
je 0x1005c622
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005c5ca
cmp eax, 3
je 0x1005c5fd
cmp eax, 1
jne 0x1005c5ca
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 0x1005c5ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1005c5ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.1005c660
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x1005c648
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.1005c660
add esp, 4
pop esi
ret

Function at 0x1005ced0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x1005cef1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x1005cef1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x1005cef1
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 0x1005d340
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1005d34b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1005d44e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x101afd50]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x101afd50]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x101afd50]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x101afd50]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x101afd50]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x101afd50]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x101afd50]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x101afd50]
xor eax, edx
inc ecx
dec edi
jne 0x1005d366
pop edi
test esi, esi
je 0x1005d470
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x101afd50]
xor eax, edx
inc ecx
dec esi
jne 0x1005d452
pop esi
pop ebx
not eax
ret
Function at 0x10079920
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x10079969
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x10079de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100c0e60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.10079990
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.10079a10
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.10079a10
lea ecx, [esi + 0xc]
call fcn.100b2879
lea ecx, [esi + 0x10]
call fcn.100b2879
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.1007afa0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.1007afa0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.1007afa0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.100b28ee
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.100b28ee
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1007b190
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x1007b1f6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x1007b1f6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x1007b1d7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x10082c20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.d3d9.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Direct3DCreate9
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push 0x102f2c28
lea eax, [esp + 0x14]
and ecx, 3
push 1
push eax
rep movsb byte es:[edi], byte [esi]
push 0x102f2c30
call fcn.10082cd0
add esp, 0x14
test al, al
pop edi
pop esi
pop ebx
jne 0x10082ca2
push 0x102a884c
call fcn.10082cb0
add esp, 4
xor eax, eax
add esp, 0x104
ret
mov eax, 1
add esp, 0x104
ret
Function at 0x10091c25
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x10091d46
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x10091d2a
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x10091c7c
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x10091c5a
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x1009278e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100927e5
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x100927e5
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x100927e5
xor eax, eax
inc eax
jmp 0x100927e7
xor eax, eax
leave
ret 0x10
Function at 0x10092810
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x1009287e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x1027d574
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10092875
cmp dword [ebp - 0xc], 4
jne 0x10092875
cmp dword [ebp - 0x10], edi
je 0x10092875
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x102aa128], edi
xor eax, eax
jmp 0x100928bd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x102aa128], edi
jge 0x100928b8
lea eax, [ebp - 0x34]
push eax
mov dword [0x102aa128], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x100928b8
cmp word [ebp - 0x14], 5
jb 0x100928b8
call fcn.100927eb
test eax, eax
je 0x100928b8
emms
mov dword [0x102aa128], 1
mov eax, dword [0x102aa128]
pop edi
leave
ret

Function at 0x100b4c92
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100b4cca
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.100b2d49
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100b2d21
jmp 0x100b4cd6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100b6388
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 0x100b63ca
call fcn.100bbf16
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100b63ca
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100b63c1
xor eax, eax
jmp 0x100b63d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100b63d8
pop edi
pop esi
pop ebx
ret 4
Function at 0x40b6e8
Capabilities:
Accept command line arguments
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x41d738
call fcn.0040c2a7
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
je 0x40b724
push esi
call fcn.004098ba
push esi
push str.sfxcmd
call edi
push 0x400
mov esi, 0x417ad8
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push str.sfxname
call edi
call fcn.004063e7
test eax, eax
je 0x40b75a
push 0x400
push 0x4172d8
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x40b762
xor eax, eax
mov word [0x4172d8], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
push 0x64
push edi
mov dword [0x412c78], edi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x65
push dword [0x412c78]
mov dword [0x4172d4], eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
lea ecx, [ebp - 8]
mov dword [0x4172d0], eax
call fcn.0040f0b0
push esi
mov ecx, 0x412c88
call fcn.0040868d
lea ecx, [ebp - 0x40]
call fcn.004059bb
lea ecx, [ebp - 0x24]
call fcn.004059bb
push 0x64
call fcn.00409181
push 0x64
mov dword [ebp - 0x28], eax
call fcn.00409181
push ebx
push 0x40afd0
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x40]
mov dword [0x416ecc], eax
push str.STARTDLG
lea eax, [ebp - 0x24]
push edi
mov dword [0x416ec8], eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
lea ecx, [ebp - 0x24]
mov dword [0x417f80], ebx
mov dword [0x416ec8], ebx
mov dword [0x416ecc], ebx
call fcn.004059d1
lea ecx, [ebp - 0x40]
call fcn.004059d1
lea ecx, [ebp - 8]
call fcn.0040f128
cmp byte [0x417f88], bl
je 0x40b823
call fcn.00409b5e
push 0x80
push ebx
push 0x417ee8
call fcn.004087ba
cmp dword [0x418824], ebx
jbe 0x40b846
push dword [0x418818]
call fcn.00408736
push dword [0x4172d4]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x4172d0]
cmp eax, ebx
je 0x40b860
push eax
call esi
cmp dword [0x412c7c], ebx
jne 0x40b87f
cmp dword [0x417f78], ebx
je 0x40b87f
push 0xff
mov ecx, 0x412c7c
call fcn.00402cdb
mov eax, dword [0x418828]
mov dword [0x417f78], 2
cmp eax, ebx
je 0x40b898
push eax
call fcn.00409b1f
call dword [sym.imp.ole32.dll_OleUninitialize]
push dword [0x412c7c]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x5b1679
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x5b168f
mov eax, dword [ebp + 0xc]
and dword [eax], esi
jmp 0x5b16c3
push esi
call fcn.005b1774
pop ecx
mov byte [ebp - 2], al
push 2
pop edi
add esi, edi
push esi
call fcn.005b1774
pop ecx
add esi, edi
push esi
mov byte [ebp + 8], al
call fcn.005b1774
mov byte [ebp - 1], al
mov bl, al
mov al, byte [ebp - 2]
pop ecx
xor bl, al
cmp bl, 0x47
mov byte [ebp - 2], bl
je 0x5b16ca
xor eax, eax
jmp 0x5b176f
sar eax, 1
add esi, edi
and eax, 3
je 0x5b16fc
mov dword [ebp - 8], eax
jmp 0x5b16db
mov bl, byte [ebp - 2]
push esi
call fcn.005b1774
mov dl, byte [ebp - 1]
pop ecx
mov cl, byte [ebp + 8]
add esi, edi
add cl, bl
mov byte [ebp + 8], dl
xor cl, al
dec dword [ebp - 8]
mov byte [ebp - 1], al
mov byte [ebp - 2], cl
jne 0x5b16d8
xor edi, edi
push esi
call fcn.005b1774
mov bl, byte [ebp + 8]
pop ecx
add bl, byte [ebp - 2]
mov cl, byte [ebp - 1]
mov byte [ebp + 8], cl
mov byte [ebp - 1], al
xor bl, al
inc esi
mov byte [ebp + edi - 8], bl
inc esi
inc edi
mov byte [ebp - 2], bl
cmp edi, 4
jb 0x5b16fe
push dword [ebp - 8]
push 0
push dword [0x291a4dc8]
call dword [0x29191134]
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp - 8]
test eax, eax
je 0x5b176a
mov dword [ebp - 8], eax
push esi
call fcn.005b1774
pop ecx
mov cl, byte [ebp + 8]
add cl, bl
xor cl, al
inc esi
mov bl, cl
mov cl, byte [ebp - 1]
mov byte [edi], bl
inc esi
inc edi
dec dword [ebp - 8]
mov byte [ebp + 8], cl
mov byte [ebp - 1], al
jne 0x5b1747
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5ca140
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x66c7a8d3
push eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov ebx, dword [0x66caa0c4]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
push edi
xor edi, edi
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
cmp ecx, edi
mov dword [esi], 1
mov dword [esi + 0x34], edi
mov dword [esi + 4], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
je 0x5ca19b
call ebx
mov ecx, dword [esi + 8]
cmp ecx, edi
je 0x5ca1a4
call ebx
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x5ca1ad
call ebx
mov ecx, dword [esi + 0x10]
cmp ecx, edi
je 0x5ca1b6
call ebx
mov ecx, dword [esi + 0x14]
cmp ecx, edi
je 0x5ca1bf
call ebx
mov ecx, dword [esi + 0x18]
cmp ecx, edi
je 0x5ca1c8
call ebx
mov ecx, esi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
call fcn.005c6290
mov ebx, dword [esp + 0x34]
mov dword [esi + 0x24], edi
cmp ebx, edi
je 0x5ca22c
push 0x66e19718
push 0x6e
push 0x66dcb778
push 1
push 0x70
call dword [0x66ca9260]
add esp, 0x14
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
cmp eax, edi
je 0x5ca21f
push ebx
mov ecx, eax
call dword [0x66ca9520]
jmp 0x5ca221
xor eax, eax
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x1c
Function at 0x5f44c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
out 0xfb, al
dec esp
into
mov dh, 0xe4
push ebx
jg 0x5f4532
xchg bp, ax
xor ch, byte ss:[ebx]
push ss
xchg edx, eax
les edx, [ebx]
xor ebp, dword [ebx - 0x2d]
test eax, 0xc6f3d994
mov eax, dword [0x97ad930e]
lodsd eax, dword [esi]
xchg edi, eax
xor cl, byte [ecx - 0x47]
aad 0x87
cmpsd dword [esi], dword es:[edi]
xlatb
xchg edi, eax
mov eax, dword [0xc3cc095d]
mov ecx, 0xb7e98a3b
loope 0x5f44df
shr dword [ebp + 0x18e27d6a], cl
jo 0x5f44c1
adc ecx, dword [ebx - 0x76]
retf
call 0x6bf6f4ee
ret
Function at 0x402a3d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x7a1fb0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402ad1
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402a8e
cmp dword [ebp + 0x10], ebx
jne 0x402ac5
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a3d
test eax, eax
jne 0x402aa0
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402a75
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00405eb6
cmp eax, ebx
je 0x402ad8
push ebx
push dword [0x7a1fb0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402ad1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x7a1fb0], ebx
jne 0x402ace
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ace
jmp 0x402ad1
Function at 0x40533e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x79fd18], 0x44
push eax
xor eax, eax
push 0x79fd18
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405379
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405403
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.004057f7
mov edi, eax
cmp edi, 0xffffffff
je 0x405444
test byte [esp + 0x10], 1
push esi
je 0x405426
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x40542c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x405435
xor eax, eax
inc eax
jmp 0x405446
test byte [esp + 0x10], 4
jne 0x405444
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8