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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45c254]
cmp byte [eax + 0xc], 0
je 0x43cc09
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43cc02
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45db68], 0
jne 0x43caf0
push 0x43cc10
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43cc18
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db68], eax
cmp dword [0x45bb10], 0
jne 0x43cbeb
push 0x43cc28
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45bb10], eax
cmp dword [0x45bb10], 0
je 0x43cbeb
push 0x43cc34
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db6c], eax
push 0x43cc44
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db70], eax
push 0x43cc58
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db74], eax
push 0x43cc70
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db78], eax
push 0x43cc88
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db7c], eax
push 0x43cc9c
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db80], eax
push 0x43ccb4
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db84], eax
push 0x43cccc
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db88], eax
push 0x43cce8
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db8c], eax
push 0x43ccf4
mov eax, dword [0x45bb10]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45db90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cc09
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x440a94
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.00404010
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x440ae3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404280
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4482a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4482f0]
test si, 4
je 0x4482b4
or bl, 1
test si, 8
je 0x4482be
or bl, 4
test si, 1
je 0x4482c8
or bl, 8
test si, 2
je 0x4482d2
or bl, 0x10
test si, 0x10
je 0x4482dc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4482eb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4482f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44832c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44830d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44831c
or bl, 4
test esi, 0x20000000
je 0x448327
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44e9d4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44e9e6
add esp, 0xfffffff0
call fcn.004035e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cbdc
mov eax, dword [0x45bef0]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ed78
mov eax, dword [0x45befc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ed84
mov eax, ebx
call fcn.0044ed90
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414ed4]
call fcn.00403290
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414ed4]
call fcn.00403290
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414ed4]
call fcn.00403290
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414ed4]
call fcn.00403290
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414ed4]
call fcn.00403290
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, 0x44b1ac
push eax
push 0
push 0
mov eax, dword [0x45c050]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e630]
call fcn.0041fd6c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e630]
call fcn.0041fd6c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e630]
call fcn.0041fd6c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f1b0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f08c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f08c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f08c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44eb23
call fcn.0040363c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44ee70
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 0x44f01b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44effc
mov dl, 1
mov eax, dword [0x4152f0]
call fcn.00403290
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404010
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44efeb
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.0043cdfc
test al, al
je 0x44efde
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, 0x44f02c
lea eax, [ebp - 0x254]
call fcn.00408d98
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44efde
xor eax, eax
push ebp
push 0x44efd7
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 0x44f064
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44efc0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404280
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 0x44efc0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44efde
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44eee1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418dcc
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 0x44f022
lea eax, [ebp - 0x260]
call fcn.00404010
ret

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

Disassembly:
push ecx
mov eax, dword [0x45dbb4]
cmp byte [eax + 0xa5], 0
jne 0x44f9c1
cmp dword [0x45dbcc], 0
jne 0x44f982
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44f90c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45dbcc], eax
cmp dword [0x45dbc8], 0
jne 0x44f99d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45dbc8], eax
cmp dword [0x45dbd0], 0
jne 0x44f9c1
push esp
push 0
push 0
push 0x44f8b0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45dbd0], eax
pop edx
ret
Function at 0x44fab8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44facf
add esp, 0xfffffff0
call fcn.004035e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cbdc
mov eax, dword [0x45c03c]
cmp word [eax + 2], 0
jne 0x44faf7
mov eax, dword [0x45c03c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451220
mov eax, dword [0x45c0f0]
cmp word [eax + 2], 0
jne 0x44fb11
mov eax, dword [0x45c0f0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451418
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414ed4]
call fcn.00403290
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414ed4]
call fcn.00403290
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 [0x41f0d8]
call fcn.004269a4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44fc98
mov eax, dword [0x45bf54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426d74
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4519b8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45bf54]
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.0040c4e8
test eax, eax
je 0x44fc06
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040878c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c510
test eax, eax
je 0x44fc1a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404280
mov eax, dword [0x45be28]
cmp byte [eax], 0
jne 0x44fc4e
mov eax, ebx
call fcn.0044fdc0
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.00451b94
mov eax, ebx
call fcn.00452558
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fc8e
call fcn.0040363c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450040
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45dbb4]
cmp dword [eax + 0x30], 0
je 0x4500ea
cmp dword [ebx + 0x94], 0
jne 0x4500e4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ffd0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4500e4
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 0x4500aa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4500e4
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.0041723c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4500b9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450c4c
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 0x450c81
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.00404100
jmp 0x450c8e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404064
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451d70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x451db1
mov eax, esi
call fcn.00438604
test al, al
je 0x451db1
mov eax, dword [ebx + 0x84]
call fcn.0043832c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451db1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043832c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x452a70
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 [0x4144d0]
call fcn.00404994
xor eax, eax
push ebp
push 0x452bb4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45bd44], 0
jne 0x452ac3
mov ecx, dword [0x45be38]
mov dl, 1
mov eax, dword [0x407184]
call fcn.0040b794
call fcn.00403a4c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402cd4
mov eax, ebx
call fcn.00404864
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x452bc4
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.00405918
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404874
test eax, eax
jle 0x452b5b
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 0x452b54
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404298
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404280
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407f90
test eax, eax
jne 0x452b54
mov ebx, 0x15
jmp 0x452b60
mov ebx, 0x10
jmp 0x452b60
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 [0x45bd44]
call fcn.004529c8
mov eax, dword [ebp - 8]
call fcn.004529c8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405930
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452bbb
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404034
lea eax, [ebp - 0x10]
mov edx, dword [0x4144d0]
call fcn.00404a64
ret

Function at 0x456360
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00455e00
test byte [ebx + 0x23d], 4
jne 0x4563f5
mov edx, esp
mov eax, ebx
call fcn.004315b4
push esp
mov eax, ebx
call fcn.00438128
push eax
push 0
mov eax, ebx
test eax, eax
je 0x456395
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x4563c6
mov ecx, dword [0x45bfe4]
mov dl, 1
mov eax, dword [0x452688]
call fcn.0040b794
call fcn.00403a4c
mov eax, ebx
call fcn.0045689c
cmp byte [ebx + 0x57], 0
jne 0x4563fc
mov eax, ebx
call fcn.0043832c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4563fc
push 0
mov eax, ebx
call fcn.0043832c
push eax
call sub.user32.dll_ShowWindow
jmp 0x4563fc
mov eax, ebx
call fcn.004352ac
add esp, 0x10
pop ebx
ret
Function at 0xde31b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00de3140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00de3140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00de3140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00de3140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xde3bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xde3c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xdf587c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xde3c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xde3c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x7df3dc
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x7df3e2
pop ebp
sub ebp, 6
sub ebp, 0x3df3dc
jmp 0x7df440
jmp 0x7df449
mov eax, 0x3df3dc
add eax, ebp
add eax, 0x93
mov ecx, 0x5ad
mov edx, 0x8bfc8339
xor byte [eax], dl
inc eax
dec ecx
jne 0x7df460
jmp 0x7df473
mov dl, 0xf4
mov dl, 0xb0
add eax, 0xb8393939
clc
sar dword [ecx], 0x39
cmp dword [edx], edi
hlt
Function at 0xd68058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00d681a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd6807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd6806a
add dl, dl
jne 0xd68089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd680dc
xor eax, eax
add dl, dl
jne 0xd68096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd6817d
add dl, dl
jne 0xd680a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd680b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd680bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd680c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd680d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd68075
mov eax, 1
add dl, dl
jne 0xd680ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd680f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd680e1
sub eax, ebx
mov ebx, 1
jne 0xd68128
mov ecx, 1
add dl, dl
jne 0xd6810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd68119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd68105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd68075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd6813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd6814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd68136
cmp eax, 0x7d00
jae 0xd6816d
cmp eax, 0x500
jb 0xd68168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd68075
cmp eax, 0x7f
ja 0xd68170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd68075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd6819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd68075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4014e2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [ebp + 8], 0xb0
jae 0x401580
mov eax, dword [ebp + 8]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x118]
push eax
call fcn.004014e2
add esp, 8
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 3
div ecx
test edx, edx
jne 0x40153c
mov byte [ebp - 0x114], 0
jmp 0x40157e
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 4
div ecx
test edx, edx
jne 0x401560
lea edx, [ebp - 0x104]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x40157e
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 0xd
div ecx
test edx, edx
jne 0x40157e
mov byte [ebp - 0x112], 0x4d
mov byte [ebp - 0x111], 0
jmp 0x401589
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x401e03
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 1
push 0xd
call fcn.004019a5
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x401e66
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
push 0xe6
push 0xb4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 4], 0
je 0x401e79
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp - 0x18], eax
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 4], 0
je 0x401e99
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov eax, dword [ebp - 8]
jmp 0x401f7c
mov dword [ebp - 0x614], 0
mov edx, dword [str.winexe.cmd]
mov dword [ebp - 0x60c], edx
mov eax, dword [0x435118]
mov dword [ebp - 0x608], eax
mov cx, word [0x43511c]
mov word [ebp - 0x604], cx
mov dl, byte [0x43511e]
mov byte [ebp - 0x602], dl
mov eax, dword [str.vlgbl]
mov dword [ebp - 0x600], eax
mov cx, word [0x435124]
mov word [ebp - 0x5fc], cx
cmp dword [ebp - 0x20], 0xffffffff
jne 0x401efa
xor eax, eax
jmp 0x401f7c
push 0
lea edx, [ebp - 0x61c]
push edx
push 0x5d8
lea eax, [ebp - 0x5f8]
push eax
mov ecx, dword [ebp - 0x614]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401f57
push 2
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x618], eax
push 0
lea eax, [ebp - 0x610]
push eax
mov ecx, dword [ebp - 0x61c]
push ecx
lea edx, [ebp - 0x5f8]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x61c], 0x5d8
je 0x401efa
mov ecx, dword [ebp - 0x614]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x405c1d
Capabilities:
Copy file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x435fd0], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x435f6c
push 0x435f08
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x405c65
xor eax, eax
jmp 0x405c8e
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, 1
mov esp, ebp
pop ebp
ret