joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006721
Capabilities:
Get common file path

Disassembly:
push 0x114
mov eax, 0x10078403
call fcn.1005f56c
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x1007a14c
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], ebx
call fcn.10001000
push 0x103
xor edi, edi
lea eax, [ebp - 0x113]
push ebx
inc edi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x11c], edi
mov byte [ebp - 0x114], bl
call fcn.1005fb70
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x100067b8
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.10001000
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.1000249a
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.10001743
mov eax, esi
call fcn.1005f51b
ret

Function at 0x10006a8b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x100b0bc0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x58], 0
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
mov ecx, esi
mov word [ebp - 0x54], 0x475c
mov dword [ebp - 0x52], 0x6f0a6f0a
mov word [ebp - 0x4e], 0x670a
mov dword [ebp - 0x4c], 0x650a6c0a
mov dword [ebp - 0x48], 0x430a5c0a
mov word [ebp - 0x44], 0xa68
mov dword [ebp - 0x41], 0x6d0a6f0a
mov dword [ebp - 0x3c], 0x550a5c0a
mov word [ebp - 0x38], 0xa73
mov dword [ebp - 0x35], 0x200a720a
mov word [ebp - 0x31], 0xa44
mov word [ebp - 0x2e], 0xa74
mov dword [ebp - 0x2b], 0xa0a0a0a
mov dword [ebp - 0x27], 0xa0a0a0a
mov dword [ebp - 0x23], 0xa0a0a0a
mov dword [ebp - 0x1f], 0xa0a0a0a
mov dword [ebp - 0x1b], 0xa0a0a0a
mov dword [ebp - 0x17], 0xa0a0a0a
mov dword [ebp - 0x13], 0xa0a0a0a
mov dword [ebp - 0xf], 0xa0a0a0a
mov dword [ebp - 0xb], 0xa0a0a0a
mov word [ebp - 7], 0xa
mov byte [ebp - 0x42], 0x72
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x3d], 0x65
mov byte [ebp - 0x2c], 0x61
call fcn.10001000
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1005f49d
leave
ret

Function at 0x1000a20f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push 0x10079fb0
push dword [ebp + 0xc]
call fcn.10062e9b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1000a2a3
push ebx
push esi
push 2
push 0
push edi
call fcn.10063e0f
push edi
call fcn.100641e7
mov esi, eax
push esi
call fcn.1005fe34
push 0
push 0
push edi
mov ebx, eax
call fcn.10063e0f
push edi
push esi
push 1
push ebx
call fcn.100630b8
push edi
call fcn.10062d60
push esi
push ebx
push dword [ebp + 8]
call fcn.1000a2a6
add esp, 0x40
push ebx
call fcn.1000a803
mov esi, eax
pop ecx
test esi, esi
jne 0x1000a284
test ebx, ebx
je 0x1000a2a1
push ebx
call fcn.100628ba
jmp 0x1000a2a0
push 0x1007a538
push esi
call fcn.1000a6fb
pop ecx
pop ecx
test eax, eax
je 0x1000a29a
push dword [ebp + 0x10]
call eax
push esi
call fcn.1000a67f
pop ecx
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x1000a824
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x1000a844
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
leave
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x1000a864
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1000a98f
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x3000
push dword [ebx + 0x50]
push dword [ebx + 0x34]
call edi
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x1000a8a7
push 4
push 0x3000
push dword [ebx + 0x50]
push eax
call edi
mov esi, eax
mov dword [ebp - 4], eax
test esi, esi
jne 0x1000a8a7
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1000a98b
push 0x24
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x1000a8d8
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x8000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1000a98b
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x14]
push 4
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x18]
push 0x1000
mov dword [edi + 4], esi
mov dword [edi + 0x20], eax
push dword [ebx + 0x54]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [ebx + 0x54]
mov esi, eax
push dword [ebp + 8]
push esi
call fcn.1005fed0
mov edx, dword [ebp + 8]
push edi
mov eax, dword [edx + 0x3c]
add eax, esi
mov esi, dword [ebp - 4]
push ebx
mov dword [edi], eax
push edx
mov dword [eax + 0x34], esi
call fcn.1000a431
mov eax, esi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x1000a948
push eax
push edi
call fcn.1000a5c1
pop ecx
pop ecx
push edi
call fcn.1000a2e4
pop ecx
test eax, eax
je 0x1000a984
push edi
call fcn.1000a506
push edi
call fcn.1000a4d1
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
pop ecx
test eax, eax
je 0x1000a995
push 0
xor ebx, ebx
inc ebx
push ebx
add eax, esi
push esi
call eax
test eax, eax
jne 0x1000a992
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call fcn.1000a67f
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov dword [edi + 0x10], ebx
mov eax, edi
jmp 0x1000a98d
Function at 0x1000a999
Capabilities:
Acquire debug privileges
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100b0bc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
push 0x20
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000aa21
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1000aa21
mov eax, dword [ebp - 0x20]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push ebx
push ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1000aa21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Kernel32
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
test eax, eax
je 0x1000aa69
push 0x1007a560
push eax
call edi
push str.Process32First
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push 0x1007a58c
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
xor eax, eax
cmp dword [esi + 8], eax
je 0x1000aa7a
cmp dword [esi + 0xc], eax
je 0x1000aa7a
cmp dword [esi + 0x10], eax
jne 0x1000aabe
cmp dword [esi + 4], eax
je 0x1000aabe
push str.ntdll.dll
call ebx
mov dword [esi], eax
test eax, eax
je 0x1000aabe
push str.ZwQuerySystemInformation
push eax
call edi
push 0x1007a5c4
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push 0x1007a5d4
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push 0x1007a5e0
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005f49d
leave
ret
Function at 0x1000ab2f
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
mov eax, ecx
push esi
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.1000aaf0
mov esi, eax
test esi, esi
jne 0x1000ab56
xor al, al
jmp 0x1000abbf
push ebx
push edi
xor ebx, ebx
push dword [ebp - 4]
inc ebx
push 0x1000acbb
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000ab86
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
jmp 0x1000ab89
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 5
jge 0x1000abb5
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.1000aaf0
mov esi, eax
test esi, esi
jne 0x1000ab5a
xor eax, eax
cmp edi, 1
pop edi
sete al
pop ebx
pop esi
leave
ret 4
Function at 0x1000bf45
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x2001f
xor ebx, ebx
push ebx
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000bf9d
push esi
push 5
push str.tempo
push 1
mov esi, str.Tempo
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
test eax, eax
jne 0x1000bf93
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x1000bfa2
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x11
mov dword [ebp - 4], 4
call fcn.1005fe34
mov ebx, eax
mov dword [esp], 0x288
call fcn.1005fe34
mov esi, eax
pop ecx
lea eax, [ebp - 4]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x1000bfe1
push dword [ebp - 4]
call fcn.1005fe34
pop ecx
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x1000c05c
push edi
mov edi, esi
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
push str._02X:_02X:_02X:_02X:_02X:_02X
push ebx
call fcn.10063339
push ebx
lea eax, [edi + 0x1b0]
push eax
push str.Address:__s__mac:__s_n
call fcn.10064ca0
push ebx
push dword [ebp + 8]
call fcn.10060520
push 0x1007a24c
call fcn.10064ca0
mov edi, dword [edi]
add esp, 0x38
test edi, edi
jne 0x1000bff2
pop edi
push esi
call fcn.100628ba
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x1000c1fd
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x10078ba6
call fcn.1005f539
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 0x24], esi
call fcn.1000c086
pop ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], esi
cmp dword [eax - 0xc], esi
jne 0x1000c243
mov ecx, dword [ebp + 8]
push 0x1007b270
call fcn.10001000
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001743
mov eax, dword [ebp + 8]
jmp 0x1000c308
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
push 0x1007b270
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.10001000
mov byte [ebp - 4], 1
test edi, edi
je 0x1000c2db
push edi
call fcn.1005f209
pop ecx
mov esi, eax
push esi
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1000c2d4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x10079f4c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1000c2d4
cmp dword [ebp - 0x1c], 0
je 0x1000c2d4
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0xfeef04bd
jne 0x1000c2d4
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x14]
push str._d._d._d._d
push eax
call fcn.1000b7ae
add esp, 0x18
push esi
call fcn.1005f212
pop ecx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.1000112e
mov esi, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.10001743
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001743
mov eax, esi
call fcn.1005f507
ret
Function at 0x1000c443
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x10078ba6
call fcn.1005f539
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 0x24], esi
call fcn.1000c30e
pop ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], esi
cmp dword [eax - 0xc], esi
jne 0x1000c489
mov ecx, dword [ebp + 8]
push 0x1007b270
call fcn.10001000
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001743
mov eax, dword [ebp + 8]
jmp 0x1000c54e
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
push 0x1007b270
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.10001000
mov byte [ebp - 4], 1
test edi, edi
je 0x1000c521
push edi
call fcn.1005f209
pop ecx
mov esi, eax
push esi
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1000c51a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x10079f4c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1000c51a
cmp dword [ebp - 0x1c], 0
je 0x1000c51a
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0xfeef04bd
jne 0x1000c51a
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x14]
push str._d._d._d._d
push eax
call fcn.1000b7ae
add esp, 0x18
push esi
call fcn.1005f212
pop ecx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.1000112e
mov esi, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0x14]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.10001743
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001743
mov eax, esi
call fcn.1005f507
ret

Function at 0x1000c9fc
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000ca79
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
test esi, esi
jne 0x1000ca40
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000ca79
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x1000ca6d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000ca66
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
je 0x1000ca8b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001743
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
movzx ecx, word [ecx + eax + 4]
mov edx, 0x14c
cmp cx, dx
je 0x1000ca66
mov edx, 0x8664
push eax
cmp cx, dx
jne 0x1000ca67
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
xor ebx, ebx
inc ebx
jmp 0x1000ca79
Function at 0x1000cabc
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push 0x11c
mov eax, 0x10078c81
call fcn.1005f56c
mov esi, 0x100b0b80
push esi
lea ecx, [ebp - 0x11c]
call fcn.10001898
lea eax, [ebp - 0x120]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 0x124], 0x410
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000cb86
push dword [ebp - 0x124]
lea ecx, [ebp - 0x11c]
call fcn.100016d3
lea ecx, [ebp - 0x124]
push ecx
push eax
push ebx
push ebx
push 0x1007941c
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000cb7a
push 0xffffffffffffffff
lea ecx, [ebp - 0x11c]
call fcn.1000c9d0
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x11c]
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.1000112e
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.1000c9fc
pop ecx
mov bl, al
jmp 0x1000cc5a
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea ecx, [ebp - 0x118]
call fcn.10001898
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x114], 0
call fcn.1005fb70
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
xor eax, eax
push eax
push eax
push 0x26
push eax
call esi
mov edi, str.GoogleChromeApplicationchrome.exe
test eax, eax
js 0x1000cc04
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.10001788
push ecx
mov eax, esp
push edi
lea ecx, [ebp - 0x118]
push ecx
push eax
call fcn.100047ee
add esp, 0xc
call fcn.1000c9fc
mov bl, al
pop ecx
test bl, bl
jne 0x1000cc46
lea eax, [ebp - 0x114]
push eax
xor eax, eax
push eax
push eax
push 0x2a
push eax
call esi
test eax, eax
js 0x1000cc46
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.10001788
push ecx
mov eax, esp
push edi
lea ecx, [ebp - 0x118]
push ecx
push eax
call fcn.100047ee
add esp, 0xc
call fcn.1000c9fc
pop ecx
mov bl, al
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.10001743
mov esi, dword [ebp - 0x11c]
lea ecx, [esi - 0x10]
call fcn.10001743
mov al, bl
call fcn.1005f51b
ret
Function at 0x10010710
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.10060ff0
mov eax, dword [0x100b0bc0]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x10010775
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x10010775
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.100657ae
add eax, 0x40
push eax
call fcn.100655e6
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1005f49d
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.10065521
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10010804
call fcn.100105d0
test eax, eax
jle 0x10010804
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
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.1005f49d
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1005f49d
add esp, 0x108
ret

Function at 0x10010860
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
jbe 0x10010884
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc eax
or cl, dl
sub edi, 1
jne 0x10010876
pop esi
movzx eax, cl
pop edi
ret

Function at 0x10015820
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x10015867
mov al, byte [edx]
test al, al
je 0x10015867
push edi
mov edi, pe_nt_image_headers32
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x10015837
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x1001db40
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x20
call fcn.10060ff0
mov eax, dword [0x100b0bc0]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x30]
dec ebp
lea edx, [ebp - 0x29]
cmp ebx, edx
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
jle 0x1001dba5
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.1000f270
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1005f49d
add esp, 0x20
ret
cmp ebp, 0x29
jge 0x1001dbd3
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.1000f270
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1005f49d
add esp, 0x20
ret
push esi
mov byte [edi], 0
lea esi, [edi + 1]
push 0
add edi, 0x15
call fcn.1002a8a0
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x50]
push 0
push edi
push eax
push ecx
call fcn.10031ca0
mov edx, ebp
sub edx, ebx
sub edx, 0x29
push edx
lea eax, [edi + 0x14]
push 0
push eax
call fcn.1005fb70
mov edx, dword [esp + 0x34]
mov ecx, edi
sub ecx, ebx
lea eax, [ecx + ebp]
push ebx
mov byte [eax - 0x15], 1
push edx
add eax, 0xffffffec
push eax
call fcn.1005fed0
push 0x14
push esi
call fcn.10014e30
add esp, 0x38
test eax, eax
jle 0x1001dc65
push 0x48
add ebp, 0xffffffec
push str..crypto_rsa_rsa_oaep.c
push ebp
call fcn.10010180
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x1001dc7a
push 0x4b
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.1000f270
add esp, 0x14
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1005f49d
add esp, 0x20
ret
call fcn.1002a8a0
push eax
push 0x14
push esi
push ebp
push ebx
call fcn.1001d9c0
add esp, 0x14
test eax, eax
jl 0x1001dc65
test ebp, ebp
jle 0x1001dcab
mov ecx, ebx
mov eax, edi
sub ecx, edi
mov edx, ebp
lea ecx, [ecx]
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
sub edx, 1
jne 0x1001dca0
call fcn.1002a8a0
push eax
push ebp
push edi
lea eax, [esp + 0x24]
push 0x14
push eax
call fcn.1001d9c0
add esp, 0x14
test eax, eax
jl 0x1001dc65
lea ecx, [esp + 0x18]
lea edi, [esp + 0x19]
lea ebp, [esp + 0x1a]
lea edx, [esp + 0x1b]
sub ecx, esi
sub edi, esi
sub ebp, esi
sub edx, esi
lea ebx, [esp + 0x1c]
sub ebx, esi
mov eax, esi
mov dword [esp + 0x10], ebx
mov esi, 4
nop
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [eax + ebp]
xor byte [eax + 2], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 3], bl
mov ebx, dword [esp + 0x10]
movzx ebx, byte [ebx + eax]
xor byte [eax + 4], bl
add eax, 5
sub esi, 1
jne 0x1001dcf0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10010320
mov ecx, dword [esp + 0x30]
add esp, 4
lea eax, [esi + 1]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005f49d
add esp, 0x20
ret