joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4479a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a97e8
cmp dword [edi], 0
jne 0x447a1c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a97e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a6a18
mov ecx, 2
call fcn.00402888
mov edx, 0x447978
lea eax, [esi + 5]
call fcn.00447998
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00447998
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4479f1
mov dword [0x4a97e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x447b38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447b88]
test si, 4
je 0x447b4c
or bl, 1
test si, 8
je 0x447b56
or bl, 4
test si, 1
je 0x447b60
or bl, 8
test si, 2
je 0x447b6a
or bl, 0x10
test si, 0x10
je 0x447b74
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447b83
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x447b8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447bc4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447ba5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447bb4
or bl, 4
test esi, 0x20000000
je 0x447bbf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44de04
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44de16
add esp, 0xfffffff0
call fcn.004032d0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00417c40
mov eax, ebx
call fcn.0044e150
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40efd4]
call fcn.00402f60
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40efd4]
call fcn.00402f60
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40efd4]
call fcn.00402f60
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40efd4]
call fcn.00402f60
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40efd4]
call fcn.00402f60
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC_1
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps_1
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x44ddd4
push eax
push 0
push 0
mov eax, dword [0x4a80f4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x419108]
call fcn.0041a6e0
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x419108]
call fcn.0041a6e0
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x419108]
call fcn.0041a6e0
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0044e5c0
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e494
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e494
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e494
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44df25
call fcn.00403328
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44e278
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e423
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x44e404
mov dl, 1
mov eax, dword [0x40f500]
call fcn.00402f60
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403cdc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e3f3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043c56c
test al, al
je 0x44e3e6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44e434
lea eax, [ebp - 0x254]
call fcn.00409dcc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_2
test eax, eax
jne 0x44e3e6
xor eax, eax
push ebp
push 0x44e3df
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44e46c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e3c8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403f0c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x44e3c8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403f0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e3e6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_2
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e2e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00412f98
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e42a
lea eax, [ebp - 0x260]
call fcn.00403cdc
ret

Function at 0x44ed80
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4a97d8]
cmp byte [eax + 0x95], 0
jne 0x44edf1
cmp dword [0x4a97f4], 0
jne 0x44edb2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44ed3c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a97f4], eax
cmp dword [0x4a97f0], 0
jne 0x44edcd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a97f0], eax
cmp dword [0x4a97f8], 0
jne 0x44edf1
push esp
push 0
push 0
push 0x44ece0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a97f8], eax
pop edx
ret
Function at 0x44eee8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44eeff
add esp, 0xfffffff0
call fcn.004032d0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00417c40
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40efd4]
call fcn.00402f60
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40efd4]
call fcn.00402f60
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x419a98]
call fcn.004212e8
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x44f074
mov eax, dword [0x4a7ff8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004216b8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450a78
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a7ff8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_3
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c480
test eax, eax
je 0x44eff2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040976c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c4a8
test eax, eax
je 0x44f006
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403f0c
mov eax, dword [0x4a7ea4]
cmp byte [eax], 0
jne 0x44f037
mov eax, ebx
call fcn.0044f160
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f069
call fcn.00403328
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f3d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a97d8]
cmp dword [eax + 0x24], 0
je 0x44f473
cmp dword [ebx + 0x84], 0
jne 0x44f46d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f360
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x44f46d
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow_1
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44f436
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f46d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00410bdc
push eax
call sub.user32.dll_SetWindowPos_1
dec esi
cmp esi, 0xffffffff
jne 0x44f445
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44fe80
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x44feb5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA_1
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403dc4
jmp 0x44febf
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403d30
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450dec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x450e24
mov eax, esi
call fcn.0043828c
test al, al
je 0x450e24
mov eax, dword [ebx + 0x74]
call fcn.00437f90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450e24
push 0
mov eax, dword [ebx + 0x74]
call fcn.00437f90
push eax
call sub.user32.dll_ShowWindow_1
pop esi
pop ebx
ret

Function at 0x45d2d8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d3b0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a9870], 0
jne 0x45d394
lea eax, [ebp - 4]
mov edx, 0x45d3c8
call fcn.00403d74
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404120
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45d394
mov eax, ebx
call fcn.00402764
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45d38d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45d377
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45d3d8
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45d377
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4a9870], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d394
mov eax, dword [ebp - 0xc]
call fcn.0040277c
ret
mov ebx, dword [0x4a9870]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d3b7
lea eax, [ebp - 4]
call fcn.00403cdc
ret

Function at 0x46a548
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4a9894], 0
jne 0x46a56b
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46a4cc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a9894], eax
ret
Function at 0x46c0cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46c32b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x46c12e
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0046bb94
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c080
cmp al, 1
jne 0x46c12e
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0046beac
test al, al
je 0x46c2ba
cmp dword [ebp - 8], 0
jge 0x46c14c
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0046bb94
mov eax, dword [ebp - 0x210]
call fcn.00403f5c
cmp ebx, eax
jge 0x46c196
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0046bb94
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4a82e0]
and eax, 0xff
bt dword [edx], eax
jae 0x46c196
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x46c1aa
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046c0a8
cmp ebx, dword [ebp - 8]
je 0x46c2ac
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x46c1d6
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040316c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a6e50]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x46c299
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040316c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a6e50]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00437f90
push eax
call sub.user32.dll_SendMessageA_1
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.0040316c
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a6e50]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00437f90
push eax
call sub.user32.dll_SendMessageA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c2a0
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x46c30d
cmp dword [ebp - 8], 0
jge 0x46c2c5
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0046bb94
mov eax, dword [ebp - 0x218]
call fcn.00403f5c
cmp eax, dword [ebp - 8]
jg 0x46c2ff
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0046bb94
mov eax, dword [ebp - 0x21c]
call fcn.00403f5c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046c0a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c332
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403d00
ret
Function at 0x475f3c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404120
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x475f55
test al, 0x10
jne 0x475f59
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4787c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00478324
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404120
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x47881e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a80fc]
mov dl, 1
mov eax, dword [0x4781b0]
call fcn.0040b86c
call fcn.00403728
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x478828
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404120
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x478880
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a8300]
mov dl, 1
mov eax, dword [0x4781b0]
call fcn.0040b86c
call fcn.00403728
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00478354
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47a92c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x134], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47aaf6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x40]
mov edx, dword [ebx + 0x3c]
call fcn.00403d30
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x47aad6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x47a982
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x28], eax
jmp 0x47a9b4
mov esi, dword [ebx + 4]
mov eax, esi
mov edx, dword [0x42e1c4]
call fcn.00403108
test al, al
je 0x47a9a2
mov eax, esi
call fcn.00437f90
mov dword [ebp - 0x28], eax
jmp 0x47a9b4
mov eax, dword [0x4a8170]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
call fcn.00437f90
mov dword [ebp - 0x28], eax
mov al, byte [ebx + 0x45]
cmp al, 1
jne 0x47a9c2
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x47a9e1
lea edx, [ebp - 0x24]
push edx
and eax, 0x7f
mov eax, dword [eax*4 + 0x4a6ff0]
push eax
mov eax, dword [0x4a8170]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 0x34]
call fcn.00404120
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x2c]
call fcn.00404120
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, esi
mov edx, eax
cmp dl, 7
ja 0x47aa0e
and edx, 0x7f
bt dword [ebx + 0x44], edx
jae 0x47aa1d
and eax, 0x7f
mov eax, dword [eax*4 + 0x4a6fd8]
or dword [ebp - 0x18], eax
inc esi
cmp esi, 6
jne 0x47a9fe
mov eax, 0x4796ac
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebx + 0x40]
mov edx, dword [ebx + 0x3c]
call fcn.00403d30
xor eax, eax
mov dword [ebx + 0x60], eax
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x4c], 0
lea eax, [ebx + 0x3c]
mov edx, dword [ebx + 0x40]
call fcn.00403d30
lea eax, [ebp - 0x28]
push eax
call sub.shell32.dll_SHBrowseForFolderA
mov dword [ebp - 8], eax
cmp byte [ebx + 0x4c], 0
jne 0x47aa43
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x47aab6
lea eax, [ebp - 0x12d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x134]
lea eax, [ebp - 0x12d]
call fcn.004098ec
mov edx, dword [ebp - 0x134]
lea eax, [ebx + 0x3c]
call fcn.00403d30
lea eax, [ebx + 0x40]
mov edx, dword [ebx + 0x3c]
call fcn.00403d30
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x38], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47aadd
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
mov eax, dword [ebp - 0x24]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
Function at 0x47af54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
push edi
push esi
push ebx
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
lea esi, [0x4a7054]
mov ecx, dword [ebp - 0xc]
inc ecx
or ecx, ecx
je 0x47af92
xor ebx, ebx
mov bl, al
shr eax, 8
xor bl, byte [edi]
and bl, 0xff
inc edi
shl ebx, 2
xor eax, dword [esi + ebx]
dec ecx
jne 0x47af7c
mov dword [ebp - 8], eax
pop ebx
pop esi
pop edi
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x47bc80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov esi, edx
mov ebx, eax
mov eax, 0x10000
call fcn.00402764
mov dword [ebx + 0x2dc], eax
mov edi, esi
mov ebp, dword [esp]
test ebp, ebp
jle 0x47bcc5
mov esi, 1
mov eax, dword [esp]
dec eax
call fcn.00402c58
inc eax
mov edx, dword [ebx + 0x2dc]
mov word [edx + esi*2 - 2], ax
inc esi
dec ebp
jne 0x47bcac
mov ebp, dword [esp]
test ebp, ebp
jle 0x47bd18
mov esi, 1
mov al, byte [ebx + 0x37]
xor al, byte [ebx + 0x36]
xor al, byte [ebx + 0x35]
xor al, byte [ebx + 0x34]
mov byte [esp + 4], al
mov eax, 0xff
call fcn.00402c58
mov dl, byte [edi + esi - 1]
xor dl, byte [esp + 4]
xor al, dl
mov byte [edi + esi - 1], al
xor eax, eax
mov al, byte [edi + esi - 1]
add eax, dword [ebx + 0x34]
add eax, dword [ebx + 0x30]
imul dword [ebx + 0x2ec]
add eax, dword [ebx + 0x2f0]
mov dword [ebx + 0x34], eax
inc esi
dec ebp
jne 0x47bcd1
mov ebp, dword [esp]
test ebp, ebp
jle 0x47bd72
mov esi, 1
mov eax, dword [ebx + 0x2dc]
movzx eax, word [eax + esi*2 - 2]
mov al, byte [edi + eax - 1]
cmp al, byte [edi + esi - 1]
je 0x47bd6e
mov edx, dword [ebx + 0x2dc]
movzx edx, word [edx + esi*2 - 2]
xor byte [edi + esi - 1], al
mov eax, dword [ebx + 0x2dc]
movzx eax, word [eax + esi*2 - 2]
mov dl, byte [edi + esi - 1]
xor byte [edi + eax - 1], dl
mov eax, dword [ebx + 0x2dc]
movzx eax, word [eax + esi*2 - 2]
mov al, byte [edi + eax - 1]
xor byte [edi + esi - 1], al
inc esi
dec ebp
jne 0x47bd24
mov edx, 0x10000
mov eax, dword [ebx + 0x2dc]
call fcn.0040277c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47bd8c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov ebx, eax
mov eax, 0x10000
call fcn.00402764
mov dword [ebx + 0x2dc], eax
mov edi, ebp
test edi, edi
jle 0x47bdc8
mov esi, 1
mov eax, ebp
dec eax
call fcn.00402c58
inc eax
mov edx, dword [ebx + 0x2dc]
mov word [edx + esi*2 - 2], ax
inc esi
dec edi
jne 0x47bdb0
mov esi, ebp
cmp esi, 1
jl 0x47be3c
mov eax, dword [ebx + 0x2dc]
movzx eax, word [eax + esi*2 - 2]
mov ecx, dword [ebx + 0x2d4]
mov al, byte [ecx + eax - 1]
mov edx, dword [ebx + 0x2d4]
cmp al, byte [edx + esi - 1]
je 0x47be37
mov ecx, dword [ebx + 0x2dc]
movzx ecx, word [ecx + esi*2 - 2]
mov edi, dword [ebx + 0x2d4]
xor byte [edx + esi - 1], al
mov edx, dword [ebx + 0x2dc]
movzx edx, word [edx + esi*2 - 2]
mov eax, dword [ebx + 0x2d4]
mov cl, byte [eax + esi - 1]
xor byte [eax + edx - 1], cl
mov edx, dword [ebx + 0x2dc]
movzx edx, word [edx + esi*2 - 2]
mov eax, dword [ebx + 0x2d4]
mov dl, byte [eax + edx - 1]
xor byte [eax + esi - 1], dl
dec esi
test esi, esi
jne 0x47bdcf
mov edx, 0x10000
mov eax, dword [ebx + 0x2dc]
call fcn.0040277c
mov edi, ebp
test edi, edi
jle 0x47bec4
mov esi, 1
mov eax, dword [ebx + 0x2d4]
mov dl, byte [eax + esi - 1]
mov byte [eax + esi - 1], dl
mov eax, dword [ebx + 0x2d4]
mov al, byte [eax + esi - 1]
mov byte [esp], al
mov al, byte [ebx + 0x37]
xor al, byte [ebx + 0x36]
xor al, byte [ebx + 0x35]
xor al, byte [ebx + 0x34]
mov byte [esp + 1], al
mov eax, 0xff
call fcn.00402c58
mov edx, dword [ebx + 0x2d4]
mov dl, byte [edx + esi - 1]
xor dl, byte [esp + 1]
xor al, dl
mov edx, dword [ebx + 0x2d4]
mov byte [edx + esi - 1], al
xor eax, eax
mov al, byte [esp]
add eax, dword [ebx + 0x34]
add eax, dword [ebx + 0x30]
imul dword [ebx + 0x2ec]
add eax, dword [ebx + 0x2f0]
mov dword [ebx + 0x34], eax
inc esi
dec edi
jne 0x47be57
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret