joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001304
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [0x10001780]
imul eax, eax, 0x8088405
inc eax
mov dword [0x10001780], eax
ret

Function at 0x1000133c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor eax, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xchg ah, al
lodsb al, byte [esi]
xor al, ah
stosb byte es:[edi], al
jne 0x10001349
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x10001358
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push 4
mov esi, 0x100000
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], esi
call dword [sym.imp.WININET.DLL_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x1000139c
lea ecx, [ebp - 4]
push ecx
push 0x84080700
push ebx
push ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.DLL_InternetOpenUrlA]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x100013a3
xor eax, eax
jmp 0x1000146f
push edi
push esi
call fcn.10001329
mov edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
push esi
mov esi, dword [sym.imp.WININET.DLL_InternetReadFile]
mov dword [ebp - 0xc], edi
jmp 0x100013d0
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x100013dc
add edi, eax
sub dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push edi
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x100013bd
jmp 0x10001452
mov ecx, dword [ebp - 0xc]
sub edi, ecx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 8], edi
je 0x100013ee
cmp edi, dword [ebp + 0x10]
jl 0x10001452
cmp dword [ebp + 0x18], ebx
je 0x1000141a
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x1000141a
cmp edi, dword [ebp + 0x18]
jl 0x10001452
xor edx, edx
cmp dword [ebp + 0x18], ebx
jle 0x1000141a
sub ecx, eax
movzx esi, byte [ecx + eax]
movsx edi, byte [eax]
cmp esi, edi
jne 0x10001452
inc edx
inc eax
cmp edx, dword [ebp + 0x18]
jl 0x10001408
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001452
mov edi, dword [ebp - 8]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x14], edi
push dword [ebp - 0xc]
call fcn.10001316
mov esi, dword [sym.imp.WININET.DLL_InternetCloseHandle]
pop ecx
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001482
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
push esi
push edi
push 0x104
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push edi
call esi
add eax, edi
push eax
push dword [0x10001770]
call fcn.1000133c
add esp, 8
push edi
call esi
add edi, eax
call dword [sym.imp.KERNEL32.DLL_GetVersion]
cmp eax, 0x80000000
lea eax, [ebp - 0x34c]
push eax
jae 0x100014f3
push dword [0x1000176c]
call fcn.1000133c
add esp, 8
jmp 0x1000150b
push dword [0x10001774]
call fcn.1000133c
sub edi, 3
mov byte [edi], 0x5c
add esp, 8
inc edi
mov byte [edi], 0
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x10001604
mov dword [ebp + 8], edi
call fcn.10001304
mov esi, eax
and esi, 3
add esi, 5
test esi, esi
jle 0x100015e8
push ebx
call fcn.10001304
push 0x1e
xor edx, edx
pop ecx
div ecx
test edx, edx
je 0x1000157c
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x10001558
xor ecx, ecx
cmp byte [ebp - 0x11c], 0x2e
je 0x100015da
inc ecx
cmp byte [ebp + ecx - 0x11c], 0x2e
jne 0x10001587
cmp ecx, 4
jl 0x100015da
call fcn.10001304
add ecx, 0xfffffffe
xor edx, edx
div ecx
mov ebx, edx
call fcn.10001304
xor edx, edx
push 3
pop ecx
div ecx
xor ecx, ecx
inc edx
inc edx
test edx, edx
jle 0x100015da
lea eax, [ebp + ebx - 0x11c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov al, byte [eax + ecx]
cmp al, 0x2e
je 0x100015d5
mov ebx, dword [ebp + 8]
inc dword [ebp + 8]
mov byte [ebx], al
inc ecx
cmp ecx, edx
jl 0x100015c3
mov eax, dword [ebp + 8]
sub eax, edi
cmp eax, esi
jl 0x10001558
pop ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0x10001760
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
xor eax, eax
inc eax
jmp 0x10001606
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x100016f4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x10001780], eax
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
cmp dword [ebp + 8], 2
mov dword [0x10001784], eax
jne 0x10001728
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push eax
push 0x1000160a
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
xor eax, eax
pop ebp
ret 8
Function at 0x69a4a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1ac000]
push edi
or ebp, 0xffffffff
jmp 0x69a4c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x69a4c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69a4b8
mov eax, 1
add ebx, ebx
jne 0x69a4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x69a4ec
jne 0x69a50b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69a50b
dec eax
add ebx, ebx
jne 0x69a4f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x69a4d0
add ebx, ebx
jne 0x69a507
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x69a55d
xor ecx, ecx
sub eax, 3
jb 0x69a523
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x69a592
sar eax, 1
mov ebp, eax
jmp 0x69a52e
add ebx, ebx
jne 0x69a52e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69a4fc
inc ecx
add ebx, ebx
jne 0x69a53c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69a4fc
add ebx, ebx
jne 0x69a549
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x69a53e
jne 0x69a55a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x69a53e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x69a57c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x69a56e
jmp 0x69a4be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x69a57c
add edi, ecx
jmp 0x69a4be
pop esi
mov edi, esi
mov ecx, 0xa239
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x69a59a
cmp byte [edi], 0x1e
jne 0x69a59a
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 0x69a59f
lea edi, [esi + 0x289000]
mov eax, dword [edi]
or eax, eax
je 0x69a60e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2b5538]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2b5648]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x69a5cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2b5650]
or eax, eax
je 0x69a608
mov dword [ebx], eax
add ebx, 4
jmp 0x69a5e9
call dword [esi + 0x2b564c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x69a63f
cmp al, 0xef
ja 0x69a632
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x69a614
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x69a621
mov ebp, dword [esi + 0x2b5654]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x69a673
sub esp, 0xffffff80
jmp 0x574b34
Function at 0x6b6c2b60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [ebp + 8]
test eax, eax
jne 0x6b6c2c00
mov dword [esp + 8], 8
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6c2c07
mov edx, dword [ebp + 0xc]
mov dword [eax], str.__lk
xor ebx, ebx
mov dword [eax + 4], 1
mov dword [edx], eax
test byte [0x6b6d7018], 8
jne 0x6b6c2bc8
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6b6d90b9
mov dword [esp + 8], str.CategoryMgr_Constructor
mov dword [esp + 4], 0x6b6d7018
mov dword [esp], 3
call fcn.6b6c1570
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov ebx, 0x80040110
jmp 0x6b6c2bbb
mov ebx, 0x8007000e
jmp 0x6b6c2bbb

Function at 0x6b6c3360
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
push ebx
mov ebx, edx
mov eax, dword fs:[0x18]
sub esp, 0x20
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6c3401
mov edx, dword [esi]
mov ecx, 0
mov dword [ebx], eax
mov dword [eax], 0x6b6d97e4
cmp esi, edx
mov dword [eax + 4], 1
cmove edx, ecx
mov dword [eax + 8], esi
xor ebx, ebx
mov dword [eax + 0xc], edx
test byte [0x6b6d7028], 8
jne 0x6b6c33d0
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6b6d950d
mov dword [esp + 8], str.CompartmentEnumGuid_Constructor
mov dword [esp + 4], 0x6b6d7028
mov dword [esp], 3
call fcn.6b6c2e00
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov ebx, 0x8007000e
jmp 0x6b6c33c4

Function at 0x6b6c4200
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, dword fs:[0x18]
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0xc]
add eax, 0xc
mov dword [ebp - 0x1c], eax
mov esi, dword [ebx]
cmp ebx, eax
je 0x6b6c4267
lea esi, [esi]
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx]
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
sub esp, 4
mov dword [esp + 8], ebx
mov ebx, esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [esi]
sub esp, 0xc
cmp dword [ebp - 0x1c], ebx
jne 0x6b6c4228
mov edx, dword [ebp + 8]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6b6c4300
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x6b6c446b
test esi, esi
je 0x6b6c43e0
mov eax, dword [0x6b6e3778]
cmp dword [edi], eax
je 0x6b6c4340
mov edi, 0x80040110
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x6b6e377c]
cmp dword [edi + 4], eax
jne 0x6b6c432b
mov eax, dword [0x6b6e3780]
cmp dword [edi + 8], eax
jne 0x6b6c432b
mov eax, dword [0x6b6e3784]
cmp dword [edi + 0xc], eax
jne 0x6b6c432b
mov dword [esp + 8], 0x14
xor edi, edi
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6c4475
lea edx, [eax + 0xc]
mov dword [eax], 0x6b6d9800
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], edx
mov dword [ebx], eax
test byte [0x6b6d7028], 8
je 0x6b6c4330
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6b6d950d
mov dword [esp + 8], str.CompartmentMgr_Constructor
mov dword [esp + 4], 0x6b6d7028
mov dword [esp], 3
call fcn.6b6c2e00
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x14
mov dword [esp + 4], 8
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x6b6c4475
lea eax, [edx + 0xc]
mov dword [edx], 0x6b6d9800
mov dword [edx + 8], 0
mov dword [edx + 0x10], eax
mov dword [edx + 0xc], eax
mov dword [esp + 4], edi
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [ebp - 0x1c], edx
call fcn.6b6c2e50
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov edi, eax
jns 0x6b6c4330
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6b6c4330
mov edi, 0x80004003
jmp 0x6b6c4330
mov edi, 0x8007000e
jmp 0x6b6c4330
Function at 0x6b6c82d0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
push ebx
mov ebx, edx
mov eax, dword fs:[0x18]
sub esp, 0x20
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6c8361
mov dword [ebx], eax
xor ebx, ebx
mov dword [eax], 0x6b6da6e8
mov dword [eax + 4], 1
mov dword [eax + 0xc], esi
test byte [0x6b6d7058], 8
jne 0x6b6c8330
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6b6da4a3
mov dword [esp + 8], str.EnumTfContext_Constructor
mov dword [esp + 4], 0x6b6d7058
mov dword [esp], 3
call fcn.6b6c7860
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov ebx, 0x8007000e
jmp 0x6b6c8325

Function at 0x6b6c8960
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov dword [esp + 8], 0x28
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6c8a49
mov ebx, eax
mov dword [eax], 0x6b6da720
xor esi, esi
mov dword [eax + 4], 0x6b6da704
mov dword [eax + 8], 1
mov eax, dword [ebp + 8]
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x20]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6b6e3778
mov dword [esp], ebx
call fcn.6b6c4300
lea eax, [ebp - 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [0x6b6ec008]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6b6c6e50
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
test byte [0x6b6d7058], 8
jne 0x6b6c8a18
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6b6da4a3
mov dword [esp + 8], str.DocumentMgr_Constructor
mov dword [esp + 4], 0x6b6d7058
mov dword [esp], 3
call fcn.6b6c7860
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov esi, 0x8007000e
jmp 0x6b6c8a0b
Function at 0x6b6c8ca0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x1ec
mov eax, dword [eax + 0x60]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x1cc], 0x27
test eax, eax
je 0x6b6c8df0
mov edx, dword [ebx + 0x64]
lea ecx, [ebp - 0x1cc]
lea edi, [ebp - 0x1b6]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
sub esp, 0x20
test eax, eax
je 0x6b6c8d1c
cmp eax, 0xea
jne 0x6b6c8e68
add dword [ebx + 0x64], 1
test esi, esi
je 0x6b6c8de0
lea eax, [ebp - 0x1c8]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov edx, eax
sub esp, 8
xor eax, eax
test edx, edx
js 0x6b6c8de5
mov eax, dword [ebp + 8]
add esi, 0x14
mov dword [esi - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esi - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esi - 8], eax
movzx eax, word [ebx + 0x68]
mov word [esi - 4], ax
lea eax, [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.6b6cf650
lea ecx, [ebp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x1c8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x1c4]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x1bc]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0x6b6d7074
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x14
test eax, eax
jne 0x6b6c8e90
lea esi, [esi]
nop
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, word [ebx + 0x68]
lea edi, [ebp - 0x168]
mov dword [esp + 0x10], str.LanguageProfile
mov dword [esp + 8], str._s_s0x_08x
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xa8
mov dword [esp], edi
call fcn.6b6c8c50
lea eax, [ebx + 0x60]
mov dword [esp + 4], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], 0x2001f
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x6b6c8e77
mov dword [ebx + 0x64], 0
mov eax, dword [ebx + 0x60]
xor edx, edx
jmp 0x6b6c8cc9
mov eax, dword [ebx + 0x60]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov dword [ebx + 0x60], 0
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x6c]
lea ecx, [ebp + 8]
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0x14
jmp 0x6b6c8de0
Function at 0x6b6c9780
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov edi, dword fs:[0x18]
sub esp, 0x4c
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6c9895
mov dword [eax], 0x6b6db5c0
mov ebx, eax
lea eax, [eax + 8]
mov dword [eax - 4], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftCTFTIP
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
mov edx, eax
test eax, eax
jne 0x6b6c9870
mov dword [esi], ebx
test byte [0x6b6d7080], 8
jne 0x6b6c9838
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6b6da7de
mov dword [esp + 8], str.ProfilesEnumGuid_Constructor
mov dword [esp + 4], 0x6b6d7080
mov dword [esp], 3
mov dword [ebp - 0x1c], eax
call fcn.6b6c9140
mov edx, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, 0x80004005
sub esp, 0xc
jmp 0x6b6c982b
mov edx, 0x8007000e
jmp 0x6b6c982b
Function at 0x6b6c9f20
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov edi, dword fs:[0x18]
sub esp, 0x4c
mov dword [ebp - 0x1c], edx
mov dword [esp + 8], 0x70
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6b6ca088
mov word [eax + 0x68], bx
mov esi, eax
lea eax, [eax + 0x6c]
mov dword [eax - 0x6c], 0x6b6db5a4
mov dword [eax - 0x68], 1
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.6b6c2b60
mov ebx, eax
test eax, eax
js 0x6b6ca038
lea eax, [esi + 8]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftCTFTIP
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
mov ebx, eax
test eax, eax
jne 0x6b6ca060
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
test byte [0x6b6d7080], 8
jne 0x6b6ca000
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6b6da7de
mov dword [esp + 8], str.EnumTfLanguageProfiles_Constructor
mov dword [esp + 4], 0x6b6d7080
mov dword [esp], 3
call fcn.6b6c9140
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], esi
mov ebx, 0x80004005
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6b6c9ff3
mov ebx, 0x8007000e
jmp 0x6b6c9ff3

Function at 0x6b6cdd70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov eax, dword [ebp + 8]
test eax, eax
jne 0x6b6cde38
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6b6cde3f
mov dword [eax], 0x6b6db640
xor esi, esi
mov dword [eax + 4], 0x6b6db5dc
mov dword [eax + 8], 0x6b6db600
mov dword [eax + 0xc], 1
call dword [sym.imp.kernel32.dll_GetUserDefaultLCID]
mov word [ebx + 0x10], ax
lea eax, [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
test byte [0x6b6d7080], 8
jne 0x6b6cde00
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6b6da7de
mov dword [esp + 8], str.InputProcessorProfiles_Constructor
mov dword [esp + 4], 0x6b6d7080
mov dword [esp], 3
call fcn.6b6c9140
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov esi, 0x80040110
jmp 0x6b6cddf3
mov esi, 0x8007000e
jmp 0x6b6cddf3