joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cdd0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x482bc8]
cmp byte [eax + 0xc], 0
je 0x44cf3d
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44cf36
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x487c50], 0
jne 0x44ce24
push 0x44cf44
call sub.KERNEL32.DLL_GetModuleHandleA_2
mov ebx, eax
push 0x44cf4c
push ebx
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x487c50], eax
cmp dword [0x47f60c], 0
jne 0x44cf1f
push 0x44cf5c
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x47f60c], eax
cmp dword [0x47f60c], 0
je 0x44cf1f
push 0x44cf68
mov eax, dword [0x47f60c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x487c54], eax
push 0x44cf78
mov eax, dword [0x47f60c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x487c58], eax
push 0x44cf8c
mov eax, dword [0x47f60c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x487c5c], eax
push 0x44cfa4
mov eax, dword [0x47f60c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x487c60], eax
push 0x44cfbc
mov eax, dword [0x47f60c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x487c64], eax
push 0x44cfd0
mov eax, dword [0x47f60c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x487c68], eax
push 0x44cfe8
mov eax, dword [0x47f60c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x487c6c], eax
push 0x44d000
mov eax, dword [0x47f60c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x487c70], eax
push 0x44d01c
mov eax, dword [0x47f60c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x487c74], eax
push 0x44d028
mov eax, dword [0x47f60c]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x487c78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cf3d
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x452fcc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x452fed
test edi, 0x40000
je 0x453007
test bl, bl
jne 0x453088
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x453088
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x45303a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x45304f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x45305e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x45306f
cmp byte [esp + 2], 0
je 0x453088
cmp byte [esp + 2], 0
je 0x453080
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x453088
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x45332c
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 0x453352
mov eax, esp
push eax
push 0x4532f4
call sub.user32.dll_EnumWindows
jmp 0x453365
mov eax, esp
push eax
push 0x4532d4
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 0x4533f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x453444]
test si, 4
je 0x453405
or bl, 1
test si, 8
je 0x45340f
or bl, 4
test si, 1
je 0x453419
or bl, 8
test si, 2
je 0x453423
or bl, 0x10
test si, 0x10
je 0x45342d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45343c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x453448
Capabilities:
Log keystrokes via polling

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

Function at 0x45b4f0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45b502
add esp, 0xfffffff0
call fcn.00403d9c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6dc
mov eax, dword [0x482874]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b894
mov eax, dword [0x482880]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b8a0
mov eax, ebx
call fcn.0045b8ac
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41248c]
call fcn.00403a48
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41248c]
call fcn.00403a48
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41248c]
call fcn.00403a48
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41248c]
call fcn.00403a48
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41248c]
call fcn.00403a48
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, 0x456d54
push eax
push 0
push 0
mov eax, dword [0x4829cc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e4f4]
call fcn.0041fd48
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e4f4]
call fcn.0041fd48
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e4f4]
call fcn.0041fd48
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045bd24
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bbf4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bbf4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45bbf4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b63f
call fcn.00403df4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45b9d8
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 0x45bb83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45bb64
mov dl, 1
mov eax, dword [0x4128b0]
call fcn.00403a48
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048a4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45bb53
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.0044d12c
test al, al
je 0x45bb46
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, 0x45bb94
lea eax, [ebp - 0x254]
call fcn.004097ec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45bb46
xor eax, eax
push ebp
push 0x45bb3f
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 0x45bbcc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45bb28
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
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 0x45bb28
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bb46
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45ba49
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416588
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 0x45bb8a
lea eax, [ebp - 0x260]
call fcn.004048a4
ret

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

Disassembly:
push ecx
mov eax, dword [0x487c94]
cmp byte [eax + 0xad], 0
jne 0x45c56d
cmp dword [0x487cb0], 0
jne 0x45c52e
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45c4b8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x487cb0], eax
cmp dword [0x487cac], 0
jne 0x45c549
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x487cac], eax
cmp dword [0x487cb4], 0
jne 0x45c56d
push esp
push 0
push 0
push 0x45c45c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x487cb4], eax
pop edx
ret
Function at 0x45c770
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c787
add esp, 0xfffffff0
call fcn.00403d9c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6dc
mov eax, dword [0x4829b8]
cmp word [eax + 2], 0
jne 0x45c7af
mov eax, dword [0x4829b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e4b8
mov eax, dword [0x482a68]
cmp word [eax + 2], 0
jne 0x45c7c9
mov eax, dword [0x482a68]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e6c4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41248c]
call fcn.00403a48
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41248c]
call fcn.00403a48
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41248c]
call fcn.00403a48
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 [0x41f004]
call fcn.00426ad4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45c980
mov eax, dword [0x4828e0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426ea8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ed88
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4828e0]
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.0040d054
test eax, eax
je 0x45c8d0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004091a4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d088
test eax, eax
je 0x45c8e4
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
mov byte [ebx + 0xd4], 0
push ebx
push 0x45df44
call fcn.0041b858
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4827d0]
cmp byte [eax], 0
jne 0x45c935
mov eax, ebx
call fcn.0045cac4
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.0045ef9c
mov eax, ebx
call fcn.0045fb00
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c975
call fcn.00403df4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cd44
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45cde3
cmp dword [ebx + 0x94], 0
jne 0x45cddd
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45cccc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45cddd
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 0x45cda3
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45cddd
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.00414830
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45cdb2
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x487c94]
cmp dword [eax + 0x30], 0
je 0x45d159
test bl, bl
jne 0x45d0aa
cmp dword [esi + 0x9c], 0
jne 0x45d09f
mov eax, esi
call fcn.0045f97c
push eax
push 0x45cf28
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45d070
mov eax, dword [0x487c94]
call fcn.0046005c
test al, al
je 0x45d070
mov eax, dword [0x487cb8]
call fcn.004058f8
mov edi, eax
cmp edi, 0
jl 0x45d070
push 0
mov eax, dword [0x487cb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d05a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d09f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414830
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d07f
inc dword [esi + 0x9c]
jmp 0x45d159
cmp dword [esi + 0x9c], 0
jle 0x45d159
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45d159
cmp dword [esi + 0x44], 0
je 0x45d105
mov eax, dword [0x487c94]
call fcn.0046005c
test al, al
je 0x45d105
mov eax, dword [0x487cb8]
call fcn.004058f8
mov edi, eax
cmp edi, 0
jl 0x45d105
push 5
mov eax, dword [0x487cb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d0ef
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d134
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414830
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d114
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x487cb8
mov ecx, 1
mov edx, dword [0x45cf08]
call fcn.00405aac
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45dc40
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 0x45dcaa
mov eax, ebx
call fcn.0046005c
test al, al
jne 0x45dcaa
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.00404994
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45dc97
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45dcb7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048f8
jmp 0x45dcb7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048f8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45f180
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f1ee
mov eax, esi
call fcn.00447d5c
test al, al
je 0x45f1ee
mov eax, dword [ebx + 0x84]
call fcn.004479bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f1ee
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45f1e2
push 0
mov eax, dword [ebx + 0x84]
call fcn.004479bc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043f82c
jmp 0x45f1ee
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045efbc
pop esi
pop ebx
ret

Function at 0x463090
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4630be
mov eax, ebx
call fcn.00463b44
cmp dword [ebx + 0x40], 0
je 0x4630b7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46312f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x463121
cmp dword [ebx + 8], 0
je 0x4630e0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4630f2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x463121
cmp dword [ebx + 8], 0
je 0x4630d3
cmp eax, 3
je 0x463105
dec eax
jne 0x4630d3
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 0x4630d3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4630d3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46314d
cmp dword [ebx + 0x14], 0xcc
je 0x46314d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00463158
pop ebx
ret
Function at 0x473678
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x473712
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + 0x4800e4]
mov byte [ebp + edi], dl
movzx edx, byte [esi + ebx]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + 0x4800e4]
push edx
pop edx
mov byte [ebp + edi + 1], dl
movzx edx, byte [esi + ebx + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + 0x4800e4]
push edx
pop edx
mov byte [ebp + edi + 2], dl
movzx edx, byte [esi + ebx + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + 0x4800e4]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x473697
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x473728
dec edx
je 0x47375d
jmp 0x4737ae
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + 0x4800e4]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx eax, byte [eax + 0x4800e4]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x4737ae
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + 0x4800e4]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
movzx eax, byte [eax + 0x4800e4]
mov byte [ebp + edi + 1], al
movzx eax, byte [esi + ebx + 1]
and al, 0xf
movzx eax, al
add eax, eax
add eax, eax
movzx eax, byte [eax + 0x4800e4]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4744c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4744e9
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4744d6
pop edi
pop esi
pop ebx
ret

Function at 0x478d9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], cl
mov edi, eax
dec edx
test dl, dl
jb 0x478dc7
inc edx
mov al, 0
movzx esi, al
movzx ecx, byte [edi + esi]
xor cl, byte [ebp - 1]
push ecx
mov ecx, dword [ebp + 8]
pop ebx
mov byte [ecx + esi], bl
inc eax
dec dl
jne 0x478db0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x47a404
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ecx, dword ss:[esp + 4]
push esi
mov esi, dword ss:[esp + 0xc]
xor eax, eax
sub esi, 1
js 0x47a435
movzx edx, byte ds:[ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword ds:[edx*4 + 0x4812dc]
add ecx, 1
sub esi, 1
jns 0x47a416
pop esi
ret

Function at 0x47a444
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword ss:[esp + 8]
push ebp
mov ebp, dword ss:[esp + 8]
mov dword ds:[eax], 0xe4665400
mov dword ds:[eax + 4], 0x4363ffff
mov dword ds:[eax + 8], 0xd4613211
mov dword ds:[eax + 0xc], 0xc9130600
mov dword ds:[eax + 0x10], 0x9740002
mov dword ds:[eax + 0x14], 0xa66578f
mov dword ds:[eax + 0x18], 0x1bbca1ee
mov dword ds:[eax + 0x1c], 0x31207028
mov dl, byte ss:[ebp]
push esi
xor ecx, ecx
test dl, dl
push edi
mov esi, ebp
je 0x47a4b4
movsx edx, dl
add dword ds:[eax + ecx*4], edx
mov dl, byte ds:[esi + 1]
add esi, 1
add ecx, 1
and ecx, 7
test dl, dl
jne 0x47a49c
mov ecx, ebp
lea esi, ds:[ecx + 1]
mov dl, byte ds:[ecx]
add ecx, 1
test dl, dl
jne 0x47a4ba
sub ecx, esi
mov edi, ecx
xor ecx, ecx
sub edi, 1
mov esi, ebp
js 0x47a4f0
movzx edx, byte ds:[esi]
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword ds:[edx*4 + 0x4812dc]
add esi, 1
sub edi, 1
jns 0x47a4d1
not ecx
shl ecx, 0x10
xor dword ds:[eax], ecx
xor dword ds:[eax + 4], ecx
xor dword ds:[eax + 8], ecx
xor dword ds:[eax + 0xc], ecx
xor dword ds:[eax + 0x10], ecx
xor dword ds:[eax + 0x14], ecx
xor dword ds:[eax + 0x18], ecx
xor dword ds:[eax + 0x1c], ecx
pop edi
pop esi
mov al, 1
pop ebp
ret

Function at 0x47b2b8
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
xor edx, edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x11c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47b3be
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x111]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x111]
mov ecx, 0x105
call fcn.00404b14
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
call fcn.00408f4c
lea eax, [ebp - 0x118]
mov edx, 0x47b3d4
call fcn.00404b70
mov eax, dword [ebp - 0x118]
call fcn.00404d34
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x47b399
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0
lea edx, [ebp - 0x128]
xor ecx, ecx
mov eax, 0x47b3e0
call fcn.0040986c
mov eax, dword [ebp - 0x120]
mov edx, ebx
call fcn.004086c0
jmp 0x47b3a0
mov eax, ebx
call fcn.004048a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b3c5
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.004048c8
ret