joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c8d9c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5c8e3e
cmp dword [ebx + 0xac], 0
jne 0x5c8e38
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5c8cdc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5c8e38
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5c8dfe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5c8e38
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.00470ee4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5c8e0d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5c90e4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x86b198]
cmp dword [eax + 0x188], 0
je 0x5c924d
test bl, bl
jne 0x5c91a0
cmp dword [esi + 0xb4], 0
jne 0x5c9195
mov eax, esi
call fcn.005cc1e0
push eax
push 0x5c8fe4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5c9166
mov eax, dword [0x86b198]
cmp byte [eax + 0xeb], 0
je 0x5c9166
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5c9147
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c9166
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c914f
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c9195
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00470ee4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c9175
inc dword [esi + 0xb4]
jmp 0x5c924d
cmp dword [esi + 0xb4], 0
jle 0x5c924d
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5c924d
cmp dword [esi + 0x58], 0
je 0x5c9202
mov eax, dword [0x86b198]
cmp byte [eax + 0xeb], 0
je 0x5c9202
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5c91e3
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c9202
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c91eb
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c9231
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00470ee4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c9211
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5b9840]
call fcn.0040e3e8
pop edi
pop esi
pop ebx
ret
Function at 0x5ca010
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5ca06d
cmp byte [ebx + 0xeb], 0
jne 0x5ca06d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040b00c
mov eax, dword [esi]
test eax, eax
je 0x5ca05a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5ca07a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040b264
jmp 0x5ca07a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040b264
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5cb8f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5cb961
mov eax, esi
call fcn.00600de4
test al, al
je 0x5cb961
mov eax, dword [ebx + 0x98]
call fcn.00600a0c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5cb961
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
je 0x5cb952
push 0
mov eax, dword [ebx + 0x98]
call fcn.00600a0c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.005f6cc4
jmp 0x5cb961
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005cb6fc
pop esi
pop ebx
ret
Function at 0x5df308
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.0040ae84
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x5df35a
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x5df353
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040c004
jmp 0x5df35a
mov eax, esi
call fcn.0040ae84
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5e513c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5e52a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x85c8fc], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x528174]
call fcn.005292c0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5e5275
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.005293a8
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0040c004
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x5e52bc
call fcn.0040c1b4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00529638
test al, al
je 0x5e525d
lea ecx, [ebp - 4]
mov edx, 0x5e5330
mov eax, dword [ebp - 0xc]
call fcn.00529ecc
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00431cdc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5e525d
xor edx, edx
push ebp
push 0x5e5256
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x5e5348
mov eax, dword [ebp - 8]
push eax
call fcn.0041788c
test eax, eax
je 0x5e523d
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x5e523d
call fcn.005e50c8
test eax, eax
je 0x5e522d
mov eax, dword [ebx + 0x50]
jmp 0x5e5230
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x85c8fc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e525d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e527c
mov eax, dword [ebp - 0xc]
call fcn.00408f5c
pop eax
jmp eax

Function at 0x5e53ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x5e53f3
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5e53d6
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5e53e7
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x5e53f3
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x5f407c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x86b238], 0
je 0x5f41bd
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x862e18]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x5f41bd
mov eax, dword [0x86b23c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x86b238]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x5f418c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x86b238]
call fcn.00470ee4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x5f4184
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x21d], 0
je 0x5f4184
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x5f4184
mov eax, dword [ebp - 0x14]
call fcn.00600a0c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5f4184
push ebp
call fcn.005f4038
pop ecx
test al, al
jne 0x5f4184
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb8
call fcn.00409360
test al, al
je 0x5f4184
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00409360
cmp byte [ebp - 1], 0
je 0x5f4184
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00414ea4
test al, al
je 0x5f4184
mov edx, dword [ebp - 0x14]
mov eax, dword [0x86b23c]
call fcn.005f37b8
inc edi
dec ebx
jne 0x5f40e1
mov eax, dword [0x86b23c]
cmp dword [eax + 8], 0
jle 0x5f41a4
mov eax, dword [0x86b23c]
call fcn.005f386c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5f41bd
push ebp
mov eax, dword [ebp - 0x18]
call fcn.005f3ea0
pop ecx
test al, al
jne 0x5f41bd
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5fcdec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00415394
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.005f6714
test ebx, ebx
jne 0x5fce3f
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.005fcd0c
mov ebx, eax
test ebx, ebx
je 0x5fcf35
cmp esi, ebx
je 0x5fce68
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x5fce7d
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x5fceb5
add eax, 0xffffff5f
sub eax, 2
jb 0x5fcecd
dec eax
sub eax, 2
jb 0x5fcee1
dec eax
sub eax, 2
jb 0x5fced7
jmp 0x5fceeb
add eax, 0xfffffdff
sub eax, 2
jb 0x5fcecd
dec eax
sub eax, 2
jb 0x5fcee1
dec eax
sub eax, 2
jb 0x5fced7
jmp 0x5fceeb
mov byte [esp + 0x120], 0
jmp 0x5fcef3
mov byte [esp + 0x120], 2
jmp 0x5fcef3
mov byte [esp + 0x120], 1
jmp 0x5fcef3
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.005bd31c
mov esi, eax
call fcn.005f2e3c
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.005f8298
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x5fcf37
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x633914
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.006339dc
test eax, eax
je 0x633966
mov edi, dword [ebx + 8]
test edi, edi
je 0x633942
test edi, edi
je 0x633942
mov edx, esi
mov eax, edi
call fcn.005f6dc0
jmp 0x633974
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.006339dc
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040b00c
jmp 0x633974
mov ecx, esi
mov edx, 0x633994
mov eax, ebx
call fcn.0063389c
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040b264
add esp, 0x200
pop edi
pop esi
pop ebx
ret
Function at 0x6719ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, edx
mov esi, eax
cmp dword [esi + 0x18], 0
je 0x671a03
mov eax, esi
call fcn.00671ac4
mov eax, dword [esi + 4]
mov dword [esi + 0x18], eax
test bl, bl
je 0x671a25
mov eax, dword [esi + 4]
cmp word [eax], 0x25ff
jne 0x671a25
add dword [esi + 0x18], 2
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0x18]
jno 0x671a32
call fcn.00408b5c
sub eax, 5
jno 0x671a3c
call fcn.00408b5c
mov byte [esi + 0xc], 0xe9
mov edx, 0xff
and edx, eax
mov byte [esi + 0xd], dl
mov edx, eax
shr edx, 8
and edx, 0xff
mov byte [esi + 0xe], dl
mov edx, eax
shr edx, 0x10
and edx, 0xff
mov byte [esi + 0xf], dl
shr eax, 0x18
and eax, 0xff
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax]
mov byte [esi + 0x11], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 1]
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 2]
mov byte [esi + 0x13], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 3]
mov byte [esi + 0x14], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 4]
mov byte [esi + 0x15], al
lea eax, [ebp - 4]
push eax
push 0x40
push 5
mov eax, dword [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x671abc
call fcn.00430fb0
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x67629c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x6762b6
add esp, 0xfffffff0
call fcn.00409584
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x6763da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00407120
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x6763c2
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.00571008
xor eax, eax
push ebp
push 0x6763af
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00571008
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea esi, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esi], eax
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.0040c040
jmp 0x676378
lea eax, [esi + 4]
mov ecx, 1
mov edx, 1
call fcn.0040c3cc
mov edi, dword [esi + 4]
mov ebx, edi
test ebx, ebx
je 0x676386
sub ebx, 4
mov ebx, dword [ebx]
dec ebx
jle 0x676392
mov eax, dword [esi + 4]
cmp word [eax], 0x5f
je 0x676366
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6763b6
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6763e1
lea eax, [ebp - 4]
call fcn.0040aecc
pop eax
jmp eax

Function at 0x680e74
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0068380c
mov esi, eax
mov eax, ebx
call fcn.00680ec0
test esi, esi
je 0x680eba
push esi
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
mov eax, 0x7d0
push eax
push ebx
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x680eba
mov eax, 1
push eax
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle
pop esi
pop ebx
ret
Function at 0x6977f0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x697806
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x6977ff
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 4]
mov edx, dword [0x4012b8]
call fcn.0040d034
xor eax, eax
push ebp
push 0x6978cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 0xc]
mov eax, ebx
sub eax, 0
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, eax
add eax, eax
call fcn.00407138
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x10]
mov esi, ebx
test esi, esi
jl 0x69786b
inc esi
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
call fcn.0040bf4c
mov dword [edi], eax
add edi, 4
add ebx, 4
dec esi
jne 0x697859
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
movzx eax, byte [ebp + 0x10]
movzx eax, word [eax*4 + 0x85cdf0]
push eax
mov eax, dword [ebp - 8]
call fcn.00697658
push eax
call sub.advapi32.dll_ReportEventW
mov eax, dword [ebp - 0x10]
call fcn.00407154
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6978d3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x4012b8]
call fcn.0040cd4c
pop eax
jmp eax

Function at 0x69a870
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, 8
call fcn.00407138
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [eax], edx
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [0x85ce0c]
push eax
mov eax, dword [ebx + 0x176]
push eax
call sub.user32.dll_PostThreadMessageW
cmp byte [ebx + 0x175], 0
je 0x69a8be
mov byte [ebx + 0x175], 0
mov eax, dword [ebx + 0x17a]
push eax
call sub.kernel32.dll_ResumeThread
pop ebx
pop ebp
ret 0x10

Function at 0x69b310
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
movzx ebx, byte [esi + 0x94]
mov dl, 5
mov eax, esi
call fcn.0069a548
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je 0x69b355
mov dl, 6
mov eax, esi
call fcn.0069a548
cmp byte [esi + 0x6e], 0
je 0x69b35e
mov byte [esi + 0x175], 1
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SuspendThread
jmp 0x69b35e
mov edx, ebx
mov eax, esi
call fcn.0069a548
pop esi
pop ebx
pop ebp
ret
Function at 0x6c48bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x204], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6c4a17
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x6c49fa
mov eax, ebx
test eax, eax
je 0x6c48f5
sub eax, 4
mov eax, dword [eax]
jmp 0x6c48f7
xor eax, eax
mov edi, eax
test ebx, ebx
je 0x6c4907
mov eax, ebx
sub eax, 0xa
movzx eax, word [eax]
jmp 0x6c490b
mov ax, 2
cmp ax, 1
jne 0x6c498c
test ebx, ebx
je 0x6c491f
mov eax, ebx
sub eax, 0xc
movzx eax, word [eax]
jmp 0x6c4927
mov eax, dword [0x862ec0]
movzx eax, word [eax]
push edi
push 0
push 0
movzx eax, ax
mov ecx, ebx
xor edx, edx
call fcn.004119d8
mov edi, eax
cmp edi, 0x100
jle 0x6c494f
mov eax, edi
add eax, eax
call fcn.00407138
mov esi, eax
jmp 0x6c4955
lea esi, [ebp - 0x200]
test ebx, ebx
je 0x6c4963
mov eax, ebx
sub eax, 0xc
movzx edx, word [eax]
jmp 0x6c496c
mov edx, dword [0x862ec0]
movzx edx, word [edx]
mov eax, ebx
test eax, eax
je 0x6c4979
sub eax, 4
mov eax, dword [eax]
jmp 0x6c497b
xor eax, eax
push eax
push esi
push edi
movzx eax, dx
mov ecx, ebx
xor edx, edx
call fcn.004119d8
jmp 0x6c49c5
cmp edi, 0x100
jle 0x6c49a1
mov eax, edi
add eax, eax
call fcn.00407138
mov esi, eax
jmp 0x6c49a7
lea esi, [ebp - 0x200]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00427020
mov eax, dword [ebp - 0x204]
mov ecx, edi
add ecx, ecx
mov edx, esi
call fcn.004072fc
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x6c49e7
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x6c49d1
lea eax, [ebp - 0x200]
cmp esi, eax
je 0x6c49fc
mov eax, esi
call fcn.00407154
jmp 0x6c49fc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c4a1e
lea eax, [ebp - 0x204]
call fcn.0040ae84
pop eax
jmp eax

Function at 0x6eab60
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push ecx
mov esi, edx
mov ebx, eax
push esp
push 0x20006
push 0
mov eax, ebx
call fcn.0040bf4c
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x6eaba0
mov eax, esi
call fcn.0040bf4c
push eax
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey
pop edx
pop esi
pop ebx
ret
Function at 0x6f4388
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x6f4513
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x6f44ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x528174]
call fcn.005292c0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6f44dc
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x6f43eb
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.005293a8
jmp 0x6f43f8
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.005293a8
xor ecx, ecx
mov edx, 0x6f4534
mov eax, dword [ebp - 0x10]
call fcn.00529504
test al, al
je 0x6f44c4
cmp dword [ebp + 8], 0
je 0x6f446a
xor eax, eax
push ebp
push 0x6f443b
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00529ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6f444d
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
call fcn.0040c34c
je 0x6f44b8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00529e64
jmp 0x6f44b8
xor eax, eax
push ebp
push 0x6f4490
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00529ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6f44a7
cmp dword [ebp - 4], 0
je 0x6f44b8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.005299f0
mov eax, dword [ebp - 0x10]
call fcn.00529378
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f44e3
mov eax, dword [ebp - 0x10]
call fcn.00408f5c
pop eax
jmp eax

Function at 0x6fcb88
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, ecx
mov edi, edx
sub esi, 3
js 0x6fcbeb
movzx eax, byte [ebx]
shl eax, 0x10
mov ah, byte [ebx + 1]
mov al, byte [ebx + 2]
rol eax, 0xe
mov edx, eax
and edx, 0x3f
rol eax, 6
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [edi], cl
mov edx, eax
and edx, 0x3f
rol eax, 6
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [edi + 1], cl
mov edx, eax
and edx, 0x3f
shr eax, 0x1a
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [edi + 2], cl
add ebx, 3
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [edi + 3], cl
add edi, 4
sub esi, 3
jns 0x6fcb96
add esi, 3
jmp dword [esi*4 + 0x6fcbf5]