joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c2f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1029c54
call fcn.01008da7
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x100c34e
call fcn.0100995c
mov esi, eax
jmp 0x100c457
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x100c367
call fcn.0100995c
jmp 0x100c449
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
cmp eax, esi
je 0x100c35d
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x420], edi
cmp eax, edi
jae 0x100c3cd
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100c3b3
lea ecx, [ebp - 0x418]
call fcn.0100a470
mov esi, 0x8007000e
lea ecx, [ebp - 0x424]
call fcn.010085a0
mov eax, esi
call fcn.01008e12
ret 0x10
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0100b300
mov dword [ebp - 4], 1
jmp 0x100c3fb
cmp dword [ebp - 0x418], esi
jne 0x100c40a
mov esi, 0x8007000e
jmp 0x100c44b
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x100c35d
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.0100c094
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100c3b8
lea ecx, [ebp - 0x418]
call fcn.0100a470
jmp 0x100c3b8
Function at 0x100c8d0
Capabilities:
Accept command line arguments
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp eax, ebx
jne 0x100c8ef
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp + 0x14], edi
cmp edi, ebx
je 0x100ca46
mov ecx, dword [ebp - 4]
xor esi, esi
inc esi
cmp ecx, esi
jle 0x100ca46
lea eax, [ecx - 1]
cmp eax, esi
jle 0x100c960
mov eax, dword [edi + esi*4]
cmp eax, ebx
je 0x100c955
push 0x10021b0
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100c955
mov eax, dword [edi + esi*4 + 4]
cmp eax, ebx
je 0x100c955
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x100c94e
mov dword [ecx], eax
cmp dword [ecx], ebx
jne 0x100c955
or dword [ecx], 0xffffffff
mov ecx, dword [ebp - 4]
inc esi
lea eax, [ecx - 1]
cmp esi, eax
jl 0x100c91c
xor ebx, ebx
inc ebx
cmp ecx, ebx
jle 0x100ca1f
lea edi, [edi + ebx*4]
mov eax, dword [edi]
test eax, eax
je 0x100ca05
lea edx, [ebx + 1]
cmp edx, ecx
jge 0x100ca05
mov ecx, dword [ebp + 0x14]
lea esi, [ecx + ebx*4 + 4]
cmp dword [esi], 0
je 0x100ca05
push 0x10021a0
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100c9ca
push 0x1002194
push dword [esi]
mov dword [ebp - 8], 1
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100ca05
mov eax, dword [ebp + 8]
test eax, eax
je 0x100ca05
mov dword [eax], 0x80004005
jmp 0x100ca05
push 0x1002188
push dword [edi]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100c9e9
push dword [esi]
mov ecx, dword [ebp + 0x10]
call fcn.0100c869
jmp 0x100ca05
push 0x100217c
push dword [edi]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x100ca05
push dword [esi]
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
inc ebx
cmp ebx, ecx
jl 0x100c96b
cmp dword [ebp - 8], 0
je 0x100ca1f
push 2
pop ebx
jmp 0x100ca22
xor ebx, ebx
inc ebx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100ca3b
cmp dword [esi], 0
jne 0x100ca3b
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx eax, ax
mov dword [esi], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
jmp 0x100ca50
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x100dc47
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6bc
mov eax, dword [0x1033348]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, 0x40253
je 0x100ddcf
cmp edi, 0x40254
je 0x100ddcf
push 0x7d
lea eax, [ebp - 0x100]
push eax
push 2
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100dcb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100ddd1
and eax, 0xffff
or eax, 0x80070000
jmp 0x100ddd1
and dword [ebp - 0x6bc], 0
push 0x3b8
lea eax, [ebp - 0x6b8]
push 0
push eax
call sub.msvcrt.dll_memset
xor eax, eax
add esp, 0xc
mov word [ebp - 0x59c], ax
mov word [ebp - 0x398], ax
test edi, edi
setge al
push 0x40
add eax, 3
mov dword [ebp - 0x318], eax
lea eax, [ebp - 0x398]
push eax
xor eax, eax
test edi, edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
setl al
add eax, 0x6d
push eax
push dword [esi]
call edi
test eax, eax
je 0x100dc94
mov ebx, 0x100
push ebx
lea eax, [ebp - 0x300]
push eax
xor eax, eax
cmp dword [ebp + 8], eax
setl al
add eax, 0x6f
push eax
push dword [esi]
call edi
test eax, eax
je 0x100dc94
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp - 0x59c]
push ebx
push eax
call fcn.0100da4c
mov edi, eax
xor ebx, ebx
add esp, 0x10
cmp edi, ebx
jge 0x100dd61
cmp edi, 0x8007007a
jne 0x100ddd1
call fcn.0100d4ee
cmp dword [esi + 0x34], ebx
jne 0x100dd7d
push 0x1002968
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x34], eax
mov esi, dword [esi + 0x34]
cmp esi, ebx
je 0x100ddcf
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call fcn.0100d414
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100dd9c
call esi
push dword [ebp - 0x318]
lea eax, [ebp - 0x398]
push eax
lea eax, [ebp - 0x59c]
push eax
call fcn.0100db5c
test eax, eax
je 0x100ddbd
xor edi, edi
jmp 0x100ddcf
call esi
cmp eax, ebx
jle 0x100ddcd
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01008aac
leave
ret 8
Function at 0x100dde7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x560
mov eax, dword [0x1033348]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1034008]
push ebx
push esi
push edi
call fcn.0100d64c
mov eax, dword [0x1034008]
mov byte [eax + 0x38], 1
xor ebx, ebx
push 0x5c
lea eax, [ebp - 0x55c]
push ebx
push eax
mov dword [ebp - 0x560], ebx
call sub.msvcrt.dll_memset
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0xc
mov esi, 0x100
push esi
lea eax, [ebp - 0x300]
push eax
push dword [ebp + 0xc]
mov eax, dword [0x1034008]
push dword [eax]
call edi
test eax, eax
je 0x100df56
push esi
lea eax, [ebp - 0x500]
push eax
push dword [ebp + 0x10]
mov eax, dword [0x1034008]
push dword [eax]
call edi
test eax, eax
je 0x100df56
push 0x7d
lea eax, [ebp - 0x100]
push eax
push 2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100deae
push 0x10029f0
push esi
lea eax, [ebp - 0x300]
push eax
call fcn.0100d9d6
lea eax, [ebp - 0x100]
push eax
push esi
lea eax, [ebp - 0x300]
push eax
call fcn.0100d9d6
mov eax, dword [0x1034008]
push 8
pop esi
mov dword [ebp - 0x560], 0x60
mov dword [ebp - 0x554], esi
mov ecx, dword [eax]
mov dword [ebp - 0x558], ecx
mov eax, dword [eax + 0x248]
mov dword [ebp - 0x55c], eax
lea eax, [ebp - 0x300]
mov dword [ebp - 0x54c], eax
lea eax, [ebp - 0x500]
mov dword [ebp - 0x544], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x548], 0xffff
mov dword [ebp - 0x504], 0xe6
mov dword [ebp - 0x550], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x100df56
push 1
push esi
call fcn.0100d1a6
test eax, eax
jl 0x100df50
push 2
call sub.DUI70.dll_InitThread
test eax, eax
jl 0x100df46
push ebx
push ebx
push ebx
lea eax, [ebp - 0x560]
push eax
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
call sub.DUI70.dll_UnInitThread
push 0x1000000
call sub.DUI70.dll_UnInitProcessPriv
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01008aac
leave
ret 0x10
Function at 0x100df6c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x760
mov eax, dword [0x1033348]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1034008]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
call fcn.0100d64c
xor esi, esi
push 0x5c
lea eax, [ebp - 0x75c]
push esi
push eax
mov dword [ebp - 0x760], esi
call sub.msvcrt.dll_memset
xor eax, eax
push 0x1fe
mov word [ebp - 0x500], ax
lea eax, [ebp - 0x4fe]
push esi
push eax
call sub.msvcrt.dll_memset
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0x18
mov esi, 0x100
push esi
lea eax, [ebp - 0x300]
push eax
push dword [ebp + 8]
mov eax, dword [0x1034008]
push dword [eax]
call edi
test eax, eax
je 0x100e12d
push esi
lea eax, [ebp - 0x700]
push eax
push dword [ebp + 0xc]
mov eax, dword [0x1034008]
push dword [eax]
call edi
test eax, eax
je 0x100e12d
cmp dword [ebp + 0x10], 0
je 0x100e026
push esi
lea eax, [ebp - 0x500]
push eax
push dword [ebp + 0x10]
mov eax, dword [0x1034008]
push dword [eax]
call edi
jmp 0x100e029
xor eax, eax
inc eax
test eax, eax
je 0x100e12d
push 0x7d
lea eax, [ebp - 0x100]
push eax
push 2
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100e06f
push 0x10029f0
push esi
lea eax, [ebp - 0x300]
push eax
call fcn.0100d9d6
lea eax, [ebp - 0x100]
push eax
push esi
lea eax, [ebp - 0x300]
push eax
call fcn.0100d9d6
mov eax, dword [0x1034008]
mov dword [ebp - 0x760], 0x60
mov dword [ebp - 0x754], 9
mov ecx, dword [eax]
mov dword [ebp - 0x758], ecx
mov eax, dword [eax + 0x248]
mov dword [ebp - 0x75c], eax
lea eax, [ebp - 0x300]
mov dword [ebp - 0x74c], eax
lea eax, [ebp - 0x700]
mov dword [ebp - 0x744], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x750], eax
lea eax, [ebp - 0x500]
xor esi, esi
push esi
mov dword [ebp - 0x748], 0xffff
mov dword [ebp - 0x70c], ebx
mov dword [ebp - 0x704], 0xe6
mov dword [ebp - 0x740], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x100e12d
push 1
push 8
call fcn.0100d1a6
test eax, eax
jl 0x100e127
push 2
call sub.DUI70.dll_InitThread
test eax, eax
jl 0x100e11d
push esi
push esi
push esi
lea eax, [ebp - 0x760]
push eax
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
call sub.DUI70.dll_UnInitThread
push 0x1000000
call sub.DUI70.dll_UnInitProcessPriv
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01008aac
leave
ret 0x18
Function at 0x100ea25
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0xa
mov esi, ecx
push 0x82
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x100eabb
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
shr ebx, 2
mov eax, 0x400
cmp ebx, eax
mov dword [ebp - 8], ebx
jl 0x100ea66
mov dword [ebp - 8], eax
mov ebx, eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100eabb
test ebx, ebx
je 0x100eabb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x100eab2
and dword [ebp - 4], 0
test ebx, ebx
jle 0x100eab2
mov edi, eax
cmp word [edi], 0
je 0x100eab2
movzx ebx, word [edi + 2]
push edi
lea ecx, [esi + 0x10]
call fcn.0100e9f4
inc dword [ebp - 4]
mov dword [eax], ebx
mov eax, dword [ebp - 4]
add edi, 4
cmp eax, dword [ebp - 8]
jl 0x100ea8f
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0xa
push 0x83
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x100eb44
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
shr ebx, 2
mov eax, 0x400
cmp ebx, eax
mov dword [ebp - 4], ebx
jl 0x100eaef
mov dword [ebp - 4], eax
mov ebx, eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100eb44
test ebx, ebx
je 0x100eb44
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x100eb3b
and dword [ebp - 8], 0
test ebx, ebx
jle 0x100eb3b
mov edi, eax
cmp word [edi], 0
je 0x100eb3b
movzx ebx, word [edi + 2]
push edi
lea ecx, [esi + 0x20]
call fcn.0100e9f4
inc dword [ebp - 8]
mov dword [eax], ebx
mov eax, dword [ebp - 8]
add edi, 4
cmp eax, dword [ebp - 4]
jl 0x100eb18
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100eda8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push dword [0x10334cc]
mov dword [ebp - 4], esi
push 0x80000001
mov dword [ebp - 8], esi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x100ee25
push edi
push 4
pop edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push esi
push dword [0x10334e8]
mov dword [ebp - 0xc], edi
push dword [ebp - 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x100ee03
mov dword [ebp - 0xc], edi
cmp dword [ebp - 4], 0xffffffff
jae 0x100ee0c
inc dword [ebp - 4]
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [0x10334e8]
push dword [ebp - 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
pop edi
cmp dword [ebp - 8], esi
pop esi
je 0x100ee34
push dword [ebp - 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x100ef05
Capabilities:
Create thread
Get keyboard layout
Identify system language via api

Disassembly:
push 0xd0
mov eax, 0x1029e26
call fcn.01008cf9
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [sym.imp.USER32.dll_GetKeyboardLayout]
xor ebx, ebx
mov dword [ebp + 0x10], eax
cmp eax, ebx
jne 0x100ef31
push ebx
call edi
movzx eax, ax
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0xdc]
call fcn.01027ad2
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], ebx
call fcn.010285d1
cmp eax, ebx
push dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
jge 0x100ef75
call fcn.0100e1c3
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.01028e16
mov eax, esi
call fcn.01008de5
ret 0xc
lea ecx, [ebp - 0xdc]
call fcn.010280a1
test eax, eax
jne 0x100efad
push ebx
call edi
movzx eax, ax
cmp dword [ebp + 0x10], eax
jne 0x100ef94
push 0x59
pop eax
jmp 0x100ef96
xor eax, eax
push dword [ebp + 0x10]
push ebx
push 0x20
push eax
push 0x58
push 0x54
call fcn.0100df6c
mov esi, 0x80070057
jmp 0x100ef5c
cmp dword [esi + 0x17c], ebx
je 0x100f055
mov eax, dword [0x1034008]
cmp dword [eax + 4], ebx
jne 0x100f055
push ebx
push ebx
lea eax, [ebp + 0x10]
push eax
push 0x100d5af
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x1034008]
mov dword [ecx + 0x44], eax
mov eax, dword [0x1034008]
cmp dword [eax + 0x44], ebx
jne 0x100f004
mov esi, 0x80004005
jmp 0x100ef5c
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1034008]
cmp dword [eax + 4], ebx
je 0x100eff7
lea ecx, [ebp - 0x50]
call fcn.0101e780
mov eax, dword [0x1034008]
push ebx
push dword [eax + 4]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.0101ef0b
cmp eax, ebx
mov dword [ebp - 0x10], eax
jge 0x100f04a
push 0x20
push 0x5d
push 0x5c
push 0xffffffffffffffff
call fcn.0100dde7
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.0101e877
jmp 0x100ef59
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.0101e877
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test eax, eax
je 0x100f0ac
xor eax, eax
cmp dword [ebp + 8], ebx
mov ecx, esi
sete al
mov edi, eax
mov eax, dword [esi]
call dword [eax + 0xa8]
xor ecx, ecx
test al, al
setne cl
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 2
pop ecx
mov edx, edi
shl edx, 2
or edx, esi
or edx, ecx
push edx
push ecx
movzx eax, ax
push eax
push ecx
push dword [ebp + 0x10]
push ecx
push 3
push 0x507
call fcn.0102933f
add esp, 0x20
cmp dword [ebp + 8], ebx
je 0x100f0cc
mov eax, dword [0x1034008]
push 0x10029f8
push dword [ebp + 8]
add eax, 0x48
push 0x100
push eax
call fcn.0100daab
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jle 0x100ef59
mov ecx, dword [0x1034008]
mov dword [ecx + 8], eax
jmp 0x100ef59
Function at 0x100f226
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
push 2
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x10
push 0x1002abc
push dword [0x10334cc]
mov dword [ebp - 8], 4
push 0x80000001
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x100f26a
cmp dword [ebp - 4], esi
ja 0x100f26a
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
leave
ret

Function at 0x100f274
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegGetValueW]
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x10
mov ebx, 0x1002b3c
push ebx
mov edi, 0x1002ae0
push edi
push 0x80000002
mov dword [ebp - 4], 2
mov dword [ebp - 8], 4
call esi
test eax, eax
jne 0x100f2bb
cmp dword [ebp - 4], 2
jb 0x100f2db
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x10
push ebx
push edi
push 0x80000001
mov dword [ebp - 8], 4
call esi
test eax, eax
jne 0x100f2e3
mov eax, dword [ebp - 4]
cmp eax, 2
jbe 0x100f2e6
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100f2f0
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 2
push esi
push esi
push esi
push dword [0x10334cc]
mov dword [ebp - 4], esi
push 0x80000001
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x100f33a
movzx eax, byte [ebp + 8]
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x1002abc
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
cmp dword [ebp - 4], esi
pop esi
je 0x100f349
push dword [ebp - 4]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
leave
ret 4
Function at 0x1011d59
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x102a01d
call fcn.01008cf9
xor edi, edi
push 0x103451c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call fcn.0100a535
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
push dword [0x10334cc]
mov dword [ebp - 4], edi
push 0x80000001
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
cmp ebx, edi
jne 0x1011e06
mov eax, dword [0x103440c]
push dword [eax + 0x90]
lea eax, [ebp - 0x18]
push 0x1002ca4
push eax
call fcn.01011bb1
add esp, 0xc
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCreateKeyExW]
mov ebx, eax
cmp ebx, edi
jne 0x1011e06
mov esi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
push 4
lea eax, [ebp + 8]
push eax
push 4
push edi
push 0x1002c90
push dword [ebp - 0x10]
call esi
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push edi
push 0x1002c78
push dword [ebp - 0x10]
call esi
mov esi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp dword [ebp - 0x14], edi
je 0x1011e16
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x10], edi
je 0x1011e20
push dword [ebp - 0x10]
call esi
cmp ebx, edi
jle 0x1011e30
and ebx, 0xffff
or ebx, 0x80070000
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0100a344
mov eax, ebx
call fcn.01008de5
ret 8
Function at 0x101f267
Capabilities:
Create process on windows
Identify system language via api

Disassembly:
push 0x40
mov eax, 0x102ae93
call fcn.01008cf9
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x103451c
lea ecx, [ebp - 0x10]
movzx esi, ax
call fcn.0100a535
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0x1004768
push eax
call fcn.01011bb1
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x4c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x1c
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], 0x100475c
mov dword [ebp - 0x48], 0x400
mov dword [ebp - 0x30], 0xa
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esi - 0x10]
call fcn.0100a344
call fcn.01008de5
ret 4

Function at 0x101f2ee
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
movzx edi, word [ebp + 8]
push 0
push 0
push dword [ebp + 0xc]
push edi
call esi
mov dword [ebp + 8], eax
test eax, eax
jne 0x101f317
mov eax, 0x8000ffff
jmp 0x101f357
push ebx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01008725
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x101f33a
mov eax, 0x8007000e
jmp 0x101f356
push dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
push edi
call esi
mov ecx, dword [ebp + 0x10]
push ebx
call fcn.0100c869
push ebx
call fcn.01008714
pop ecx
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1020a87
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1033348]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x4c
xor ebx, ebx
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push 2
push 0x1004d88
push dword [0x1033d30]
mov dword [ebp - 0x58], 0x4e
push 0x80000001
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x1020af2
push esi
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.RPCRT4.dll_UuidFromStringW]
test eax, eax
jne 0x1020af2
mov bl, 1
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.01008aac
leave
ret 4

Function at 0x1020b98
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.01020a87
test al, al
jne 0x1020bb8
push dword [ebp + 8]
call dword [sym.imp.RPCRT4.dll_UuidCreate]
pop ebp
jmp fcn.01020b09
pop ebp
ret 4