joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f081
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409eb4
mov dword [ebp - 0x14], eax
cmp dword [0x41f948], esi
jne 0x40f174
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40f101
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f254
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40f254
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f254
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x41f948], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x41f94c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41f950], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41f958], eax
test eax, eax
je 0x40f171
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41f954], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f199
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f18c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40f1ae
push 4
pop eax
jmp 0x40f256
cmp dword [ebp - 0x14], esi
je 0x40f1ae
push dword [0x41f948]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f193
mov eax, dword [0x41f954]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40f20c
cmp dword [0x41f958], edi
je 0x40f20c
push eax
call ebx
push dword [0x41f958]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f20c
test eax, eax
je 0x40f20c
call ecx
test eax, eax
je 0x40f201
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40f201
test byte [ebp - 8], 1
jne 0x40f20c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40f23c
mov eax, dword [0x41f94c]
cmp eax, edi
je 0x40f239
push eax
call ebx
test eax, eax
je 0x40f239
call eax
mov esi, eax
test esi, esi
je 0x40f239
mov eax, dword [0x41f950]
cmp eax, edi
je 0x40f239
push eax
call ebx
test eax, eax
je 0x40f239
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41f948]
call ebx
test eax, eax
je 0x40f254
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40f256
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404cc6
mov esp, ebp
pop ebp
ret
Function at 0x418a70
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
cmp esi, ebx
je 0x418abb
jmp 0x418a90
mov edi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, edi
jle 0x418abb
add esi, 4
cmp esi, ebx
jne 0x418a90
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a285c
mov esp, ebp
pop ebp
ret

Function at 0x419440
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a640e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4d9320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00419770
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00419770
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x419554
test dl, 0x10
jne 0x419554
mov eax, 1
jmp 0x419556
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.004195f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x41ff40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x41ff71
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x41ff60
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x423ab0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6dcb
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004173d0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x423b09
cmp eax, 0x6f
jne 0x423b38
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x234], edi
test edi, edi
je 0x423b38
lea eax, [ebp - 0x230]
push eax
push edi
call esi
test eax, eax
je 0x423b56
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x423b70
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x423b8c
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x423c9b
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call sub.MSVCR120.dll_memset
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x4ba2f4
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
xor eax, eax
mov dword [ebp - 0x238], 7
add esp, 0x34
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp word [ebp - 0x22c], ax
je 0x423c31
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423c22
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407f60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.00423cd0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x423cbe
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x238], 8
jb 0x423c9b
push dword [ebp - 0x24c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x423b70
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x423b3a
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x425560
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x4256aa
test edx, edx
jle 0x4256aa
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.00424c60
lea ecx, [ebp - 0x94]
call fcn.00424d30
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.00424e00
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x425608
mov eax, dword [esi]
jmp 0x42560a
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x425657
cmp ecx, 0x10
jb 0x42561a
mov edx, dword [esi]
jmp 0x42561c
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x425657
cmp ecx, 0x10
jb 0x425631
mov ecx, dword [esi]
jmp 0x425633
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00420020
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x425668
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.00420170
cmp dword [esi + 0x14], 0x10
jb 0x425672
mov eax, dword [esi]
jmp 0x425674
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x425692
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004a285c
mov esp, ebp
pop ebp
ret
Function at 0x4263d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a6f08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d9320]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4d9320]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x426501
cmp byte [esi + 0x45], 0
je 0x426501
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x426430
xor al, al
jmp 0x426503
sub esp, 8
lea ecx, [esp + 0x20]
call fcn.00426280
mov dword [esp + 0x40], 0
lea edi, [esi + 0x48]
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp ebx, 0x10
lea ecx, [esp + 0x1c]
cmovae ecx, dword [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x40]
push edi
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x426488
dec eax
je 0x42648c
sub eax, 2
je 0x4264e7
xor bl, bl
jmp 0x4264e9
mov byte [esi + 0x45], 0
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x18]
cmp ebx, 0x10
mov edi, dword [esp + 0x14]
cmovae eax, ecx
sub edi, eax
je 0x4264c4
push dword [esi + 0x50]
cmp ebx, 0x10
lea eax, [esp + 0x1c]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x426484
cmp byte [esi + 0x45], 0
je 0x4264e7
test edi, edi
lea edi, [esi + 0x48]
jne 0x426447
push 0
push 8
lea ecx, [esp + 0x20]
call fcn.00426320
jmp 0x426444
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x4264fd
push dword [esp + 0x18]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x426503
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a285c
mov esp, ebp
pop ebp
ret
Function at 0x426700
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6f4c
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x4d9320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push 0
mov dword [ebp - 0x18], 0
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
sar esi, 0x10
push edi
and esi, 0xfff
call ebx
test eax, eax
jne 0x426755
push 1
push esi
call ebx
mov edi, eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
xorps xmm0, xmm0
push 0x10
movq qword [ebp - 0x14], xmm0
call esi
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
test ax, ax
mov edx, 4
push 0x11
cmovs ecx, edx
or ebx, ecx
call esi
xor ecx, ecx
mov edx, 2
test ax, ax
push 0x12
cmovs ecx, edx
or ebx, ecx
call esi
xor ecx, ecx
test ax, ax
sets cl
or ebx, ecx
cmp edi, 0x10
je 0x4267d5
cmp edi, 0x11
je 0x4267d5
cmp edi, 0x12
je 0x4267d5
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.00426810
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x18], 1
call fcn.00459730
test al, al
jne 0x4267d5
mov word [ebp - 0x10], di
jmp 0x4267db
xor eax, eax
mov word [ebp - 0x10], ax
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x18], 1
je 0x4267f3
lea ecx, [ebp - 0xa0]
call fcn.00458d50
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433ae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a8938
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4d9320]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x20], 7
push eax
push 0x4b74b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00407f60
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0
mov ecx, dword [esi + 0x3c]
push eax
push 0xffffffffffffffff
call fcn.00431d70
cmp dword [esp + 0x20], 8
jb 0x433b5d
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438120
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a76c8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor ebx, ebx
movq qword [ebp - 0x1c], xmm0
xor esi, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], esi
xor edx, edx
mov eax, dword [ecx + 0x54]
sub eax, dword [ecx + 0x50]
sar eax, 2
mov dword [ebp - 0x40], edx
test eax, eax
je 0x4382ca
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
lea esp, [esp]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x50]
mov eax, dword [eax + 0x54]
sub eax, ecx
sar eax, 2
cmp eax, edx
jbe 0x4382e8
push dword [ecx + edx*4]
lea eax, [ebp - 0x34]
push eax
call fcn.00454390
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x4381e5
cmp dword [ebp - 0x20], 8
jb 0x438280
push dword [ebp - 0x34]
call edi
add esp, 4
jmp 0x438280
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], 0
push ecx
push eax
mov dword [ebp - 0x44], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x48]
push eax
push 0x456600
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x20], 8
mov edi, dword [ebp - 0x48]
jb 0x438222
push dword [ebp - 0x34]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x38], edi
test edi, edi
je 0x43827a
lea eax, [ebp - 0x38]
cmp eax, esi
jae 0x43825a
cmp ebx, eax
ja 0x43825a
mov edi, eax
sub edi, ebx
sar edi, 2
cmp esi, dword [ebp - 0x14]
jne 0x43824f
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00429810
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
test esi, esi
je 0x438274
mov eax, dword [ebx + edi*4]
mov dword [esi], eax
jmp 0x438274
cmp esi, dword [ebp - 0x14]
jne 0x43826e
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00429810
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
test esi, esi
je 0x438274
mov dword [esi], edi
add esi, 4
mov dword [ebp - 0x18], esi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
inc edx
mov dword [ebp - 0x40], edx
mov eax, dword [ecx + 0x54]
sub eax, dword [ecx + 0x50]
sar eax, 2
cmp edx, eax
jb 0x438190
cmp ebx, esi
je 0x4382c0
push dword [ebp + 0x14]
mov ecx, dword [ecx + 0x44]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0x28]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00437b50
add esp, 0x10
test ebx, ebx
je 0x4382ca
push ebx
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret 0x10
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
int3
Function at 0x439bc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a8938
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4d9320]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x20], 7
push eax
push 0x4b74b0
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00407f60
mov dword [esp + 0x30], 0
lea edx, [esp + 0xc]
mov eax, dword [esi + 4]
push edx
push 0xfffffffffffffffe
push 0xfffffffffffffffe
mov ecx, dword [eax + 0x44]
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [esp + 0x20], 8
jb 0x439c42
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43e630
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x4ea1e0], ecx
inc eax
cmp eax, 0x100
jb 0x43e633
cmp eax, 0x800
jae 0x43e703
nop
mov edx, dword [eax*4 + 0x4e9de0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x4ea1e0]
mov dword [eax*4 + 0x4ea1e0], edx
inc eax
cmp eax, 0x800
jb 0x43e6e0
mov dword [0x4ec1e0], 0x440270
mov dword [0x4ea1dc], 0x440270
mov dword [0x4ec1e4], 0x440310
call fcn.00440520
mov ecx, dword [0x4ea1dc]
test eax, eax
mov edx, 0x440310
cmove ecx, edx
mov dword [0x4ea1dc], ecx
pop ecx
ret
Function at 0x443500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x443526
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
sub edx, 4
add edx, ebx
mov dword [ebp - 0xc], edx
lea eax, [edi + ebx]
cmp eax, edx
jae 0x44354f
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x44354f
inc eax
cmp eax, edx
jb 0x443540
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x443632
cmp ecx, 2
jbe 0x4435f2
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x443624
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, edi
add edi, 5
sub ebx, ecx
mov dword [ebp - 8], ecx
test esi, esi
je 0x4435cc
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x4435c7
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov byte [eax + 4], bl
mov ebx, dword [ebp - 4]
jmp 0x443532
shr esi, cl
test esi, esi
je 0x44356c
cmp esi, 4
ja 0x443619
cmp esi, 3
je 0x443619
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x44356c
or esi, 8
shr esi, 1
inc edi
jmp 0x443532
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x443532
cmp ecx, 2
jbe 0x443647
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
shr esi, cl
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448d10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x302c
call fcn.004a2de0
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x300c], 0
lea eax, [ebp - 0x302c]
mov esi, edx
push eax
mov edi, ecx
movdqu xmmword [ebp - 0x302c], xmm0
movdqu xmmword [ebp - 0x301c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3018]
mov dword [edi], eax
mov dword [esi], eax
mov eax, dword [0x4ea05c]
test al, 1
jne 0x448d93
push str.GetLogicalProcessorInformation
or eax, 1
push str.kernel32.dll
mov dword [0x4ea05c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x4ea060], esi
jmp 0x448d99
mov esi, dword [0x4ea060]
test esi, esi
je 0x448e07
push 0x3000
lea eax, [ebp - 0x3004]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x3008], 0x3000
lea eax, [ebp - 0x3008]
push eax
lea eax, [ebp - 0x3004]
push eax
call esi
test eax, eax
je 0x448e07
mov eax, 0xaaaaaaab
xor esi, esi
mul dword [ebp - 0x3008]
shr edx, 4
test edx, edx
je 0x448e07
lea ecx, [ebp - 0x3000]
jmp 0x448df0
mov eax, dword [ecx]
sub eax, 0
je 0x448dfa
dec eax
jmp 0x448dfb
inc esi
add ecx, 0x18
dec edx
jne 0x448df0
test esi, esi
je 0x448e07
mov dword [edi], esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a285c
mov esp, ebp
pop ebp
ret