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

Disassembly:
push 0x18
mov eax, 0x1002ba70
call fcn.1002a480
lea edi, [ecx + 0x164]
xor ebx, ebx
push 0x100064ac
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
call fcn.10014f6c
test eax, eax
je 0x1001326c
push 0x100064c0
lea ecx, [ebp - 0x10]
call fcn.10014f6c
push 0x10006530
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10014f6c
push 0x100062f4
lea ecx, [ebp - 0x10]
call fcn.10014f6c
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10014f6c
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
lea ecx, [ebp - 0x10]
call fcn.10020bd7
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
js 0x1001325e
cmp dword [ebp - 0x14], ebx
je 0x1001325e
push 0x100062d0
mov ecx, edi
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x1c], ebx
call fcn.10014f6c
test eax, eax
jne 0x10013216
mov eax, 0x100054b6
mov esi, ebx
mov dword [ebp - 0x18], eax
push eax
push dword [ebp + 8]
call dword [sym.imp.MSVCR100.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x10013202
mov eax, dword [ebp - 0x18]
add eax, 0x3fc
inc esi
mov dword [ebp - 0x18], eax
cmp eax, 0x100064a6
jl 0x100131dd
jmp 0x10013216
imul esi, esi, 0x3fc
add esi, 0x100052b8
push esi
mov ecx, edi
call fcn.10014f6c
mov ecx, edi
call fcn.10020bd7
mov ecx, edi
test eax, eax
je 0x1001324b
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
call fcn.10020bd7
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10013255
cmp dword [ebp - 0x1c], eax
setne al
mov dword [ebp - 0x20], eax
jmp 0x10013255
push 0x100064ac
call fcn.10014f6c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.1002161e
mov ebx, dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
call fcn.1002a558
ret 8
Function at 0x10013779
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0x58
mov eax, 0x1002bb11
call fcn.1002a4e9
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
or dword [edi + 4], 0xffffffff
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [edi], 0x1000641c
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
call dword [sym.imp.kernel32.dll_GetVersion]
cmp eax, 0x80000000
sbb esi, esi
mov ecx, ebx
neg esi
call fcn.10020bd7
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_306]
push 0
push 0x80
neg esi
push 3
sbb esi, esi
push 0
and esi, 4
or esi, 1
push esi
push SysReAllocString
push dword [eax]
call dword [sym.imp.kernel32.dll_CreateFileA]
lea ecx, [ebp - 0x64]
mov dword [edi + 4], eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [edi + 4], 0xffffffff
jne 0x100138e4
and dword [ebp - 0x58], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push 0
mov esi, eax
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.10014f6c
movzx eax, ax
push eax
push esi
push 0
push 0x1300
call dword [sym.imp.kernel32.dll_FormatMessageA]
push 1
mov esi, 0x1802
push esi
lea ecx, [ebp - 0x5c]
call fcn.10014f6c
and dword [ebp - 4], 0
call fcn.10014f6c
movzx eax, ax
push eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
push esi
call fcn.10014f6c
push 0x40
lea ecx, [ebp - 0x5c]
call fcn.10020bd7
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10014f6c
add esp, 0xc
mov ecx, ebx
call fcn.10020bd7
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_306]
push 0x10006430
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100.dll_Ordinal_1483]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
mov esi, dword [ebp - 0x54]
call fcn.10014f6c
movzx eax, ax
push eax
push 0x40
lea eax, [ebp - 0x50]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxExA]
push dword [ebp - 0x58]
call dword [sym.imp.kernel32.dll_LocalFree]
and dword [ebp - 0x58], 0
mov ecx, edi
call fcn.100139d5
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_901]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.1002161e
jmp 0x10013930
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
push ebx
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov dword [edi + 8], eax
test eax, eax
je 0x10013929
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [edi + 0xc], eax
test eax, eax
je 0x10013929
push ebx
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_GetFileSize]
push eax
push dword [edi + 0xc]
call fcn.10014f6c
mov dword [edi + 0x10], eax
test eax, eax
jne 0x10013930
mov ecx, edi
call fcn.100139d5
mov eax, edi
call fcn.1002a56c
ret 8
Function at 0x10018e95
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x1002bda3
call fcn.1002a51f
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x10019069
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.10014f6c
add esp, 0xc
test eax, eax
js 0x10019063
mov esi, dword [ebp - 0x41c]
cmp esi, 0x400
jg 0x10018f31
push esi
call fcn.100158b3
pop ecx
test al, al
je 0x10018f31
mov eax, esi
call fcn.1002a74c
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x10018f3d
push esi
lea ecx, [ebp - 0x428]
call fcn.10014f6c
push 3
push esi
push edi
push eax
call fcn.10014f6c
test eax, eax
je 0x10019063
push 2
push ebx
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
jne 0x10018f71
call fcn.10015ac7
mov esi, eax
jmp 0x10019048
push dword [ebp - 0x424]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x10018f94
call fcn.10015ac7
jmp 0x1001903f
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x10018f8a
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x420], esi
cmp eax, esi
jae 0x10018fc4
mov esi, 0x8007000e
jmp 0x10019041
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10014f6c
mov dword [ebp - 4], 1
jmp 0x10019003
cmp dword [ebp - 0x418], 0
je 0x10018fbd
push esi
push dword [ebp - 0x424]
push esi
push dword [ebp - 0x418]
call fcn.10014f6c
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.10014f6c
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10019083
lea ecx, [ebp - 0x418]
call fcn.1001914a
jmp 0x10019083
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x1001907e
lea ecx, [ebp - 0x418]
call fcn.1001914a
mov esi, 0x8007000e
lea ecx, [ebp - 0x428]
call fcn.1000cc87
mov eax, esi
lea esp, [ebp - 0x444]
call fcn.1002a578
ret 0x10
Function at 0x100296b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10009414]
jne 0x1002a5f5
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10033700], eax
mov dword [0x100336fc], ecx
mov dword [0x100336f8], edx
mov dword [0x100336f4], ebx
mov dword [0x100336f0], esi
mov dword [0x100336ec], edi
mov word [0x10033718], ss
mov word [0x1003370c], cs
mov word [0x100336e8], ds
mov word [0x100336e4], es
mov word [0x100336e0], fs
mov word [0x100336dc], gs
pushfd
pop dword [0x10033710]
mov eax, dword [ebp]
mov dword [0x10033704], eax
mov eax, dword [ebp + 4]
mov dword [0x10033708], eax
lea eax, [ebp + 8]
mov dword [0x10033714], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10033650], 0x10001
mov eax, dword [0x10033708]
mov dword [0x10033604], eax
mov dword [0x100335f8], 0xc0000409
mov dword [0x100335fc], 1
mov eax, dword [0x10009414]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10032a5c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10033648], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10009608
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10033648], 0
jne 0x1002a6e1
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x401910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401923
push esp
mov dword [ebp - 0x24], 0x401640
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.zeenty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.upsent
push str.zeenty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019c2
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019a3
pop ebp
ret 0x10
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x672a7532
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x3d281a2a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x412148
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x412157
pop dword [ebp - 0x4c]
mov eax, 0x412157
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3db3a
push 0
mov eax, 0x314aba7b
add eax, 0xcef71785
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xef36cb9d
add ecx, 0x10c97e79
xor ebx, ebx
add ebx, eax
mov edi, 0x7d6fb8d0
sub edi, 0x7d2c58d0
add edi, dword [ebp - 0x4c]
mov edx, 0xca189860
xor dword [ebp - 0x48], 0x9c4f39a1
mov esi, dword [edi]
sub dword [ebp - 0x3c], 0x5b86c01a
xor esi, edx
mov dword [ebp - 8], 0xe0a8a9ea
mov dword [ebx], esi
add ebx, 4
add edi, 0xabe25019
sub edi, 0xabe25015
loop 0x4121ad
add eax, 0x7a492c49
sub eax, 0x7a48111e
mov ebx, eax
add eax, 0x2758e6ea
sub eax, 0x2758e6e5
mov ecx, 0x69e9531a
sub ecx, 0x69a9531a
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x483030]
jne 0x401116
repz ret
jmp fcn.00401ea1

Function at 0x4086ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406a72
and dword [ebp - 4], 0
cmp dword [0x485814], 0
mov ebx, eax
jne 0x40875f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408810
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408810
push eax
call fcn.00406a00
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x485814], eax
call esi
push eax
call fcn.00406a00
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x485818], eax
call esi
push eax
call fcn.00406a00
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48581c], eax
call esi
push eax
call fcn.00406a00
pop ecx
mov dword [0x485824], eax
test eax, eax
je 0x40875f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406a00
pop ecx
mov dword [0x485820], eax
mov eax, dword [0x485820]
cmp eax, ebx
je 0x4087b7
cmp dword [0x485824], ebx
je 0x4087b7
push eax
call fcn.00406a7b
push dword [0x485824]
mov esi, eax
call fcn.00406a7b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4087b7
test edi, edi
je 0x4087b7
call esi
test eax, eax
je 0x4087ae
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4087ae
test byte [ebp - 0xc], 1
jne 0x4087b7
or dword [ebp + 0x10], 0x200000
jmp 0x4087f0
mov eax, dword [0x485818]
cmp eax, ebx
je 0x4087f0
push eax
call fcn.00406a7b
pop ecx
test eax, eax
je 0x4087f0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4087f0
mov eax, dword [0x48581c]
cmp eax, ebx
je 0x4087f0
push eax
call fcn.00406a7b
pop ecx
test eax, eax
je 0x4087f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x485814]
call fcn.00406a7b
pop ecx
test eax, eax
je 0x408810
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408812
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cc60
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x483030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x8827f4]
push ebx
mov ebx, dword [0x882640]
push esi
mov esi, dword [0x484050]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40cca1
push str.lefovuweceh
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x8827f4]
mov dword [0x4859ec], esi
cmp eax, 0x114e
jne 0x40cccb
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.nanucucolumisocifozoguvex
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov eax, dword [0x8827f4]
cmp eax, 0x2f
jne 0x40cced
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
call fcn.0040cbb0
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x40e840
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5779a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x240
push esi
push edi
push 0x27
mov edi, ecx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.T1VMObBw62Khg4OND4JjEwUPJLT8l1HxggTJyk
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.WVJOZTwkRdDz8pjATogbKzc
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.0042d600
push 0x104
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x14]
call fcn.00445090
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40e92b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40e95c
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x5904f4
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov dword [edi + 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40e992
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40e9c8
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00552a0f
int3
Function at 0x41ef00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579605
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
mov dword [ebp - 0x28], ecx
xorps xmm0, xmm0
push str.dlJBQUiU9GJyYBfMzM3AKgICkEwYiKEiYZXICQ
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.SFdWTWTsjWNy09pJA
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0042d600
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x1c]
call fcn.00445090
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41efee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41f04f
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x20]
call fcn.00445090
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41f040
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x110], esi
cmp ecx, 8
jb 0x41f08e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f084
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f0d9
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41f0c4
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f0ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f0d9
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552a0f
int3
Function at 0x425760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579c26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.0042e8d0
add eax, 0x10
mov dword [esi + 8], eax
lea edi, [esi + 0x10]
mov dword [edi + 0x24], 0
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x4257bd
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0042e8d0
add eax, 0x10
mov dword [esi + 0x38], eax
lea edi, [esi + 4]
mov byte [ebp - 4], 4
push edi
push 0xf003f
push 0
push dword [ebx]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
jne 0x425870
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
test eax, eax
jne 0x425843
mov eax, dword [ebp + 0x10]
cmp eax, 3
je 0x42582b
cmp eax, 4
je 0x42582b
cmp eax, 0xb
jne 0x425843
cmp dword [ebp + 0xc], 4
jne 0x425843
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x42585b
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x34
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.T1IzMTz034VCY8kJkE2TbyVSAPG88JXDtvfPUMqUITdX
lea ecx, [ebp - 0x38]
call fcn.0042ed90
push ebx
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp + 0xc]
call fcn.00445090
add esp, 0x18
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00405750
push 0x5bf210
lea eax, [ebp - 0x20]
push eax
call fcn.0054fa3a
int3

Function at 0x429a40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579f5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00537e15
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x429acb
push eax
push esi
call fcn.00537c57
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.00537549
int3