joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a1f0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.00453610
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2d10], eax
test eax, eax
je 0x43a356
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.00439da0
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43a339
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2d0c], 0
lea eax, [ebp - 0x2cfc]
movq qword [ebp - 0x2d08], xmm0
push 0
push eax
mov dword [ebp - 0x2d00], 0
mov dword [ebp - 0x2d08], 0
mov dword [ebp - 0x2d04], 0
call fcn.00455270
add esp, 0xc
lea eax, [ebp - 0x2d0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43a32e
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.00455270
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.0043cdb0
add esp, 8
lea eax, [ebp - 0x5ec]
mov edx, 0x64
push SysReAllocString
push eax
push ecx
mov ecx, dword [ebp - 0x2d10]
call fcn.00429560
test eax, eax
mov eax, 1
cmove ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x43a343
inc esi
cmp esi, 0x10
jl 0x43a220
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045230d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0045230d
mov esp, ebp
pop ebp
ret
Function at 0x43a670
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x4f4], ebx
test ebx, ebx
je 0x43a869
push esi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00455270
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x4e0]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x43a838
push edi
xor edi, edi
mov dword [ebp - 0x4e4], 0x104
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43a829
lea eax, [ebp - 0x4e8]
push eax
push 1
push 0
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e0]
call esi
test eax, eax
jne 0x43a7f3
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4f0], 1
push eax
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4ec], 0x208
push eax
lea eax, [ebp - 0x4f0]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x4e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a7eb
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00455270
add esp, 8
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x4dc]
call fcn.0043a550
add esp, 4
test eax, eax
je 0x43a7eb
cmp byte [ebp - 0x68], 0
je 0x43a7af
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x43a7eb
lea ecx, [ebp - 0x68]
mov edx, 0x64
lea esi, [ebp - 0xcc]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff9a]
test eax, eax
je 0x43a7da
mov al, byte [esi + ecx]
test al, al
je 0x43a7da
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x43a7c1
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov byte [eax], 0
push dword [ebp - 0x4e8]
call ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4e4]
mov dword [ebp - 0x4e4], 0x104
push eax
lea eax, [ebp - 0x2d4]
inc edi
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43a704
push dword [ebp - 0x4e0]
call ebx
mov ebx, dword [ebp - 0x4f4]
pop edi
cmp byte [ebp - 0x68], 0
pop esi
je 0x43a869
push SysReAllocString
lea eax, [ebp - 0x68]
mov edx, 0x64
push eax
push ecx
mov ecx, ebx
call fcn.00429560
not eax
shr eax, 0x1f
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045230d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.0045230d
mov esp, ebp
pop ebp
ret
Function at 0x43aef0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 0xc], edx
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push eax
mov dword [ebp - 4], 0
xor ebx, ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x43af20
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.0045ff4d
mov esi, eax
add esp, 4
test esi, esi
jne 0x43af37
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
push dword [ebp - 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43af78
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x49be24
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43af78
mov ecx, dword [ebp - 8]
mov ebx, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
push esi
call fcn.00457f17
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43af90
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x43b102
push edi
mov edi, dword [sym.imp.Secur32.dll_GetUserNameExW]
lea eax, [ebp - 8]
push eax
push 0
push 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
call edi
test al, al
je 0x43afe2
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, eax
push esi
push eax
call fcn.0045ff4d
mov esi, eax
add esp, 4
test esi, esi
je 0x43b0fa
lea eax, [ebp - 8]
push eax
push esi
push 2
call edi
test al, al
je 0x43b0fa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x43b0f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43b0f1
push dword [ebp - 0x10]
call fcn.0045ff4d
mov edi, eax
add esp, 4
test edi, edi
je 0x43b0f1
mov eax, dword [ebp - 0xc]
add eax, eax
push ebx
push eax
call fcn.0045ff4d
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x43b07e
push esi
call fcn.00457f17
push edi
call fcn.00457f17
add esp, 8
xor eax, eax
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x43b0d2
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x43b0d2
push dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x64
call fcn.00412c40
push dword [ebp - 4]
xor ecx, ecx
test eax, eax
setns cl
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 0
push esi
call fcn.00457f17
push edi
call fcn.00457f17
push ebx
call fcn.00457f17
mov eax, dword [ebp - 0x14]
add esp, 0xc
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00457f17
add esp, 4
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43b110
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ad070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 0x20c]
push 0x208
push ebx
push eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
call fcn.00455270
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43b163
push esi
mov ecx, 0xb
lea eax, [ebp - 0x214]
mov esi, str._system32Shell32.dll
lea edx, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0043aef0
add esp, 4
pop esi
test eax, eax
je 0x43b1ba
cmp dword [ebp - 0x210], 0x60002
jb 0x43b1ba
cmp dword [ebp - 0x214], 0x295a01c8
mov eax, 1
cmovae ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0045230d
mov esp, ebp
pop ebp
ret
Function at 0x43b6a0
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4a8ed0
push 0x457910
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4ad070]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3c], ebx
test eax, eax
je 0x43b839
test ebx, ebx
je 0x43b839
test edi, edi
je 0x43b839
xor esi, esi
mov byte [ebp - 0x34], 0
xorps xmm0, xmm0
movq qword [ebp - 0x33], xmm0
mov dword [ebp - 0x2b], esi
mov word [ebp - 0x27], si
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov word [ebp - 0x1f], cx
mov byte [ebp - 0x1d], cl
mov dword [ebp - 4], ecx
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.0043b630
add esp, 8
test eax, eax
je 0x43b82e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x40]
call fcn.0043b5a0
add esp, 8
test eax, eax
je 0x43b82e
xor eax, eax
mov dword [ebp - 0x38], eax
xor edi, edi
mov dword [ebp - 0x44], edi
mov cl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x43b776
xor bh, bh
jmp 0x43b77e
mov bh, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 8
jb 0x43b787
xor bl, bl
jmp 0x43b78f
mov bl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x38], eax
movzx edx, cl
mov ecx, edx
shr ecx, 2
movzx ecx, word [ecx*2 + 0x4914d0]
mov esi, dword [ebp - 0x3c]
mov word [esi + edi*2], cx
movzx esi, bh
mov ecx, esi
shr ecx, 4
and edx, 3
shl edx, 4
or ecx, edx
movzx ecx, word [ecx*2 + 0x4914d0]
mov edx, dword [ebp - 0x3c]
mov word [edx + edi*2 + 2], cx
movzx edx, bl
mov ecx, edx
shr ecx, 6
and esi, 0xf
shl esi, 2
or ecx, esi
movzx ecx, word [ecx*2 + 0x4914d0]
mov ebx, dword [ebp - 0x3c]
mov word [ebx + edi*2 + 4], cx
and edx, 0x3f
movzx ecx, word [edx*2 + 0x4914d0]
mov word [ebx + edi*2 + 6], cx
add edi, 4
mov dword [ebp - 0x44], edi
cmp eax, 8
jb 0x43b765
mov dword [ebx + edi*2 - 2], 0x3d
mov esi, 1
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x43b83b
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x43b83b
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0045230d
mov esp, ebp
pop ebp
ret
Function at 0x43bb60
Capabilities:
Check os version
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482a18
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ad070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], 0
je 0x43bbe6
mov eax, dword [0x4adcf4]
mov esi, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x43bbca
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x43bbb5
mov dword [0x4adcf4], 1
jmp 0x43bbce
push esi
push dword [ebp + 0xc]
mov dword [0x4adcf4], 0
call fcn.0043cad0
jmp 0x43bc11
test eax, eax
je 0x43bbdb
push esi
push dword [ebp + 0xc]
call fcn.0043bc50
test eax, eax
jne 0x43bc11
push esi
push dword [ebp + 0xc]
call fcn.0043cad0
jmp 0x43bc11
push dword [ebp + 0xc]
call fcn.0043c870
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call esi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43bc33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43cad0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482c26
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4ad070]
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
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43cc6c
mov edi, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], eax
call fcn.00402750
mov ecx, eax
test ecx, ecx
jne 0x43cb80
push 0x80004005
call fcn.004027d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x21c]
push dword [esi + 8]
push dword [esi]
push str.__s___s
push eax
call fcn.00406b20
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00455270
add esp, 0x1c
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.0043cd30
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0045e589
add esp, 8
test eax, eax
je 0x43cc36
test esi, esi
jne 0x43cc0b
lea eax, [esi + 0xd]
jmp 0x43cc3c
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43cc10
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x43cc3c
mov eax, dword [ebp - 0x220]
xor ebx, ebx
mov byte [ebp - 4], 0
test eax, eax
sete bl
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43cc5f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x43cc6e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43cc6e
xor ebx, ebx
mov eax, ebx
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.0045230d
mov esp, ebp
pop ebp
ret 8

Function at 0x43cc90
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp word [0x4b3530], 0
mov dword [ebp - 8], 0
jne 0x43ccbd
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push 0x4b3530
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov ecx, dword [ebp + 8]
push 0x4b3530
call fcn.00407e20
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x43cce0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp word [0x4b3730], 0
mov dword [ebp - 8], 0
jne 0x43cd0f
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
push 0x4b3730
push 2
call dword [sym.imp.Secur32.dll_GetUserNameExW]
mov ecx, dword [ebp + 8]
push 0x4b3730
call fcn.00407e20
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x43cd30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43cda1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x43cd6f
cmp eax, 2
jne 0x43cd8b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x43cd9b
test ecx, ecx
je 0x43cd96
test cl, 1
jne 0x43cd8b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x43cd9b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x43d010
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482c58
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4ad070]
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, ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d1b9
push edi
mov dword [ebp - 0x14], 0
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407e20
mov dword [ebp - 4], 0
xor esi, esi
nop dword [eax + eax]
mov eax, dword [esi + 0x491468]
test eax, eax
je 0x43d10f
push eax
push dword [ebp - 0x14]
call fcn.0045e589
add esp, 8
test eax, eax
je 0x43d13b
add esi, 4
cmp esi, 8
jb 0x43d070
xor esi, esi
nop dword [eax]
mov eax, dword [esi + 0x4914c4]
test eax, eax
je 0x43d10f
push eax
push dword [ebp - 0x14]
call fcn.0045e589
add esp, 8
test eax, eax
je 0x43d119
add esi, 4
cmp esi, 0xc
jb 0x43d0a0
xor esi, esi
mov eax, dword [esi + 0x491554]
test eax, eax
je 0x43d10f
push eax
push dword [ebp - 0x14]
call fcn.0045e589
add esp, 8
test eax, eax
je 0x43d0ed
add esi, 4
cmp esi, 8
jb 0x43d0c4
xor esi, esi
jmp 0x43d195
push 0x24
call fcn.004527fe
mov esi, eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
mov dword [esi], vtable.PowerPointConverter.0
jmp 0x43d15b
push 0x80004005
call fcn.004027d0
push 0x24
call fcn.004527fe
mov esi, eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
mov dword [esi], vtable.ExcelConverter.0
jmp 0x43d15b
push 0x24
call fcn.004527fe
mov esi, eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
mov dword [esi], vtable.WordConverter.0
mov dword [esi + 0x20], 0
add esp, 4
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x18], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43d1b7
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.0045230d
mov esp, ebp
pop ebp
ret
Function at 0x43d2c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [esi]
lea eax, [esi + 8]
push eax
lea eax, [esi + 4]
mov ecx, esi
push eax
call dword [edx + 8]
mov edi, eax
test edi, edi
jne 0x43d301
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jne 0x43d301
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 4]
mov edi, eax
test edi, edi
je 0x43d344
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], edi
push ebx
lea ebx, [esi + 0x18]
test eax, eax
je 0x43d31c
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebx], 0
push 0
push 0
push ebx
push 0x400
push dword [esi + 0x1c]
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [ebx]
pop ebx
test eax, eax
je 0x43d344
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x43feb0
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4b1a7c], 0
jne 0x4400f3
push 0x48
call fcn.0045ff4d
add esp, 4
mov dword [0x4b1a70], eax
test eax, eax
je 0x43ff04
push 0x1000
call fcn.0045ff4d
add esp, 4
mov dword [0x4b1a74], eax
test eax, eax
jne 0x43ff0c
push dword [0x4b1a70]
call fcn.00457f17
add esp, 4
mov dword [0x4b1a70], 0
xor al, al
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0xc
mov dword [0x4b1a78], 0
sub eax, 0x4928c4
mov dword [ebp - 8], eax
mov eax, 0x10
push esi
sub eax, 0x4928c4
xor esi, esi
push edi
mov dword [ebp - 4], eax
mov edi, 8
mov eax, 0x14
sub edi, 0x4928c4
sub eax, 0x4928c4
mov dword [ebp - 0xc], eax
nop dword [eax]
mov eax, dword [0x4b1a70]
lea edx, [edi + 0x4928c4]
mov ecx, dword [esi + 0x4928c0]
add edx, esi
mov dword [esi + eax], ecx
mov eax, dword [0x4b1a70]
mov ecx, dword [esi + 0x4928c4]
mov dword [esi + eax + 4], ecx
mov eax, dword [0x4b1a70]
mov ecx, dword [esi + 0x4928c8]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0x4928cc]
lea edx, [eax + 0x4928c4]
mov eax, dword [0x4b1a70]
add edx, esi
mov dword [edx + eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x4928d0]
lea edx, [eax + 0x4928c4]
mov eax, dword [0x4b1a70]
add edx, esi
mov dword [edx + eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi + 0x4928d4]
lea edx, [eax + 0x4928c4]
mov eax, dword [0x4b1a70]
add edx, esi
add esi, 0x18
mov dword [edx + eax], ecx
cmp esi, 0x48
jl 0x43ff50
xor eax, eax
nop dword [eax]
mov esi, 0x100
nop word [eax + eax]
mov ecx, dword [0x4b1a74]
mov edx, dword [eax + 0x4918c0]
mov dword [eax + ecx], edx
add eax, 4
sub esi, 1
jne 0x43fff0
cmp eax, 0x1000
jl 0x43ffe0
xor edi, edi
lea ecx, [esi + 0x24]
movzx eax, byte [esi + str.a7b863b0_61b0_4825_a7d4_d93c6a2fad6e]
mov byte [ebp - 1], al
lea eax, [esi + 1]
cdq
idiv ecx
movzx eax, byte [edx + str.a7b863b0_61b0_4825_a7d4_d93c6a2fad6e]
mov byte [ebp - 2], al
lea eax, [esi + 2]
cdq
idiv ecx
movzx eax, byte [edx + str.a7b863b0_61b0_4825_a7d4_d93c6a2fad6e]
mov byte [ebp - 3], al
lea eax, [esi + 3]
cdq
idiv ecx
mov ecx, dword [0x4b1a70]
movzx eax, byte [edx + str.a7b863b0_61b0_4825_a7d4_d93c6a2fad6e]
mov byte [ebp - 4], al
mov eax, dword [ebp - 4]
xor dword [ecx + edi], eax
lea eax, [esi + 4]
cdq
mov ecx, 0x24
idiv ecx
add edi, 4
mov esi, edx
cmp edi, 0x48
jl 0x440013
mov dword [ebp - 8], 0
xor esi, esi
mov dword [ebp - 4], 0
nop
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0043f9d0
mov ecx, dword [0x4b1a70]
mov eax, dword [ebp - 4]
mov dword [esi + ecx], eax
mov eax, dword [0x4b1a70]
mov ecx, dword [ebp - 8]
mov dword [esi + eax + 4], ecx
add esi, 8
cmp esi, 0x48
jl 0x440080
xor esi, esi
nop
mov edi, 0x80
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0043f9d0
mov ecx, dword [0x4b1a74]
mov eax, dword [ebp - 4]
mov dword [esi + ecx], eax
mov eax, dword [0x4b1a74]
mov ecx, dword [ebp - 8]
mov dword [esi + eax + 4], ecx
add esi, 8
sub edi, 1
jne 0x4400b5
cmp esi, 0x1000
jl 0x4400b0
pop edi
mov byte [0x4b1a7c], 1
pop esi
mov al, 1
mov esp, ebp
pop ebp
ret 0xc