joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4818d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x773388
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x89e1a8
mov dword [ebp - 0x50], 0x89e1a8
mov byte [ebp - 0x4c], 0
mov eax, dword [eax]
mov dword [0x87dc14], eax
call fcn.0070e3b2
add esp, 4
test eax, eax
je 0x481928
push eax
call fcn.0070e565
add esp, 4
mov byte [ebp - 0x4c], 1
mov dword [ebp - 4], 0
cmp byte [0x89e194], 0
je 0x481a9e
push 0x87dc18
call fcn.0062aa60
push 0x87dc14
mov esi, eax
call fcn.004816a0
add esp, 8
mov ecx, esi
push eax
call fcn.0062ade0
cmp byte [0x89e196], 0
je 0x481a9e
push 0x87dc18
lea eax, [ebp - 0x28]
push str.SOFTWAREAbsoluteCtesComponents_
push eax
call fcn.0043b470
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmovae eax, dword [ebp - 0x28]
push ecx
push 0x20006
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x4819e4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0x20006
push 0
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x481a77
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x44]
push ecx
push 0x20006
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x481a77
push str.logLevel
lea ecx, [ebp - 0x40]
call fcn.00404f70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
mov eax, dword [0x87dc14]
cmp dword [ebp - 0x2c], 0x10
push 4
push ecx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 4
push 0
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 0x10
jb 0x481a65
push dword [ebp - 0x40]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
jb 0x481a8c
push dword [ebp - 0x28]
call fcn.00489b60
add esp, 4
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 4], 0xffffffff
push 0x89e1a8
call fcn.0070e3db
add esp, 4
test eax, eax
je 0x481abf
push eax
call fcn.0070e565
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
Function at 0x481fe0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x77346b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movdqa xmm0, xmmword [0x7a5c60]
lea eax, [ebp - 0x114]
mov edi, dword [ebp + 8]
push 0x104
push eax
push 0
movdqu xmmword [ebp - 0x13c], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
lea eax, [ebp - 0x114]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
lea ecx, [ebp - 0x128]
push esi
call fcn.00434e10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x114]
mov ebx, dword [ebp - 0x128]
push ebx
push esi
push dword [ebp - 0x11c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x482092
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
jmp 0x4820f9
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0
push eax
push 0x7a5b64
push ebx
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [ebp - 0x118]
movzx eax, word [ecx + 0xa]
mov dword [ebp - 0x13c], eax
movzx eax, word [ecx + 8]
mov dword [ebp - 0x138], eax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x134], eax
movzx eax, word [ecx + 0xc]
mov dword [ebp - 0x130], eax
movdqu xmm0, xmmword [ebp - 0x13c]
movdqu xmmword [edi], xmm0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x48212b
push ebx
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret

Function at 0x485040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x773b1b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x87dd78], 0
jne 0x48512f
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x48512f
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00404f70
mov esi, eax
mov dword [ebp - 4], 0
cmp esi, 0x87dd68
je 0x4850f6
cmp dword [0x87dd7c], 0x10
jb 0x4850d0
push dword [0x87dd68]
call fcn.00489b60
add esp, 4
push esi
mov ecx, 0x87dd68
mov dword [0x87dd7c], 0xf
mov dword [0x87dd78], 0
mov byte [0x87dd68], 0
call fcn.00407250
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x118], 0x10
jb 0x485114
push dword [ebp - 0x12c]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
mov eax, 0x87dd68
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
Function at 0x486120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0
jne 0x486146
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x485a50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
xor eax, eax
cmp dword [esi + 0x20], eax
pop esi
setne al
mov esp, ebp
pop ebp
ret

Function at 0x486160
Capabilities:
Terminate thread

Disassembly:
jmp method.RpcnetListener.virtual_8
jmp method.Absolute::Common::NamedPipeServer.virtual_8
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0
je 0x4861a6
push dword [esi + 0x40]
mov byte [esi + 0x44], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x3a98
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x486196
push 0
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], 0
mov al, 1
pop esi
ret
Function at 0x486de0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], 0
push edi
push 0x80
push 3
push edi
push 3
push 0x20000
push eax
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x486e42
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], edi
push eax
push 0x1c
push ebx
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 6
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x486e73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00722035
mov esp, ebp
pop ebp
ret

Function at 0x487380
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x774090
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x7c]
call fcn.00612210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.00613090
test al, al
je 0x4873f0
lea ecx, [ebp - 0x7c]
call fcn.006127e0
test al, al
jne 0x4873f0
push 1
lea ecx, [ebp - 0x7c]
call fcn.00613f00
push edi
lea ecx, [ebp - 0x48]
call fcn.00612210
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00613090
test al, al
je 0x48741f
lea ecx, [ebp - 0x48]
call fcn.006127e0
test al, al
jne 0x48741f
push 1
lea ecx, [ebp - 0x48]
call fcn.00613f00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.006124a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.006124a0
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], 0
cmp dword [edi + 0x14], 0x10
jb 0x48744c
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x487454
mov esi, dword [esi]
push 9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x487466
mov al, 1
jmp 0x48748d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
jmp 0x48748b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
Function at 0x4888b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7742ad
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
call fcn.0042fa30
mov dword [ebp - 4], 0
lea ecx, [edi + 0x18]
push 0xffffffffffffffff
push 0
push dword [ebp + 0xc]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0042fa30
mov byte [ebp - 4], 1
lea ecx, [edi + 0x30]
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0042fa30
mov byte [ebp - 4], 2
lea esi, [edi + 0x48]
push 0
push 0
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00474cb0
mov dword [esi], eax
mov byte [ebp - 4], 5
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 6
mov ecx, esi
push dword [ebp + 0x14]
mov dword [esi + 0x1c], 0x3f800000
call fcn.004147d0
mov byte [ebp - 4], 8
lea ecx, [edi + 0x68]
push 0xffffffffffffffff
push 0
push dword [ebp + 0x18]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0042fa30
mov byte [ebp - 4], 9
lea ecx, [edi + 0x80]
push 0xffffffffffffffff
push 0
push dword [ebp + 0x1c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0042fa30
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x48af20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
push edi
mov edi, dword [eax + 0x10]
mov dword [ebp - 4], edi
cmp ecx, 0x10
jb 0x48af43
mov esi, dword [eax]
jmp 0x48af45
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x48af61
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x48af50
mov ecx, dword [ebx + 0x14]
mov edi, ecx
and edi, edx
cmp dword [ebx + 0x18], edi
ja 0x48af76
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add edi, eax
mov ecx, dword [ebx + 8]
lea eax, [edi + edi]
mov edx, dword [ebx]
lea eax, [eax + 1]
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov esi, dword [ecx + edi*8]
mov edi, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
cmp edi, edx
jne 0x48af9f
mov eax, edx
jmp 0x48afa3
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x48b0c3
cmp dword [ebp - 8], 0x10
lea ecx, [esi + 8]
jb 0x48afbb
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
jmp 0x48afbe
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [ebp - 4], eax
jb 0x48afcc
mov ecx, dword [ecx]
cmp eax, ebx
mov edx, ebx
cmovb edx, eax
test edx, edx
je 0x48b033
sub edx, 4
jb 0x48aff1
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x48aff6
add ecx, 4
add edi, 4
sub edx, 4
jae 0x48afe0
cmp edx, 0xfffffffc
je 0x48b02a
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x48b023
cmp edx, 0xfffffffd
je 0x48b02a
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x48b023
cmp edx, 0xfffffffe
je 0x48b02a
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x48b023
cmp edx, 0xffffffff
je 0x48b02a
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x48b02a
sbb eax, eax
or eax, 1
jmp 0x48b02c
xor eax, eax
test eax, eax
jne 0x48b043
mov eax, dword [ebp - 4]
cmp eax, ebx
jb 0x48b043
xor eax, eax
cmp dword [ebp - 4], ebx
setne al
test eax, eax
je 0x48b053
mov esi, dword [esi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x48af97
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
mov edi, dword [ecx + 0x10]
jb 0x48b061
mov ecx, dword [ecx]
cmp dword [ebp - 8], 0x10
jb 0x48b06f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
cmp ebx, edi
mov eax, edi
cmovb eax, ebx
push eax
push ecx
push dword [ebp + 0xc]
call fcn.0040ed80
add esp, 0xc
test eax, eax
jne 0x48b0aa
cmp ebx, edi
jb 0x48b0aa
cmp ebx, edi
setne al
test eax, eax
jne 0x48b0aa
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
pop edi
mov dword [ebp + 0xc], esi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x48d310
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x774f70
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.std::_Facet_base.0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [esi], vtable.std::locale::facet.0
mov dword [esi + 4], eax
mov dword [ebp - 4], 1
mov dword [esi], vtable.std::codecvt_base.0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x70]
push str.CPAV
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00409740
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c]
push eax
call fcn.0070e70b
add esp, 4
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 8], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0040a1c0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x491720
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x775958
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 0
cmp dword [ebx + 4], 0
je 0x491786
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
mov eax, dword [ebx + 4]
mov dword [ebp - 0x30], eax
mov dword [ebx + 4], 0
mov byte [ebp - 4], 0
test eax, eax
je 0x491786
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add ebx, 8
cmp dword [ebx], 0
je 0x4917b2
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 5
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
mov dword [ebx], 0
mov byte [ebp - 4], 0
test eax, eax
je 0x4917b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408f30
mov byte [ebp - 4], 8
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae edi, dword [ebp - 0x2c]
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ef30
push fcn.00722fad
push edi
push dword [eax]
push esi
lea eax, [ebp - 0x38]
push eax
call fcn.0048f560
add esp, 0x14
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4918a6
push 0
push 0
push 0
push 2
push 2
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x49182e
cmp eax, 0x80010119
jne 0x4918a0
push ebx
push 0x82df34
push 1
push 0
push 0x82df24
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4918a0
mov esi, dword [ebx]
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048ff00
mov byte [ebp - 4], 9
mov ecx, dword [eax]
test ecx, ecx
je 0x49186b
mov ecx, dword [ecx]
jmp 0x49186d
xor ecx, ecx
mov eax, dword [esi]
mov ebx, dword [ebp - 0x34]
lea edi, [ebx + 4]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push esi
call dword [eax + 0xc]
mov esi, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.00490390
test esi, esi
jns 0x4918e1
mov ecx, ebx
call fcn.00491920
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404fd0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret 0x18
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x491899
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404fd0
mov al, 1
jmp 0x4918c3
Function at 0x497d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x77612b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movdqa xmm0, xmmword [str.2a6gr_nq_]
lea ecx, [ebp - 0x90]
mov edi, dword [ebp + 8]
movdqu xmmword [ebp - 0x78], xmm0
push 0xffffffffffffffff
movdqa xmm0, xmmword [0x7a6490]
movdqu xmmword [ebp - 0x68], xmm0
push 0
movdqa xmm0, xmmword [0x7a64b0]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
push 0x87deb8
movdqu xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x48], 0x394b
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
call fcn.0042fa30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x90]
push 0xffffffffffffffff
push 0
push 0x87dea0
call fcn.004072f0
push 0xffffffffffffffff
push 0
push 0x87ded0
lea ecx, [ebp - 0x90]
call fcn.004072f0
cmp dword [ebp - 0x7c], 0x10
lea eax, [ebp - 0x43]
push 0x32
push 0
lea esi, [ebp - 0x90]
mov byte [ebp - 0x44], 0
cmovae esi, dword [ebp - 0x90]
push eax
call fcn.00723180
lea ecx, [esi + 0x31]
add esp, 0xc
lea edx, [ebp - 0x44]
xor eax, eax
cmp edx, ecx
ja 0x497e1b
lea ecx, [ebp - 0x13]
cmp ecx, esi
jae 0x497e43
movdqu xmm0, xmmword [esi]
mov eax, 0x20
pxor xmm0, xmmword [str.2a6gr_nq_]
movdqu xmmword [ebp - 0x44], xmm0
movdqu xmm0, xmmword [esi + 0x10]
pxor xmm0, xmmword [0x7a6490]
movdqu xmmword [ebp - 0x34], xmm0
lea ecx, [ebp - 0x78]
sub esi, ecx
lea ecx, [ebp - 0x78]
add ecx, eax
mov dl, byte [esi + ecx]
xor dl, byte [ecx]
mov byte [ebp + eax - 0x44], dl
inc eax
cmp eax, 0x32
jl 0x497e48
cmp byte [ebp - 0x44], 0
jne 0x497e66
xor ecx, ecx
jmp 0x497e79
lea ecx, [ebp - 0x44]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x497e70
sub ecx, edx
push ecx
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.0042fb60
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x7c], 0x10
jb 0x497ea0
push dword [ebp - 0x90]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
Function at 0x497ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x776168
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x87ded0
mov dword [ebp - 0x1c], 0x1143590d
mov dword [ebp - 0x18], 0x51050802
mov word [ebp - 0x14], 0x5e6e
mov byte [ebp - 0x12], 0x50
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.0042fa30
mov dword [ebp - 4], 0
lea esi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 0x28], 0
cmovae esi, dword [ebp - 0x40]
xor edx, edx
movq qword [ebp - 0x27], xmm0
sub esi, eax
mov word [ebp - 0x1f], 0
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x1c]
add eax, edx
mov cl, byte [esi + eax]
xor cl, byte [eax]
mov byte [ebp + edx - 0x28], cl
inc edx
cmp edx, 0xb
jl 0x497f75
cmp byte [ebp - 0x28], 0
jne 0x497f93
xor ecx, ecx
jmp 0x497fa9
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x497fa0
sub ecx, edx
push ecx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0042fb60
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
jb 0x497fcd
push dword [ebp - 0x40]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret

Function at 0x498000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x87deb4]
xorps xmm0, xmm0
push esi
mov esi, dword [0x87dea0]
xor ecx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], 0x1a150104
mov dword [ebp - 0xc], 0x1953070b
mov word [ebp - 8], 0x5751
mov byte [ebp - 6], 5
mov byte [ebp - 0x1c], 0
movq qword [ebp - 0x1b], xmm0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
cmp edx, 0x10
mov eax, 0x87dea0
cmovae eax, esi
mov al, byte [eax + ecx]
xor al, byte [ebp + ecx - 0x10]
mov byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0xb
jl 0x498051
cmp byte [ebp - 0x1c], 0
jne 0x498077
xor ecx, ecx
jmp 0x498089
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498080
sub ecx, edx
push ecx
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0042fb60
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00722035
mov esp, ebp
pop ebp
ret