joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a5a1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x447f50
cmp edx, dword [eax]
je 0x40a5c3
add eax, 8
inc ecx
cmp eax, 0x447fe0
jl 0x40a5b4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x447f50]
jne 0x40a6f1
mov eax, dword [0x44b7d0]
cmp eax, 1
je 0x40a6cb
test eax, eax
jne 0x40a5f4
cmp dword [0x447b3c], 1
je 0x40a6cb
cmp edx, 0xfc
je 0x40a6f1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a62b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040be30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040bf20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40a66e
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040bf20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43feb8
push edi
call fcn.0040d950
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040be30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040be40
lea eax, [ebp - 0xa0]
push 0x43fe98
push eax
call fcn.0040be40
push dword [esi + 0x447f54]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040be40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040d8c3
add esp, 0x2c
pop edi
jmp 0x40a6f1
lea eax, [ebp + 8]
lea esi, [esi + 0x447f54]
push 0
push eax
push dword [esi]
call fcn.0040bf20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x41f10d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41f145
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.00422b03
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00422adb
jmp 0x41f151
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x420f0f
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 0x420f51
call fcn.00435362
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x420f51
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x420f48
xor eax, eax
jmp 0x420f59
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00420f5f
pop edi
pop esi
pop ebx
ret 4
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5d194b64
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x7dd33cd0
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x100052d0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d7b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
mov dword [ebp - 4], 0
mov dword [ebp - 0x70], 0
call fcn.10007170
mov ecx, eax
test ecx, ecx
jne 0x10005311
push 0x80004005
call fcn.10006e80
mov eax, dword [ecx]
push ebx
push esi
push edi
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
push 0x200
lea eax, [ebp - 0x274]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x70], 1
call fcn.10014f00
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, 0x54
mov word [ebp - 0x66], ax
add esp, 0xc
mov eax, 0x53
mov dword [ebp - 0x14], 0x200
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x64], 0x410057
mov dword [ebp - 0x6a], 0x46004f
lea ecx, [eax + 0x16]
mov dword [ebp - 0x48], 0x43005c
mov eax, 0x65
mov dword [ebp - 0x5c], 0x4d005c
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x44], 0x790072
push eax
push 0x80000002
mov dword [ebp - 0x38], 0x610072
mov dword [ebp - 0x30], 0x79
mov dword [ebp - 0x54], 0x6f0072
mov dword [ebp - 0x4c], 0x740066
mov dword [ebp - 0x34], 0x680070
mov dword [ebp - 0x58], 0x630069
mov dword [ebp - 0x60], 0x450052
mov dword [ebp - 0x3c], 0x67006f
mov dword [ebp - 0x40], 0x740070
mov dword [ebp - 0x50], 0x6f0073
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x28], 0x680063
mov dword [ebp - 0x24], 0x6e0069
mov dword [ebp - 0x1e], 0x750047
mov dword [ebp - 0x2c], 0x61004d
mov word [ebp - 0x1a], cx
call ebx
test eax, eax
jne 0x100054aa
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x1000547a
lea eax, [ebp - 0x10]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x6c]
push eax
push 0x80000002
call ebx
test eax, eax
jne 0x100054aa
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x100054aa
lea eax, [ebp - 0x274]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10005483
sub eax, edx
mov ecx, edi
sar eax, 1
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.100074a0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10005570
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xc88
mov ecx, dword [ebp + 0x7c]
push ebx
push esi
push 0x1002f4d2
call fcn.10006b90
mov eax, 0x43
mov dword [ebp + 0x2a], 0x720075
mov word [ebp + 0x28], ax
mov edx, 0x72
mov eax, 0x52
mov dword [ebp + 0x12], 0x690057
mov word [ebp - 8], ax
mov ebx, 0x6f
mov eax, 0x4d
mov dword [ebp], 0x630069
mov word [ebp - 2], ax
mov eax, 0x65
push 0x800
mov word [ebp + 0x38], ax
lea eax, [ebp - 0xc14]
push 0
push eax
mov dword [ebp - 0xc], 0x410057
mov dword [ebp - 6], 0x5c0045
mov dword [ebp - 0x14], 0x4f0053
mov dword [ebp + 6], 0x73006f
mov dword [ebp + 0xa], 0x66006f
mov dword [ebp + 0x3a], 0x730072
mov dword [ebp - 0x10], 0x540046
mov dword [ebp + 0x20], 0x4e0020
mov dword [ebp + 0x30], 0x6e0065
mov dword [ebp + 0x3e], 0x6f0069
mov dword [ebp + 0xe], 0x5c0074
mov dword [ebp + 0x24], 0x5c0054
mov dword [ebp + 0x34], 0x560074
mov dword [ebp + 0x1c], 0x730077
mov dword [ebp + 0x16], 0x64006e
mov word [ebp + 0x2e], dx
mov word [ebp + 4], dx
mov dword [ebp + 0x42], 0x6e
mov word [ebp + 0x1a], bx
mov dword [ebp + 0x5a], 0x64006f
mov dword [ebp + 0x5e], 0x630075
mov dword [ebp + 0x54], 0x50006c
mov dword [ebp + 0x50], 0x610074
mov dword [ebp + 0x62], 0x490074
mov dword [ebp + 0x4c], 0x690067
mov dword [ebp + 0x66], 0x64
mov dword [ebp + 0x48], 0x690044
mov word [ebp + 0x58], dx
call fcn.10014f00
add esp, 0xc
mov dword [ebp + 0x70], 0x800
lea eax, [ebp + 0x6c]
push eax
push 0x101
push 0
lea eax, [ebp - 0x14]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005764
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0xc14]
push eax
push 0
push 0
lea eax, [ebp + 0x48]
push eax
push dword [ebp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000575b
push 0x400
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.10014f00
push dword [ebp + 0x70]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc14]
push eax
call fcn.10005500
lea eax, [ebp - 0x414]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005718
sub eax, edx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x10005730
xor eax, eax
jmp 0x1000574a
lea eax, [esi + esi]
call fcn.100126a0
mov eax, esp
lea ecx, [ebp - 0x414]
push 3
push esi
push ecx
push eax
call fcn.10006d30
push eax
push 0x1002f520
push dword [ebp + 0x7c]
call fcn.10007060
add esp, 0xc
push dword [ebp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0xc1c]
pop esi
pop ebx
lea esp, [ebp + 0x74]
pop ebp
ret
Function at 0x10005780
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x62c
mov ecx, dword [esp + 0x630]
push 0x1002f4d2
call fcn.10006b90
push 0x20a
lea eax, [esp + 0x424]
push 0
push eax
call fcn.10014f00
push 0x20a
lea eax, [esp + 0x224]
push 0
push eax
call fcn.10014f00
push 0x208
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], 0
push 0
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
call fcn.10014f00
add esp, 0x24
lea eax, [esp + 0xc]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov word [esp + 0x12], ax
lea eax, [esp + 0x214]
push 0x105
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push 0x105
lea eax, [esp + 0x438]
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10005852
push dword [esp]
push 0x1002f528
push dword [esp + 0x638]
call fcn.10007060
add esp, 0xc
add esp, 0x62c
ret
Function at 0x10005860
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d7cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push dword [ebp - 0x28]
push 0x1003f6c0
push dword [0x1003f6c4]
push dword [0x1003f6c0]
call fcn.10006890
mov eax, dword [0x1003f6c0]
add esp, 0x10
cmp dword [0x1003f6bc], 0x10
mov dword [0x1003f6c4], eax
mov eax, 0x1003f6a8
cmovae eax, dword [0x1003f6a8]
mov dword [0x1003f6b8], 0
mov byte [eax], 0
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10005910
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x128
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10005938
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x10
jb 0x10005927
inc ecx
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
call fcn.10007c80
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
push edi
nop word [eax + eax]
cmp byte [ebp - 0x12c], 0
jne 0x1000594d
xor eax, eax
jmp 0x1000595f
lea eax, [ebp - 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005956
sub eax, edx
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x24]
call fcn.10007b80
mov ecx, dword [0x1003f6c4]
mov eax, 0x2aaaaaab
sub ecx, dword [0x1003f6c0]
imul ecx
mov ecx, dword [0x1003f6c8]
mov eax, 0x2aaaaaab
sub ecx, dword [0x1003f6c0]
sar edx, 2
mov edi, edx
inc edx
shr edi, 0x1f
add edi, edx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jae 0x100059c1
cmp edi, 0xaaaaaaa
ja 0x10005a06
push edi
mov ecx, 0x1003f6c0
call fcn.100077f0
lea eax, [ebp - 0x24]
mov ecx, 0x1003f6c0
push eax
call fcn.10007d70
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x24]
mov ecx, 0x1003f6a8
push eax
call fcn.10007970
lea eax, [ebp - 0x150]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10005940
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov bl, 1
pop esi
jmp 0x10005912
push str.vector_T__too_long
call fcn.10010dbe
int3
Function at 0x100075d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100075e3
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10007626
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10007622
nop dword [eax + eax]
cmp esi, edx
jae 0x10007626
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10007610
cmp esi, edx
jb 0x1000762a
xor eax, eax
pop esi
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
ret

Function at 0x10007fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x8000
mov dword [esp + 0x14], 0x7ffe
call fcn.10017f4c
mov esi, eax
add esp, 4
test esi, esi
je 0x10008010
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
lea eax, [esp + 0x10]
push eax
push esi
push 0
push 0
push edi
push ebx
call ebp
test eax, eax
je 0x10008029
cmp eax, 0xea
jne 0x10008018
mov eax, dword [esp + 0x10]
add eax, 2
push eax
push esi
call fcn.1001a571
mov esi, eax
add esp, 8
test esi, esi
jne 0x10007fe0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push esi
call fcn.10017f47
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x10]
mov ax, word [0x1002f66c]
shr ecx, 1
mov dword [esp + 0x10], ecx
mov word [esi + ecx*2], ax
mov eax, dword [esp + 0x10]
lea edi, [eax + eax]
lea eax, [edi + edi]
push eax
call fcn.10017f4c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10008010
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax]
push edi
push ebx
push esi
push 0
call dword [0x1003f70c]
test eax, eax
jne 0x100080ab
call ebp
cmp eax, 0x7a
jne 0x10008094
lea edi, [edi + edi*4]
add edi, edi
lea eax, [edi + edi]
push eax
push ebx
call fcn.1001a571
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10008060
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push esi
call fcn.10017f47
push ebx
call fcn.10017f47
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push esi
call fcn.10017f47
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10008570
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x1c]
mov ebx, 0x1000
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov dword [esp + 8], eax
test eax, eax
je 0x10008728
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100085a0
sub ecx, edx
sar ecx, 1
push ebp
push edi
lea ebp, [ecx + 0x2c]
lea eax, [ebp*2]
push eax
call fcn.10017f4c
mov edi, eax
add esp, 4
test edi, edi
je 0x10008711
push str.SYSTEMCurrentControlSetServicesEventlog_
push ebp
push edi
call fcn.100179c3
push esi
push ebp
push edi
call fcn.1001794e
add esp, 0x18
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
mov esi, eax
call fcn.10017f47
add esp, 4
test esi, esi
jne 0x10008711
push 0x1000
call fcn.10017f4c
mov ebp, dword [esp + 0x14]
mov esi, eax
add esp, 4
test esi, esi
je 0x100086f4
mov edi, 1
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push esi
push 0
push 9
push ebp
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x1000867c
push dword [esp + 0x34]
test edi, edi
lea eax, [esp + 0x14]
cmovne eax, dword [esp + 0x34]
push eax
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x2c]
push esi
push dword [esp + 0x30]
call fcn.10008d70
add esp, 0x1c
test eax, eax
je 0x100086a5
xor edi, edi
jmp 0x10008630
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100086a0
push dword [esp + 0x14]
push esi
call fcn.1001a571
mov esi, eax
add esp, 8
test esi, esi
je 0x100086f4
mov ebx, dword [esp + 0x14]
jmp 0x10008630
cmp eax, 0x26
jne 0x100086ce
push esi
mov edi, 1
call fcn.10017f47
add esp, 4
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret
xor edi, edi
push esi
call fcn.10017f47
add esp, 4
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret
xor edi, edi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret
mov ebp, dword [esp + 0x10]
xor edi, edi
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret
xor eax, eax
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x10009d00
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x84
push ebx
push edi
lea eax, [esp + 8]
mov dword [esp + 8], 0x61766441
push eax
xor bl, bl
mov dword [esp + 0x10], 0x32336970
mov dword [esp + 0x15], 0x6c6c64
mov byte [esp + 0x14], 0x2e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10009f5a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [esp + 0x78]
push eax
push edi
mov word [esp + 0x91], 0x7478
mov dword [esp + 0x80], 0x70797243
mov word [esp + 0x85], 0x6341
mov word [esp + 0x8b], 0x4365
mov word [esp + 0x8e], 0x746e
mov word [esp + 0x88], 0x6975
mov word [esp + 0x93], 0x41
mov byte [esp + 0x84], 0x74
mov byte [esp + 0x90], 0x65
mov byte [esp + 0x8d], 0x6f
mov byte [esp + 0x8a], 0x72
mov byte [esp + 0x87], 0x71
call esi
mov dword [0x1003f7a0], eax
lea eax, [esp + 0x2c]
push eax
push edi
mov dword [esp + 0x3e], 0x73614865
mov word [esp + 0x3a], 0x6572
mov word [esp + 0x42], 0x68
mov word [esp + 0x37], 0x7470
mov byte [esp + 0x39], 0x43
mov word [esp + 0x34], 0x7243
mov word [esp + 0x3c], 0x7461
mov byte [esp + 0x36], 0x79
call esi
mov dword [0x1003f7a4], eax
lea eax, [esp + 0x64]
push eax
push edi
mov word [esp + 0x7e], 0x74
mov dword [esp + 0x79], 0x65746e6f
mov word [esp + 0x6d], 0x7972
mov dword [esp + 0x72], 0x61656c65
mov word [esp + 0x70], 0x5274
mov byte [esp + 0x6c], 0x43
mov word [esp + 0x77], 0x4365
mov byte [esp + 0x76], 0x73
mov byte [esp + 0x6f], 0x70
mov byte [esp + 0x7d], 0x78
call esi
mov dword [0x1003f7a8], eax
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x29], 0x68736148
mov dword [esp + 0x2e], 0x617461
mov dword [esp + 0x25], 0x74707972
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x2d], 0x44
call esi
mov dword [0x1003f7ac], eax
lea eax, [esp + 0x3c]
push eax
push edi
mov word [esp + 0x50], 0x6148
mov word [esp + 0x53], 0x68
mov word [esp + 0x48], 0x4474
mov word [esp + 0x45], 0x7972
mov word [esp + 0x4d], 0x6f72
mov byte [esp + 0x44], 0x43
mov byte [esp + 0x52], 0x73
mov word [esp + 0x4a], 0x7365
mov byte [esp + 0x4f], 0x79
mov byte [esp + 0x4c], 0x74
mov byte [esp + 0x47], 0x70
call esi
mov dword [0x1003f7b0], eax
mov word [esp + 0x55], 0x6547
mov word [esp + 0x5d], 0x7261
mov dword [esp + 0x58], 0x68736148
mov dword [esp + 0x50], 0x70797243
mov word [esp + 0x60], 0x6d
mov byte [esp + 0x54], 0x74
mov byte [esp + 0x57], 0x74
mov byte [esp + 0x5f], 0x61
lea eax, [esp + 0x50]
mov byte [esp + 0x5c], 0x50
push eax
push edi
call esi
cmp dword [0x1003f7a0], 0
mov ecx, eax
mov dword [0x1003f7b4], ecx
pop esi
je 0x10009f5a
cmp dword [0x1003f7a4], 0
je 0x10009f5a
cmp dword [0x1003f7a8], 0
je 0x10009f5a
cmp dword [0x1003f7ac], 0
je 0x10009f5a
cmp dword [0x1003f7b0], 0
je 0x10009f5a
movzx eax, bl
test ecx, ecx
mov edx, 1
pop edi
cmovne eax, edx
pop ebx
add esp, 0x84
ret
pop edi
mov al, bl
pop ebx
add esp, 0x84
ret
Function at 0x1000a430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1002d926
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001202a
mov edi, eax
add esp, 4
test edi, edi
je 0x1000a478
push 1
mov dword [ebp - 4], 0
call fcn.10011341
add esp, 4
mov dword [edi + 4], eax
jmp 0x1000a47a
xor edi, edi
lea eax, [esi + 4]
mov dword [esi + 0x34], edi
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000a590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d97a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.10010e2b
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
jne 0x1000a63f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.10015142
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x1003c074
push eax
call fcn.10014534
push eax
push esi
call fcn.10011444
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000dff0
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push edi
push dword [esp + 0x14]
mov edi, ecx
mov dword [esp + 8], 0
push dword [esp + 0x14]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x4c], 0x6a09e667
mov dword [edi + 0x50], 0xbb67ae85
mov dword [edi + 0x54], 0x3c6ef372
mov dword [edi + 0x58], 0xa54ff53a
mov dword [edi + 0x5c], 0x510e527f
mov dword [edi + 0x60], 0x9b05688c
mov dword [edi + 0x64], 0x1f83d9ab
mov dword [edi + 0x68], 0x5be0cd19
call fcn.1000e100
push dword [esp + 0xc]
mov ecx, edi
call fcn.1000e1a0
mov eax, dword [esp + 0xc]
pop edi
pop ecx
ret 0xc
Function at 0x10026461
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10026121