joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460e28
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 0x460e4e
mov eax, esp
push eax
push 0x460df0
call sub.user32.dll_EnumWindows
jmp 0x460e61
mov eax, esp
push eax
push 0x460dd0
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 0x460eec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x460f40]
test si, 4
je 0x460f01
or bl, 1
test si, 8
je 0x460f0b
or bl, 4
test si, 1
je 0x460f15
or bl, 8
test si, 2
je 0x460f1f
or bl, 0x10
test si, 0x10
je 0x460f29
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x460f38
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x460f44
Capabilities:
Log keystrokes via polling

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

Function at 0x468fec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x468ffe
add esp, 0xfffffff0
call fcn.00404058
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f380
mov eax, dword [0x49812c]
mov dword [eax + 4], ebx
mov dword [eax], 0x469390
mov eax, dword [0x498138]
mov dword [eax + 4], ebx
mov dword [eax], 0x46939c
mov eax, ebx
call fcn.004693a8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4167dc]
call fcn.00403d04
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4167dc]
call fcn.00403d04
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4167dc]
call fcn.00403d04
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4167dc]
call fcn.00403d04
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4167dc]
call fcn.00403d04
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, 0x464850
push eax
push 0
push 0
mov eax, dword [0x4982e4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42364c]
call fcn.00424ea0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42364c]
call fcn.00424ea0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42364c]
call fcn.00424ea0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00469820
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4696f0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4696f0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4696f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46913b
call fcn.004040b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4694d4
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 0x46967f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x469660
mov dl, 1
mov eax, dword [0x416d8c]
call fcn.00403d04
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b60
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46964f
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.0045a654
test al, al
je 0x469642
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, 0x469690
lea eax, [ebp - 0x254]
call fcn.0040a5d0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x469642
xor eax, eax
push ebp
push 0x46963b
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 0x4696c8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x469624
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404dd0
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 0x469624
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404dd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469642
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x469545
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041b22c
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 0x469686
lea eax, [ebp - 0x260]
call fcn.00404b60
ret

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

Disassembly:
push ecx
mov eax, dword [0x49dcd8]
cmp byte [eax + 0xad], 0
jne 0x46a069
cmp dword [0x49dcf4], 0
jne 0x46a02a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x469fb4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49dcf4], eax
cmp dword [0x49dcf0], 0
jne 0x46a045
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49dcf0], eax
cmp dword [0x49dcf8], 0
jne 0x46a069
push esp
push 0
push 0
push 0x469f58
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x49dcf8], eax
pop edx
ret
Function at 0x46a26c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46a283
add esp, 0xfffffff0
call fcn.00404058
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f380
mov eax, dword [0x4982c8]
cmp word [eax + 2], 0
jne 0x46a2ab
mov eax, dword [0x4982c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046bf5c
mov eax, dword [0x498398]
cmp word [eax + 2], 0
jne 0x46a2c5
mov eax, dword [0x498398]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c168
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4167dc]
call fcn.00403d04
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4167dc]
call fcn.00403d04
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4167dc]
call fcn.00403d04
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 [0x42415c]
call fcn.0042bd70
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46a47c
mov eax, dword [0x4981a8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c144
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46c83c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4981a8]
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.0040e0e0
test eax, eax
je 0x46a3cc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409f74
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e114
test eax, eax
je 0x46a3e0
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.00404dd0
mov byte [ebx + 0xd4], 0
push ebx
push 0x46b9e8
call fcn.004204fc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x498054]
cmp byte [eax], 0
jne 0x46a431
mov eax, ebx
call fcn.0046a5c0
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.0046ca50
mov eax, ebx
call fcn.0046d5b4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46a471
call fcn.004040b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a840
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46a8df
cmp dword [ebx + 0x94], 0
jne 0x46a8d9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46a7c8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46a8d9
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 0x46a89f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46a8d9
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.00418d0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46a8ae
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x49dcd8]
cmp dword [eax + 0x30], 0
je 0x46ac55
test bl, bl
jne 0x46aba6
cmp dword [esi + 0x9c], 0
jne 0x46ab9b
mov eax, esi
call fcn.0046d430
push eax
push 0x46aa24
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46ab6c
mov eax, dword [0x49dcd8]
call fcn.0046db10
test al, al
je 0x46ab6c
mov eax, dword [0x49dcfc]
call fcn.00405d30
mov edi, eax
cmp edi, 0
jl 0x46ab6c
push 0
mov eax, dword [0x49dcfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46ab56
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46ab9b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418d0c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46ab7b
inc dword [esi + 0x9c]
jmp 0x46ac55
cmp dword [esi + 0x9c], 0
jle 0x46ac55
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46ac55
cmp dword [esi + 0x44], 0
je 0x46ac01
mov eax, dword [0x49dcd8]
call fcn.0046db10
test al, al
je 0x46ac01
mov eax, dword [0x49dcfc]
call fcn.00405d30
mov edi, eax
cmp edi, 0
jl 0x46ac01
push 5
mov eax, dword [0x49dcfc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46abeb
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46ac30
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418d0c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46ac10
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x49dcfc
mov ecx, 1
mov edx, dword [0x46aa04]
call fcn.00405ee4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46b73c
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 0x46b7a6
mov eax, ebx
call fcn.0046db10
test al, al
jne 0x46b7a6
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.00404c50
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46b793
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46b7b3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404bb4
jmp 0x46b7b3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404bb4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46cc34
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46cca2
mov eax, esi
call fcn.00455240
test al, al
je 0x46cca2
mov eax, dword [ebx + 0x84]
call fcn.00454ea0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46cca2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46cc96
push 0
mov eax, dword [ebx + 0x84]
call fcn.00454ea0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044cc68
jmp 0x46cca2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046ca70
pop esi
pop ebx
ret

Function at 0x472888
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4729f9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4729d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404d48
lea eax, [ebp - 0x118]
mov edx, 0x472a10
call fcn.00404e2c
mov eax, dword [ebp - 0x118]
call fcn.00404ff0
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x472946
lea eax, [ebp - 0x111]
call fcn.00409f20
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404c50
jmp 0x47294d
mov eax, esi
call fcn.00404b60
cmp bl, 0x61
jae 0x47296e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040dfac
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404bb4
jmp 0x472988
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040df18
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404bb4
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x472a1c
call fcn.0040a650
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404bb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4729db
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4781a8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x478201
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00404ff0
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4781e9
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4781eb
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478208
lea eax, [ebp - 4]
call fcn.00404b60
ret

Function at 0x478210
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x478274
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ff0
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040a160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47827b
lea eax, [ebp - 4]
call fcn.00404b60
ret

Function at 0x4788a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x47899c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [esi + 4]
mov word [ebx + 4], ax
movzx eax, word [esi + 6]
mov word [ebx + 6], ax
movzx eax, word [esi + 8]
mov word [ebx + 8], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xc]
call fcn.00478094
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x22], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x24], ax
movzx eax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004762b8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00479554
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00476260
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004795cc
lea eax, [ebx + 0x50]
call fcn.00404b60
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4789a3
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b84
ret
Function at 0x4789ac
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404fe0
xor eax, eax
push ebp
push 0x478ab8
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
movzx eax, word [esi + 4]
mov word [ebx + 6], ax
movzx eax, word [esi + 6]
mov word [ebx + 8], ax
movzx eax, word [esi + 8]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xa]
call fcn.00478094
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x478a7b
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004762b8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00479554
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00476260
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004795cc
jmp 0x478a8d
xor edx, edx
mov eax, ebx
call fcn.00479554
xor edx, edx
mov eax, ebx
call fcn.004795cc
lea eax, [ebx + 0x50]
call fcn.00404b60
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478abf
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b84
ret
Function at 0x47a431
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0x47bc96
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x47bd44
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x9c], 0x40
jbe 0x47bcd5
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0x10]
call fcn.0047a511
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x9c], 0x14
mov edx, 0x40
mov ecx, dword [ebp + 0x10]
sub edx, dword [ecx + 0x9c]
push edx
push 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
add eax, dword [edx + 0x9c]
push eax
call fcn.0047a110
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
xor dword [edx + eax*4], 0x36363636
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x47bd00
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
call fcn.0047a431
pop ecx
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
push 0x40
push dword [ebp + 0x10]
call fcn.0047a475
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x9c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x47bd5f
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047a475
add esp, 0xc
pop ecx
pop ebp
ret

Function at 0x47bd62
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x47bd83
push dword [ebp + 0x10]
push 0
push 0
call fcn.0047bc96
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.0047a511
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
xor dword [ecx + edx*4], 0x6a6a6a6a
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x47bd9b
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
call fcn.0047a431
pop ecx
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
push 0x40
push dword [ebp + 0x10]
call fcn.0047a475
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push 0x14
lea eax, [ebp - 0x18]
push eax
call fcn.0047a475
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.0047a511
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x47be22
mov ecx, dword [ebp - 4]
mov al, byte [ebp + ecx - 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov byte [edx + ecx], al
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jb 0x47be07
mov esp, ebp
pop ebp
ret