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

Disassembly:
push 0x14
mov eax, 0x100225ce
call fcn.1000cca3
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.100210cc
test eax, eax
je 0x10009ec9
call fcn.10009e8f
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x10023938
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x10009f24
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.1000bb01
pop ecx
pop ecx
push edi
push esi
call fcn.100210cc
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.1000a299
push eax
push esi
push 0x100249ec
call fcn.1000bb01
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x10009f1d
ret
cmp ebx, edi
je 0x10009f2f
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x10009fe0
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x10009f8c
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x10009ee8
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x10009fe0
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x10009fe0
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x10009ee8
mov eax, esi
call fcn.1000cd0f
ret
Function at 0x1000a7a8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf98]
mov eax, 0x1018
call fcn.1000c370
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0xf94], eax
mov eax, dword [ebp + 0xfa4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xfa0]
xor ebx, ebx
mov esi, 0x7ff
push esi
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x795]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], 1
mov byte [ebp + 0x794], bl
call fcn.1000c3a0
push esi
lea eax, [ebp - 0x6b]
push ebx
push eax
mov byte [ebp - 0x6c], bl
call fcn.1000c3a0
push edi
call fcn.1000ecb7
add esp, 0x1c
cmp eax, ebx
je 0x1000a838
push eax
push dword [ebp + 0xfa8]
push dword [ebp - 0x78]
call fcn.100210cc
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x1000a99a
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push dword [0x1002b174]
push SysReAllocString
call edi
test eax, eax
je 0x1000a860
xor eax, eax
jmp 0x1000a99a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xfa8]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
je 0x1000a891
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1000a99a
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x10025608
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
je 0x1000a8bb
xor ebx, ebx
inc ebx
jmp 0x1000a881
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x1000a8b6
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.deployment.modified.timestamp
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
jne 0x1000a8b6
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x74], 0x800
call fcn.100210cc
pop ecx
pop ecx
test eax, eax
js 0x1000a997
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x1000a8b6
push dword [ebp - 0x70]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
call fcn.100210cc
test eax, eax
jne 0x1000a997
lea eax, [ebp - 0x70]
push eax
push 0x20006
push ebx
push dword [0x1002b174]
push SysReAllocString
call edi
test eax, eax
jne 0x1000a859
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 1
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1000a881
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call fcn.100210cc
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp + 0xf94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0xf98
leave
ret
Function at 0x1000c2c7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002b19c]
jne 0x1000c2d1
repz ret
jmp fcn.10011efc

Function at 0x100210cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x100210db
pop dword [ebp - 0xc]
mov eax, 0xd9e2922a
add eax, 0x361f7eb1
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3ccba
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x42a7
mov esi, eax
mov edx, 0x10032800
add edx, dword [ebp - 0xc]
mov ebx, 0xa0486b64
add ebx, 0xefd1f409
sub dword [ebp - 8], eax
mov edi, dword [edx]
add dword [ebp - 8], ecx
xor edi, ebx
add dword [ebp - 4], edi
mov dword [esi], edi
add dword [ebp - 4], 0xba76a80a
add esi, 0x6ac82b47
add esi, 0x9537d4bd
add edx, 0x421944c3
add edx, 0xbde6bb41
loop 0x10021129
add eax, 0xfd6f
mov ebx, eax
add eax, 0x3c4c302f
add eax, 0xc3b3cfd6
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x40dcf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x40dd0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40dd11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40dd00
mov eax, 1
add ebx, ebx
jne 0x40dd23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40dd18
jne 0x40dd34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40dd18
xor ecx, ecx
sub eax, 3
jb 0x40dd48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ddba
mov ebp, eax
add ebx, ebx
jne 0x40dd53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40dd60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40dd84
inc ecx
add ebx, ebx
jne 0x40dd70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40dd65
jne 0x40dd81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40dd65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40dda4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40dd95
jmp 0x40dd06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40dda4
add edi, ecx
jmp 0x40dd06
pop esi
mov edi, esi
mov ecx, 0x3a2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40ddc2
cmp byte [edi], 2
jne 0x40ddc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40ddc7
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40de3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdbf8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdc34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40ddf4
mov ecx, edi
jns 0x40de23
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdc3c]
or eax, eax
je 0x40de39
mov dword [ebx], eax
add ebx, 4
jmp 0x40de11
call dword [esi + 0xdc38]
mov ebp, dword [esi + 0xdc40]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40de73
sub esp, 0xffffff80
jmp 0x40165c
Function at 0x29a0206a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x29a02079
pop dword [ebp - 0x18]
mov eax, 0xd53b3af1
add eax, 0x5464e588
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x47f5aec1
add dword [ebp - 0x28], 0x65c968a
mov dword [ebp - 0x24], 0x6c714f55
add dword [ebp - 0x24], 0xc5c1fcf0
mov dword [ebp - 0x20], 0xca300255
sub dword [ebp - 0x20], 0x7de3be27
mov dword [ebp - 0x1c], 0xc35ccb4a
add dword [ebp - 0x1c], 0x3ca334b6
lea eax, [ebp - 0x28]
push eax
mov eax, 0x7ba88d39
sub eax, 0x52077cc1
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x49c4869e
sub dword [ebp - 0x28], 0xd5521d48
mov dword [ebp - 0x24], 0x728c9ef7
add dword [ebp - 0x24], 0xcedfc27e
mov dword [ebp - 0x20], 0x588b216f
sub dword [ebp - 0x20], 0xf51bb503
mov dword [ebp - 0x1c], 0x9d6ab3e5
sub dword [ebp - 0x1c], 0x9d6ab3e5
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x5c7b9bbe
sub eax, 0x32da8b4e
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3b908
push 0
call eax
mov ecx, 0xa2c9d402
add ecx, 0x5d367b10
mov esi, eax
mov edi, 0x4088fe2f
sub edi, 0x16e7142f
add edi, dword [ebp - 0x18]
mov edx, 0x5511ba70
sub dword [ebp - 0x10], 0x3e567f32
mov ebx, dword [edi]
sub dword [ebp - 8], 0xe071f07f
xor ebx, edx
add dword [ebp - 0xc], 0x882f9ad6
mov dword [esi], ebx
sub dword [ebp - 8], esi
add esi, 0x197c7be4
add esi, 0xe6838420
add edi, 4
loop 0x29a02195
add eax, 0x3b33dad3
sub eax, 0x3b32abb8
xor ebx, ebx
add ebx, eax
add eax, 0xb01d32d8
add eax, 0x4fe2cd2d
mov ecx, 0xc29aac9d
sub ecx, 0x98faac9d
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x415fe0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x416002
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416009
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415ff8
mov eax, 1
add ebx, ebx
jne 0x41601b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416010
jne 0x41602c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416010
xor ecx, ecx
sub eax, 3
jb 0x416040
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4160b2
mov ebp, eax
add ebx, ebx
jne 0x41604b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416058
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41607c
inc ecx
add ebx, ebx
jne 0x416068
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41605d
jne 0x416079
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41605d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41609c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41608d
jmp 0x415ffe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41609c
add edi, ecx
jmp 0x415ffe
pop esi
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x4160fb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16f3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17000]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4160b9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x17008]
or eax, eax
je 0x4160f5
mov dword [ebx], eax
add ebx, 4
jmp 0x4160d6
call dword [esi + 0x17004]
mov ebp, dword [esi + 0x1700c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41612f
sub esp, 0xffffff80
jmp 0x4121fc
Function at 0x10006330
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e6e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x1011f8bc
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
sub esp, 8
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [ebp - 0x10], 1
push esi
call fcn.10007e20
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x1011f8c4
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.10008340
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x48], 0
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 byte [esi + 0x3d], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
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 dword [esi + 0x4c], 0
mov eax, dword [0x10142b9c]
mov dword [esi + 0x40], eax
mov eax, dword [0x10142ba0]
mov dword [esi + 0x44], eax
mov dword [esi + 0x38], 0
push ecx
push 1
push dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.10007d50
test eax, eax
jne 0x10006462
mov eax, dword [edi]
push 0
mov ecx, dword [eax + 4]
add ecx, edi
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.1000cf50
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10007a30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1010e758
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x10007b8c
cmp byte [edi + 0x3d], 0
je 0x10007b8c
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10007a88
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], ecx
cmp ecx, 0x10
movq qword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
nop
mov eax, dword [edi + 0x38]
lea ebx, [ebp - 0x2c]
cmp edx, 0x10
lea esi, [ebp - 0x2c]
cmovae ebx, ecx
cmovae esi, ecx
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp eax, vtable.std::codecvt_char__char__struct__Mbstatet_.0
jne 0x10007ae5
mov dword [ebp - 0x10], esi
xor eax, eax
jmp 0x10007b06
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
add eax, ebx
push eax
push esi
lea eax, [edi + 0x40]
push eax
mov eax, dword [ebp - 0x14]
call dword [eax + 0x20]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
sub eax, 0
je 0x10007b19
sub eax, 1
je 0x10007b1d
sub eax, 2
je 0x10007b6a
xor bl, bl
jmp 0x10007b6c
mov byte [edi + 0x3d], 0
cmp edx, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, ecx
sub esi, eax
je 0x10007b4c
push dword [edi + 0x4c]
cmp edx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.100f5fe9
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
cmp esi, eax
jne 0x10007b15
cmp byte [edi + 0x3d], 0
je 0x10007b6a
test esi, esi
jne 0x10007ac0
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.1000d240
jmp 0x10007ab8
mov bl, 1
cmp edx, 0x10
jb 0x10007b79
push 1
inc edx
call fcn.1000d8e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1010e5d6
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100e9ed3
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100e8df1
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e9fa
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.100e9040
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 0x1000c2ff
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.100ec23d
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x1013a7b0
push eax
call fcn.100ec797
push eax
push esi
call fcn.100e8ef4
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 0x1000e300
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x400
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
xor edx, edx
nop
mov esi, edx
mov eax, edx
shr eax, 1
and esi, 1
neg esi
and esi, 0x1edc6f41
xor esi, eax
mov eax, esi
shr esi, 1
and eax, 1
neg eax
and eax, 0x1edc6f41
xor eax, esi
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0x1edc6f41
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0x1edc6f41
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0x1edc6f41
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0x1edc6f41
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0x1edc6f41
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0x1edc6f41
xor eax, ecx
mov dword [esp + edx*4 + 0xc], eax
inc edx
cmp edx, 0x100
jb 0x1000e310
or eax, 0xffffffff
xor esi, esi
test edi, edi
je 0x1000e3c5
movzx edx, byte [esi + ebx]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [esp + edx*4 + 0xc]
cmp esi, edi
jb 0x1000e3b0
pop edi
pop esi
not eax
pop ebx
add esp, 0x400
ret
Function at 0x1000e760
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push 2
mov ebx, ecx
push 0
push ebx
call fcn.100f5d3b
add esp, 0xc
push ebx
call fcn.100f6c83
add esp, 4
mov esi, eax
push esi
call fcn.100ea165
add esp, 4
mov edi, eax
push 0
push 0
push ebx
call fcn.100f5d3b
add esp, 0xc
push ebx
push esi
push 1
push edi
call fcn.100f6e5a
add esp, 0x10
mov edx, esi
mov ecx, edi
call fcn.1000e300
push edi
mov esi, eax
call fcn.100e9b8b
add esp, 4
mov ecx, esi
call fcn.1000e3e0
xor ecx, ecx
test al, al
pop edi
cmove ecx, esi
pop esi
mov eax, ecx
pop ebx
ret

Function at 0x1000f430
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
mov bl, cl
test bl, bl
je 0x1000f46e
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x506aba
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
mov dword [0x506aba], 0x546734
push eax
push dword [esp + 8]
push 4
push 0x506aba
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000f475
or dword [0x1013cfbc], 1
push 0x64
mov edx, str.MouseSensitivity
mov ecx, str.Input
call fcn.1000dcb0
cmp eax, 0x64
je 0x1000f4aa
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov byte [0x10174f80], 1
mulsd xmm0, qword [0x101327d0]
movsd qword [0x101553c8], xmm0
test bl, bl
jne 0x1000f542
push 0
mov edx, str.ReverseMouseButtons
mov ecx, str.Input
call fcn.1000dcb0
test eax, eax
mov edx, str.UseScrollWheel
push 1
mov ecx, str.Input
setne byte [0x1015539c]
call fcn.1000dcb0
test eax, eax
mov edx, str.ScrollMod
push 0
mov ecx, str.Input
setne byte [0x1013ca24]
call fcn.1000dcb0
push 0x30
mov edx, str.MiddleMouse
mov dword [0x10154e8c], eax
mov ecx, str.Input
call fcn.1000dcb0
push 0
mov edx, str.BackgroundKeyboard
mov dword [0x101553c0], eax
mov ecx, str.Input
call fcn.1000dcb0
test eax, eax
mov edx, str.BackgroundMouse
push 0
mov ecx, str.Input
setne byte [0x1015539d]
call fcn.1000dcb0
mov dword [0x1013ca20], eax
pop ebx
pop ecx
ret

Function at 0x1000f550
Capabilities:
Get keyboard layout

Disassembly:
push str.dinput.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp byte [0x10174f83], 0
je 0x1000f56b
mov dword [0x563450], eax
jmp 0x1000f570
mov dword [0x51e450], eax
test eax, eax
jne 0x1000f57a
or eax, 0xffffffff
ret 0x10
push 0x1011fbf0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000f574
push esi
push edi
push dword [esp + 0x18]
mov edi, dword [esp + 0x18]
push edi
push dword [esp + 0x18]
push dword [esp + 0x18]
call eax
mov esi, eax
test esi, esi
js 0x1000f5d6
push 0xc
call fcn.100e9ed3
mov ecx, dword [edi]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [eax], 0x1011fc18
mov dword [eax + 4], ecx
mov dword [eax + 8], 1
push 0
mov dword [edi], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x101553d4], eax
mov eax, esi
pop edi
pop esi
ret 0x10