joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e290
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49ab78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00490e08
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0044dbf0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00490d36
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0048d517
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0048d517
push 1
push 0
push 0
mov ecx, esi
call fcn.0048d4bf
push 1
push 0
push 1
mov ecx, esi
call fcn.0048d4bf
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00490e7a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44e410
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49ab98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00490e08
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0044dbf0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00490d36
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x44e4d4
cmp dword [esp + 0x40], 1
jne 0x44e4d2
cmp ecx, eax
jge 0x44e4d4
mov eax, ecx
cmp eax, 0xc8
jge 0x44e4e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044e290
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00490e7a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x44ecd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49ac43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0048b938
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004910b0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00492608
test eax, eax
je 0x44edec
mov ecx, dword [esp + 0x3c]
call fcn.004910dd
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44edb0
push edi
mov ecx, esi
call fcn.0048e697
mov ecx, esi
call fcn.0044ef90
cmp dword [esp + 0x38], 1
jne 0x44ede5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048e801
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x450fc0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x450ff3
push esi
call fcn.0045f370
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x450fec
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 0x451079
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x451062
mov eax, dword [esi + 8]
test eax, eax
je 0x451017
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 0x45105e
cmp eax, 2
je 0x451062
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45100a
cmp eax, 3
je 0x45103d
cmp eax, 1
jne 0x45100a
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 0x45100a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45100a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004510a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x451088
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004510a0
add esp, 4
pop esi
ret

Function at 0x451910
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x451931
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x451931
mov eax, dword [eax + 0x44]
test eax, eax
je 0x451931
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x46be10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46be76
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46be76
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46be57
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46c200
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x46c238
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x46ce60
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46cea9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x46d320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49b190
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.0046ced0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046cf50
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046cf50
lea ecx, [esi + 0xc]
call fcn.0048a228
lea ecx, [esi + 0x10]
call fcn.0048a228
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046e4e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046e4e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046e4e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048a29d
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048a29d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48c72d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48c765
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048a744
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048a71c
jmp 0x48c771
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48de1b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48de5d
call fcn.00493dca
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48de5d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48de54
xor eax, eax
jmp 0x48de65
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048de6b
pop edi
pop esi
pop ebx
ret 4

Function at 0x4942fa
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x494328
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x494346
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00494260
jmp 0x494346
mov eax, dword [esi + 0x14]
test eax, eax
je 0x494346
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00494260
test edi, edi
mov eax, edi
jne 0x494330
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4089ba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [eax], 2
sete cl
mov dword [ebp + 0xc], ecx
jne 0x4089dc
mov eax, dword [ecx]
test eax, eax
jne 0x4089d4
push edi
mov eax, dword [0x446234]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push edi
shl cx, 8
or dx, cx
movzx ecx, dx
mov ebx, ecx
mov eax, dword [ebx + 0x50]
lea esi, [ebx + 0x4c]
lea edx, [esi + 8]
cmp eax, edx
lea esi, [ecx + eax*4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [0x44617c], eax
mov eax, dword [0x44618c]
mov ecx, dword [0x4462cc]
mov dword [0x4462c0], ecx
jmp 0x4089ee

Function at 0x409d4f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [0x446190]
call esi
cmp dword [ebp - 0x24], ebx
jg 0x409ced
inc esi
cmp esi, ebx
jne 0x409d0d
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x28], eax
add eax, ecx
push 0x3c
push edx
lea ecx, [ebp - 0x430]
call fcn.00425ed7
mov edi, dword [esi + 8]
sub ecx, ebx
sar ecx, 1
jne 0x409d2e
push ebx
mov eax, dword [0x446114]
xor eax, esp
push eax
push edi
lea ebx, [esp + 0x1c]
mov byte [esp + 0x13], 0
call fcn.0041cc9b
mov eax, dword [esp + 0x18]
call fcn.0043836d
push dword [ebx + 0x54]
call fcn.0042b01a
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
push edi
mov eax, dword [0x446208]
xor eax, ebp
mov dword [ebp - 4], eax
movsx eax, byte [edi + 0x30]
jle 0x409d5b
jmp 0x409d80
cmp dword [0x446394], ebx
je 0x409d9d
cmp eax, 0x4e
jne 0x409d98
xor esi, esi
jmp 0x409d9b
lea ecx, [ebp - 0x28]
push ecx
push esi
push edi
call ebx
add esp, 8
mov ebx, eax
push esi
call fcn.0041a35c
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
test eax, eax
jge 0x409dc2
mov ecx, dword [edi + esi*4]
test ecx, ecx
jne 0x409da6
mov edx, dword [esi + 0x50]
add eax, 0xc
and dword [edx + eax - 4], 0
mov edx, dword [0x4463b8]
mov ecx, dword [0x446174]
add ecx, edx
mov dword [eax + 4], edx
mov eax, 1
jmp 0x409dc2
Function at 0x40a14c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x4462d4]
xor dword [ebp - 8], eax
xor ecx, dword [ebx]
xor edx, dword [ebx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
sub dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x28]
movsd dword es:[edi], dword [esi]
js 0x40a165
cmp esi, dword [edi + 0x14]
jge 0x40a17e
neg dword [ebp - 0x40]
push 0x5a
push 0x446024
push edi
push esi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x24], 1
xor eax, eax
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x58]
mov eax, dword [ebp + 8]
cmp edi, esi
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
push eax
push ebx
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
mov eax, dword [edi + 0x2c]
dec eax
jne 0x40a1d4
mov eax, edx
test byte [ebp - 0x3c], bl
je 0x40a1c0
mov ecx, dword [ebp + 0xc]
movzx eax, byte [eax]
movzx ecx, byte [ecx]
sub eax, ecx
jne 0x40a1ca
cmp eax, 0xffffffff
je 0x40a1ca
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0xc]
push ecx
push edx
call fcn.0041aeda
add esp, 0xc
leave
ret 0x1c
Function at 0x40a302
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov byte [ebp - 0x19e], 1
mov edi, dword [ebp - 0x19c]
dec dword [ebp - 0x18c]
push eax
mov eax, dword [ecx + 0x34]
call eax
mov byte [esi + 0xb5], 0
mov eax, dword [esi + 0x1c]
test al, 1
jne 0x40a31c
movzx esi, byte [eax + 2]
movzx ebx, byte [ecx + 2]
sub esi, ebx
je 0x40a35b
mov dword [ebp - 0x1c], ebx
call fcn.0042628a
push 0x3c
call fcn.00420f1c
mov ecx, dword [esp + 4]
test ecx, 3
je 0x40a36b
ret 4
mul dword [esp + 0x14]
xchg ecx, eax
mul dword [esp + 0x10]
add edx, ecx
jae 0x40a357
movzx edx, word [esi]
movzx ebx, dx
and ebx, 0xfffffc00
cmp ebx, 0xdc00
jne 0x40a386
mov eax, dword [ebp + 8]
sub dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
jne 0x40a39a
mov dword [ebp + 0xc], edx
push 1
inc ecx
mov dword [eax], 0x44634c
add eax, 8
cmp ecx, 8
jb 0x40a391
xor edx, edx
xor esi, esi
mov edx, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x40a3c3
push dword [ebp + 0x20]
call esi
mov eax, dword [edi + 0x446110]
test eax, eax
je 0x40a3c3
push 0
lea eax, [ebp - 0x34c]
push eax
sub ecx, edx
sar ecx, 1
cmp ecx, edi
jne 0x40a3ce
lea eax, [edi - 0x3c]
pop edi
pop esi
mov byte [edi + 1], 1
mov eax, 1
shl eax, cl
shr esi, 3
mov cl, byte [ebp + esi - 0x20]
test cl, bl
je 0x40a3e6
add esi, 4
mov ecx, esi
xor edi, edi
add eax, ecx
jne 0x40a415
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esi + 0x74]
push 0
test eax, ecx
jne 0x40a412
push 5
push ebx
call esi
mov edi, eax
mov edx, 0x28
jae 0x40a417
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x34]
mov esi, dword [ebx + 8]
xor esi, dword [0x44639c]
push edi
add ecx, ebx
add eax, 4
lea ecx, [ecx]
add ecx, 1
mov dword [ebp - 0xc], ecx
jle 0x40a433
cmp dword [ebp - 0x88], 3
je 0x40a43c
mov ecx, 0xfffd
mov word [edx + 0x6c], cx
mov byte [edx + 0x3d], 0xff
pop edi
mov dword [edx], 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x670
ret

Function at 0x40bb09
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
add esp, 0x20
lea eax, [ebp - 0x18]
push eax
push 0x4460b0
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [ebp - 0x190]
push ecx
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 4
mov dword [eax], edx
mov dword [ecx], eax
pop esi
mov dword [eax], 0xd
jmp 0x40bb37
Function at 0x40d4cc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44603c
mov eax, dword fs:[0]
push eax
mov dword [ebp - 4], eax
push eax
push edi
mov edi, dword [0x4462f4]
cmp eax, ebx
jl 0x40d504
mov eax, dword [ebp - 0x1ac4]
sub eax, dword [ebp - 0x1acc]
mov dword [ebp - 0x1ac8], eax
jmp 0x40d4e0
pop esi
pop ebx
jne 0x40d4f6
cmp byte [ebp + 8], 0
je 0x40d4fc
mov dword [esi + 0xa8], eax
mov edi, dword [ebp - 0x93c]
add esi, 0xdc
mov ebx, eax
mov edi, ecx
jle 0x40d53b
test eax, eax
jne 0x40d538
mov eax, dword [ecx + 0x10]
push edx
push eax
lea esi, [edi*8 + 0x446080]
push dword [esi]
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40d52a
push 0
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x40d542
Function at 0x415609
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x446390]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov dword [esi + 0x14], eax
test eax, eax
je 0x415617
xor edx, edx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call fcn.0043a596
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edi
mov eax, dword [ecx]
push ebx
call fcn.00437106
mov eax, dword [eax + 8]
push 1
push ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov dword [ebp - 0x10], eax
push 1
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov byte [esi + 0xe0], bl
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov byte [esi + 0x118], bl
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [eax], 0
jmp 0x41569d
Function at 0x418fa6
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446294
push 0x446004
mov eax, dword fs:[0]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x418fb0
sub eax, ecx
cmp eax, edi
jge 0x418fe3
cmp dword [ebp - 8], esi
je 0x418fef
push 0x64
mov dword [ebp - 0xc], edi
push 0x80000000
push 0
push 0x16
pop eax
jmp 0x418ffb
cmp word [ecx], dx
je 0x418fff
push 0x11
call fcn.0041d104
mov byte [ebp - 4], 1
mov dword [eax], 0x446344
mov dword [eax + 4], 0x44ce78
mov dword [eax + 8], 0x44ce38
mov byte [ebp - 4], 0
mov ecx, edi
call dword [eax + 0x64]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
pop esi
mov eax, dword [ebp - 8]
push 0
push 4
push edi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x446120
mov dword [esi + 4], 0x446038
mov dword [esi + 0xc], 0x446358
mov dword [esi + 0x1c], eax
xor eax, eax
pop esi
jne 0x419056
mov ebx, 0x4460c0
call fcn.00417085
mov dword [esi], 0x446128
mov eax, esi
shr eax, 4
mov edx, ecx
or edx, eax
mov dword [ebp - 0x1a], esi
mov dword [ebp - 0x1e], edi
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
xor edx, edx
div ecx
mov esi, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], esi
xor eax, eax
cmp ebx, 1
jne 0x419074
mov eax, ebx
and eax, 0xfffff800
mov dword [ebp - 0x20], ecx
jg 0x4190a5
mov eax, dword [0x44638c]
cmp eax, 2
jne 0x4190c0
cmp dword [ecx + 0x2c], 0
mov eax, 1
shl eax, cl
and dword [edi], eax
mov eax, dword [ebp - 0xc]
and eax, 0xff
cmp eax, 0xb2
je 0x4190ae
mov eax, dword [ecx + 8]
push dword [ebp + 8]
je 0x4190bd
lea edx, [eax + 0x100]
cmp eax, edx
jae 0x4190d8
jecxz 0x4190f7
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [edx + edx - 1]
mov eax, edx
sub eax, ecx
sub ebx, ecx
sar ebx, 1
mov dword [ebp - 0x10], ebx
jmp 0x419109
mov dl, 1
add byte [ebx + 0x77db85f1], cl
out 0x66, al
mov dword [eax + 0x74], ecx
mov cl, 1
mov byte [eax + 0x41], cl
mov eax, dword [ebp + 0x20]
push eax
call dword [ecx]
cmp eax, ebx
jl 0x419134
jae 0x419109
mov byte [edi], bl
inc edi
jmp 0x419104
pop ebp
ret

Function at 0x41a9e8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sar ecx, 1
mov edx, eax
mov dword [ebp - 0x10], edx
add edx, 4
push eax
mov ecx, edi
shl ecx, 4
lea edi, [ecx + edi - 0x30]
lea esp, [esp]
add edi, 2
cmp ax, word [ebp - 0x28]
jb 0x41a9ff
pop ebx
pop esi
push esi
push 0x1003
push dword [ebp - 4]
mov dword [esi], eax
or eax, 0xffffffff
pop ebx
cmp eax, edx
je 0x41aa19
mov ecx, dword [eax + 8]
mov edx, edi
mov dword [eax + 4], esi
xor edx, edx
lea eax, [ebp - 0x5c]
push eax
sub esp, 0x20
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
pop ebp
ret