joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4233f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push str.PerfStatsStartStat
push 0x80000006
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x4234b3
push ebx
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
push dword [ebp + 0xc]
mov ebx, eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea eax, [ebx + eax + 2]
push eax
push 0x40
call esi
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push str._s_s
push ebx
call fcn.0043819a
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push edi
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x4234a1
push dword [ebp - 8]
push 0x40
call esi
mov esi, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push esi
push eax
push 0
push ebx
push dword [ebp - 4]
call edi
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
pop edi
leave
ret 8

Function at 0x4234bb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call esi
push dword [ebp + 0xc]
mov ebx, eax
call esi
lea eax, [ebx + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push str._s_s
push ebx
call fcn.0043819a
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push str.PerfStatsStatData
push 0x80000006
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x42354c
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push eax
push edi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42355c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push str.PerfStatsStopStat
push 0x80000006
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x42361f
push ebx
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
push dword [ebp + 0xc]
mov ebx, eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea eax, [ebx + eax + 2]
push eax
push 0x40
call esi
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push str._s_s
push ebx
call fcn.0043819a
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push edi
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
push dword [ebp - 4]
call edi
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x42360d
push dword [ebp - 8]
push 0x40
call esi
mov esi, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push esi
push eax
push 0
push ebx
push dword [ebp - 4]
call edi
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
pop edi
leave
ret 8

Function at 0x42367a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 4], edi
je 0x42368f
mov eax, 0xb7
jmp 0x4236fa
mov eax, dword [ebp + 8]
cmp eax, 0xa
jb 0x4236f7
cmp eax, 0x64
ja 0x4236f7
push 0x32
mov dword [esi + 0xc], eax
pop ecx
mov dword [ebp + 8], edi
mov edx, ecx
cmp edx, eax
sbb edx, edx
and edx, ecx
add edx, ecx
cmp ecx, eax
sbb ecx, ecx
mov dword [esi + 0x14], edx
and ecx, 0xc8
add ecx, 0x12c
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x42376e
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x4236f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4236fa
xor eax, eax
jmp 0x4236fa
push 0x57
pop eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x424d52
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push edi
push 7
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x2b]
mov byte [ebp - 0x2c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0x20
cmp eax, ebx
je 0x424e1e
cmp dword [ebp + 0xc], ebx
je 0x424e1e
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.SoftwareNetscapeNetscape_Navigator
push 0x80000002
call edi
test eax, eax
jne 0x424e1e
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push str.CurrentVersion
push dword [ebp - 8]
call esi
test eax, eax
jne 0x424e14
push 0x1f
lea eax, [ebp - 0x2c]
push str.Main
push eax
call fcn.0043970b
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x20019
lea eax, [ebp - 0x2c]
push ebx
push eax
push dword [ebp - 8]
call edi
test eax, eax
jne 0x424e14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
push ebx
push str.Plugins_Directory
push dword [ebp - 0xc]
call esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x424e22
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x424fb7
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x424fb7
cmp dword [ebp + 0x10], 0
je 0x424fb7
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x424fb7
cmp dword [ebp + 0x18], 0
je 0x424fb7
and byte [edi], 0
cmp byte [esi], 0x2e
jne 0x424e81
cmp byte [esi + 1], 0x5c
jne 0x424e81
add esi, 2
push esi
push dword [ebp + 0x10]
push ebx
push edi
call fcn.00425b9a
add esp, 0x10
jmp 0x424fa4
push 9
push str.WINSYSTEM
push esi
call fcn.0043682b
add esp, 0xc
test eax, eax
jne 0x424eaf
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp byte [esi + 9], 0x5c
jne 0x424fa4
add esi, 0xa
jmp 0x424f54
push 0xb
push str.WINCOMMON64
push esi
call fcn.0043682b
add esp, 0xc
test eax, eax
jne 0x424ee7
push 1
push ebx
push edi
call fcn.0042621d
add esp, 0xc
cmp byte [edi], 0
je 0x424fb7
cmp byte [esi + 0xb], 0x5c
jne 0x424fa4
add esi, 0xc
jmp 0x424f54
push 9
push str.WINCOMMON
push esi
call fcn.0043682b
add esp, 0xc
test eax, eax
jne 0x424f11
push eax
push ebx
push edi
call fcn.0042621d
add esp, 0xc
cmp byte [edi], 0
je 0x424fb7
jmp 0x424e9d
push 3
push 0x458b08
push esi
call fcn.0043682b
add esp, 0xc
test eax, eax
jne 0x424f38
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [esi + 3], 0x5c
jne 0x424fa4
add esi, 4
jmp 0x424f54
cmp byte [esi], 0x24
jne 0x424f5b
cmp byte [esi + 1], 0x57
jne 0x424f5b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [esi + 2], 0x5c
jne 0x424fa4
add esi, 3
push esi
push edi
jmp 0x424e72
push 0xe
push str.NETSCAPEPLUGIN
push esi
call fcn.0043682b
add esp, 0xc
test eax, eax
jne 0x424fbc
push ebx
push edi
call fcn.00424d52
cmp byte [edi], 0
pop ecx
pop ecx
je 0x424f97
cmp byte [esi + 0xe], 0x5c
jne 0x424f92
add esi, 0xf
push esi
push edi
push ebx
push edi
call fcn.00425b9a
add esp, 0x10
cmp byte [edi], 0
jne 0x424fa9
push ebx
push dword [ebp + 0x10]
push edi
call fcn.00436a23
add esp, 0xc
cmp byte [edi], 0
je 0x424fb7
push dword [ebp + 0x18]
push edi
push ebx
push edi
call fcn.00425b9a
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
cmp byte [esi], 0
je 0x424f97
cmp byte [esi + 1], 0x3a
jne 0x424f97
push ebx
push esi
jmp 0x424f9b
Function at 0x4250c9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x62b]
mov byte [ebp - 0x62c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, str.version.dll
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x127]
mov byte [ebp - 0x128], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x22b]
mov byte [ebp - 0x22c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4252af
cmp dword [ebp + 0x14], ebx
je 0x4252af
push dword [ebp + 0xc]
mov byte [eax], bl
lea eax, [ebp - 0x62c]
push dword [ebp + 8]
push 0x400
push eax
call fcn.00425b9a
add esp, 0x10
mov esi, 0x104
lea eax, [ebp - 0x128]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4252af
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.00425b9a
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0xc], edi
je 0x4252af
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetFileVersionInfoA
push edi
call esi
push str.GetFileVersionInfoSizeA
push edi
mov dword [ebp + 8], eax
call esi
push str.VerQueryValueA
mov edi, eax
push dword [ebp - 0xc]
call esi
cmp dword [ebp + 8], ebx
mov dword [ebp - 8], eax
je 0x4252a2
cmp edi, ebx
je 0x4252a2
cmp eax, ebx
je 0x4252a2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x62c]
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x42529f
push esi
call fcn.004375de
mov edi, eax
pop ecx
cmp edi, ebx
je 0x42529f
push edi
push esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x62c]
push eax
call dword [ebp + 8]
test eax, eax
je 0x425298
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
push str.VarFileInfoTranslation
push edi
call dword [ebp - 8]
test eax, eax
je 0x425298
cmp dword [ebp - 0x18], ebx
je 0x425298
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
movzx eax, word [eax]
shr ecx, 0x10
push ecx
push eax
lea eax, [ebp - 0x82c]
push str.StringFileInfo_04hX_04hXFileVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x82c]
push eax
push edi
call dword [ebp - 8]
test eax, eax
je 0x425298
cmp dword [ebp - 0x10], ebx
je 0x425298
cmp dword [ebp + 0xc], ebx
je 0x425298
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov dword [ebp - 4], 1
push edi
call fcn.004374f5
pop ecx
mov ebx, dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
jmp 0x4252b1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425349
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3ff]
mov byte [ebp - 0x400], bl
push dword [ebp + 0xc]
xor esi, esi
rep stosd dword es:[edi], eax
push dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x400]
push 0x400
push eax
call fcn.00425b9a
add esp, 0x10
lea eax, [ebp - 0x400]
push ebx
push ebx
push 3
push ebx
push 1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4253bf
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4253b8
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425854
Capabilities:
Read file on windows

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0043e559
add esp, 0xc
cmp eax, 0xffffffff
jne 0x425875
call fcn.004394eb
mov eax, dword [eax]
ret
sub eax, dword [esp + 0xc]
neg eax
sbb eax, eax
and eax, 5
ret

Function at 0x425cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebx], esi
jne 0x425cda
mov dword [ebx], 0x16
jmp 0x425d16
push 0x8000
push dword [ebp + 8]
call fcn.004397d3
mov edi, eax
pop ecx
cmp edi, 0xffffffff
pop ecx
mov dword [ebp + 8], edi
je 0x425d0d
push 2
push esi
push edi
call fcn.0043ef04
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x425d1a
push edi
call fcn.0043e182
pop ecx
call fcn.004394eb
mov eax, dword [eax]
mov dword [ebx], eax
xor eax, eax
jmp 0x425d83
push 0
push 0
push edi
call fcn.0043ef04
lea eax, [esi + 2]
push eax
call fcn.004375de
mov edi, eax
add esp, 0x10
test edi, edi
je 0x425d60
push esi
push edi
push dword [ebp + 8]
call fcn.0043e559
add esp, 0xc
cmp eax, esi
jne 0x425d55
and byte [edi + esi], 0
and byte [edi + esi + 1], 0
lea eax, [edi + esi]
jmp 0x425d66
call fcn.004394eb
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x425d66
mov dword [ebx], 0xc
push dword [ebp + 8]
call fcn.0043e182
cmp dword [ebx], 0
pop ecx
je 0x425d81
test edi, edi
je 0x425d81
push edi
call fcn.004374f5
pop ecx
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x42611d
Capabilities:
Get common file path

Disassembly:
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x426160
push str.GetSystemWindowsDirectoryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x426160
push dword [esp + 8]
push dword [esp + 8]
call eax
test eax, eax
jne 0x42616e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AIL:GetSystemWindowsDirectory_err_d
push 1
call fcn.00408bf4
add esp, 0xc
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
ret
Function at 0x4262cd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4262db
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp word [ebp + 0x10], 0
not eax
je 0x42630c
push esi
movzx edx, byte [ecx]
movzx esi, al
add dword [ebp + 0x10], 0xffff
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x459028]
xor eax, edx
inc ecx
cmp word [ebp + 0x10], 0
jne 0x4262e8
pop esi
not eax
pop ebp
ret

Function at 0x426371
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040cf56
mov edi, eax
test edi, edi
je 0x4263bb
mov ecx, edi
call fcn.0040d066
mov esi, dword [ebp + 0x1c]
push eax
push esi
push edi
push 0x459428
push 1
call fcn.00408bf4
add esp, 0x14
mov ecx, edi
call fcn.0040d066
test eax, eax
je 0x4263bb
neg esi
sbb esi, esi
and esi, 0xffffff00
add esi, 0x20219
jmp 0x4263c0
mov esi, 0x20019
test edi, edi
je 0x4263cc
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
lea eax, [ebp - 4]
push eax
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x426405
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x427ecd
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov word [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x80000002
call fcn.0042808a
add esp, 8
test eax, eax
jne 0x427ef6
jmp 0x428084
mov word [ebp - 4], 0
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42807e
push str.GetUserDefaultUILanguage
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x427f38
call dword [ebp - 0xc]
mov word [ebp - 4], ax
jmp 0x428074
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 4], ax
mov dword [ebp - 0xa0], 0x94
lea edx, [ebp - 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x428074
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0xa4], 0x200
mov dword [ebp - 0x2ac], 1
cmp dword [ebp - 0x90], 2
jne 0x427ff7
lea eax, [ebp - 0x2a8]
push eax
push str..DEFAULTControl_PanelInternational
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x427fe8
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x2ac]
push eax
push 0
push str.Locale
mov ecx, dword [ebp - 0x2a8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x427fe8
lea edx, [ebp - 4]
push edx
push 0x45f9d4
lea eax, [ebp - 0x2a4]
push eax
call fcn.00436400
add esp, 0xc
mov ecx, dword [ebp - 0x2a8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x428074
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x90], 0
je 0x428074
lea edx, [ebp - 0x2a8]
push edx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x428067
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x2ac]
push edx
push 0
push 0
mov eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x428067
lea ecx, [ebp - 4]
push ecx
push 0x45fa1c
lea edx, [ebp - 0x2a4]
push edx
call fcn.00436400
add esp, 0xc
mov eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ax, word [ebp - 4]
jmp 0x428086
jmp 0x42807e
mov esp, ebp
pop ebp
ret

Function at 0x429513
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push esi
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x429554
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret
Function at 0x429559
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040cf56
mov esi, eax
test esi, esi
je 0x42957b
mov ecx, esi
call fcn.0040d066
cmp eax, 1
mov edi, 0x20119
je 0x429580
mov edi, 0x20019
test esi, esi
je 0x42958c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea eax, [ebp - 4]
push eax
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4295c5
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x42b350
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x42b35d
xor eax, eax
ret 0xc
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x42b460
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x447854]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x447854]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x447854]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x447854]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x447854]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x447854]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x447854]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x447854]
xor eax, edx
inc ecx
dec edi
jne 0x42b378
pop edi
test esi, esi
je 0x42b482
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x447854]
xor eax, edx
inc ecx
dec esi
jne 0x42b464
pop esi
pop ebx
not eax
ret 0xc
Function at 0x42b490
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 4]
push ebp
test eax, eax
push esi
jne 0x42b4a4
mov esi, 0x22100003
mov eax, esi
pop esi
pop ebp
ret
push 8
call fcn.0042abe0
mov ebp, eax
test ebp, ebp
jne 0x42b4bb
mov esi, 0x22100004
jmp 0x42b5b9
push 8
push 0
push ebp
call fcn.0042a030
mov dword [ebp], 0x8f
mov eax, dword [0x465a7c]
test eax, eax
jne 0x42b4f6
push 0x465a80
call fcn.0042b5e0
mov esi, eax
add esp, 4
test esi, esi
jne 0x42b5b9
mov dword [0x465a7c], 1
mov eax, dword [0x465a80]
mov ecx, dword [esp + 0x10]
cmp eax, 1
je 0x42b511
test ecx, 0x40000
mov esi, 7
je 0x42b516
mov esi, 3
test cl, 1
push edi
je 0x42b521
test cl, 2
jne 0x42b526
test cl, 4
je 0x42b52d
mov edi, 0xc0000000
jmp 0x42b541
mov eax, ecx
and al, 2
neg al
sbb eax, eax
and eax, 0xc0000000
add eax, 0x80000000
mov edi, eax
test ch, 1
je 0x42b556
mov eax, ecx
and eax, 0x400
neg eax
sbb eax, eax
add eax, 2
jmp 0x42b55b
mov eax, 3
test ecx, 0x10000
je 0x42b566
and esi, 0xfffffffe
test ecx, 0x20000
je 0x42b571
and esi, 0xfffffffd
test ecx, 0x100000
mov edx, 0x80
je 0x42b583
mov edx, 0x180
mov ecx, dword [esp + 0x10]
push 0
push edx
push eax
push 0
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 4], eax
pop edi
jne 0x42b5c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42b5b4
cmp eax, 3
mov esi, 0x22100005
jne 0x42b5b9
mov esi, 0x22100009
test ebp, ebp
je 0x42b5c3
push ebp
call fcn.0042abf0
mov eax, esi
pop esi
pop ebp
ret
mov edx, dword [esp + 0x14]
pop esi
xor eax, eax
mov dword [edx], ebp
pop ebp
ret

Function at 0x42c260
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x42c2c7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
sub ebp, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, eax
mov ebx, eax
sar edx, 8
sub edx, 5
and eax, 0xf
sar ebx, 4
and edx, 0xf
add ebx, 5
and ebx, 0xf
mov dl, byte [edx + edi]
sub dl, byte [ebx + edi]
mov bl, byte [ecx + ebp]
add dl, bl
mov bl, byte [eax + edi]
mov eax, dword [esp + 0x1c]
xor dl, bl
mov byte [ecx], dl
mov ebx, dword [esi]
inc ebx
inc ecx
dec eax
mov dword [esi], ebx
mov dword [esp + 0x1c], eax
jne 0x42c282
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
xor eax, eax
ret