joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43502b
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x4862d5
call fcn.00466fdc
sub esp, 0x4e0
push ebx
push esi
push edi
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.00467690
push 0x44
lea eax, [ebp - 0x74]
pop esi
push esi
push ebx
push eax
call fcn.00467690
add esp, 0x18
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x74], esi
mov word [ebp - 0x44], bx
push 1
pop edi
mov dword [ebp - 0x48], edi
je 0x435073
mov word [ebp - 0x44], di
push dword [ebp + 8]
lea eax, [ebp - 0x4ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0xf]
push edi
push eax
lea eax, [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00401884
mov eax, dword [eax + 8]
mov dword [ebp - 4], ebx
cmp eax, ebx
mov dword [ebp - 0x14], 0x48b67c
je 0x4350ae
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xb]
push edi
mov esi, str.C:CodeBasesisdev_srcRuntimeMSISharedSetuputils.cpp
push eax
push esi
lea ecx, [ebp - 0x9c]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x4350d4
mov eax, 0x48b67c
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x4e9
push str.Attempting_to_launch__no_wait_:__s
push eax
call fcn.0040a552
add esp, 0xc
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], bl
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00401093
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push 0x20
push edi
push ebx
lea eax, [ebp - 0x4ec]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0xd]
push edi
push eax
push esi
lea ecx, [ebp - 0xec]
call fcn.00401884
mov eax, dword [eax + 8]
mov dword [ebp - 4], 2
cmp eax, ebx
jne 0x435153
mov eax, 0x48b67c
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x4ee
push str.Launch_result__d
push eax
call fcn.0040a552
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0xec]
call fcn.00401093
cmp dword [ebp + 0xc], ebx
pop edi
pop esi
pop ebx
je 0x435196
push 0x3e8
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4351c2
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea eax, [ebp - 8]
push edi
xor ebx, ebx
push eax
push ebx
push 8
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x435225
call esi
cmp eax, 0x3f0
jne 0x43521c
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
je 0x435294
cmp eax, ebx
je 0x435294
lea eax, [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
push dword [ebp - 8]
call edi
test eax, eax
jne 0x435294
call esi
cmp eax, 0x7a
jne 0x435294
push dword [ebp - 4]
call fcn.0046712e
mov esi, eax
pop ecx
lea eax, [ebp - 4]
cmp esi, ebx
push eax
push dword [ebp - 4]
setne byte [ebp - 0x24]
push esi
push 2
push dword [ebp - 8]
call edi
test eax, eax
je 0x435288
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x1c]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x435298
cmp byte [ebp - 0x24], bl
je 0x435294
push esi
call fcn.00438016
pop ecx
xor eax, eax
jmp 0x4352e3
xor edi, edi
cmp dword [esi], ebx
mov dword [ebp - 0x14], ebx
jbe 0x4352cb
lea eax, [esi + 4]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4352c4
add dword [ebp - 0xc], 8
inc edi
cmp edi, dword [esi]
jb 0x4352a7
jmp 0x4352cb
mov dword [ebp - 0x14], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [ebp - 0x24], bl
je 0x4352e0
push esi
call fcn.00438016
pop ecx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4352e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov ecx, dword [ebp + 8]
cmp dword [0x4abef8], ecx
jne 0x435303
mov eax, dword [0x4a40a4]
cmp eax, 0xffffffff
jne 0x435343
lea eax, [ebp - 0x14]
push 0x14
push eax
push 0x1004
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x43533d
lea eax, [ebp - 0x14]
push eax
call fcn.00468ada
pop ecx
lea ecx, [ebp - 0x34]
push 2
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x43533d
movsx eax, word [ebp - 0x34]
mov dword [0x4a40a4], eax
mov ax, word [0x4a40a4]
leave
ret
Function at 0x4357d1
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x48634f
call fcn.00466fdc
sub esp, 0x460
and byte [ebp - 0x33c], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x33b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, 0x104
lea eax, [ebp - 0x33c]
push ebx
push eax
push dword [0x4abe90]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x33c]
lea ecx, [ebp - 0x46c]
push eax
call fcn.0043269e
and byte [ebp - 0x134], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x4ab230
mov ecx, esi
stosb byte es:[edi], al
call fcn.00401a14
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.0043599e
pop ecx
test eax, eax
pop ecx
je 0x4358c2
and byte [ebp - 0x238], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x237]
mov byte [ebp - 0xd], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x134]
push eax
push 0
lea eax, [ebp - 0x238]
push 0x4a42e4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x134]
push 0
push eax
mov ecx, esi
call fcn.00401a14
push eax
lea ecx, [ebp - 0x46c]
call fcn.0043345c
jmp 0x43591f
mov eax, 0x4ab258
mov ecx, eax
test ecx, ecx
je 0x4358e6
cmp byte [0x4ab258], 0
je 0x4358e6
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x43591b
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x33c]
push eax
call fcn.0043484b
mov ecx, esi
call fcn.00401a14
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00434a91
and byte [ebp - 0xd], 0
lea ecx, [ebp - 0x30]
call fcn.004028f6
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0040293e
push dword [ebp + 0x14]
lea ecx, [ebp - 0x30]
push dword [ebp + 0x10]
push 0x4a9e54
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402b3d
cmp byte [ebp - 0xd], 0
pop edi
pop esi
pop ebx
je 0x435969
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00403091
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403aee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x46c]
call fcn.00432cde
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x435ce1
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x486410
call fcn.00466fdc
sub esp, 0x60
push ebx
push esi
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x6c]
push dword [0x48c0c0]
call fcn.00401884
lea eax, [ebp - 0xe]
push 1
push eax
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00401884
mov esi, dword [ebp + 0xc]
push 0xa
lea eax, [ebp - 0x6c]
push ebx
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0042d9e4
lea ecx, [ebp - 0x44]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], bl
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00401093
cmp dword [ebp + 0xc], 4
jne 0x435df9
lea eax, [ebp - 0x6c]
push 4
push eax
mov ecx, esi
call fcn.0040a446
push str.1.20.1827.0
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.004042dd
push eax
call fcn.00434d42
pop ecx
pop ecx
test eax, eax
setge byte [ebp + 0xf]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00402438
cmp byte [ebp + 0xf], bl
je 0x435da0
mov esi, 0x300
jmp 0x435e59
lea eax, [ebp + 0xf]
push 1
push eax
lea ecx, [ebp - 0x44]
push dword [0x48c0d4]
call fcn.00401884
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x6c]
push dword [ebp + 8]
mov dword [ebp - 4], 3
call fcn.00401884
push 0xa
lea eax, [ebp - 0x44]
push ebx
push eax
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.0042d9e4
lea ecx, [ebp - 0x6c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
jmp 0x435e50
lea eax, [ebp + 0xf]
push 1
push eax
lea ecx, [ebp - 0x44]
push dword [0x48c0d4]
call fcn.00401884
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x6c]
push dword [ebp + 8]
mov dword [ebp - 4], 5
call fcn.00401884
push 0xa
lea eax, [ebp - 0x44]
push ebx
push eax
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
mov byte [ebp - 4], 6
call fcn.0042d9e4
lea ecx, [ebp - 0x6c]
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401093
cmp esi, ebx
je 0x435ecb
mov dword [ebp + 8], ebx
push 0x20019
push str.SystemCurrentControlSetControlWindows
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 7
call fcn.00416db9
test eax, eax
jne 0x435ebd
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.CSDVersion
mov dword [ebp - 0x1c], ebx
push dword [ebp + 8]
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x14], esi
jae 0x435ebd
cmp dword [ebp + 8], ebx
je 0x435eb9
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x435ece
cmp dword [ebp + 8], ebx
je 0x435ecb
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4384ce
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4864fe
call fcn.00466fdc
sub esp, 0xf4
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 0x30]
mov dword [ebp - 4], esi
test bl, 0x10
je 0x438520
lea ecx, [ebp + 8]
call fcn.004315aa
test al, al
je 0x438520
push ebx
lea eax, [ebp + 8]
sub esp, 0x28
mov ecx, esp
mov dword [ebp + 0x30], esp
push 1
push eax
call fcn.00407ae3
call fcn.004389e2
add esp, 0x2c
mov bl, al
jmp 0x43869d
sub esp, 0x28
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push esi
push eax
mov dword [ecx], 0x48b6a8
mov dword [ecx + 0x20], 0x48b6a0
call fcn.00403d4e
call fcn.00442076
add esp, 0x28
cmp eax, 0xffffffff
je 0x43856d
test bl, 4
je 0x438555
test al, 0x10
je 0x438566
test bl, 8
je 0x43869b
test al, 0x10
je 0x43869b
mov bl, 1
jmp 0x43869d
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov esi, eax
cmp esi, 2
je 0x4386ad
cmp esi, 3
je 0x4386ad
push 1
cmp esi, 5
pop ebx
jne 0x438622
lea ecx, [ebp - 0x100]
call fcn.00438953
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 8]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
push eax
call fcn.00407ae3
call fcn.00441f20
add esp, 0x2c
cmp eax, 0xffffffff
je 0x43860f
test byte [ebp + 0x30], 4
je 0x4385dd
test byte [ebp - 0x100], 0x10
je 0x4385ee
test byte [ebp + 0x30], 8
je 0x4385ec
test byte [ebp - 0x100], 0x10
jne 0x4385ee
xor bl, bl
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
test ecx, ecx
je 0x4385fb
push eax
call ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.004389ac
jmp 0x43869d
call edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
mov esi, eax
call fcn.004389ac
test byte [ebp + 0x30], 0x20
je 0x43869b
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x48cd0c
mov dword [ebp - 0x1c], 0x48cd04
call fcn.00403d4e
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], 0x48ccfc
call fcn.004386ca
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.0043884b
mov eax, dword [ebp - 0x84]
push 0x498ac0
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x84], vtable.is::file_exception.0
lea eax, [ebp - 0x84]
push eax
call fcn.00468867
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402438
mov al, bl
jmp 0x4386bb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402438
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43927b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
je 0x4392c0
mov eax, dword [ebp + 8]
test eax, eax
je 0x439295
and dword [eax], 0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43931c
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00438bac
lea eax, [ebp - 0x4c]
push 0x498c80
push eax
call fcn.00468867
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43931c
cmp dword [ebp + 8], 0
jne 0x4392f5
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00438c77
lea eax, [ebp - 0x48]
push 0x498ac0
push eax
call fcn.00468867
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43931c
push 1
add esi, 0xc
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.0043920c
lea eax, [ebp - 0x48]
push 0x498ac0
push eax
call fcn.00468867
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x43b654
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x94], 0x94
and dword [eax], 0
lea eax, [ebp - 0x94]
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 1
jne 0x43b6cf
cmp dword [ebp - 0x8c], 0
je 0x43b6c7
cmp dword [ebp - 0x8c], 0xa
je 0x43b6b2
cmp dword [ebp - 0x8c], 0x5a
je 0x43b6bb
xor al, al
mov dword [esi], 0x80
jmp 0x43b740
call fcn.0043bbc4
test al, al
je 0x43b6bf
mov al, 1
jmp 0x43b6a7
mov dword [esi], 0x40
jmp 0x43b729
mov dword [esi], 0x10
jmp 0x43b729
cmp dword [ebp - 0x84], 2
jne 0x43b73e
mov eax, dword [ebp - 0x90]
sub eax, 4
je 0x43b736
mov ecx, dword [ebp - 0x8c]
dec eax
je 0x43b6f9
dec eax
je 0x43b71f
xor al, al
mov dword [esi], 0x2000000
jmp 0x43b740
test ecx, ecx
jne 0x43b705
mov dword [esi], 0x100000
jmp 0x43b729
cmp ecx, 1
jne 0x43b712
mov dword [esi], 0x400000
jmp 0x43b729
cmp ecx, 2
jne 0x43b71f
mov dword [esi], 0x800000
jmp 0x43b729
test ecx, ecx
jne 0x43b72d
mov dword [esi], 0x1000000
mov al, 1
jmp 0x43b740
cmp ecx, 1
jne 0x43b6ef
mov al, cl
jmp 0x43b6f1
mov dword [esi], 0x10000
jmp 0x43b729
xor al, al
pop esi
leave
ret

Function at 0x43bab9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x43bae8
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43bae8
call eax
jmp 0x43bbbf
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
mov ebx, 0xf003f
push eax
push ebx
push 0
mov edi, SysReAllocStringLen
push str..DefaultControl_PaneldesktopResourceLocale
push edi
mov dword [ebp - 0xc], 0xa
call esi
test eax, eax
jne 0x43bb34
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x4a9e54
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43bb95
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
push 0
push str..DEFAULTControl_PanelInternational
push edi
call esi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x43bb69
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.Locale
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x43bb7d
cmp esi, ebx
je 0x43bb7d
push dword [ebp - 8]
call esi
cmp edi, ebx
je 0x43bb9d
cmp dword [ebp - 4], ebx
je 0x43bb8f
cmp esi, ebx
je 0x43bb8f
push dword [ebp - 4]
call esi
mov ax, 0x409
jmp 0x43bbbf
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0046713c
add esp, 0xc
cmp dword [ebp - 4], ebx
mov edi, eax
je 0x43bbbc
cmp esi, ebx
je 0x43bbbc
push dword [ebp - 4]
call esi
mov ax, di
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43bcd8
Capabilities:
Get common file path

Disassembly:
mov eax, 0x486cfb
call fcn.00466fdc
sub esp, 0x15c
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
push 1
mov esi, 0x104
pop ebx
cmp dword [ebp + 0xc], ebx
jne 0x43bd83
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x43bd83
push str.GetSystemWindowsDirectoryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4a47a8], eax
je 0x43bd83
lea ecx, [ebp - 0x168]
push esi
push ecx
call eax
test eax, eax
je 0x43bd83
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x168]
mov edi, 0x48cd0c
mov esi, 0x48cd04
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], esi
call fcn.00402d70
push 0x4a1c7c
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.0043be15
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403d4e
mov dword [ebp - 0x14], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
jmp 0x43bdfe
lea eax, [ebp - 0x168]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x43bdab
lea ecx, [ebp - 0x30]
call fcn.00438c1e
lea eax, [ebp - 0x30]
push 0x499780
push eax
call fcn.00468867
lea eax, [ebp - 0xd]
push 0
push eax
lea eax, [ebp - 0x168]
mov edi, 0x48cd0c
mov esi, 0x48cd04
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], esi
call fcn.00402d70
push 0x4a1c7c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 2
call fcn.0043be15
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403d4e
and byte [ebp - 4], 0
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x3c]
call fcn.00402438
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43df03
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x486f60
call fcn.00466fdc
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00416db9
mov edi, eax
cmp edi, esi
je 0x43df4d
cmp dword [ebp - 0x10], esi
je 0x43df46
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x43dfea
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x43dfbe
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043df03
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x43dfab
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x43df70
cmp dword [ebp - 0x10], esi
je 0x43dfb9
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x43dfea
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x43dfd1
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x43dfe8
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x43e364
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x487077
call fcn.00466fdc
sub esp, 0x48
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0xd]
push ebx
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 3
mov dword [ebp - 0x54], 0x48b6a8
mov dword [ebp - 0x34], 0x48b6a0
call fcn.00403cd9
mov dword [ebp - 0x14], ebx
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 5
call fcn.004042dd
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push ecx
push dword [ebp + 0x88]
push ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x43e3d3
lea ecx, [ebp - 0x14]
call fcn.00411536
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
cmp eax, ebx
push edi
mov esi, eax
jne 0x43e455
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 0x88]
push eax
lea eax, [ebp - 0x20]
push ebx
push eax
push ebx
lea ecx, [ebp + 0x38]
call fcn.004042dd
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push esi
call edi
mov esi, eax
cmp esi, ebx
jne 0x43e455
push dword [ebp + 0x88]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x54]
push eax
call fcn.00402f01
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 6
call fcn.004042dd
lea ecx, [ebp + 0x38]
mov dword [ebp + 0xc], eax
mov dword [esi + 8], eax
call fcn.004042dd
lea ecx, [ebp + 0x88]
mov dword [ebp - 0x18], ebx
push ecx
lea ecx, [ebp - 0x18]
push dword [ebp + 0xc]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call edi
lea ecx, [ebp - 0x2c]
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00403013
cmp esi, ebx
mov dword [0x4abf94], esi
pop edi
lea eax, [ebp - 0x54]
je 0x43e466
lea eax, [ebp + 0x60]
mov esi, dword [ebp + 8]
push ebx
push eax
mov ecx, esi
mov dword [esi], 0x48b6a8
mov dword [esi + 0x20], 0x48b6a0
call fcn.00403d4e
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x14], ebx
je 0x43e497
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.00402438
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.00402438
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
call fcn.00402438
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], bl
call fcn.00402438
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43ec1a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x43ec42
xor al, al
leave
ret
cmp dword [ebp - 0x84], 2
jne 0x43ec59
cmp dword [ebp - 0x90], 5
jb 0x43ec59
push 1
pop eax
leave
ret
xor eax, eax
leave
ret