joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45da90
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x5ac8c0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45c25b
je 0x45c2ae
cmp ebx, 0x20
jbe 0x45c2b4
cmp ebx, 0x40
jbe 0x45c2fa
jmp 0x45c39b
test ebx, ebx
je 0x45c2a4
add eax, 0x10
test ax, 0xff0
je 0x45c290
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4d9a00]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x4d9b00]
jmp 0x45c278
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45c278
pxor xmm1, xmmword [0x5ac8d0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5ac8d0]
pxor xmm2, xmmword [0x5ac8e0]
pxor xmm3, xmmword [0x5ac8f0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5ac8d0]
pxor xmm2, xmmword [0x5ac8e0]
pxor xmm3, xmmword [0x5ac8f0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45c3fa
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x5ac5ce], 0
je 0x45daaa
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45c220
jmp fcn.00407d80
Function at 0x45dab0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40267e
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00407d80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0045c7d0
jmp 0x402640
cmp byte [0x5ac5ce], 0
je 0x45dacb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x45c220
jmp 0x402640
Function at 0xb0122a
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00b0122a
ret
Function at 0x4060d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov edx, dword [esp + 0x218]
lea eax, [esp + 0xc]
push edi
push eax
push edx
mov dword [esp + 0x10], 4
xor edi, edi
call fcn.00405e90
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
push eax
push 0x20019
push edi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406145
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push esi
lea eax, [esp + 0x10]
push edx
push eax
push edi
push edi
push str.Speaker_Configuration
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 8]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
test esi, esi
pop esi
je 0x406147
mov eax, edi
pop edi
add esp, 0x214
ret 4

Function at 0x406160
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x20c
lea eax, [esp + 4]
push esi
push eax
push edx
xor esi, esi
call fcn.00405e90
lea eax, [esp + 4]
push esi
push eax
push esi
push 0xf003f
push esi
push 0x425eac
lea ecx, [esp + 0x20]
push esi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4061da
lea edx, [esp + 0x218]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x14]
push str.Speaker_Configuration
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 0x20c
ret 8
mov eax, esi
pop esi
add esp, 0x20c
ret 8

Function at 0x4067f0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x425eb0]
sub esp, 0x400
test eax, eax
je 0x406851
cmp dword [esp + 0x404], eax
jb 0x406851
push edi
lea eax, [esp + 4]
push str.STacSV:
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x418]
lea edi, [esp + 0xc]
push ecx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x418]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [esp + ecx + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_vsprintf]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
add esp, 0x400
ret
Function at 0x406860
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x768
push ebx
push ebp
push esi
mov esi, dword [esp + 0x77c]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x77c]
push ebp
lea eax, [esp + 0xa8]
push 0x1ec
push eax
push ebp
push ebp
push esi
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
push 0x20019
push 1
push ebp
push 1
push esi
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x10], ebx
je 0x4069ac
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x38]
push ebp
lea edx, [esp + 0x2b4]
push ecx
push edx
push ebx
mov dword [esp + 0x4c], 0x80
mov dword [esp + 0x48], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4068eb
mov eax, dword [esp + 0x18]
mov byte [esp + eax + 0x290], 0
mov edi, dword [esp + 0x788]
mov edx, dword [esp + 0x784]
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x28]
push 0
lea edx, [esp + 0x34]
push ecx
push edx
push ebp
push ebx
mov dword [esp + 0x34], 0x400
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
test esi, esi
jne 0x40694f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push str.EDID
push ecx
mov dword [edi], eax
xor bl, bl
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x40696c
mov ebx, dword [esp + 0x10]
inc ebp
cmp esi, 0x103
jne 0x4068f2
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x768
ret
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jbe 0x406989
mov edx, dword [esp + 0x784]
add bl, byte [eax + edx]
inc eax
cmp eax, ecx
jb 0x406976
test bl, bl
jne 0x4069a1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x768
ret
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x768
ret
Function at 0x4072b0
Capabilities:
Get session user name
Get user security identifier

Disassembly:
mov eax, 0x12a4
call fcn.00418880
mov edx, dword [esp + 0x12a8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x12b4]
xor ebx, ebx
cmp ecx, ebx
push edi
mov dword [esi + 4], edx
jne 0x4072d8
mov ecx, edx
mov eax, dword [esp + 0x12bc]
mov dword [esi + 8], ecx
cmp eax, ebx
jne 0x4072e8
mov eax, edx
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x12c0]
lea ecx, [esp + 0x1c]
mov edi, 1
push ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], 0xf01ff
mov dword [esi + 0x54], 0x10
mov dword [esi + 0x58], 2
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi], vtable.CNTService.0
mov dword [esp + 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 0x2c]
xor edx, edx
cmp ecx, 2
sete dl
mov dword [esi + 0x48], edx
mov dword [0x425eb4], edi
mov dword [0x425eb8], esi
mov eax, dword [esi + 0x48]
cmp eax, ebx
mov dword [esi + 0x1c], 0x10
mov dword [esi + 0x2c], ebx
je 0x407440
mov eax, 0xff
mov ecx, 0x40
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
xor eax, eax
lea edi, [esp + 0xb0]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x1b0]
rep stosd dword es:[edi], eax
mov ecx, 0x400
lea edi, [esp + 0x2b0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0xb0]
push eax
push ecx
mov dword [esp + 0x1c], 0x1000
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x1b4]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x2bc]
push edx
lea ecx, [esp + 0xc0]
push eax
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x407440
lea edx, [esp + 0x2b0]
push edx
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x407440
lea eax, [esp + 0x2b0]
push eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0x2b0]
mov dword [esi + 0x44], eax
push ecx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CopySid]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x12a4
ret 0x10
Function at 0x407f10
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x70
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x88]
test eax, eax
mov edx, 1
mov dword [esp + 4], 0x20
mov dword [esp + 8], 5
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
pop edi
jne 0x407f69
mov edx, 5
mov eax, dword [esp + 0x74]
push edx
lea edx, [esp + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationA]
mov ecx, dword [esp + 0x88]
test eax, eax
mov dword [ecx], eax
jne 0x407fb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x24]
push str.RegisterDeviceNotification_failed:__d_n
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 0x70
ret
mov eax, 1
add esp, 0x70
ret
Function at 0x408b00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x11c
push esi
push edi
mov edi, str.SoftwareIDT
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x18], vtable.CRegistry.0
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x20], 0
shr ecx, 2
mov dword [esp + 0x1c], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x10], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, str.STSysTray1.0
test ecx, ecx
je 0x408bb0
mov edi, 0x41f998
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.STSysTray1.0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
push 0x20019
lea ecx, [esp + 0x28]
push 0
push ecx
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x408c03
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.RetryInstall
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 8]
push eax
call esi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 8]
push 0
push edx
push 0
push 0xf003f
push 0
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
push 0x425e8c
lea eax, [esp + 0x38]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x408c57
lea edx, [esp + 0xc]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x18]
push str.RetryInstall
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call esi
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop esi
je 0x408c6c
push 3
lea edx, [esp + 0x10]
push 0
push edx
jmp 0x408c75
push 1
lea eax, [esp + 0x10]
push 0
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeA]
test eax, eax
je 0x408c88
xor al, al
add esp, 0x11c
ret
mov ecx, dword [esp + 0xc]
push 0
push ecx
call dword [sym.imp.SETUPAPI.dll_CM_Reenumerate_DevNode]
test eax, eax
sete al
add esp, 0x11c
ret

Function at 0x409a20
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x404
or ecx, 0xffffffff
xor eax, eax
push edi
mov edi, edx
repne scasb al, byte es:[edi]
push eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
not ecx
push 0x400
push eax
push ecx
mov ecx, dword [esp + 0x424]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
pop edi
add esp, 0x404
ret
Function at 0x413b70
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x419f70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esi, eax
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push ebx
mov dword [esp + 0x1c], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
push eax
push 0x422600
push 7
push ebx
push 0x4225f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x413c88
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push ebx
push ebx
push 0xffffffffffffffff
push str.Config_LangMode
push ebx
push ebx
call ebp
mov esi, eax
dec esi
push esi
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
cmp edi, ebx
je 0x413c12
push esi
push edi
push 0xffffffffffffffff
push str.Config_LangMode
push ebx
push ebx
call ebp
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edi
push ebx
push 4
push 8
push edx
mov byte [esp + 0x48], 1
call fcn.00409700
push edi
mov esi, eax
mov byte [esp + 0x34], bl
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop edi
cmp esi, ebx
pop ebp
jl 0x413c73
mov eax, dword [esp + 0xc]
push eax
push str.defaultlanguagemode___d_n
push 1
call fcn.004067f0
mov eax, dword [esp + 0x18]
add esp, 0xc
dec eax
je 0x413c6d
dec eax
je 0x413c67
mov esi, dword [esp + 0x10]
jmp 0x413c97
mov esi, dword [esp + 0x14]
jmp 0x413c97
mov esi, dword [esp + 0x18]
jmp 0x413c97
push str.error_in_get_defaultlanguagemode_n
push 1
call fcn.004067f0
mov esi, dword [esp + 0x18]
add esp, 8
jmp 0x413c97
push str.error_when_m_spRegCtrl.CoCreateInstance_n
push 1
call fcn.004067f0
add esp, 8
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x413ca9
mov dword [esp + 8], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 8]
mov dword [esp + 0x28], 0xffffffff
cmp eax, ebx
je 0x413cc5
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x20]
mov ax, si
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x414720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor bl, bl
xor esi, esi
mov dword [esp + 0x18], edi
mov eax, dword [edi + 0x218]
mov byte [esp + 0x14], bl
test eax, eax
mov byte [esp + 0x10], bl
je 0x4148a1
mov eax, dword [eax + 0x1fc]
test eax, eax
je 0x4148a1
mov ebp, dword [esp + 0x24]
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x30]
push edx
lea edx, [esp + 0x2c]
push edx
push ebp
push esi
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x414891
mov eax, dword [edi + 0x218]
mov edx, dword [eax + 0x248]
test edx, edx
jle 0x4147ba
lea ecx, [eax + 0x3bc]
add eax, 0x3cc
mov edi, edx
cmp ebp, dword [eax - 0x180]
jne 0x4147af
cmp byte [ecx], 0
mov ebx, dword [eax]
setne dl
shr ebx, 0x10
mov byte [esp + 0x10], dl
and bl, 1
add eax, 4
inc ecx
dec edi
jne 0x414795
mov byte [esp + 0x14], bl
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
and eax, 0xff
and edi, 0xff
push eax
push edi
push ecx
push esi
push edx
push ebp
push str.SetDeviceType:_port0x_04x_curdev_d_newdev_d_flag_d_isslave_d_slavable_d
push 1
call fcn.004067f0
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, esi
jne 0x41482b
test bl, bl
je 0x41480a
mov edx, dword [esp + 0x2c]
xor eax, eax
cmp edx, 1
sete al
xor eax, edi
jne 0x41482b
push esi
mov edi, 1
push ebp
push str.Port_0x_04x_already_type_0x_04x_n
push edi
call fcn.004067f0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x218]
mov eax, dword [edx + 0x1fc]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
push edx
push esi
push ebp
push 0
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x414874
push esi
mov edi, 1
push ebp
push str.Reconfigured_Port_0x_04x_to_type_0x_04x_n
push edi
call fcn.004067f0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
push esi
push ebp
push str.Failed_to_reconfigure_Port_0x_04x_to_type_0x_04x_n
push 1
call fcn.004067f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
push ebp
push str.GetPortDeviceType_Port_0x_04x_failed__n
push 1
call fcn.004067f0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4188ec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b4f8
push 0x418a02
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x425ef0], 0xffffffff
or dword [0x425ef4], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x425ecc]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x425ec8]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x425ef8], eax
call fcn.00418a4d
cmp dword [0x425e30], 0
jne 0x41896f
push 0x418a4a
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00418a32
push 0x41e010
push 0x41e00c
call sub.MSVCRT.dll__initterm
mov eax, dword [0x425ec4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x425ec0]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x41e008
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00406c10
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x4f89d9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or al, 0
add byte [eax], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0xe
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.0050de68
add esp, 0xc
add esp, 0
xchg edi, edi
je 0x4f8a03
jl 0x4f89fb
jne 0x4f89fd
jg 0x4f89ff
jne 0x4f8a03
mov esi, 0xec45c6f0
jp 0x4f89ce
mov byte [ebp - 0x14], 0x7a
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x17], 0x66
mov byte [ebp - 0x13], 0x74
inc ebp
call 0xe9955056
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0xf], 0x4a
mov byte [ebp - 0x10], 0x6e
mov byte [ebp - 0xd], 0x67
mov byte [ebp - 0x12], 0x75
mov byte [ebp - 0xb], 0
mov byte [ebp - 0x16], 0x75
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x11], 0x66
mov byte [ebp - 0xe], 0x6f
or esp, 0
and eax, 0xffffffff
add esi, 0
lea ecx, [ecx]
jno 0x4f8a4f
lea esi, [esi]
jo 0x4f8a4f
mov eax, 0x4d8a02f0
hlt
mov cl, byte [ebp - 0xc]
sub cl, 1
mov byte [ebp - 0xc], cl
mov dl, byte [ebp - 0x13]
sub dl, 1
mov byte [ebp - 0x13], dl
mov al, byte [ebp - 0x17]
sub al, 1
mov byte [ebp - 0x17], al
mov cl, byte [ebp - 0x15]
sub cl, 1
mov byte [ebp - 0x15], cl
mov dl, byte [ebp - 0x11]
sub dl, 1
mov byte [ebp - 0x11], dl
mov al, byte [ebp - 0x14]
sub al, 1
mov byte [ebp - 0x14], al
mov cl, byte [ebp - 0x12]
sub cl, 1
mov byte [ebp - 0x12], cl
mov dl, byte [ebp - 0xe]
sub dl, 1
mov byte [ebp - 0xe], dl
mov al, byte [ebp - 0x10]
sub al, 1
mov byte [ebp - 0x10], al
mov cl, byte [ebp - 0x18]
sub cl, 1
mov byte [ebp - 0x18], cl
mov dl, byte [ebp - 0xf]
sub dl, 1
mov byte [ebp - 0xf], dl
mov al, byte [ebp - 0xd]
sub al, 1
mov byte [ebp - 0xd], al
mov cl, byte [ebp - 0x16]
sub cl, 1
mov byte [ebp - 0x16], cl
test esp, 0x2b17
shl esp, 0
jo 0x4f8acb
jnp 0x4f8acd
jbe 0x4f8add
pushf
and edx, edx
add esp, 0
popf
lea ecx, [ecx]
ja 0x4f8add
mov eax, 0x1b2ebe8
add byte [ecx + 0x7d83f845], cl
clc
add byte [ebp + 5], dh
call fcn.00513dcd
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4f8af0
jmp 0x4f8ba8
lea esi, [esi + 0x760c]
sub esi, 0x760c
jg 0x4f8b2a
pushf
lea esp, [esp]
nop
xor edx, dword [esp]
xor edx, dword [esp]
popf
lea eax, [eax + 0x6440]
lea eax, [eax - 0x6440]
lea esp, [esp]
lea eax, [eax + 0x62c3]
lea eax, [eax - 0x62c3]
jle 0x4f8b2a
xor eax, 0x52e8558d
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.005173f7
mov dword [ebp - 4], eax
push 0xe
push 0
lea ecx, [ebp - 0x18]
push ecx
call fcn.0050de68
add esp, 0xc
jle 0x4f8b4c
xchg ebx, ebx
js 0x4f8b50
jp 0x4f8b52
jo 0x4f8b6b
pushf
shl esp, 0
shr esp, 0
jo 0x4f8b5e
jg 0x4f8b60
popf
jge 0x4f8b64
jle 0x4f8b66
ja 0x4f8b68
jno 0x4f8b6b
mov esi, 0xfc7d83
cmp dword [ebp - 4], 0
jne 0x4f8b73
jmp 0x4f8ba8
nop
jno 0x4f8b82
pushf
mov esp, esp
popf
jle 0x4f8b7e
nop
jo 0x4f8b82
jmp 0x534be111
mov edx, dword [ebp - 4]
push edx
call fcn.004ff307
add esp, 4
test dword [esp], ecx
xor ebx, esi
xor ebx, esi
jg 0x4f8ba1
jbe 0x4f8b99
xchg edx, edi
xchg edx, edi
jle 0x4f8ba1
xor eax, 0x8458be7
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4