joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485148
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4853a8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4851ab
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00484c10
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040dcfc
cmp al, 1
jne 0x4851ab
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00484f28
test al, al
je 0x485337
cmp dword [ebp - 8], 0
jge 0x4851c9
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00484c10
mov eax, dword [ebp - 0x210]
call fcn.00404c48
cmp ebx, eax
jge 0x485213
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00484c10
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4ca124]
and eax, 0xff
bt dword [edx], eax
jae 0x485213
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x485227
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00485124
cmp ebx, dword [ebp - 8]
je 0x485329
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x485253
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403da4
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c8320]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x485316
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403da4
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c8320]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044ec30
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403da4
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c8320]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044ec30
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48531d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48538a
cmp dword [ebp - 8], 0
jge 0x485342
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00484c10
mov eax, dword [ebp - 0x218]
call fcn.00404c48
cmp eax, dword [ebp - 8]
jg 0x48537c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00484c10
mov eax, dword [ebp - 0x21c]
call fcn.00404c48
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00485124
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4853af
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004049ac
ret
Function at 0x49fc3c
Capabilities:
Get disk information
Get disk size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
xor eax, eax
push ebp
push 0x49fd2c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x30]
mov dword [0x4c83a8], eax
mov eax, dword [ebp - 0x18]
mov dword [0x4c83b0], eax
xor eax, eax
mov dword [0x4c83ac], eax
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
xor esi, esi
mov eax, esi
cmp eax, 0x1f
ja 0x49fc8e
bt edi, eax
jae 0x49fd07
mov ebx, esi
add bl, 0x61
lea eax, [ebp - 0x38]
mov edx, ebx
call fcn.00404b70
lea eax, [ebp - 0x38]
mov edx, 0x49fd44
call fcn.00404c50
mov eax, dword [ebp - 0x38]
call fcn.00404e48
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x49fd07
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x3c]
mov edx, ebx
call fcn.00404b70
lea eax, [ebp - 0x3c]
mov edx, 0x49fd44
call fcn.00404c50
mov eax, dword [ebp - 0x3c]
call fcn.00404e48
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov eax, dword [ebp - 4]
cmp eax, dword [0x4c83ac]
jbe 0x49fd07
mov eax, dword [ebp - 4]
mov dword [0x4c83ac], eax
inc esi
cmp esi, 0x1a
jne 0x49fc84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fd33
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004049ac
ret

Function at 0x4a183c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp byte [ebx + 0x3e], 0
je 0x4a1851
cmp edi, dword [ebx + 0x18]
jb 0x4a1865
mov ecx, 0x58e
mov edx, 0x4a1920
mov eax, 0x4a195c
call fcn.00404968
xor eax, eax
mov dword [esi], eax
mov eax, dword [ebx + 0x14]
mov edx, edi
call fcn.0049d834
add eax, dword [ebx + 0x40]
mov dword [esp], eax
lea edx, [edi + 1]
mov eax, dword [ebx + 0x14]
call fcn.0049d834
push eax
mov eax, dword [ebx + 0x14]
mov edx, edi
call fcn.0049d834
pop edx
xchg edx, eax
sub eax, edx
mov edx, dword [esp]
mov dl, byte [edx]
mov cl, byte [ebx + 0x45]
xor cl, 0x20
mov edi, dword [esp]
mov byte [edi], cl
jmp 0x4a18a6
dec eax
mov ecx, dword [esp]
mov cl, byte [ecx + eax - 1]
cmp cl, byte [ebx + 0x45]
je 0x4a18a5
mov ecx, dword [esp]
mov byte [ecx], dl
cmp eax, 1
jne 0x4a18c2
cmp dl, byte [ebx + 0x45]
jne 0x4a18c2
dec eax
mov ecx, 1
test eax, eax
jle 0x4a1913
mov edx, dword [esp]
mov dl, byte [edx + eax - 1]
dec eax
cmp dl, 0x30
jb 0x4a18f6
cmp dl, 0x39
ja 0x4a18f6
and edx, 0xff
sub edx, 0x30
imul edx, ecx
add dword [esi], edx
mov edx, ecx
add edx, edx
lea edx, [edx + edx*4]
mov ecx, edx
jmp 0x4a190f
cmp dl, 0x2e
jne 0x4a1906
xor edx, edx
mov dword [esi], edx
mov ecx, 1
jmp 0x4a190f
cmp dl, 0x2d
jne 0x4a1913
neg dword [esi]
jmp 0x4a1913
test eax, eax
jg 0x4a18cb
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4b50b7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4c98c6
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4b510f
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4c98e7
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4b5105
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4b5113
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4068f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
push ebx
lea eax, [esp + 0x20]
mov ecx, dword [esi]
push edi
push eax
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
je 0x40693b
mov esi, dword [esi + 4]
test esi, esi
je 0x406934
push ebx
lea edx, [esp + 0x20]
push edi
push edx
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
jne 0x406941
test edi, edi
jne 0x406941
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x406950
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push edi
mov edi, ecx
mov esi, 0x3f5
mov eax, dword [edi + 8]
test eax, eax
je 0x40697e
mov ecx, dword [esp + 0x18]
push ebp
push ecx
push 3
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov edi, dword [edi + 0xc]
test edi, edi
je 0x406991
test esi, esi
jne 0x40699a
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov edx, dword [esp + 0x18]
push ebp
push edx
push 3
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x408510
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [ebx + 0x20]
push esi
push 0x419
push eax
call edi
cmp eax, 0xffffffff
je 0x408544
mov ecx, dword [ebx + 0x20]
push 0
push eax
push 0x416
push ecx
call edi
mov ecx, ebx
xor edi, edi
call fcn.00406e80
test eax, eax
jle 0x40856e
xor ebp, ebp
mov edx, dword [ebx + 0xa4]
cmp dword [edx + ebp + 4], esi
je 0x40857a
mov ecx, ebx
inc edi
add ebp, 0x68
call fcn.00406e80
cmp edi, eax
jl 0x408553
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4
mov ecx, ebx
mov dword [esp + 0x10], edi
call fcn.00406e80
dec eax
cmp edi, eax
jge 0x4085bf
lea eax, [edi + edi*2]
lea ebp, [edi + eax*4]
shl ebp, 3
mov eax, dword [ebx + 0xa4]
mov ecx, 0x1a
lea esi, [eax + ebp + 0x68]
lea edi, [eax + ebp]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov ecx, ebx
inc esi
add ebp, 0x68
mov dword [esp + 0x10], esi
call fcn.00406e80
dec eax
cmp esi, eax
jl 0x408593
mov ecx, dword [ebx + 0xa0]
xor edi, edi
dec ecx
mov dword [ebx + 0xa0], ecx
mov edx, dword [ebx + 0xec]
mov eax, dword [ebx + 0xe8]
mov esi, edx
mov dword [esp + 0x18], esi
lea ebp, [esi + 1]
cmp ebp, edi
jne 0x40860b
cmp eax, edi
je 0x4085fa
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0xe8], edi
mov dword [ebx + 0xf0], edi
mov dword [ebx + 0xec], edi
jmp 0x40871d
cmp eax, edi
jne 0x40864c
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 0xe8], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xf0], ebp
mov dword [ebx + 0xec], ebp
jmp 0x40871d
mov ecx, dword [ebx + 0xf0]
cmp ebp, ecx
jg 0x408670
cmp ebp, edx
jle 0x408665
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0xec], ebp
jmp 0x40871d
mov eax, dword [ebx + 0xf4]
cmp eax, edi
jne 0x40869d
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x408691
mov eax, 4
jmp 0x40869d
cmp eax, 0x400
jle 0x40869d
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x10], eax
jl 0x4086ab
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0xec]
mov esi, dword [ebx + 0xe8]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x18], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0xec]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xe8]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
add esp, 8
mov dword [ebx + 0xe8], ecx
mov dword [ebx + 0xec], ebp
mov dword [ebx + 0xf0], edx
mov eax, dword [ebx + 0xe8]
mov ecx, dword [esp + 0x20]
pop edi
mov dword [eax + esi*4], ecx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
Function at 0x4fe044
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov al, byte [ecx]
mov dl, byte [ecx + 3]
mov byte [ecx], dl
mov byte [ecx + 3], al
mov al, byte [ecx + 1]
mov dl, byte [ecx + 2]
mov byte [ecx + 1], dl
mov dl, byte [ecx + 7]
mov byte [ecx + 2], al
mov al, byte [ecx + 4]
mov byte [ecx + 4], dl
mov dl, byte [ecx + 6]
mov byte [ecx + 7], al
mov al, byte [ecx + 5]
mov byte [ecx + 5], dl
mov dl, byte [ecx + 0xb]
mov byte [ecx + 6], al
mov al, byte [ecx + 8]
mov byte [ecx + 8], dl
mov dl, byte [ecx + 0xa]
mov byte [ecx + 0xb], al
mov al, byte [ecx + 9]
mov byte [ecx + 9], dl
mov dl, byte [ecx + 0xf]
mov byte [ecx + 0xa], al
mov al, byte [ecx + 0xc]
mov byte [ecx + 0xc], dl
mov dl, byte [ecx + 0xe]
mov byte [ecx + 0xf], al
mov al, byte [ecx + 0xd]
mov byte [ecx + 0xd], dl
mov byte [ecx + 0xe], al
xor eax, eax
mov bl, byte [eax + ecx + 0x10]
mov dl, byte [eax + ecx + 0x17]
mov byte [eax + ecx + 0x10], dl
mov dl, byte [eax + ecx + 0x16]
mov byte [eax + ecx + 0x17], bl
mov bl, byte [eax + ecx + 0x11]
mov byte [eax + ecx + 0x11], dl
mov dl, byte [eax + ecx + 0x15]
mov byte [eax + ecx + 0x16], bl
mov bl, byte [eax + ecx + 0x12]
mov byte [eax + ecx + 0x12], dl
mov dl, byte [eax + ecx + 0x14]
mov byte [eax + ecx + 0x15], bl
mov bl, byte [eax + ecx + 0x13]
mov byte [eax + ecx + 0x13], dl
mov dl, byte [eax + ecx + 0x1f]
mov byte [eax + ecx + 0x14], bl
mov bl, byte [eax + ecx + 0x18]
mov byte [eax + ecx + 0x18], dl
mov dl, byte [eax + ecx + 0x1e]
mov byte [eax + ecx + 0x1f], bl
mov bl, byte [eax + ecx + 0x19]
mov byte [eax + ecx + 0x19], dl
mov dl, byte [eax + ecx + 0x1d]
mov byte [eax + ecx + 0x1e], bl
mov bl, byte [eax + ecx + 0x1a]
mov byte [eax + ecx + 0x1a], dl
mov dl, byte [eax + ecx + 0x1c]
mov byte [eax + ecx + 0x1d], bl
mov bl, byte [eax + ecx + 0x1b]
mov byte [eax + ecx + 0x1b], dl
mov byte [eax + ecx + 0x1c], bl
add eax, 0x10
cmp eax, 0x70
jl 0x4fe0a5
mov al, byte [ecx + 0x90]
mov dl, byte [ecx + 0x93]
mov byte [ecx + 0x90], dl
mov dl, byte [ecx + 0x92]
mov byte [ecx + 0x93], al
mov al, byte [ecx + 0x91]
mov byte [ecx + 0x91], dl
mov byte [ecx + 0x92], al
pop ebx
ret
Function at 0x53c214
Capabilities:
Create thread

Disassembly:
push esi
push ebp
push ebx
push esi
mov ebp, ecx
mov ebx, dword [esp + 0x14]
mov ecx, ebp
call fcn.00701530
lea esi, [ebp + 8]
mov ecx, esi
call fcn.00701530
xor eax, eax
mov ecx, ebp
mov byte [ebp + 0x1d], al
mov byte [ebp + 0x14], al
mov dword [ebp + 0x18], ebx
mov byte [ebx + 0x18a6], al
push eax
push 1
call fcn.00701570
mov eax, 1
mov ecx, esi
push eax
push eax
call fcn.00701570
xor eax, eax
lea esi, [esp]
mov byte [ebp + 0x1c], al
push esi
push eax
push ebp
push 0x53bbe4
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0x10], eax
mov eax, ebp
pop ecx
pop ebx
pop ebp
pop esi
ret 4
Function at 0x5431c8
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a544c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ecx
add ecx, 0x28
call fcn.00736414
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x2c
call fcn.00736414
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0x30
call fcn.00736414
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0x34
call fcn.00736414
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0x38
call fcn.00736414
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
add ecx, 0x3c
call fcn.00736414
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
add ecx, 0x40
call fcn.00736414
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x20]
add ecx, 0x44
call fcn.00736414
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
add ecx, 0x48
call fcn.00736414
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x20]
add ecx, 0x4c
call fcn.00736414
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x20]
add ecx, 0x50
call fcn.00736414
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x20]
add ecx, 0x54
call fcn.00736414
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x20]
add ecx, 0x58
call fcn.00736414
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 0x5c
call fcn.00736414
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x20]
add ecx, 0x60
call fcn.00736414
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x20]
add ecx, 0x64
call fcn.00736414
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x20]
add ecx, 0x68
call fcn.00736414
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x20]
add ecx, 0x6c
push 1
call fcn.005433b0
mov dword [ebp - 4], 0x11
mov ecx, dword [ebp - 0x20]
add ecx, 0x8c
push 1
call fcn.005433d0
mov dword [ebp - 4], 0x12
mov ecx, dword [ebp - 0x20]
add ecx, 0xac
push 1
call fcn.005433f0
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x20]
add ecx, 0xcc
push 1
call fcn.00543410
mov edx, dword [ebp - 0x20]
mov eax, 4
mov word [edx + 0x88], ax
mov word [edx + 0xa8], ax
mov word [edx + 0xc8], ax
mov word [edx + 0xe8], ax
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x6e568c
Capabilities:
Get file version info

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov edi, eax
xor esi, esi
mov dword [esp], 0
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebp, eax
lea edx, [esp]
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x6e56d7
push ebx
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [esp + 0x10], eax
add esp, 4
mov edx, eax
test edx, edx
jne 0x6e56e8
push ebp
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, esi
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret
push edx
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x6e575a
mov dword [esp + 4], 0
lea ecx, [esp + 4]
lea edx, [esp + 8]
push edx
push ecx
push 0x88dae0
mov ebx, dword [esp + 0x18]
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x6e575a
mov edx, dword [esp + 4]
movzx ecx, word [edx + 0xa]
mov ebx, dword [esp + 0x10]
mov word [ebx], cx
mov esi, dword [esp + 4]
mov edi, dword [esi + 8]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov esi, 1
mov word [edx], di
mov edx, dword [esp + 4]
movzx edx, word [edx + 0xe]
mov word [ecx], dx
mov edx, dword [esp + 4]
mov edx, dword [edx + 0xc]
mov ecx, dword [esp + 0x3c]
mov word [ecx], dx
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
jmp 0x6e56d7
Function at 0x6e591c
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x10
mov ebx, ecx
mov al, byte [ebx + 0x98]
test al, al
je 0x6e5a97
mov byte [ebx + 0x98], 0
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x6e5947
lea eax, [esp]
mov dword [ebx + 0x28], eax
lea eax, [ebx + 0x28]
mov ebp, ebx
mov ebx, eax
mov dword [ebp + 0x34], 0x857ae0
mov dword [ebp + 0x38], 0x8000
push 4
push ebx
call fcn.0076b0a0
mov esi, eax
add esp, 8
cmp esi, 1
je 0x6e597b
test esi, esi
je 0x6e597b
mov eax, ebx
mov ebx, ebp
jmp 0x6e5a9a
mov ecx, dword [ebp + 0x38]
neg ecx
lea edi, [ecx + 0x8000]
mov dl, byte [ebp + 0x9a]
test dl, dl
je 0x6e5a7a
xor eax, eax
test edi, edi
jle 0x6e5a7a
lea edx, [ecx + 0x8000]
cmp edx, 5
jl 0x6e5a4c
add ecx, 0x7ffb
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov esi, dword [ebp + 0x9c]
imul edx, esi, 0xbb38435
add edx, 0x3619636b
mov dword [ebp + 0x9c], edx
xor byte [eax + 0x857ae0], dl
mov edi, dword [ebp + 0x9c]
imul edx, edi, 0xbb38435
add edx, 0x3619636b
mov dword [ebp + 0x9c], edx
xor byte [eax + 0x857ae1], dl
mov edx, dword [ebp + 0x9c]
imul edx, edx, 0xbb38435
add edx, 0x3619636b
mov dword [ebp + 0x9c], edx
xor byte [eax + 0x857ae2], dl
mov edx, dword [ebp + 0x9c]
imul edx, edx, 0xbb38435
add edx, 0x3619636b
mov dword [ebp + 0x9c], edx
xor byte [eax + 0x857ae3], dl
add eax, 4
cmp eax, ecx
jle 0x6e59bf
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
mov esi, esi
mov edx, dword [ebp + 0x9c]
imul edx, edx, 0xbb38435
add edx, 0x3619636b
mov dword [ebp + 0x9c], edx
xor byte [eax + 0x857ae0], dl
inc eax
cmp eax, edi
jl 0x6e5a4c
mov edi, dword [ebp + 0x38]
neg edi
add edi, 0x8000
mov edx, dword [ebp]
mov ecx, ebp
push edi
push 0x857ae0
call dword [edx + 0x34]
cmp esi, 1
jne 0x6e594e
mov eax, ebx
mov ebx, ebp
jmp 0x6e5a9a
lea eax, [ebx + 0x28]
push eax
call fcn.0076b400
add ebx, 0x60
push ebx
call fcn.0076c180
add esp, 0x18
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x6e5f84
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x1c
mov ebx, ecx
mov ebp, dword [esp + 0x34]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6e60b1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
and eax, 0xf
xor eax, edx
sub eax, edx
xor esi, esi
test ebp, ebp
jle 0x6e60b1
cmp ebp, 5
jl 0x6e6086
lea edx, [ebp - 5]
lea edi, [esi + eax]
lea ecx, [eax + esi + 2]
mov dword [esp + 8], edx
lea edx, [eax + esi + 1]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
lea ecx, [eax + esi + 3]
mov dword [esp + 4], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov esi, esi
mov eax, dword [esp + 0x14]
cdq
xor eax, edx
sub eax, edx
and eax, 0xf
xor eax, edx
sub eax, edx
mov edi, dword [ebx + 0x14]
mov al, byte [eax + edi]
xor byte [esi + ebp], al
mov eax, dword [esp + 0x18]
cdq
xor eax, edx
sub eax, edx
and eax, 0xf
xor eax, edx
sub eax, edx
mov edx, dword [ebx + 0x14]
mov al, byte [eax + edx]
xor byte [esi + ebp + 1], al
mov eax, dword [esp + 0xc]
cdq
xor eax, edx
sub eax, edx
and eax, 0xf
xor eax, edx
sub eax, edx
mov edx, dword [ebx + 0x14]
mov al, byte [eax + edx]
xor byte [esi + ebp + 2], al
mov eax, dword [esp + 4]
cdq
xor eax, edx
sub eax, edx
and eax, 0xf
xor eax, edx
sub eax, edx
mov edx, dword [ebx + 0x14]
mov al, byte [eax + edx]
xor byte [esi + ebp + 3], al
add esi, 4
mov eax, dword [esp + 8]
add dword [esp + 0x14], 4
add dword [esp + 0x18], 4
add dword [esp + 0xc], 4
add dword [esp + 4], 4
cmp esi, eax
jle 0x6e5ff4
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
add eax, esi
mov edi, dword [esp + 0x30]
nop
lea esi, [esi]
mov ecx, eax
cdq
xor ecx, edx
sub ecx, edx
and ecx, 0xf
xor ecx, edx
sub ecx, edx
mov edx, dword [ebx + 0x14]
mov dl, byte [ecx + edx]
xor byte [esi + edi], dl
inc eax
inc esi
cmp esi, ebp
jl 0x6e6094
add esp, 0x1c
pop ebx
pop ebp
pop esi
pop edi
ret 8
Function at 0x6e7d08
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x10
mov ebx, ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
movzx eax, al
test eax, eax
jne 0x6e7d2b
xor eax, eax
add esp, 0x10
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov al, byte [ebx + 0x98]
test al, al
je 0x6e7e9c
mov byte [ebx + 0x98], 0
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x6e7d4d
lea eax, [esp]
mov dword [ebx + 0x28], eax
lea eax, [ebx + 0x28]
mov esi, eax
mov dword [ebx + 0x34], 0x857ae0
mov dword [ebx + 0x38], 0x8000
push 4
push esi
call fcn.0076b0a0
mov ebp, eax
add esp, 8
cmp ebp, 1
je 0x6e7d7a
test ebp, ebp
jne 0x6e7e9c
mov ecx, dword [ebx + 0x38]
neg ecx
lea edi, [ecx + 0x8000]
mov dl, byte [ebx + 0x9a]
test dl, dl
je 0x6e7e86
xor eax, eax
test edi, edi
jle 0x6e7e86
lea edx, [ecx + 0x8000]
cmp edx, 5
jl 0x6e7e58
add ecx, 0x7ffb
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
lea esi, [esi]
lea edi, [edi]
mov ebp, dword [ebx + 0x9c]
imul edx, ebp, 0xbb38435
add edx, 0x3619636b
mov dword [ebx + 0x9c], edx
xor byte [eax + 0x857ae0], dl
mov esi, dword [ebx + 0x9c]
imul edx, esi, 0xbb38435
add edx, 0x3619636b
mov dword [ebx + 0x9c], edx
xor byte [eax + 0x857ae1], dl
mov edi, dword [ebx + 0x9c]
imul edx, edi, 0xbb38435
add edx, 0x3619636b
mov dword [ebx + 0x9c], edx
xor byte [eax + 0x857ae2], dl
mov edx, dword [ebx + 0x9c]
imul edx, edx, 0xbb38435
add edx, 0x3619636b
mov dword [ebx + 0x9c], edx
xor byte [eax + 0x857ae3], dl
add eax, 4
cmp eax, ecx
jle 0x6e7dc8
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 4]
nop
lea esi, [esi]
mov edx, dword [ebx + 0x9c]
imul edx, edx, 0xbb38435
add edx, 0x3619636b
mov dword [ebx + 0x9c], edx
xor byte [eax + 0x857ae0], dl
inc eax
cmp eax, edi
jl 0x6e7e58
mov edi, dword [ebx + 0x38]
neg edi
add edi, 0x8000
mov edx, dword [ebx]
mov ecx, ebx
push edi
push 0x857ae0
call dword [edx + 0x34]
cmp ebp, 1
jne 0x6e7d52
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [eax + 0x34]
add esp, 0x10
pop ebx
pop ebp
pop esi
pop edi
ret 8