joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bae0
Capabilities:
Get common file path

Disassembly:
cmp dword [0x5343a4], 1
jne 0x48baee
jmp fcn.004ae690
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push edx
add ecx, 0x101c
push ecx
push eax
call fcn.00466930
ret 8

Function at 0x48c2d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push 0x1012
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call ebx
movzx esi, ax
shr esi, 0xf
push 0x12
and esi, 1
call ebx
movzx edi, ax
shr edi, 0xf
push 0x11
and edi, 1
call ebx
shr eax, 0xf
and eax, 1
test byte [esp + 0x14], 1
jne 0x48c34d
test esi, esi
jne 0x48c34d
test edi, edi
jne 0x48c34d
test eax, eax
jne 0x48c34d
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
add esp, 0x14
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret

Function at 0x48c360
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12ec
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x12e8], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, ecx
mov eax, dword [esi]
push 0x1004
push eax
call edi
push 0
push 0x800
lea ecx, [esp + 0x2fc]
push ecx
mov ebx, eax
call fcn.004ad2b0
push 0x4001
push 0x2b4
lea edx, [esp + 0x48]
push edx
push 0
lea eax, [esp + 0x304]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x34
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.004e01d0
mov edx, dword [esp + 0x50]
add esp, 0xc
push 0x3d4
mov dword [esp + 0x10], 3
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
call fcn.004610c0
mov ecx, dword [esi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x104d
push ecx
call edi
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
push 0
push ebx
push 0x1076
push eax
mov byte [esi + 0x18], 1
call edi
mov ecx, dword [esp + 0x12f4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x12ec
ret
Function at 0x48c6c0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x2000], eax
push esi
push 1
push str.RestoreFolder
push str.General
mov esi, ecx
call fcn.00496520
push 0x800
push 0x4f9a98
test eax, eax
je 0x48c73b
lea eax, [esp + 0xc]
push eax
push str.LastFolder
push str.General
call fcn.004964f0
cmp word [esp + 4], 0
je 0x48c7c9
lea ecx, [esp + 4]
push ecx
call fcn.004432f0
test al, al
je 0x48c7c9
push 0x800
lea edx, [esp + 8]
push edx
jmp 0x48c7bd
lea eax, [esp + 0x100c]
push eax
push str.StartFolder
push 0x4fb780
call fcn.004964f0
push 0x800
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x100c]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor eax, eax
mov word [esp + 0x1002], ax
cmp word [esp + 4], ax
je 0x48c7c9
mov edx, 0x4fa4b8
lea ecx, [esp + 4]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x48c7aa
test ax, ax
je 0x48c7a6
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x48c7aa
add ecx, 4
add edx, 4
test ax, ax
jne 0x48c784
xor eax, eax
jmp 0x48c7af
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48c7c9
push 0x800
lea ecx, [esp + 8]
push ecx
add esi, 0x101c
push esi
call fcn.00466930
mov ecx, dword [esp + 0x2004]
pop esi
xor ecx, esp
call fcn.004df2c4
add esp, 0x2004
ret
Function at 0x48de80
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
push 1
push str.ColorAttr
push str.FileList
mov esi, ecx
call fcn.00496520
test eax, eax
setne al
lea ecx, [esp + 8]
mov byte [esi + 0x2120], al
mov edx, dword [0x5354dc]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x5275b0]
mov ecx, dword [0x5354dc]
push 0
push eax
push 0xb
push ecx
push 0
push 0
push 0
push 0
push 0x44a00249
push 0x4f9a98
push str.SysListView32
push 0x300
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push str.Detailed
push str.FileList
mov dword [esi], eax
call fcn.00496520
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
push eax
mov ecx, esi
call fcn.0048d070
push 1
push str.FullRow
push str.FileList
mov edi, 0x400
call fcn.00496520
test eax, eax
je 0x48df37
mov edi, 0x420
push 0
push str.ShowGrid
push str.FileList
call fcn.00496520
test eax, eax
je 0x48df4f
or edi, 1
push 0
push str.SingleClick
push str.FileList
call fcn.00496520
test eax, eax
je 0x48df90
push 0
push str.Underline
push str.FileList
or edi, 0x48
call fcn.00496520
cmp eax, 1
jne 0x48df85
or edi, 0x800
jmp 0x48df90
cmp eax, 2
jne 0x48df90
or edi, 0x1000
mov edx, dword [esi]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1036
push edx
call edi
push 0
push 2
push 0x21
push 0xd
push 0xd
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0048c850
push 0x5c
push 0
lea eax, [esp + 0x20]
push eax
push str.Font
push str.FileList
call fcn.00496540
cmp word [esp + 0x34], 0
je 0x48e065
movzx edx, byte [esp + 0x33]
movzx eax, byte [esp + 0x32]
lea ecx, [esp + 0x34]
push ecx
movzx ecx, byte [esp + 0x35]
push edx
movzx edx, byte [esp + 0x38]
push eax
movzx eax, byte [esp + 0x3b]
push ecx
movzx ecx, byte [esp + 0x3e]
push edx
movzx edx, byte [esp + 0x41]
push eax
movzx eax, byte [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateFontW]
test eax, eax
je 0x48e043
push 1
push eax
mov eax, dword [esi]
push 0x30
push eax
call edi
push 0
push str.FontColor
push str.FileList
call fcn.00496520
test eax, eax
je 0x48e065
mov ecx, dword [esi]
push eax
push 0
push 0x1024
push ecx
call edi
mov ecx, esi
call fcn.0048c950
mov ecx, esi
call fcn.0048cf00
mov edx, dword [esi]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x5343a4], 1
je 0x48e090
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.0048d100
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.004df2c4
add esp, 0x70
ret
Function at 0x492900
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push ebx
test eax, eax
je 0x492a18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x492910
sub eax, edx
sar eax, 1
mov ebx, eax
je 0x492a18
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x492937
pop ebx
ret 4
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ebp, [ebx + ebx + 2]
push ebp
push 0x2002
call edi
mov esi, eax
test esi, esi
je 0x492982
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x492982
mov edx, dword [esp + 0x14]
lea ecx, [ebx + 1]
push ecx
push eax
push edx
call fcn.004697e0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
push 0x2002
call edi
mov edi, eax
test edi, edi
je 0x4929c2
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x4929c2
mov eax, dword [esp + 0x14]
inc ebx
push ebx
push esi
push eax
call fcn.004697e0
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x492a0f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x492a0f
mov ecx, dword [esp + 0x14]
mov edx, eax
sub edx, ecx
jmp 0x4929f0
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x4929f0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4

Function at 0x493620
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
call fcn.00445d60
cmp eax, 0x600
jb 0x493643
movzx ecx, byte [esp + 8]
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
push esi
call edx
pop esi
ret 4
mov eax, dword [esi + 8]
mov cl, byte [esp + 8]
mov byte [eax + 0x64], cl
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4936c3
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df0da
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0xc]
push edi
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0xc]
push 1
push 8
push 0x102
push edx
call edi
mov eax, dword [esi + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.004e0284
add esp, 4
pop edi
pop ebx
pop esi
ret 4
Function at 0x4938f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x268
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
mov ebp, dword [esp + 0x274]
push esi
push 0x80
push 0x4f9a98
lea eax, [esp + 0x178]
push eax
mov esi, ecx
mov ecx, dword [str.Passwords]
push 0x4fdce4
push ecx
call fcn.004964f0
cmp word [esp + 0x170], 0
push 0x100
lea edx, [esp + 0x174]
push edx
setne bl
call fcn.00463fb0
push ebp
lea eax, [esp + 0x10]
mov edx, 0x32
test bl, bl
je 0x49399a
push 0x4fdcdc
push eax
call fcn.00493540
mov edx, dword [str.Passwords]
add esp, 0xc
push 0x80
push 0x4f9a98
push esi
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.004964f0
cmp word [esi], 0
jne 0x493a19
xor al, al
jmp 0x493ae0
push str.PE_d
push eax
call fcn.00493540
push 0x100
lea ecx, [esp + 0x80]
push 0
push ecx
call fcn.004e01d0
mov ecx, dword [str.Passwords]
add esp, 0x18
push 0x100
push 0
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00496540
test eax, eax
je 0x493993
xor ecx, ecx
test eax, eax
jle 0x4939f1
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x70], dl
inc ecx
cmp ecx, eax
jl 0x4939e3
push 0x80
push esi
lea eax, [esp + 0x78]
push eax
call fcn.004698a0
push 0x100
lea edx, [esp + 0x74]
xor ecx, ecx
push edx
mov word [esi + 0xfe], cx
call fcn.00463fb0
push edi
push ebp
lea eax, [esp + 0x14]
push 0x4fdcc8
push eax
mov edx, 0x32
call fcn.00493540
mov edx, dword [str.Passwords]
add esp, 0xc
push 0xc8
push 0x4f9a98
lea edi, [esi + 0x100]
push edi
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.004964f0
push ebp
lea eax, [esp + 0x14]
push 0x4fdcc0
push eax
mov edx, 0x32
call fcn.00493540
mov eax, dword [str.Passwords]
add esp, 0xc
push 0x800
push 0x4f9a98
lea ecx, [esi + 0x290]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.004964f0
push ebp
lea ecx, [esp + 0x14]
push 0x4fdcb8
push ecx
mov edx, 0x32
call fcn.00493540
mov eax, dword [str.Passwords]
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00496520
test eax, eax
setne cl
cmp word [edi], 0
mov byte [esi + 0x1420], cl
push 0xc8
je 0x493ad0
push edi
jmp 0x493ad1
push esi
add esi, 0x1290
push esi
call fcn.00466930
mov al, 1
pop edi
mov ecx, dword [esp + 0x270]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x268
ret 4
Function at 0x495920
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x5a4
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebp
mov ebp, dword [esp + 0x5ac]
push edi
mov edi, dword [esp + 0x5b4]
cmp word [edi], 0
je 0x495a1b
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x495a1b
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
xor esi, esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push esi
push ecx
mov dword [esp + 0x30], 0xc8
call ebx
test eax, eax
jne 0x4959f8
lea ebx, [ebx]
lea edx, [esp + 0x20]
push edx
push edi
lea eax, [esp + 0x1b8]
push 0x4fde5c
push eax
mov edx, 0x200
call fcn.00493540
add esp, 0x10
lea ecx, [esp + 0x1b0]
push ecx
push ebp
call fcn.00495920
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0xc8
call ebx
test eax, eax
je 0x4959a0
mov eax, dword [esp + 0x14]
pop esi
pop ebx
test eax, eax
je 0x495a09
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x495a1b
inc dword [0x560aec]
mov ecx, dword [esp + 0x5a8]
pop edi
pop ebp
xor ecx, esp
call fcn.004df2c4
add esp, 0x5a4
ret 8

Function at 0x495a40
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x404
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x40c]
push esi
mov esi, dword [esp + 0x40c]
cmp esi, 0x80000001
jne 0x495aae
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x495a9e
test cx, cx
mov ecx, 0x4fa3cc
jne 0x495a83
mov ecx, 0x4f9a98
push eax
push ecx
lea eax, [esp + 0xc]
push str.SoftwareWinRAR_s_s
push eax
mov edx, 0x200
call fcn.00493540
add esp, 0x10
jmp 0x495abe
push 0x200
add eax, 2
push eax
lea ecx, [esp + 0xc]
push ecx
jmp 0x495ab9
push 0x200
push eax
lea edx, [esp + 0xc]
push edx
call fcn.00466930
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [esp + 0x404]
pop esi
xor ecx, esp
call fcn.004df2c4
add esp, 0x404
ret 8
Function at 0x495af0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x408
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x410]
push esi
mov esi, dword [esp + 0x410]
push edi
mov edi, dword [esp + 0x41c]
cmp esi, 0x80000001
jne 0x495b66
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x495b56
test cx, cx
mov ecx, 0x4fa3cc
jne 0x495b3b
mov ecx, 0x4f9a98
push eax
push ecx
lea eax, [esp + 0x14]
push str.SoftwareWinRAR_s_s
push eax
mov edx, 0x200
call fcn.00493540
add esp, 0x10
jmp 0x495b76
push 0x200
add eax, 2
push eax
lea ecx, [esp + 0x14]
push ecx
jmp 0x495b71
push 0x200
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00466930
lea eax, [esp + 8]
push eax
push 0x20006
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x495bad
mov edx, dword [esp + 8]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 8]
test eax, eax
je 0x495bad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
xor ecx, esp
call fcn.004df2c4
add esp, 0x408
ret 0xc

Function at 0x495e70
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push eax
lea edi, [esp + 0x14]
call fcn.00495ce0
mov edi, eax
test edi, edi
je 0x495ec8
mov edx, dword [esp + 0x18]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x495e93
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push 1
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
ret 0x10

Function at 0x495f80
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push eax
call fcn.00495db0
mov esi, eax
mov dword [esp + 0x10], 4
test esi, esi
je 0x495fd4
push ebx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push esi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
pop ebx
je 0x495fd4
cmp dword [esp + 0x10], 0
jne 0x495fdd
mov eax, dword [esp + 0x18]
pop esi
pop ecx
ret 0x10
mov eax, dword [esp + 0xc]
pop esi
pop ecx
ret 0x10
Function at 0x495ff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push eax
call fcn.00495db0
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x14], ebp
test esi, esi
je 0x496043
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x496043
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x49606b
mov eax, dword [esp + 0x20]
push ebp
test eax, eax
je 0x49605e
push eax
push ebx
call fcn.004dfe60
add esp, 0xc
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
push 0
push ebx
call fcn.004e01d0
add esp, 0xc
xor eax, eax
pop esi
pop ebp
pop ebx
ret 0x18
Function at 0x496440
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push esi
push edi
push ecx
lea edi, [esp + 0x10]
mov esi, SysReAllocString
mov dword [esp + 0x18], eax
call fcn.00495ce0
mov esi, eax
test esi, esi
je 0x49648a
mov eax, dword [esp + 0x10]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0xc
mov eax, dword [esp + 0xc]
pop edi
pop esi
ret 0xc

Function at 0x4964a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
lea edi, [esp + 0x10]
mov esi, SysReAllocString
call fcn.00495ce0
mov esi, eax
test esi, esi
je 0x4964e5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push edx
push 3
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0x10
mov eax, dword [esp + 0xc]
pop edi
pop esi
ret 0x10

Function at 0x496570
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
mov esi, SysReAllocString
call fcn.00495db0
mov edi, eax
test edi, edi
jne 0x49658c
pop edi
pop esi
ret 8
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg esi
sbb esi, esi
not esi
and esi, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
ret 8

Function at 0x496ac0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor esi, esi
xor ebx, ebx
xor byte [esi + ecx], bl
mov eax, 0xaaaaaaab
mul ebx
shr edx, 1
lea ebx, [edx + ebx + 3]
inc esi
and ebx, 0xffffff
cmp esi, 0x480
jb 0x496ac6
pop esi
pop ebx
ret
Function at 0x496bd0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebx
call fcn.00496af0
test eax, eax
je 0x496bff
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.00496af0
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.00496af0
mov dword [esi + 0x18], eax
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.00496af0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.00496af0
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.00496af0
mov dword [esi + 0x24], eax
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.00496af0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x100
lea edx, [esi + 0x2c]
push edx
mov ecx, esi
mov dword [esi + 0x28], eax
call fcn.00496b50
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.00496af0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x100
lea edx, [esi + 0x130]
push edx
mov ecx, esi
mov dword [esi + 0x12c], eax
call fcn.00496b50
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.00496af0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x100
lea edx, [esi + 0x234]
mov dword [esi + 0x230], eax
push edx
mov ecx, esi
call fcn.00496b50
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.00496af0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x334], eax
call fcn.00496af0
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x338], eax
call fcn.00496af0
push ebp
mov dword [esi + 0x33c], eax
lea eax, [esp + 0x14]
push eax
push edi
push 0x20
lea ecx, [esi + 0x340]
push ecx
mov ecx, esi
call fcn.00496b50
push ebp
lea edx, [esp + 0x14]
push edx
push edi
push 0x100
lea eax, [esi + 0x380]
push eax
mov ecx, esi
call fcn.00496b50
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebx
jbe 0x496d58
nop
xor bl, byte [eax + edi]
inc eax
cmp eax, ecx
jb 0x496d50
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.00496af0
movzx edx, bl
pop edi
xor ecx, ecx
cmp edx, eax
pop esi
sete cl
pop ebp
mov al, cl
pop ebx
pop ecx
ret 8
Function at 0x497970
Capabilities:
Write file on windows

Disassembly:
mov eax, 0xa804
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0xa800], eax
mov ecx, dword [esp + 0xa80c]
lea eax, [esp + 0xa810]
push eax
push ecx
lea edx, [esp + 8]
push 0x1800
push edx
call fcn.004e42a9
xor eax, eax
mov word [esp + 0x300e], ax
mov eax, dword [esp + 0xa818]
add esp, 0x10
sub eax, 0
je 0x497a29
sub eax, 1
je 0x497a07
sub eax, 1
jne 0x497a6d
push 0x1800
lea ecx, [esp + 0x3004]
push ecx
lea edx, [esp + 8]
push edx
call fcn.004697e0
lea eax, [esp + 0x3000]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4979f0
push esi
sub eax, edx
push eax
push 1
lea eax, [esp + 0x300c]
push eax
jmp 0x497a65
lea eax, [esp]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x497a10
sub eax, edx
push esi
sar eax, 1
push eax
push 2
lea ecx, [esp + 0xc]
jmp 0x497a64
push 0x6000
lea edx, [esp + 0x4804]
push edx
lea eax, [esp + 8]
push eax
call fcn.004698f0
lea eax, [esp + 0x4800]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x497a50
push esi
sub eax, edx
push eax
push 1
lea ecx, [esp + 0x480c]
push ecx
call fcn.004e3fae
add esp, 0x10
mov ecx, dword [esp + 0xa800]
xor ecx, esp
call fcn.004df2c4
add esp, 0xa804
ret

Function at 0x498330
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x10ec
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x10e8], eax
cmp byte [0x533389], 0
je 0x498386
push 0x800
lea eax, [esp + 4]
push eax
call fcn.004b3f90
test al, al
je 0x4983e2
push 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4983e2
lea edx, [esp]
jmp 0x4983ce
lea eax, [esp]
push eax
mov ecx, 0x53fd10
mov dword [esp + 0x1094], 0
mov dword [esp + 0x1098], 0
call fcn.0048cdf0
test al, al
je 0x4983e2
push 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4983e2
lea edx, [esp]
push edx
push 0x557
call fcn.004610c0
push eax
call fcn.004bbb10
add esp, 8
mov ecx, dword [esp + 0x10e8]
xor ecx, esp
call fcn.004df2c4
add esp, 0x10ec
ret