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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4f5814]
cmp byte [eax + 0xc], 0
je 0x453555
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45354e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f6b74], 0
jne 0x45343c
push 0x45355c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x453564
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f6b74], eax
cmp dword [0x4f2e78], 0
jne 0x453537
push 0x453574
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4f2e78], eax
cmp dword [0x4f2e78], 0
je 0x453537
push 0x453580
mov eax, dword [0x4f2e78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f6b78], eax
push 0x453590
mov eax, dword [0x4f2e78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f6b7c], eax
push 0x4535a4
mov eax, dword [0x4f2e78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f6b80], eax
push 0x4535bc
mov eax, dword [0x4f2e78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f6b84], eax
push 0x4535d4
mov eax, dword [0x4f2e78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f6b88], eax
push 0x4535e8
mov eax, dword [0x4f2e78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f6b8c], eax
push 0x453600
mov eax, dword [0x4f2e78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f6b90], eax
push 0x453618
mov eax, dword [0x4f2e78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f6b94], eax
push 0x453634
mov eax, dword [0x4f2e78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f6b98], eax
push 0x453640
mov eax, dword [0x4f2e78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4f6b9c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453555
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4573e0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404418
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45742f
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00404688
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45ec14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45ec64]
test si, 4
je 0x45ec28
or bl, 1
test si, 8
je 0x45ec32
or bl, 4
test si, 1
je 0x45ec3c
or bl, 8
test si, 2
je 0x45ec46
or bl, 0x10
test si, 0x10
je 0x45ec50
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45ec5f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45ec68
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45eca0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45ec81
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45ec90
or bl, 4
test esi, 0x20000000
je 0x45ec9b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x465348
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46535a
add esp, 0xfffffff0
call fcn.00403868
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00429a70
mov eax, dword [0x4f4fd0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4656ec
mov eax, dword [0x4f4fe8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4656f8
mov eax, ebx
call fcn.00465704
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41c0e0]
call fcn.004034d4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41c0e0]
call fcn.004034d4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41c0e0]
call fcn.004034d4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41c0e0]
call fcn.004034d4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41c0e0]
call fcn.004034d4
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, 0x461b20
push eax
push 0
push 0
mov eax, dword [0x4f534c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42bb1c]
call fcn.0042d330
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42bb1c]
call fcn.0042d330
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42bb1c]
call fcn.0042d330
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00465b24
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465a00
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465a00
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465a00
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x465497
call fcn.004038c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4657e4
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 0x46598f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x465970
mov dl, 1
mov eax, dword [0x41c744]
call fcn.004034d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404418
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46595f
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.00453748
test al, al
je 0x465952
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, 0x4659a0
lea eax, [ebp - 0x254]
call fcn.0040a570
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x465952
xor eax, eax
push ebp
push 0x46594b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4659d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x465934
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404688
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 0x465934
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465952
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x465855
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004213c0
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 0x465996
lea eax, [ebp - 0x260]
call fcn.00404418
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f6bc0]
cmp byte [eax + 0xa5], 0
jne 0x466335
cmp dword [0x4f6bd8], 0
jne 0x4662f6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x466280
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f6bd8], eax
cmp dword [0x4f6bd4], 0
jne 0x466311
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4f6bd4], eax
cmp dword [0x4f6bdc], 0
jne 0x466335
push esp
push 0
push 0
push 0x466224
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4f6bdc], eax
pop edx
ret
Function at 0x46642c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x466443
add esp, 0xfffffff0
call fcn.00403868
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00429a70
mov eax, dword [0x4f5324]
cmp word [eax + 2], 0
jne 0x46646b
mov eax, dword [0x4f5324]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467b1c
mov eax, dword [0x4f54e4]
cmp word [eax + 2], 0
jne 0x466485
mov eax, dword [0x4f54e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467d14
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41c0e0]
call fcn.004034d4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41c0e0]
call fcn.004034d4
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], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42c69c]
call fcn.00434270
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46660c
mov eax, dword [0x4f50ec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00434640
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4682c4
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4f50ec]
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.0040e9b4
test eax, eax
je 0x46657a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409f50
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e9dc
test eax, eax
je 0x46658e
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, 0x100
call fcn.00404688
mov eax, dword [0x4f4d98]
cmp byte [eax], 0
jne 0x4665c2
mov eax, ebx
call fcn.00466734
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.004684a0
mov eax, ebx
call fcn.00468e64
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x466602
call fcn.004038c0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4669b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f6bc0]
cmp dword [eax + 0x30], 0
je 0x466a5e
cmp dword [ebx + 0x94], 0
jne 0x466a58
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x466944
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x466a58
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 0x466a1e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x466a58
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.0041ec04
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x466a2d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4675c0
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 0x4675f5
push 0x100
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.00404508
jmp 0x467602
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040446c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46867c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4686bd
mov eax, esi
call fcn.0044ed74
test al, al
je 0x4686bd
mov eax, dword [ebx + 0x84]
call fcn.0044ea70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4686bd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ea70
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x469408
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41b60c]
call fcn.0040504c
xor eax, eax
push ebp
push 0x46954c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f30ac], 0
jne 0x46945b
mov ecx, dword [0x4f4de4]
mov dl, 1
mov eax, dword [0x407f74]
call fcn.0040db70
call fcn.00403d94
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402ea0
mov eax, ebx
call fcn.00404cd8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46955c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040640c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404ce8
test eax, eax
jle 0x4694f3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4694ec
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004046a0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404688
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408e44
test eax, eax
jne 0x4694ec
mov ebx, 0x15
jmp 0x4694f8
mov ebx, 0x10
jmp 0x4694f8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4f30ac]
call fcn.00469360
mov eax, dword [ebp - 8]
call fcn.00469360
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469553
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040443c
lea eax, [ebp - 0x10]
mov edx, dword [0x41b60c]
call fcn.0040511c
ret
Function at 0x473274
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4734d4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4732d7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00472d3c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e4b0
cmp al, 1
jne 0x4732d7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00473054
test al, al
je 0x473463
cmp dword [ebp - 8], 0
jge 0x4732f5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00472d3c
mov eax, dword [ebp - 0x210]
call fcn.004046d8
cmp ebx, eax
jge 0x47333f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00472d3c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4f57e0]
and eax, 0xff
bt dword [edx], eax
jae 0x47333f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x473353
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00473250
cmp ebx, dword [ebp - 8]
je 0x473455
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x47337f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403700
and eax, 0x7f
movzx eax, word [eax*2 + 0x4f31b8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x473442
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403700
and eax, 0x7f
movzx eax, word [eax*2 + 0x4f31b8]
push eax
push 0x100
mov eax, dword [ebp - 4]
call fcn.0044ea70
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403700
and eax, 0x7f
movzx eax, word [eax*2 + 0x4f31b8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044ea70
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473449
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4734b6
cmp dword [ebp - 8], 0
jge 0x47346e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00472d3c
mov eax, dword [ebp - 0x218]
call fcn.004046d8
cmp eax, dword [ebp - 8]
jg 0x4734a8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00472d3c
mov eax, dword [ebp - 0x21c]
call fcn.004046d8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00473250
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4734db
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.0040443c
ret
Function at 0x47df04
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004048c8
xor eax, eax
push ebp
push 0x47e038
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.0047dea0
mov esi, eax
test esi, esi
jle 0x47e01a
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404938
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0xc]
call fcn.004048d8
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47e01a
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004046d8
mov ecx, eax
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.00404938
cmp dword [ebp - 0xc], 0
jne 0x47dfa1
xor esi, esi
jmp 0x47dfab
mov eax, dword [ebp - 0xc]
call fcn.004048d8
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47e011
mov eax, dword [ebp - 0x18]
call fcn.004027f0
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push 0
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47e00a
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jne 0x47e001
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov bl, 1
jmp 0x47e011
mov eax, edi
call fcn.00402810
jmp 0x47e011
mov eax, edi
call fcn.00402810
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e03f
lea eax, [ebp - 0xc]
call fcn.00404418
lea eax, [ebp - 4]
call fcn.00404418
ret

Function at 0x47e1d0
Capabilities:
Encode data using xor

Disassembly:
or edx, edx
je 0x47e1f2
jecxz 0x47e1f2
push esi
push ebx
mov esi, 0x4f6ca8
movzx ebx, al
xor bl, byte [edx]
shr eax, 8
and eax, 0xffffff
xor eax, dword [esi + ebx]
inc edx
loop 0x47e1dd
pop ebx
pop esi
ret
Function at 0x47e1f4
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
mov ebx, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, edi
call fcn.004048d8
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
setne byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x47e2b8
push 0
push edi
call sub.kernel32.dll_GetFileSize
mov edx, dword [ebp - 4]
add edx, ebx
cmp eax, edx
jge 0x47e253
mov byte [ebp - 5], 0
jmp 0x47e2ba
test ebx, ebx
jg 0x47e25c
mov ebx, eax
sub ebx, dword [ebp - 4]
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_SetFilePointer
test ebx, ebx
jle 0x47e2b2
cmp ebx, 0x1000
jle 0x47e27f
mov dword [ebp - 0xc], 0x1000
jmp 0x47e282
mov dword [ebp - 0xc], ebx
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push edi
call sub.kernel32.dll_ReadFile
lea edx, [ebp - 0x100c]
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
call fcn.0047e1d0
mov dword [esi], eax
sub ebx, dword [ebp - 0xc]
test ebx, ebx
jg 0x47e26e
push edi
call sub.kernel32.dll_CloseHandle
not dword [esi]
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x47e7b8
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048c8
mov eax, dword [ebp - 8]
call fcn.004048c8
xor eax, eax
push ebp
push 0x47e85e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00409d40
mov eax, dword [ebp - 0xc]
call fcn.00409b08
mov eax, dword [ebp - 8]
call fcn.00409ad4
test al, al
je 0x47e824
mov eax, dword [ebp - 8]
call fcn.004048d8
mov esi, eax
push esi
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
and ebx, 0xfffffffe
push ebx
push esi
call sub.kernel32.dll_SetFileAttributesA
push 0
mov eax, dword [ebp - 8]
call fcn.004048d8
push eax
mov eax, dword [ebp - 4]
call fcn.004048d8
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e865
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040443c
ret
Function at 0x47ee4c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
test edx, edx
js 0x47ee86
mov ecx, dword [eax + edx*4]
dec edx
push ecx
jns 0x47ee7f
mov dword [ebp + 8], esp
mov ecx, dword [ebp + 0xc]
inc ecx
mov eax, dword [ebp + 8]
mov edx, dword [0x401110]
call fcn.004052a8
xor eax, eax
push ebp
push 0x47efc4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 2
call fcn.0047de08
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x134], 0x128
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0xc]
call fcn.0047de28
test eax, eax
je 0x47ef8c
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.00404688
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00409074
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 8]
call fcn.00408c64
mov esi, dword [ebp + 0xc]
test esi, esi
jl 0x47ef76
inc esi
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x144]
mov eax, dword [ebx]
call fcn.00409074
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408c64
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 8]
call fcn.0043abb4
test al, al
je 0x47ef70
mov eax, dword [ebp - 0x12c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov edi, eax
push 0
push edi
call sub.kernel32.dll_TerminateProcess
push edi
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 1], 1
add ebx, 4
dec esi
jne 0x47ef1c
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0xc]
call fcn.0047de48
test eax, eax
jne 0x47eedc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47efcb
lea eax, [ebp - 0x144]
mov edx, 4
call fcn.0040443c
lea eax, [ebp - 8]
call fcn.00404418
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc ecx
mov edx, dword [0x401110]
call fcn.00405168
ret