joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430c10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x494158
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x430c49
inc eax
mov dword [esi + 0x10], eax
jmp 0x430d5c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x430c5d
mov eax, 0xffffffc7
jmp 0x430d5e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x430c6e
cmp dword [esi + 8], eax
jne 0x430c5d
cmp dword [esi + 8], eax
jne 0x430c87
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x430c87
mov eax, 0xffffffc7
jmp 0x430d5e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x430c9b
push eax
mov ecx, ebx
call fcn.00430440
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00403640
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x430ccc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00403660
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042fbb0
test eax, eax
mov dword [esp + 0x38], eax
je 0x430cff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x9097d0
call fcn.00403840
mov eax, dword [esp + 0x38]
jmp 0x430d5e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00430a70
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x430d43
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00430a90
mov esi, eax
test esi, esi
jne 0x430d73
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00430a70
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x430d15
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x9097d0
call fcn.00403840
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x9097d0
call fcn.00403840
mov eax, esi
jmp 0x430d5e

Function at 0x435740
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4357a0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4357a0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4357a0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4357a0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4357e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x441450
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x494a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0048d7b4
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440da0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0048d6e2
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00489fa8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00489fa8
push 1
push 0
push 0
mov ecx, esi
call fcn.00489f50
push 1
push 0
push 1
mov ecx, esi
call fcn.00489f50
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048d826
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4415d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x494a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0048d7b4
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440da0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0048d6e2
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x441694
cmp dword [esp + 0x40], 1
jne 0x441692
cmp ecx, eax
jge 0x441694
mov eax, ecx
cmp eax, 0xc8
jge 0x4416a0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00441450
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048d826
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441ea0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x494b13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004883c3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048da5c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048ef78
test eax, eax
je 0x441fbc
mov ecx, dword [esp + 0x3c]
call fcn.0048da89
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441f80
push edi
mov ecx, esi
call fcn.0048b0ef
mov ecx, esi
call fcn.00442160
cmp dword [esp + 0x38], 1
jne 0x441fb5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048b22a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4441a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4441d3
push esi
call fcn.00452540
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4441cc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x444259
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444242
mov eax, dword [esi + 8]
test eax, eax
je 0x4441f7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44423e
cmp eax, 2
je 0x444242
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4441ea
cmp eax, 3
je 0x44421d
cmp eax, 1
jne 0x4441ea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4441ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4441ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444280
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444268
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444280
add esp, 4
pop esi
ret

Function at 0x444af0
Capabilities:
Terminate process

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

Function at 0x462010
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x946e90]
xor edx, edx
cmp eax, edx
jne 0x462036
xor eax, eax
mov byte [eax + 0x946d90], al
inc eax
cmp eax, 0x100
jl 0x46201e
mov dword [0x946e90], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x946d90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4620c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46209a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x462068
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4620d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x462123
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46210a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x468ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494ffe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004693d0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x90d37c
call fcn.00486b56
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x468b43
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00486b56
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x468b3c
push 0
mov ecx, eax
call fcn.0045fc50
mov dword [esi + 0xc], eax
jmp 0x468b45
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x468b45
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4891b9
Capabilities:
Get graphical window text

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

Function at 0x48a8ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48a8ee
call fcn.0049035e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48a8ee
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48a8e5
xor eax, eax
jmp 0x48a8f6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048a8fc
pop edi
pop esi
pop ebx
ret 4
Function at 0x49088e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4908bc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4908da
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004907f4
jmp 0x4908da
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4908da
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004907f4
test edi, edi
mov eax, edi
jne 0x4908c4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x565e30
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x412086
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4071d8
xor edi, edi
cmp word [ebp + 8], 0xffff
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
jne 0x565ffc
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x44db7c
lea ecx, [ebp - 0x20]
call esi
mov edx, 0x44db1c
lea ecx, [ebp - 0x1c]
call esi
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x38]
push edx
push eax
mov dword [ebp - 0x3c], 0x80000002
call fcn.00566aa0
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x14]
call ebx
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp dword [0x681de4], edi
jne 0x565eff
push 0x681de4
push 0x442c4c
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x681de4]
lea edx, [ebp - 0x28]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x565f24
push 0x14
push 0x442c3c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x58]
test eax, eax
fnclex
jge 0x565f48
push 0x58
push 0x446f94
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x67e064]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x447850
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call ebx
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x24]
call ebx
push eax
push 0x44db94
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call ebx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x20]
push eax
push ecx
push 3
call edi
add esp, 0x10
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push edx
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaStrComp]
test ax, ax
je 0x566010
mov edx, 0x44db7c
lea ecx, [ebp - 0x20]
call esi
mov edx, 0x44db1c
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x20]
push ecx
lea eax, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x3c]
push eax
push ecx
mov dword [ebp - 0x3c], 0x80000002
call fcn.00565bc0
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
push edx
push eax
push 2
call edi
add esp, 0xc
push 0x566052
jmp 0x566041
push 0x44db7c
push 0x44db1c
push 0x80000002
call fcn.00565d30
push 0x566052
jmp 0x566041
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
ret
Function at 0x566160
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x412086
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4071f8
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
call esi
mov edx, 0x44dc88
lea ecx, [ebp - 0x1c]
call esi
mov edx, 0x44dc18
lea ecx, [ebp - 0x18]
call esi
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x20]
push edx
push eax
mov dword [ebp - 0x20], 0x80000002
call fcn.00565bc0
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
push 0x56620d
jmp 0x566203
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret

Function at 0x566be0
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x412086
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x34
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x407300
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov edx, 0x44dc88
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x44dc18
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 0x40], 0x80000002
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00566aa0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
push 0x566cdc
jmp 0x566cdb
ret
Function at 0x100019a0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x8014
call fcn.1000f350
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10001b30
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
cmp ecx, 1
jne 0x10001a94
push 1
call dword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
call fcn.10004d40
cmp dword [eax + 4], 0
je 0x10001ab6
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x801f]
lea eax, [ebp - 0x20]
push 0x10024a1c
push 0x7fff
push ecx
push eax
call fcn.100146a3
add esp, 0x10
mov eax, dword [ebp - 0x20]
dec eax
cmp eax, 0x7ffd
ja 0x10001a41
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x801f]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [0x1002ac30]
mov ecx, dword [0x1002ef5c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x10001aaf
push 0x1002ac30
call fcn.1000f227
add esp, 4
cmp dword [0x1002ac30], 0xffffffff
jne 0x10001aaf
mov dword [ebp - 0x10], 1
call fcn.10001210
mov byte [0x1002ac2c], al
push 0x1002ac30
call fcn.1000f2a1
add esp, 4
jmp 0x10001aaf
mov eax, 1
test ecx, ecx
jne 0x10001ab8
cmp dword [ebp + 0x10], 0
je 0x10001ab8
call fcn.10003020
mov ecx, eax
call fcn.10003210
mov eax, 1
jmp 0x10001ab8
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x8014
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x10001b40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 8], ecx
mov ecx, dword [ecx + eax + 0x80]
mov dword [esp], ecx
mov eax, dword [ecx + eax + 0xc]
test eax, eax
je 0x10001c17
mov ecx, dword [esp + 0x2c]
add dword [esp], ecx
add ecx, 2
mov dword [esp + 0xc], ecx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10001b94
mov ecx, dword [esp]
mov eax, dword [ecx + 0x20]
add ecx, 0x14
mov dword [esp], ecx
test eax, eax
je 0x10001c17
add eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 4], eax
test eax, eax
je 0x10001b80
mov eax, dword [esp]
mov ebp, dword [eax + 0x10]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + ebp]
test eax, eax
je 0x10001b80
add ebp, dword [esp + 0x2c]
jmp 0x10001bca
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
je 0x10001b80
test eax, eax
js 0x10001be0
add eax, dword [esp + 0xc]
jmp 0x10001be3
movzx eax, ax
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test eax, eax
je 0x10001bc0
mov dword [esp + 0x14], 0x40
lea ebx, [esp + 0x14]
push ebx
push 0x40
push 4
push ebp
call esi
mov dword [ebp], edi
push ebx
push dword [esp + 0x18]
push 4
push ebp
call esi
jmp 0x10001bc0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 8]
sub eax, dword [eax + ecx + 0x34]
mov dword [esp], eax
je 0x10001ce1
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + ecx + 0xa0]
add edx, eax
mov ecx, dword [eax + ecx + 0xa4]
add ecx, edx
cmp edx, ecx
jae 0x10001ce1
mov dword [esp + 8], ecx
jmp 0x10001c61
mov eax, dword [edx + 4]
mov ecx, dword [esp + 8]
add edx, eax
cmp edx, ecx
jae 0x10001ce1
mov eax, dword [edx + 4]
lea esi, [eax - 8]
cmp esi, 2
jb 0x10001c57
shr esi, 1
xor ebp, ebp
mov dword [esp + 4], edx
mov dword [esp + 0xc], esi
jmp 0x10001c85
inc ebp
cmp esi, ebp
je 0x10001c50
movzx ebx, word [edx + ebp*2 + 8]
mov eax, ebx
and eax, 0xf000
cmp eax, 0x3000
jne 0x10001c80
mov edi, dword [edx]
and ebx, 0xfff
add ebx, dword [esp + 0x2c]
lea esi, [ebx + edi]
mov dword [esp + 0x10], 0x40
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esp]
add dword [edi + ebx], eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push 4
push esi
mov esi, dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 4]
jmp 0x10001c80
mov al, 1
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret