joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45eab8
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 0x45ec63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ec44
mov dl, 1
mov eax, dword [0x414cbc]
call fcn.00403a18
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ec33
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.0044c000
test al, al
je 0x45ec26
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, 0x45ec74
lea eax, [ebp - 0x254]
call fcn.00409f90
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ec26
xor eax, eax
push ebp
push 0x45ec1f
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 0x45ecac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45ec08
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a3c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45ec08
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ec26
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45eb29
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041921c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ec6a
lea eax, [ebp - 0x260]
call fcn.004047d4
ret

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

Disassembly:
push ecx
mov eax, dword [0x49ec30]
cmp byte [eax + 0xa5], 0
jne 0x45f651
cmp dword [0x49ec48], 0
jne 0x45f612
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45f59c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49ec48], eax
cmp dword [0x49ec44], 0
jne 0x45f62d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49ec44], eax
cmp dword [0x49ec4c], 0
jne 0x45f651
push esp
push 0
push 0
push 0x45f540
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x49ec4c], eax
pop edx
ret
Function at 0x45f774
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45f78b
add esp, 0xfffffff0
call fcn.00403dac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ec50
mov eax, dword [0x49cfb4]
cmp word [eax + 2], 0
jne 0x45f7b3
mov eax, dword [0x49cfb4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460e50
mov eax, dword [0x49d068]
cmp word [eax + 2], 0
jne 0x45f7cd
mov eax, dword [0x49d068]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461048
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414658]
call fcn.00403a18
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414658]
call fcn.00403a18
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x421170]
call fcn.00428aa0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45f954
mov eax, dword [0x49ced4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428e70
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4615c8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49ced4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040d5e8
test eax, eax
je 0x45f8c2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409860
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d610
test eax, eax
je 0x45f8d6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a3c
mov eax, dword [0x49cd9c]
cmp byte [eax], 0
jne 0x45f90a
mov eax, ebx
call fcn.0045fa7c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004617a4
mov eax, ebx
call fcn.004620e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f94a
call fcn.00403e04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fcf0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49ec30]
cmp dword [eax + 0x30], 0
je 0x45fd9a
cmp dword [ebx + 0x94], 0
jne 0x45fd94
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45fc80
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45fd94
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45fd5a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45fd94
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00416e88
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45fd69
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460878
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4608ad
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004048c4
jmp 0x4608ba
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404828
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461980
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4619c1
mov eax, esi
call fcn.004476f4
test al, al
je 0x4619c1
mov eax, dword [ebx + 0x84]
call fcn.004473f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4619c1
push 0
mov eax, dword [ebx + 0x84]
call fcn.004473f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x464b14
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464c7d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040486c
mov eax, dword [ebp - 0x10]
call fcn.0046487c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x464b66
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404d24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00464fa8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x464c3b
xor eax, eax
push ebp
push 0x464c34
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004649ec
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00464cac
test al, al
je 0x464c12
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004048c4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x464c12
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c84
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x464c0c
mov eax, dword [ebp - 0x14]
call fcn.00404c84
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004049c4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00464b14
dec ebx
cmp ebx, 0xffffffff
jne 0x464bc5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464c3b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004649ec
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404c84
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004649d8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464c84
lea eax, [ebp - 0x3c]
call fcn.004047d4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004047f8
ret
Function at 0x464c3b
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464c7d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040486c
mov eax, dword [ebp - 0x10]
call fcn.0046487c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x464b66
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404d24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00464fa8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x464c3b
xor eax, eax
push ebp
push 0x464c34
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004649ec
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00464cac
test al, al
je 0x464c12
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004048c4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x464c12
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c84
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x464c0c
mov eax, dword [ebp - 0x14]
call fcn.00404c84
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004049c4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00464b14
dec ebx
cmp ebx, 0xffffffff
jne 0x464bc5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464c3b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004649ec
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404c84
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004649d8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464c84
lea eax, [ebp - 0x3c]
call fcn.004047d4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004047f8
ret

Function at 0x464cac
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403188
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x49d1d4]
cmp byte [edx + 0xc], 0
je 0x464d10
mov edx, dword [0x49d1cc]
cmp dword [edx], 2
jne 0x464d10
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x464e98
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.00464890
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.00404c84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x464ef6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x49cfd4]
mov dl, 1
mov eax, dword [0x464788]
call fcn.0040c82c
call fcn.00404214
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x464f00
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.00404c84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x464f58
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x49d1e0]
mov dl, 1
mov eax, dword [0x464788]
call fcn.0040c82c
call fcn.00404214
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004648c0
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 0x46c228
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 0x46c300
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49ecb0], 0
jne 0x46c2e4
lea eax, [ebp - 4]
mov edx, 0x46c318
call fcn.0040486c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c84
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46c2e4
mov eax, ebx
call fcn.00402734
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46c2dd
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 0x46c2c7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x46c328
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46c2c7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x49ecb0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c2e4
mov eax, dword [ebp - 0xc]
call fcn.00402754
ret
mov ebx, dword [0x49ecb0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c307
lea eax, [ebp - 4]
call fcn.004047d4
ret
Function at 0x47b78c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x47b7ba
mov eax, ebx
call fcn.0047c244
cmp dword [ebx + 0x3c], 0
je 0x47b7b3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x47b82b
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x47b81d
cmp dword [ebx + 8], 0
je 0x47b7dc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x47b7ee
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47b81d
cmp dword [ebx + 8], 0
je 0x47b7cf
cmp eax, 3
je 0x47b801
dec eax
jne 0x47b7cf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47b7cf
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x47b7cf
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x47b849
cmp dword [ebx + 0x10], 0xcc
je 0x47b849
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047b854
pop ebx
ret

Function at 0x490928
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
push eax
shr ecx, 1
push esi
mov eax, dword [eax]
mov esi, edx
jb 0x490969
je 0x490963
mov bx, word [esi]
xor edx, edx
xor bl, al
shr eax, 8
mov dl, bl
shr ebx, 8
mov edx, dword [edx*4 + 0x49c8e4]
xor edx, eax
xor bl, dl
shr edx, 8
mov eax, dword [ebx*4 + 0x49c8e4]
xor eax, edx
add esi, 2
dec ecx
jne 0x490937
pop esi
pop ecx
pop ebx
mov dword [ecx], eax
ret
mov bl, byte [esi]
mov edx, eax
xor bl, al
shr edx, 8
mov eax, dword [ebx*4 + 0x49c8e4]
xor eax, edx
inc esi
jecxz 0x490963
jmp 0x490937
Function at 0x49121c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x491376
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
xor ecx, ecx
mov edx, 0xc
call fcn.00403188
test edi, edi
je 0x491262
mov eax, edi
call fcn.00404c84
mov dword [ebp - 0x34], eax
cmp dword [esi], 0
je 0x491271
mov eax, dword [esi]
call fcn.00404c84
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 4], 0
jne 0x491281
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x49128f
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x139]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
call fcn.00491180
mov ebx, eax
mov dx, 0x47
mov ax, 4
call fcn.00491174
cmp ebx, eax
jb 0x4912c0
or dword [ebp - 0x18], 0x30
cmp byte [ebp + 0x10], 0
je 0x4912d9
xor edx, edx
mov ax, 5
call fcn.00491174
cmp ebx, eax
jb 0x4912d9
or dword [ebp - 0x18], 0x40
mov al, byte [ebp + 0xc]
mov byte [0x49ecf8], al
mov eax, fcn.00490e68
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
call sub.shell32.dll_SHBrowseForFolderA
mov edi, eax
test edi, edi
setne bl
test bl, bl
je 0x49132f
lea eax, [ebp - 0x23e]
push eax
push edi
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
jne 0x49131d
mov eax, esi
call fcn.004047d4
jmp 0x49132f
mov eax, esi
lea edx, [ebp - 0x23e]
mov ecx, 0x105
call fcn.00404a3c
lea eax, [ebp - 8]
push eax
call sub.shell32.dll_SHGetMalloc
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x491349
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
test edi, edi
je 0x491357
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49137d
lea eax, [ebp - 8]
call fcn.00406534
ret

Function at 0x4914d4
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef4
mov edi, ecx
mov esi, edx
mov ebx, eax
push esp
push esi
push ebx
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x49152b
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x49151b
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_lstrlenA_1
mov ecx, eax
lea edx, [esp + 4]
mov eax, edi
call fcn.004048c4
jmp 0x491522
mov eax, edi
call fcn.004047d4
mov eax, dword [esp]
push eax
call sub.ole32.dll_CoTaskMemFree
add esp, 0x10c
pop edi
pop esi
pop ebx
ret
Function at 0x491538
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
jne 0x49155d
mov eax, ebx
call fcn.004047d4
jmp 0x491567
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.004048c4
add esp, 0x108
pop ebx
ret

Function at 0x491594
Capabilities:
Query environment variable

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
push 0x4915d0
call sub.kernel32.dll_GetEnvironmentVariableA
test eax, eax
jne 0x4915be
mov eax, ebx
call fcn.004047d4
jmp 0x4915c8
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.004048c4
add esp, 0x108
pop ebx
ret

Function at 0x4915e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef0
mov ebx, eax
mov eax, ebx
call fcn.004047d4
push esp
push 0x20019
push 0
push 0x49165c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x491654
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x491688
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49164b
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrlenA_1
mov ecx, eax
lea edx, [esp + 8]
mov eax, ebx
call fcn.004048c4
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x110
pop ebx
ret

Function at 0x496c48
Capabilities:
Get file size

Disassembly:
push ebx
push esi
mov ebx, eax
xor esi, esi
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, ebx
call fcn.00404c84
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x496c86
push 0
push ebx
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
cmp esi, 0xffffffff
jne 0x496c7f
xor esi, esi
mov eax, ebx
call fcn.00409300
mov eax, esi
pop esi
pop ebx
ret