joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4127c0
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x412869
push 0x400
call fcn.0049c24e
add esp, 4
mov dword [esi], eax
xor edx, edx
lea ecx, [ecx]
mov eax, edx
shr eax, 1
test dl, 1
je 0x4127ee
xor eax, 0xedb88320
test al, 1
je 0x4127fb
shr eax, 1
xor eax, 0xedb88320
jmp 0x4127fd
shr eax, 1
test al, 1
je 0x41280a
shr eax, 1
xor eax, 0xedb88320
jmp 0x41280c
shr eax, 1
test al, 1
je 0x412819
shr eax, 1
xor eax, 0xedb88320
jmp 0x41281b
shr eax, 1
test al, 1
je 0x412828
shr eax, 1
xor eax, 0xedb88320
jmp 0x41282a
shr eax, 1
test al, 1
je 0x412837
shr eax, 1
xor eax, 0xedb88320
jmp 0x412839
shr eax, 1
test al, 1
je 0x412846
shr eax, 1
xor eax, 0xedb88320
jmp 0x412848
shr eax, 1
test al, 1
je 0x412855
shr eax, 1
xor eax, 0xedb88320
jmp 0x412857
shr eax, 1
mov ecx, dword [esi]
mov dword [ecx + edx*4], eax
inc edx
cmp edx, 0xff
jle 0x4127e0
pop esi
ret

Function at 0x412870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov eax, ecx
push edi
mov dword [ebp - 4], eax
call fcn.004127c0
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x14]
lea ebx, [esi*2 + 2]
cmp ebx, dword [edi + 0x20]
jae 0x412899
cmp dword [edi + 0x1c], 0
jne 0x4128b6
push dword [edi + 0x1c]
call fcn.0049c23b
and ebx, 0xffffffc0
lea eax, [ebx + 0x40]
push eax
mov dword [edi + 0x20], eax
call fcn.0049c24e
add esp, 8
mov dword [edi + 0x1c], eax
push 3
push dword [edi + 0x20]
mov ecx, edi
push dword [edi + 0x1c]
call fcn.004082e0
mov ecx, dword [edi + 0x1c]
or ebx, 0xffffffff
mov edi, dword [ebp - 4]
test esi, esi
je 0x4128ea
mov edx, dword [edi]
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [edx + eax*4]
sub esi, 1
jne 0x4128d4
mov eax, dword [edi]
test eax, eax
je 0x4128f9
push eax
call fcn.0049c23b
add esp, 4
not ebx
mov dword [edi], 0
mov dword [ebp + 8], ebx
movzx eax, bl
rol eax, 3
xor al, 0x74
mov dword [ebp - 4], ebx
mov byte [ebp + 8], al
movzx eax, byte [ebp + 9]
ror eax, 5
xor al, 0x74
mov byte [ebp + 9], al
movzx eax, byte [ebp + 0xa]
rol eax, 7
xor al, 0x74
mov byte [ebp + 0xa], al
movzx eax, byte [ebp + 0xb]
ror eax, 3
xor al, 0x74
mov byte [ebp + 0xb], al
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp + 8]
push eax
call fcn.004a1ef9
mov eax, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4b28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5210b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x413278
mov eax, dword [eax]
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.004139e0
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x4132b4
mov eax, dword [ebp + 0x10]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4132a0
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp + 0xc]
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4132d0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov eax, edi
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4142e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5210b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
cmp byte [esi + 0x70], 0
je 0x41433a
call fcn.00495581
mov ecx, 0x20119
test al, al
jne 0x41433f
mov ecx, 0x20019
cmp dword [esi + 0x28], 8
lea eax, [esi + 0x14]
jb 0x41434a
mov eax, dword [eax]
push ecx
push eax
push dword [esi + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.004139e0
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x414362
xor bl, bl
jmp 0x414396
cmp dword [esi + 0x54], 0
jne 0x41436c
mov bl, 1
jmp 0x414396
add esi, 0x44
mov dword [ebp - 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x41437e
mov esi, dword [esi]
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
setne bl
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4143af
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov al, bl
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4156d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b57df
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5210b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], vtable.CProperties.0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0045d420
mov dword [esi], eax
mov dword [ebp - 4], 2
mov byte [edi + 0xc], 0
mov dword [ebp - 4], 3
mov dword [edi], vtable.CLanguageManager.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov byte [ebp - 4], 4
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 6
lea esi, [edi + 0x44]
mov dword [edi + 0x34], 0x409
mov dword [edi + 0x38], 0x409
mov dword [edi + 0x3c], 0
mov word [edi + 0x40], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042f760
mov dword [esi], eax
mov byte [ebp - 4], 9
mov dword [edi + 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427b50
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb198
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5210b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi]
sub esp, 0x30
mov esi, dword [ebp + 0xc]
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
call dword [edx + 4]
mov dword [ebp - 4], 0
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0x41]
mov dword [ebp - 0x4c], ecx
push 0
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov dword [ecx], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00404150
mov byte [ebp - 4], 2
push SysReAllocString
mov dword [ebp - 4], 0xffffffff
call fcn.00494c1a
add esp, 0x34
lea eax, [ebp - 0x41]
mov ecx, esp
mov dword [ebp - 0x4c], esp
mov dword [ebp - 0x48], ecx
push 0
push eax
push str.Reboot
mov dword [ecx], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00404150
mov dword [ebp - 4], 4
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0x48], esp
mov ecx, edi
push eax
call fcn.0043cfa0
mov byte [ebp - 4], 5
push SysReAllocString
mov dword [ebp - 4], 0xffffffff
call fcn.00494c1a
add esp, 0x64
mov dword [ebp - 0x40], 0x4e1680
lea eax, [ebp - 0x41]
mov dword [ebp - 0x18], 0x4e1670
lea ecx, [ebp - 0x40]
push 0
push eax
push 0x4db368
call fcn.00404150
mov dword [ebp - 4], 7
lea eax, [ebp - 0x40]
push esi
mov esi, dword [ebp + 8]
mov ecx, edi
push eax
push esi
push 2
call fcn.00423d10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404be0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c22a
mov esp, ebp
pop ebp
ret 8
Function at 0x433b30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd6ae
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5210b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi], vtable.std::exception.0
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 4], eax
sub esp, 8
lea ecx, [edi + 0x30]
mov dword [edi], vtable.com_exception.0
call fcn.004048d0
mov byte [ebp - 4], 1
sub esp, 8
lea ecx, [edi + 0x60]
call fcn.004048d0
mov byte [ebp - 4], 2
lea ecx, [edi + 0x34]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
lea edx, [ebx + 0x30]
mov dword [edi + 0xc], eax
lea eax, [edx + 4]
neg edx
sbb edx, edx
and edx, eax
cmp ecx, edx
je 0x433bb6
push 0xffffffffffffffff
push 0
push edx
call fcn.004044f0
lea edx, [ebx + 0x60]
lea eax, [edx + 4]
neg edx
lea ecx, [edi + 0x64]
sbb edx, edx
and edx, eax
cmp ecx, edx
je 0x433bd3
push 0xffffffffffffffff
push 0
push edx
call fcn.004044f0
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x434040
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd7be
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5210b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi], vtable.std::exception.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
sub esp, 8
mov dword [esi], vtable.com_exception.0
lea ecx, [esi + 0x30]
mov eax, dword [0x4d6588]
mov dword [esi + 0x10], eax
mov eax, dword [0x4d658c]
mov dword [esi + 0x14], eax
mov eax, dword [0x4d6590]
mov dword [esi + 0x18], eax
mov eax, dword [0x4d6594]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4d6588]
mov dword [esi + 0x20], eax
mov eax, dword [0x4d658c]
mov dword [esi + 0x24], eax
mov eax, dword [0x4d6590]
mov dword [esi + 0x28], eax
mov eax, dword [0x4d6594]
mov dword [esi + 0x2c], eax
call fcn.004048d0
mov byte [ebp - 4], 1
sub esp, 8
lea ecx, [esi + 0x60]
call fcn.004048d0
mov byte [ebp - 4], 2
mov ecx, esi
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
call fcn.00433df0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x434a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x434ac1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x434a8f
cmp eax, 2
jne 0x434aab
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x434abb
test ecx, ecx
je 0x434ab6
test cl, 1
jne 0x434aab
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x434abb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4352b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdbca
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5210b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x254], esi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x258], esi
push eax
push 0x104
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x435379
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 1
mov dword [ebp - method.is::win32_exception.virtual_0], vtable.is::win32_exception.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x220], 0
call fcn.0049c576
add esp, 4
mov dword [eax], 1
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x234]
push 0x51e104
push eax
call fcn.0049e36a
push 0
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4e1680
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e1670
push eax
lea ecx, [ebp - 0x248]
call fcn.00404150
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 0x4e09e8
call fcn.00409ef0
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e1680
mov dword [esi + 0x28], 0x4e1670
call fcn.00406f90
mov byte [ebp - 4], 4
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404be0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c22a
mov esp, ebp
pop ebp
ret
Function at 0x435420
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdc7a
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5210b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x4354e4
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 1
mov dword [ebp - method.is::win32_exception.virtual_0], vtable.is::win32_exception.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x220], 0
call fcn.0049c576
add esp, 4
mov dword [eax], 1
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x234]
push 0x51e104
push eax
call fcn.0049e36a
push 0
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4e1680
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e1670
push eax
lea ecx, [ebp - 0x248]
call fcn.00404150
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 0x4e09e8
call fcn.00409ef0
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e1680
mov dword [esi + 0x28], 0x4e1670
call fcn.00406f90
mov byte [ebp - 4], 4
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404be0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c22a
mov esp, ebp
pop ebp
ret
Function at 0x435580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdd2a
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5210b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x254], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x25c], esi
push 0
push eax
mov dword [ebp - 0x258], 0
call fcn.0049e210
add esp, 0xc
mov dword [ebp - 0x24c], 0
mov dword [ebp - 4], 1
mov eax, 0x20019
test edi, edi
jns 0x435602
mov eax, 0x20119
and edi, 0x7fffffff
lea ecx, [ebp - 0x24c]
push ecx
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x435659
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x208
push eax
lea eax, [ebp - 0x218]
cmp edi, 1
push eax
push 0
mov ecx, 0x4e2620
mov eax, str.CommonFilesDir
push 0
cmovne eax, ecx
push eax
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
lea eax, [ebp - 0x24d]
mov dword [ebp - 0x248], 0x4e1680
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e1670
push eax
lea ecx, [ebp - 0x248]
call fcn.00404150
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 0x4e09e8
call fcn.00409ef0
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e1680
mov dword [esi + 0x28], 0x4e1670
call fcn.00406f90
mov byte [ebp - 4], 4
mov dword [ebp - 0x258], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00404be0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
je 0x4356f4
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4356f4
push ecx
call eax
mov dword [ebp - 0x24c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c22a
mov esp, ebp
pop ebp
ret
Function at 0x4369a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be265
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5210b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x254], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x258], esi
push 0
push eax
mov dword [ebp - 0x250], 0
call fcn.0049e210
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x436a62
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x436a62
push 0
lea eax, [ebp - 0x249]
mov dword [esi], 0x4e1680
push eax
push 0x4db368
mov ecx, esi
mov dword [esi + 0x28], 0x4e1670
call fcn.00404150
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], 1
jmp 0x436adf
push 0
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4e1680
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e1670
push eax
lea ecx, [ebp - 0x248]
call fcn.00404150
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x248]
push 0x4e09e8
call fcn.00409ef0
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e1680
mov dword [esi + 0x28], 0x4e1670
call fcn.00406f90
mov byte [ebp - 4], 3
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404be0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c22a
mov esp, ebp
pop ebp
ret

Function at 0x4373b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2030
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5210b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xc
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push 0
push esi
mov dword [ecx], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00406f90
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
call fcn.004916bb
add esp, 0x34
test al, al
je 0x43742c
cmp byte [ebp + 8], 0
je 0x43742c
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x437425
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x438160
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4beaa8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5210b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 5
lea eax, [ebp - 0x40]
push 0x656
push 0x8004071a
push str.0x_08x:_x_n
push eax
call fcn.0040eb00
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
lea ecx, [ebp - 0x70]
push eax
call fcn.00437720
add esp, 4
mov byte [ebp - 4], 6
lea edx, [eax + 4]
cmp dword [edx + 0x14], 8
jb 0x438234
mov edx, dword [edx]
cmp word [edx], 0
jne 0x43823e
xor eax, eax
jmp 0x438252
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438243
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x3c]
call fcn.00409dc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00404810
cmp dword [edi + 0x18], 8
lea ecx, [edi + 4]
jb 0x438273
mov ecx, dword [ecx]
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push 0x10
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404be0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c22a
mov esp, ebp
pop ebp
ret