joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4059a0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x9c
push eax
call esi
test eax, eax
jne 0x4059dd
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x94
push ecx
call esi
mov eax, dword [esp + 0x14]
pop edi
cmp eax, 5
pop esi
jb 0x405a07
lea edx, [esp]
mov dword [esp], 8
push edx
mov dword [esp + 8], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
jne 0x405a0d
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
add esp, 0xa4
ret

Function at 0x405d60
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x204
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
push 0x1fe
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x210]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xd]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x405e00
mov dl, 0x22
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 8], dl
mov dword [esp + 4], eax
repne scasb al, byte es:[edi]
mov eax, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionRun]
not ecx
dec ecx
mov byte [esp + ecx + 8], dl
lea edx, [esp + 4]
push edx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x405e00
lea edi, [esp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [0x40d17c]
dec ecx
push ecx
lea ecx, [esp + 0xc]
push ecx
push 1
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
add esp, 0x204
ret
Function at 0x406190
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x90
mov al, byte [0x40e2a4]
push ebx
push esi
mov ebx, ecx
push edi
mov byte [esp + 0x18], al
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x19]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa4]
push ecx
push 1
push edx
mov ecx, ebx
call fcn.00406b90
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
lea eax, [esp + 0x18]
push 0x40d650
push eax
call esi
test eax, eax
jne 0x406220
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
lea ecx, [esp + 0x18]
push 0x40d650
push ecx
call esi
test eax, eax
jne 0x40620b
pop edi
pop esi
pop ebx
add esp, 0x90
ret 8
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
lea edx, [esp + 0x18]
push 0x40d650
push edx
call esi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x1c]
push 0x80
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
lea ecx, [esp + 0x18]
push 0x80
push ecx
mov ecx, ebx
call fcn.00406b10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 0x800000
push eax
push 0x6801
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x406297
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [esp + 0x10], 0
mov edx, dword [0x40d620]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x14]
push edx
push 0x40d620
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4062cb
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4062dc
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x90
ret 8
Function at 0x406610
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x409eb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov ebp, dword [esp + 0x28]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
xor ebx, ebx
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ebx
je 0x4066a1
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
xor eax, eax
lea ecx, [esp + 0x28]
mov al, byte [esi + ebp]
mov byte [esp + 0x20], 1
push eax
push 0x40d6cc
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
push edx
call fcn.004098f4
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x40664f
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push 0xf003f
push ebx
push str.CLSIDE0A466DE_165D_4033_BDEC_2267EC81D1C9VersionIndependentProgID
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4066d9
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x406719
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
je 0x40670f
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x406719
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4069b0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Print debug messages

Disassembly:
sub esp, 0x90
mov al, byte [0x40e2a4]
push ebx
push esi
mov ebx, ecx
push edi
mov byte [esp + 0x18], al
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x19]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa4]
push ecx
push 1
push edx
mov ecx, ebx
call fcn.00406b90
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
lea eax, [esp + 0x18]
push 0x40d650
push eax
call esi
test eax, eax
jne 0x406a4d
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
lea ecx, [esp + 0x18]
push 0x40d650
push ecx
call esi
test eax, eax
jne 0x406a38
push 0x40d6d0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x90
ret 8
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
lea edx, [esp + 0x18]
push 0x40d650
push edx
call esi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x1c]
push 0x80
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
lea ecx, [esp + 0x18]
push 0x80
push ecx
mov ecx, ebx
call fcn.00406b10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 0x800000
push eax
push 0x6801
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x14]
push 0x40d620
push eax
push 0
push 0
push 0
push ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x406aed
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x406afe
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x90
ret 8
Function at 0x4076b0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x24
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov esi, ecx
je 0x4076c4
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40773b
cmp dword [esi + 0xc], ebx
je 0x40773b
cmp dword [esi + 8], ebx
je 0x40773b
push ebp
push edi
call eax
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, eax
mov byte [esp + 0x10], 0xff
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], 3
mov edx, dword [esi + 0x18]
push 0x3e8
lea eax, [esp + 0x1c]
push 0x1c
lea ecx, [esp + 0x18]
push eax
push ecx
push ebx
push ebx
push edx
push edi
call dword [esi + 0xc]
cmp dword [esp + 0x1c], ebx
je 0x40772a
push str.ping_status_error
call ebp
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
jne 0x407702
push edi
call dword [esi + 8]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x24
ret 4

Function at 0x407de0
Capabilities:
Find taskbar

Disassembly:
sub esp, 8
push esi
push 0
push str.Shell_TrayWnd
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x407e4d
mov esi, dword [sym.imp.USER32.dll_EnumChildWindows]
lea ecx, [esp + 4]
push ecx
push 0x407d20
push eax
call esi
mov eax, dword [esp + 4]
test eax, eax
je 0x407e4f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407e44
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x407d80
push eax
mov dword [esp + 0x14], 0
call esi
mov eax, dword [esp + 8]
test eax, eax
jne 0x407e4f
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x4092c0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x409f4b
push eax
mov dword fs:[0], esp
sub esp, 0x408
push ebx
push esi
mov esi, dword [esp + 0x420]
xor ebx, ebx
push edi
mov eax, dword [esi + 0x510]
lea ecx, [esi + 0x500]
mov dword [0x40e388], eax
mov edx, dword [ecx]
mov dword [0x40e38c], edx
lea edx, [esi + 0x518]
mov ax, word [ecx + 4]
mov word [0x40e390], ax
mov ecx, dword [esi + 0x514]
mov dword [0x40e394], ecx
mov eax, dword [edx]
mov dword [0x40e398], eax
mov eax, dword [esp + 0x428]
mov cx, word [edx + 4]
cmp eax, ebx
mov word [0x40e39c], cx
jl 0x409343
cmp eax, 4
mov dword [0x40e4a0], eax
jle 0x40934d
mov dword [0x40e4a0], 2
mov ecx, 0x20
mov edi, 0x40e3a0
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x40e394]
mov byte [esp + 0xc], bl
cmp eax, ebx
mov byte [esp + 0xd], bl
mov byte [esp + 0xe], bl
mov byte [esp + 0xf], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], bl
je 0x409493
mov ecx, 3
lea edi, [esp + 0xc]
mov esi, 0x40e398
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x409493
cmp dword [0x40e388], ebx
je 0x409493
mov ecx, 3
lea edi, [esp + 0xc]
mov esi, 0x40e38c
xor eax, eax
repe cmpsw word [esi], word es:[edi]
je 0x409493
mov ecx, 3
lea edi, [esp + 0xc]
mov esi, 0x40e3a0
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x409493
push str.DrcomwallServicePwdKey
lea ecx, [esp + 0x10]
call fcn.00406040
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x215]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, str.DrcomwallServiceShareParams
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x41c], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x214]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x47
mov esi, 0x40e388
lea edi, [esp + 0x214]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
push ecx
push 0x11c
push edx
lea ecx, [esp + 0x18]
call fcn.004060a0
mov eax, dword [str.DrcomwallSvr]
push 0x82
push eax
call fcn.00409540
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x41c], 0xffffffff
call fcn.00406090
mov eax, 1
jmp 0x4094a0
push str.SaveHostAndGWInfo
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x414
ret
Function at 0x4095c0
Capabilities:
Query service status
Start service

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
jne 0x4095e2
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x2c]
push 0xf01ff
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
xor edi, edi
test esi, esi
je 0x409625
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x409618
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
jne 0x40962e
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov edi, eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x4701d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5502d0]
xor edx, edx
cmp eax, edx
jne 0x4701f6
xor eax, eax
mov byte [eax + 0x5501d0], al
inc eax
cmp eax, 0x100
jl 0x4701de
mov dword [0x5502d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5501d0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x470287
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x47025a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x470228
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x470300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x470353
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x47033a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484f90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d1f38
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x484fc9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4850dc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x484fdd
mov eax, 0xffffffc7
jmp 0x4850de
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x484fee
cmp dword [esi + 8], eax
jne 0x484fdd
cmp dword [esi + 8], eax
jne 0x485007
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x485007
mov eax, 0xffffffc7
jmp 0x4850de
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x48501b
push eax
mov ecx, ebx
call fcn.004847c0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00450500
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x48504c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00450520
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00483f30
test eax, eax
mov dword [esp + 0x38], eax
je 0x48507f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x51dee0
call fcn.00450700
mov eax, dword [esp + 0x38]
jmp 0x4850de
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00484df0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4850c3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00484e10
mov esi, eax
test esi, esi
jne 0x4850f3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00484df0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x485095
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x51dee0
call fcn.00450700
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x51dee0
call fcn.00450700
mov eax, esi
jmp 0x4850de
Function at 0x48eb04
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, dword [esi + 0xdc]
dec ecx
cmp ecx, eax
jge 0x48eb1e
mov eax, ecx
test eax, eax
jl 0x48eb60
cmp eax, dword [esi + 0xd4]
je 0x48eb60
mov ecx, dword [esi + 0x40]
mov dword [esi + 0xd4], eax
call fcn.0048e000
push 1
push 0
push 0
mov ecx, esi
call fcn.004c4fe6
push 1
push 0
push 1
mov ecx, esi
call fcn.004c4fe6
mov edx, dword [esi + 0x1c]
push 1
push 0
push edx
call fcn.00667034
sub ebx, dword [esi - 0x3e]
add al, 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop esi
ret 4

Function at 0x4916a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4916d3
push esi
call fcn.00494790
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4916cc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x491759
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x491742
mov eax, dword [esi + 8]
test eax, eax
je 0x4916f7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x49173e
cmp eax, 2
je 0x491742
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4916ea
cmp eax, 3
je 0x49171d
cmp eax, 1
jne 0x4916ea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4916ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4916ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00491780
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x491768
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00491780
add esp, 4
pop esi
ret
Function at 0x4a5490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d30c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004a5040
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004a50c0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004a50c0
lea ecx, [esi + 0xc]
call fcn.004c1dec
lea ecx, [esi + 0x10]
call fcn.004c1dec
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004a6650
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004a6650
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004a6650
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004c1e61
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004c1e61
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5bd524
Capabilities:
Encrypt data using aes

Disassembly:
pop edi
mov dword [ecx + 8], edx
xchg dh, dl
mov bl, 0xb8
jmp 0x5bd581
movzx edx, byte [eax + 0xc]
mov edi, 0xa0254a48
sets bl
shl edx, 8
jmp 0x5bd5d9
mov esi, 0x58fca3c
movzx esi, byte [eax + 0xe]
xchg di, bp
mov bl, byte [esp]
jmp 0x5bd619
xchg bl, bh
cmc
xchg di, bp
jmp 0x5bd5fe
mov bl, 0x12
lea ebx, [edx + edx]
cmc
xor edx, esi
bswap edi
jmp 0x5bd5b1
shl edx, 8
bts ebx, edi
mov edi, 0x3c7fa3b0
neg bl
jmp 0x5bd62c
xor edx, esi
inc bl
mov di, sp
mov bl, byte [esp]
bsf si, si
jmp 0x5bd5e5
movzx eax, byte [eax + 0xf]
cmc
xchg ebp, edi
shl edx, 8
lea edi, [ecx*4]
jmp 0x5bd5c2
xor edx, eax
lea eax, [eax - 0xe9]
lea esi, [ebp*4]
jmp 0x5bd7bd
mov eax, edx
xchg bx, bp
shr eax, 0x10
bswap ebp
jmp 0x5bd651
mov bp, word [esp]
jmp 0x5bd677
mov esi, 0xf23ecd26
xchg si, bp
mov dword [ecx + 0xc], edx
xchg esi, eax
shr ah, 1
jmp 0x5bd7a6

Function at 0x5bda91
Capabilities:
Encrypt data using aes

Disassembly:
call fcn.00590dc4
mov cl, ch
jmp 0x5bd9d2
jmp 0x590de5
mov ecx, edx
mov di, 0xf75
lea edi, [ecx - 0x8b]
lea edi, [esi + edi]
inc di
jmp 0x5bdaac
mov edi, 0x8dda75b4
and di, 0x5afa
mov ch, 0x8c
jmp 0x5bd99e
mov cx, 0xd84d
bsr dx, cx
mov eax, edi
mov edx, dword [eax + 0xc]
jmp 0x5bd9b6
and ecx, esi
stc
push esp
mov byte [esp + 1], ah
pop word [esp]
jmp 0x5bda8d
lea esi, [esi*4]
lea esi, [esi + 0x59b76c]
mov ecx, dword [esi]
pop esi
jmp 0x5bda71
mov edi, edx
cmc
sub esp, 4
push edx
add esp, 7
lea esp, [esp + 1]
jmp 0x5bda03
push ecx
mov ecx, edi
lea ecx, [ecx*4]
jmp 0x5bdac1
and edi, esi
sub esp, 0x16
lea esp, [esp + 5]
mov word [esp + 5], dx
lea esp, [esp + 1]
jmp 0x5bda37
shr edi, 0x10
push edx
pop word [esp]
lea esp, [esp + 2]
jmp 0x5bda54
lea esp, [esp + 2]
push esi
mov esi, ecx
jmp 0x5bda11
shr ecx, 8
btc edi, ebx
lea edi, [edi*4]
lea edi, [ecx + edx]
jmp 0x5bda27
lea ecx, [ecx + 0x59b76c]
mov edi, dword [ecx]
pop ecx
cmc
jmp 0x5bdbbd
and edi, 0xff000000
xor ecx, edi
pushal
call fcn.005bdb0c
push esi
mov esi, edx
jmp 0x5bdb82
lea esi, [esi*4]
lea esi, [esi + 0x59b76c]
mov edx, dword [esi]
pop esi
call fcn.005bdb69
lea esp, [esp + 0x10]
and ecx, 0xff0000
sub esp, 2
cmc
lea esp, [esp + 2]
jmp 0x5bdb24

Function at 0x5bde3f
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 0x24]
pop edi
mov bl, bh
call fcn.005bde1a
push 0xa
xchg si, ax
mov eax, dword [esp]
pushal
jmp 0x5bdd64
jne 0x590dea
mov al, 0x2e
xchg ah, bl
xchg si, bp
setg bh
jmp 0x5bdd86
lea esp, [esp + 0x28]
jmp 0x5bdda0

Function at 0x5be08e
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 4]
cmp dword [ebp - 4], ebx
push edx
mov dword [esp], esi
jmp 0x5be0b0
pushal
add esp, 0x1b
lea esp, [esp + 1]
jmp 0x5be05b
lea esp, [esp + 4]
sub edx, 0x10
jmp 0x5be076
mov eax, dword [ebp - 8]
lea esp, [esp + 8]
jmp 0x591483
lea esp, [esp + 4]
jl 0x5914b3
push esp
push edx
mov ax, 0x10cd
jmp 0x5be097