joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413c50
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x458], ecx
mov dword [ebp - 0x440], 0x22c
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0043ef50
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x413cb2
xor eax, eax
jmp 0x413dae
lea edx, [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
je 0x413d9c
lea ecx, [ebp - 0x41c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004371de
add esp, 8
test eax, eax
jne 0x413d7d
mov eax, dword [ebp - 0x438]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
je 0x413d68
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x454], 0
lea ecx, [ebp - 0x454]
push ecx
push 4
lea edx, [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x44c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
push 0x104
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x44c]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x210]
jmp 0x413dae
lea edx, [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x448], eax
jmp 0x413ccc
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x4dd718
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 4

Function at 0x413dc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
call fcn.00403910
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x1860
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x413e30
push str.UnPackEx2
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x413e16
mov edx, dword [ebp - 0x1c]
add edx, 0x1658
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [ebp - 0x18]
cmp dword [ebp + 0x10], 0
je 0x413e26
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413e40
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0043ef50
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], ecx
mov edx, dword [ebp - 0x214]
add edx, 0x1658
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx]
mov word [ebp - 0x222], dx
mov eax, dword [ebp - 0x21c]
mov cx, word [ebp - 0x222]
mov word [eax], cx
mov edx, dword [ebp - 0x218]
add edx, 2
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x21c]
add eax, 2
mov dword [ebp - 0x21c], eax
cmp word [ebp - 0x222], 0
jne 0x413ec3
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x214]
add edx, 0x1860
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x228]
mov dx, word [ecx]
mov word [ebp - 0x232], dx
mov eax, dword [ebp - 0x22c]
mov cx, word [ebp - 0x232]
mov word [eax], cx
mov edx, dword [ebp - 0x228]
add edx, 2
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x22c]
add eax, 2
mov dword [ebp - 0x22c], eax
cmp word [ebp - 0x232], 0
jne 0x413f35
push str.7z.dll
mov ecx, dword [ebp - 0x214]
add ecx, 0x1658
push ecx
call fcn.0040c080
add esp, 8
push str.Client7z.dll
mov edx, dword [ebp - 0x214]
add edx, 0x1860
push edx
call fcn.0040c080
add esp, 8
mov eax, dword [ebp - 0x214]
add eax, 0x1658
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413fda
mov ecx, dword [ebp - 0x214]
add ecx, 0x1658
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x214]
add edx, 0x1658
push edx
push 0x4dd754
push 0x89
mov ecx, dword [ebp - 0x214]
call fcn.004126f0
mov eax, dword [ebp - 0x214]
add eax, 0x1860
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414025
mov ecx, dword [ebp - 0x214]
add ecx, 0x1860
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x214]
add edx, 0x1860
push edx
push 0x4dd760
push 0x8a
mov ecx, dword [ebp - 0x214]
call fcn.004126f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret
Function at 0x414060
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x420], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4141e6
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4141e6
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0043ef50
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x418], cx
push 0x206
push 0
lea edx, [ebp - 0x416]
push edx
call fcn.0043ef50
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x418]
push ecx
push 0
push str.retmp
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 3
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4141d5
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x41c]
call fcn.00403da0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x41c]
call fcn.0040bc30
push 3
lea ecx, [ebp - 0x41c]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41419e
push 3
lea ecx, [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x41c]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4141c8
push 5
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 3
push 0
lea ecx, [ebp - 0x41c]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x41c]
call fcn.00403e20
jmp 0x4141e6
push 5
push 0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 8
Function at 0x414620
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x214]
call fcn.0040e9a0
push str.PcaSvc
mov ecx, dword [ebp - 0x214]
call fcn.004122b0
push 0x104
mov eax, dword [ebp - 0x214]
add eax, 0x1c70
push eax
push 0x4dd7cc
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x104
mov ecx, dword [ebp - 0x214]
add ecx, 0x1e78
push ecx
push str._localappdata_GamePPSdk
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [ebp - 0x214]
call fcn.00412430
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x214]
call fcn.00412b00
mov ecx, dword [ebp - 0x214]
call fcn.00412ca0
mov ecx, dword [ebp - 0x214]
call fcn.00412560
push 0
push 0
push 0
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x214]
call fcn.00413bc0
mov ecx, dword [ebp - 0x214]
call fcn.00413e40
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0043ef50
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push str._localappdata_GameBuff
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x26
mov ecx, dword [ebp - 0x214]
add ecx, 0x618
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.0040f080
mov edx, dword [ebp - 0x214]
add edx, 0x616
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
mov cx, word [eax + 2]
mov word [ebp - 0x21a], cx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21a], 0
jne 0x414756
mov edi, dword [ebp - 0x218]
mov edx, dword [0x4dd860]
mov dword [edi], edx
mov eax, dword [ebp - 0x214]
add eax, 0x616
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov dx, word [ecx + 2]
mov word [ebp - 0x222], dx
add dword [ebp - 0x220], 2
cmp word [ebp - 0x222], 0
jne 0x414797
mov edi, dword [ebp - 0x220]
mov eax, dword [0x4dd864]
mov dword [edi], eax
mov ecx, dword [str.meBuff]
mov dword [edi + 4], ecx
mov edx, dword [0x4dd86c]
mov dword [edi + 8], edx
mov eax, dword [0x4dd870]
mov dword [edi + 0xc], eax
mov cx, word [0x4dd874]
mov word [edi + 0x10], cx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 4
Function at 0x414800
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x414841
jmp 0x4148d7
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x4148ca
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004371de
add esp, 8
test eax, eax
jne 0x4148ae
mov ecx, dword [ebp - 0x230]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x244], eax
push 0
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x240], eax
jmp 0x41485b
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 4

Function at 0x4148f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x23c], 0
cmp dword [ebp + 8], 0
jne 0x41492a
xor eax, eax
jmp 0x4149c6
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x414951
xor eax, eax
jmp 0x4149c6
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x4149b3
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004371de
add esp, 8
test eax, eax
jne 0x414997
mov dword [ebp - 0x244], 1
jmp 0x4149b3
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x248], eax
jmp 0x41496b
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 4
Function at 0x417470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00417450
test eax, eax
je 0x417487
xor eax, eax
jmp 0x4174c5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x417494
xor eax, eax
jmp 0x4174c5
mov ecx, dword [ebp - 4]
add ecx, 8
push ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
push 0
push 0
call fcn.00438481
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
call fcn.00417450
mov esp, ebp
pop ebp
ret

Function at 0x417770
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
cmp dword [ebp + 8], 0
je 0x417799
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4177a0
xor eax, eax
jmp 0x417826
cmp dword [ebp + 0xc], 0
je 0x4177b0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x417805
xor ecx, ecx
mov word [ebp - 0x418], cx
push 0x40e
push 0
lea edx, [ebp - 0x416]
push edx
call fcn.0043ef50
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToCacheFileW]
test eax, eax
jl 0x417803
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
jmp 0x417826
jmp 0x417824
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jl 0x417824
mov eax, 1
jmp 0x417826
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 8
Function at 0x4195d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
call fcn.00403fc0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x419603
xor eax, eax
jmp 0x4196b7
mov edx, dword [ebp - 0x10]
push edx
call fcn.00437811
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41961f
xor eax, eax
jmp 0x4196b7
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4196a8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x4dc2ac
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x4dc2b0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00405220
add esp, 0x18
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00437797
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x419fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x218]
call fcn.00404bb0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0043ef50
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
push 0x20019
push 0
push 0x4dc764
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x41a0ac
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x224]
push edx
push 0
push 0x4dc788
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x218]
call fcn.00403e40
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404bd0
lea ecx, [ebp - 0x218]
call fcn.00403e20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret
Function at 0x4234f0
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov eax, 0x34
xor edx, edx
div ecx
add eax, 6
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x9e3779b9
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 1
jae 0x423537
mov eax, dword [ebp + 8]
jmp 0x42363a
cmp dword [ebp - 0x14], 0
je 0x423637
mov eax, dword [ebp - 0x14]
shr eax, 2
and eax, 3
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
jmp 0x42355e
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jbe 0x4235cd
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 - 4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
shr eax, 5
mov ecx, dword [ebp - 8]
shl ecx, 2
xor eax, ecx
mov edx, dword [ebp - 8]
shr edx, 3
mov ecx, dword [ebp - 0x18]
shl ecx, 4
xor edx, ecx
add eax, edx
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
and ecx, 3
xor ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi + ecx*4]
xor ecx, dword [ebp - 0x18]
add edx, ecx
xor eax, edx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edx*4]
sub edx, eax
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
jmp 0x423555
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
shr ecx, 5
mov edx, dword [ebp - 8]
shl edx, 2
xor ecx, edx
mov eax, dword [ebp - 8]
shr eax, 3
mov edx, dword [ebp - 0x18]
shl edx, 4
xor eax, edx
add ecx, eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
and edx, 3
xor edx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x10]
mov edx, dword [esi + edx*4]
xor edx, dword [ebp - 0x18]
add eax, edx
xor ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sub edx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
add eax, 0x61c88647
mov dword [ebp - 0x14], eax
jmp 0x423537
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x434ee7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5052a0]
jne 0x434ef1
repz ret
jmp fcn.0043b5f4
Function at 0x448eda
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0043c909
and dword [ebp - 0x14], 0
cmp dword [0x508ecc], 0
mov dword [ebp - 0x18], eax
jne 0x448f8d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x449035
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4cf16c
push ebx
call edi
test eax, eax
je 0x449035
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x508ecc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x508ed0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x508ed4], eax
call edi
push eax
call esi
mov dword [0x508edc], eax
test eax, eax
je 0x448f8d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x508ed8], eax
mov eax, dword [0x508ed8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x448fe6
cmp dword [0x508edc], ecx
je 0x448fe6
push eax
call esi
push dword [0x508edc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x448fe6
test ebx, ebx
je 0x448fe6
call edi
test eax, eax
je 0x448fdd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x448fdd
test byte [ebp - 8], 1
jne 0x448fe6
or dword [ebp + 0x10], 0x200000
jmp 0x449019
mov eax, dword [0x508ed0]
cmp eax, dword [ebp - 0x18]
je 0x449019
push eax
call esi
test eax, eax
je 0x449019
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x449019
mov eax, dword [0x508ed4]
cmp eax, dword [ebp - 0x18]
je 0x449019
push eax
call esi
test eax, eax
je 0x449019
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x508ecc]
call esi
test eax, eax
je 0x449035
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x449037
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434ee7
leave
ret
Function at 0x457ee0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x457f01
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x457f19
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x457f31
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x457f47
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x457f5f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret