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

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4128c9
push 0x400
call fcn.004a0ee0
add esp, 4
mov dword [esi], eax
xor edx, edx
lea ecx, [ecx]
mov eax, edx
shr eax, 1
test dl, 1
je 0x41284e
xor eax, 0xedb88320
test al, 1
je 0x41285b
shr eax, 1
xor eax, 0xedb88320
jmp 0x41285d
shr eax, 1
test al, 1
je 0x41286a
shr eax, 1
xor eax, 0xedb88320
jmp 0x41286c
shr eax, 1
test al, 1
je 0x412879
shr eax, 1
xor eax, 0xedb88320
jmp 0x41287b
shr eax, 1
test al, 1
je 0x412888
shr eax, 1
xor eax, 0xedb88320
jmp 0x41288a
shr eax, 1
test al, 1
je 0x412897
shr eax, 1
xor eax, 0xedb88320
jmp 0x412899
shr eax, 1
test al, 1
je 0x4128a6
shr eax, 1
xor eax, 0xedb88320
jmp 0x4128a8
shr eax, 1
test al, 1
je 0x4128b5
shr eax, 1
xor eax, 0xedb88320
jmp 0x4128b7
shr eax, 1
mov ecx, dword [esi]
mov dword [ecx + edx*4], eax
inc edx
cmp edx, 0xff
jle 0x412840
pop esi
ret

Function at 0x4128d0
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.00412820
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x14]
lea ebx, [esi*2 + 2]
cmp ebx, dword [edi + 0x20]
jae 0x4128f9
cmp dword [edi + 0x1c], 0
jne 0x412916
push dword [edi + 0x1c]
call fcn.004a0edb
and ebx, 0xffffffc0
lea eax, [ebx + 0x40]
push eax
mov dword [edi + 0x20], eax
call fcn.004a0ee0
add esp, 8
mov dword [edi + 0x1c], eax
push 3
push dword [edi + 0x20]
mov ecx, edi
push dword [edi + 0x1c]
call fcn.00408320
mov ecx, dword [edi + 0x1c]
or ebx, 0xffffffff
mov edi, dword [ebp - 4]
test esi, esi
je 0x41294a
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 0x412934
mov eax, dword [edi]
test eax, eax
je 0x412959
push eax
call fcn.004a0edb
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.004a6be9
mov eax, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x52a0b0]
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 0x4132d8
mov eax, dword [eax]
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00413a40
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x413314
mov eax, dword [ebp + 0x10]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x413300
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 0x413330
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 0x414340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bab58
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x52a0b0]
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 0x41439a
call fcn.0049a2b2
mov ecx, 0x20119
test al, al
jne 0x41439f
mov ecx, 0x20019
cmp dword [esi + 0x28], 8
lea eax, [esi + 0x14]
jb 0x4143aa
mov eax, dword [eax]
push ecx
push eax
push dword [esi + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00413a40
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x4143c2
xor bl, bl
jmp 0x4143f6
cmp dword [esi + 0x54], 0
jne 0x4143cc
mov bl, 1
jmp 0x4143f6
add esi, 0x44
mov dword [ebp - 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x4143de
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 0x41440f
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 0x415730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb36f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x52a0b0]
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.00462100
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.00431500
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 0x429000
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c13c8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x52a0b0]
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], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
call fcn.00404190
mov byte [ebp - 4], 2
push SysReAllocString
mov dword [ebp - 4], 0xffffffff
call fcn.0049994b
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], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
call fcn.00404190
mov dword [ebp - 4], 4
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0x48], esp
mov ecx, edi
push eax
call fcn.004411e0
mov byte [ebp - 4], 5
push SysReAllocString
mov dword [ebp - 4], 0xffffffff
call fcn.0049994b
add esp, 0x64
mov dword [ebp - 0x40], 0x4e7a18
lea eax, [ebp - 0x41]
mov dword [ebp - 0x18], 0x4e86a8
lea ecx, [ebp - 0x40]
push 0
push eax
push 0x4e2398
call fcn.00404190
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.004250e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c20
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.004a0eca
mov esp, ebp
pop ebp
ret 8
Function at 0x436200
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3bbe
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x52a0b0]
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.00404910
mov byte [ebp - 4], 1
sub esp, 8
lea ecx, [edi + 0x60]
call fcn.00404910
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 0x436286
push 0xffffffffffffffff
push 0
push edx
call fcn.00404530
lea edx, [ebx + 0x60]
lea eax, [edx + 4]
neg edx
lea ecx, [edi + 0x64]
sbb edx, edx
and edx, eax
cmp ecx, edx
je 0x4362a3
push 0xffffffffffffffff
push 0
push edx
call fcn.00404530
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 0x436710
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3cce
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52a0b0]
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 [0x4dd5a8]
mov dword [esi + 0x10], eax
mov eax, dword [0x4dd5ac]
mov dword [esi + 0x14], eax
mov eax, dword [0x4dd5b0]
mov dword [esi + 0x18], eax
mov eax, dword [0x4dd5b4]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4dd5a8]
mov dword [esi + 0x20], eax
mov eax, dword [0x4dd5ac]
mov dword [esi + 0x24], eax
mov eax, dword [0x4dd5b0]
mov dword [esi + 0x28], eax
mov eax, dword [0x4dd5b4]
mov dword [esi + 0x2c], eax
call fcn.00404910
mov byte [ebp - 4], 1
sub esp, 8
lea ecx, [esi + 0x60]
call fcn.00404910
mov byte [ebp - 4], 2
mov ecx, esi
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
call fcn.004364c0
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 0x437120
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 0x437191
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x43715f
cmp eax, 2
jne 0x43717b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x43718b
test ecx, ecx
je 0x437186
test cl, 1
jne 0x43717b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x43718b
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 0x437980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c40da
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x52a0b0]
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 0x437a49
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.004a1216
add esp, 4
mov dword [eax], 1
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x234]
push 0x5270bc
push eax
call fcn.004a304a
push 0
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4e7a18
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e86a8
push eax
lea ecx, [ebp - 0x248]
call fcn.00404190
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 0x4e7a20
call fcn.00409f30
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e7a18
mov dword [esi + 0x28], 0x4e86a8
call fcn.00406fd0
mov byte [ebp - 4], 4
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404c20
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.004a0eca
mov esp, ebp
pop ebp
ret
Function at 0x437af0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c418a
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x52a0b0]
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 0x437bb4
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.004a1216
add esp, 4
mov dword [eax], 1
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x234]
push 0x5270bc
push eax
call fcn.004a304a
push 0
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4e7a18
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e86a8
push eax
lea ecx, [ebp - 0x248]
call fcn.00404190
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 0x4e7a20
call fcn.00409f30
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e7a18
mov dword [esi + 0x28], 0x4e86a8
call fcn.00406fd0
mov byte [ebp - 4], 4
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404c20
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.004a0eca
mov esp, ebp
pop ebp
ret
Function at 0x437c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c423a
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x52a0b0]
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.004a2ef0
add esp, 0xc
mov dword [ebp - 0x24c], 0
mov dword [ebp - 4], 1
mov eax, 0x20019
test edi, edi
jns 0x437cd2
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 0x437d29
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x208
push eax
lea eax, [ebp - 0x218]
cmp edi, 1
push eax
push 0
mov ecx, 0x4e9650
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], 0x4e7a18
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e86a8
push eax
lea ecx, [ebp - 0x248]
call fcn.00404190
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 0x4e7a20
call fcn.00409f30
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e7a18
mov dword [esi + 0x28], 0x4e86a8
call fcn.00406fd0
mov byte [ebp - 4], 4
mov dword [ebp - 0x258], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00404c20
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
je 0x437dc4
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x437dc4
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.004a0eca
mov esp, ebp
pop ebp
ret
Function at 0x439070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4775
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x52a0b0]
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.004a2ef0
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 0x439132
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 0x439132
push 0
lea eax, [ebp - 0x249]
mov dword [esi], 0x4e7a18
push eax
push 0x4e2398
mov ecx, esi
mov dword [esi + 0x28], 0x4e86a8
call fcn.00404190
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], 1
jmp 0x4391af
push 0
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4e7a18
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e86a8
push eax
lea ecx, [ebp - 0x248]
call fcn.00404190
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x248]
push 0x4e7a20
call fcn.00409f30
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e7a18
mov dword [esi + 0x28], 0x4e86a8
call fcn.00406fd0
mov byte [ebp - 4], 3
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404c20
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.004a0eca
mov esp, ebp
pop ebp
ret

Function at 0x439b50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7bc0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x52a0b0]
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], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
call fcn.00406fd0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
call fcn.004964c5
add esp, 0x34
test al, al
je 0x439bcc
cmp byte [ebp + 8], 0
je 0x439bcc
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x439bc5
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 0x43af40
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5278
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x52a0b0]
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], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
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.0040eb60
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
lea ecx, [ebp - 0x70]
push eax
call fcn.00439e30
add esp, 4
mov byte [ebp - 4], 6
lea edx, [eax + 4]
cmp dword [edx + 0x14], 8
jb 0x43b014
mov edx, dword [edx]
cmp word [edx], 0
jne 0x43b01e
xor eax, eax
jmp 0x43b032
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b023
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x3c]
call fcn.00409e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00404850
cmp dword [edi + 0x18], 8
lea ecx, [edi + 4]
jb 0x43b053
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.00404c20
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.004a0eca
mov esp, ebp
pop ebp
ret
Function at 0x43b2e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5388
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52a0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
call fcn.00406fd0
mov dword [ebp - 4], 1
xor ecx, ecx
cmp word [str._MSI5166._IS], cx
mov eax, 0xc
cmove eax, ecx
lea ecx, [ebp - 0x3c]
push eax
push str._MSI5166._IS
call fcn.00409e00
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push 0
cmovae eax, dword [ebp - 0x3c]
push pe_nt_image_headers32
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x43b38e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, 1
jmp 0x43b390
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0eca
mov esp, ebp
pop ebp
ret