joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a474
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x45a49a
mov eax, esp
push eax
push 0x45a43c
call sub.user32.dll_EnumWindows
jmp 0x45a4ad
mov eax, esp
push eax
push 0x45a41c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x45a538
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45a58c]
test si, 4
je 0x45a54d
or bl, 1
test si, 8
je 0x45a557
or bl, 4
test si, 1
je 0x45a561
or bl, 8
test si, 2
je 0x45a56b
or bl, 0x10
test si, 0x10
je 0x45a575
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a584
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a590
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45a5cc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a5aa
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a5b9
or bl, 4
test esi, 0x20000000
je 0x45a5c4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x462638
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46264a
add esp, 0xfffffff0
call fcn.00404080
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424bd8
mov eax, dword [0x4b47f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4629dc
mov eax, dword [0x4b480c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4629e8
mov eax, ebx
call fcn.004629f4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41bae8]
call fcn.00403d44
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41bae8]
call fcn.00403d44
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41bae8]
call fcn.00403d44
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41bae8]
call fcn.00403d44
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41bae8]
call fcn.00403d44
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45de9c
push eax
push 0
push 0
mov eax, dword [0x4b4a44]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x429d94]
call fcn.0042b2b4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x429d94]
call fcn.0042b2b4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x429d94]
call fcn.0042b2b4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00462e6c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462d3c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462d3c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462d3c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462787
call fcn.004040d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x462b20
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 0x462ccb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x462cac
mov dl, 1
mov eax, dword [0x41c154]
call fcn.00403d44
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c70
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x462c9b
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.004541a8
test al, al
je 0x462c8e
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, 0x462cdc
lea eax, [ebp - 0x254]
call fcn.0040aba8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x462c8e
xor eax, eax
push ebp
push 0x462c87
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 0x462d14
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462c70
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ee0
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 0x462c70
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462c8e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x462b91
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004208c8
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 0x462cd2
lea eax, [ebp - 0x260]
call fcn.00404c70
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b9ca0]
cmp byte [eax + 0xad], 0
jne 0x4636b5
cmp dword [0x4b9cbc], 0
jne 0x463676
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x463600
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b9cbc], eax
cmp dword [0x4b9cb8], 0
jne 0x463691
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b9cb8], eax
cmp dword [0x4b9cc0], 0
jne 0x4636b5
push esp
push 0
push 0
push 0x4635a4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b9cc0], eax
pop edx
ret
Function at 0x4638b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4638cf
add esp, 0xfffffff0
call fcn.00404080
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424bd8
mov eax, dword [0x4b4a2c]
cmp word [eax + 2], 0
jne 0x4638f7
mov eax, dword [0x4b4a2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465600
mov eax, dword [0x4b4b38]
cmp word [eax + 2], 0
jne 0x463911
mov eax, dword [0x4b4b38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046580c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41bae8]
call fcn.00403d44
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41bae8]
call fcn.00403d44
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41bae8]
call fcn.00403d44
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42a570]
call fcn.004306a4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x463ac8
mov eax, dword [0x4b488c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00430a78
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x465ee0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b488c]
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.0040f05c
test eax, eax
je 0x463a18
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a54c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f090
test eax, eax
je 0x463a2c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404ee0
mov byte [ebx + 0xd4], 0
push ebx
push 0x46508c
call fcn.00425d54
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4b46dc]
cmp byte [eax], 0
jne 0x463a7d
mov eax, ebx
call fcn.00463c0c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004660f4
mov eax, ebx
call fcn.00466c58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463abd
call fcn.004040d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463e8c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x463f2b
cmp dword [ebx + 0x94], 0
jne 0x463f25
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x463e14
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x463f25
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 0x463eeb
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x463f25
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.0041e0d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x463efa
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464144
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b9ca0]
cmp dword [eax + 0x30], 0
je 0x4642a1
test bl, bl
jne 0x4641f2
cmp dword [esi + 0x9c], 0
jne 0x4641e7
mov eax, esi
call fcn.00466ad4
push eax
push 0x464070
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4641b8
mov eax, dword [0x4b9ca0]
call fcn.004671b4
test al, al
je 0x4641b8
mov eax, dword [0x4b9cc4]
call fcn.00406208
mov edi, eax
cmp edi, 0
jl 0x4641b8
push 0
mov eax, dword [0x4b9cc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4641a2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4641e7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041e0d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4641c7
inc dword [esi + 0x9c]
jmp 0x4642a1
cmp dword [esi + 0x9c], 0
jle 0x4642a1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4642a1
cmp dword [esi + 0x44], 0
je 0x46424d
mov eax, dword [0x4b9ca0]
call fcn.004671b4
test al, al
je 0x46424d
mov eax, dword [0x4b9cc4]
call fcn.00406208
mov edi, eax
cmp edi, 0
jl 0x46424d
push 5
mov eax, dword [0x4b9cc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x464237
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46427c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041e0d4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46425c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4b9cc4
mov ecx, 1
mov edx, dword [0x464050]
call fcn.004063bc
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x464d88
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x464df2
mov eax, ebx
call fcn.004671b4
test al, al
jne 0x464df2
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.00404d60
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x464ddf
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x464dff
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404cc4
jmp 0x464dff
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404cc4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4662d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x466346
mov eax, esi
call fcn.0044edf8
test al, al
je 0x466346
mov eax, dword [ebx + 0x84]
call fcn.0044ea58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x466346
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46633a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ea58
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004468c8
jmp 0x466346
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00466114
pop esi
pop ebx
ret

Function at 0x4689f8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, ecx
push esp
push edx
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040a738
add esp, 0x10c
pop ebx
ret
Function at 0x468a2c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050f0
xor eax, eax
push ebp
push 0x468c1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404cc4
lea ecx, [ebp - 0x11c]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004368d4
mov eax, dword [ebp - 0x11c]
mov edx, 0x468c38
call fcn.00405098
jne 0x468bda
mov ecx, 2
mov edx, dword [ebp - 4]
mov eax, 0x468c38
call fcn.004368f0
test eax, eax
jle 0x468bda
mov eax, 0x18
mov edi, eax
test edi, edi
jl 0x468bda
inc edi
mov dword [ebp - 0x10], 0
mov ebx, 0x4b3a64
push 0x468c38
push dword [ebx]
push 0x468c38
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405004
mov edx, dword [esi]
mov eax, dword [ebp - 0xc]
call fcn.00436880
test al, al
je 0x468bcd
mov eax, dword [ebp - 0x10]
sub eax, 1
jb 0x468b16
je 0x468b37
dec eax
je 0x468b58
jmp 0x468b79
push 0x105
lea eax, [ebp - 0x115]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 8]
lea eax, [ebp - 0x115]
call fcn.0040a738
jmp 0x468b86
push 0x105
lea eax, [ebp - 0x115]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 8]
lea eax, [ebp - 0x115]
call fcn.0040a738
jmp 0x468b86
lea eax, [ebp - 0x115]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x115]
call fcn.0040a738
jmp 0x468b86
lea ecx, [ebp - 8]
mov edx, dword [ebx + 4]
xor eax, eax
call fcn.004689f8
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 8]
call fcn.0040ef34
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 8]
call fcn.00404d08
movzx eax, byte [0x468c3c]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0040f568
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404cc4
jmp 0x468bda
inc dword [ebp - 0x10]
add ebx, 8
dec edi
jne 0x468adc
lea edx, [ebp - 0x128]
mov eax, dword [esi]
call fcn.0040a3a8
mov edx, dword [ebp - 0x128]
mov eax, esi
call fcn.00404cc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468c26
lea eax, [ebp - 0x128]
mov edx, 4
call fcn.00404c94
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c94
ret

Function at 0x468cd4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x105
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.0040a738
add esp, 0x108
pop ebx
ret
Function at 0x468cfc
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x468d77
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0
push 0
lea eax, [ebp - 0x10c]
call fcn.00468cd4
mov eax, dword [ebp - 0x10c]
call fcn.00405100
push eax
call sub.kernel32.dll_GetTempFileNameA
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_DeleteFileA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.0040a738
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468d7e
lea eax, [ebp - 0x10c]
call fcn.00404c70
ret

Function at 0x469224
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x469256
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x469260
call sub.kernel32.dll_WinExec
xor eax, eax
call fcn.00404c58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46925d
ret

Function at 0x48f2fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48f480
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b4038], 0
jne 0x48f45a
push 0x4b9d5c
call sub.kernel32.dll_EnterCriticalSection
xor eax, eax
push ebp
push 0x48f453
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b4038], 0
jne 0x48f43b
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405390
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405100
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0040901c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x48f498
call fcn.0040ac28
mov eax, dword [ebp - 0xc]
call fcn.00405100
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x48f3bc
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405390
jmp 0x48f3f3
lea eax, [ebp - 4]
mov edx, 0x48f4b8
call fcn.00404d08
xor eax, eax
push ebp
push 0x48f3e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00467c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48f3f3
mov eax, dword [ebp - 4]
call fcn.00405100
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b4038], eax
cmp dword [0x4b4038], 0
jne 0x48f426
mov ecx, dword [0x4b49f0]
mov dl, 1
mov eax, dword [0x4083a0]
call fcn.0040e25c
call fcn.00404694
push 0x48f4c4
mov eax, dword [0x4b4038]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b9d74], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f45a
push 0x4b9d5c
call sub.kernel32.dll_LeaveCriticalSection
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f487
lea eax, [ebp - 0x18]
call fcn.00404c70
lea eax, [ebp - 0xc]
call fcn.00404c70
lea eax, [ebp - 4]
call fcn.00404c70
ret
Function at 0x49b8d8
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49ba99
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x87], 0
je 0x49b928
cmp dword [ebx + 0x5c], 0
je 0x49b928
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.00493180
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x49ba83
cmp dword [ebx + 0x7c], 0
jne 0x49b94e
mov dl, 1
mov eax, dword [0x41bba4]
call fcn.00403d44
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x49ba5c
lea eax, [ebp - 8]
mov edx, dword [ebx + 0xc]
call fcn.00405610
mov eax, dword [ebp - 8]
push eax
movzx eax, byte [0x49baa8]
push eax
movzx eax, byte [0x49baac]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x4b4a1c]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x48ace4]
call fcn.0048ce28
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x49ba55
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.00493180
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.00493180
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x490328]
call fcn.004063bc
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1b
jge 0x49ba28
mov edx, dword [0x4b4c30]
movzx eax, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x49ba39
cmp eax, 0x1007
jne 0x49ba35
mov byte [ebx + 0x74], 0x18
jmp 0x49ba39
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ba83
mov eax, dword [ebp - 4]
call fcn.00403d74
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.00493180
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49baa0
lea eax, [ebp - 8]
call fcn.00405450
ret
Function at 0x49f7a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042c208
cmp ebx, dword [ebp - 8]
jge 0x49f807
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042c5e0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042c5e0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0042c60c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49f7cd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x49f810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042c208
cmp ebx, dword [ebp - 8]
jge 0x49f873
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042c5e0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042c5e0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0042c60c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49f839
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a20a8
Capabilities:
Hide graphical window

Disassembly:
call fcn.004a2070
test al, al
je 0x4a20d6
mov eax, dword [0x4b4b04]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x4a20d6
push 0
mov eax, dword [0x4b4b04]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0044ea58
push eax
call sub.user32.dll_ShowWindow
ret
push 0
mov eax, dword [0x4b4b04]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret