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

Disassembly:
mov eax, 0x49e974
call fcn.0047d43c
sub esp, 0xb4
push ebx
push esi
push edi
push 1
pop edi
lea eax, [ebp + 0xb]
push edi
push eax
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x10], ebx
call fcn.00401884
push 0x10
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0047daf0
push 0x44
lea eax, [ebp - 0xc0]
pop esi
push esi
push ebx
push eax
call fcn.0047daf0
add esp, 0x18
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x94], edi
mov word [ebp - 0x90], bx
je 0x4495bf
mov word [ebp - 0x90], di
mov esi, dword [ebp - 0x74]
cmp esi, ebx
jne 0x4495cb
mov esi, 0x4a368c
push edi
lea eax, [ebp + 0xf]
mov edi, str.C:CodeBasesisdev_srcRuntimeMSISharedSetuputils.cpp
push eax
push edi
lea ecx, [ebp - 0x54]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x4495ee
mov eax, 0x4a368c
mov dword [ebp - 0x18], eax
push esi
lea eax, [ebp - 0x18]
push str.Attempting_to_launch:__s
push eax
mov dword [ebp - 0x14], 0x4a7
call fcn.0040a47f
add esp, 0xc
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00401093
push dword [ebp - 0x70]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x7c]
push eax
call fcn.0040b00a
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 2
call fcn.00401a14
lea ecx, [ebp - 0x2c]
mov dword [esi + 8], eax
push ecx
lea ecx, [ebp - 0xc0]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0040b112
cmp esi, ebx
je 0x44970e
push 0xff
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
push ebx
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebx
je 0x4496a0
cmp eax, 1
jne 0x4496a0
push ebx
push ebx
push ebx
lea eax, [ebp - 0x48]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
cmp dword [ebp - 0x44], 0x11
je 0x4496a0
cmp dword [ebp - 0x44], 0x10
je 0x4496a0
cmp dword [ebp - 0x44], 0x12
jne 0x449663
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x2c]
mov dword [0x4c8ee0], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
lea eax, [ebp + 0xf]
push 1
push eax
push edi
lea ecx, [ebp - 0x54]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x4496df
mov eax, 0x4a368c
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x4c8
push esi
push str.Launch_result__d__exit_code__d
push eax
call fcn.0040a47f
add esp, 0x10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00401093
mov esi, dword [ebp - 0x10]
jmp 0x449713
mov esi, 0xcccccccc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00401093
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x449732
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x49e9a1
call fcn.0047d43c
sub esp, 0x4e0
push ebx
push esi
push edi
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0047daf0
push 0x44
lea eax, [ebp - 0x74]
pop esi
push esi
push ebx
push eax
call fcn.0047daf0
add esp, 0x18
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x74], esi
mov word [ebp - 0x44], bx
push 1
pop edi
mov dword [ebp - 0x48], edi
je 0x44977a
mov word [ebp - 0x44], di
push dword [ebp + 8]
lea eax, [ebp - 0x4ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0xf]
push edi
push eax
lea eax, [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00401884
mov eax, dword [eax + 8]
mov dword [ebp - 4], ebx
cmp eax, ebx
mov dword [ebp - 0x14], 0x4a368c
je 0x4497b5
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xb]
push edi
mov esi, str.C:CodeBasesisdev_srcRuntimeMSISharedSetuputils.cpp
push eax
push esi
lea ecx, [ebp - 0x9c]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x4497db
mov eax, 0x4a368c
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x4e9
push str.Attempting_to_launch__no_wait_:__s
push eax
call fcn.0040a47f
add esp, 0xc
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], bl
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00401093
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push 0x20
push edi
push ebx
lea eax, [ebp - 0x4ec]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0xd]
push edi
push eax
push esi
lea ecx, [ebp - 0xec]
call fcn.00401884
mov eax, dword [eax + 8]
mov dword [ebp - 4], 2
cmp eax, ebx
jne 0x44985a
mov eax, 0x4a368c
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x4ee
push str.Launch_result__d
push eax
call fcn.0040a47f
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0xec]
call fcn.00401093
cmp dword [ebp + 0xc], ebx
pop edi
pop esi
pop ebx
je 0x44989d
push 0x3e8
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4498c9
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea eax, [ebp - 8]
push edi
xor ebx, ebx
push eax
push ebx
push 8
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44992c
call esi
cmp eax, 0x3f0
jne 0x449923
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
je 0x44999b
cmp eax, ebx
je 0x44999b
lea eax, [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push ebx
push ebx
push 2
push dword [ebp - 8]
call edi
test eax, eax
jne 0x44999b
call esi
cmp eax, 0x7a
jne 0x44999b
push dword [ebp - 4]
call fcn.0047d58e
mov esi, eax
pop ecx
lea eax, [ebp - 4]
cmp esi, ebx
push eax
push dword [ebp - 4]
setne byte [ebp - 0x24]
push esi
push 2
push dword [ebp - 8]
call edi
test eax, eax
je 0x44998f
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x1c]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x44999f
cmp byte [ebp - 0x24], bl
je 0x44999b
push esi
call fcn.0044c894
pop ecx
xor eax, eax
jmp 0x4499ea
xor edi, edi
cmp dword [esi], ebx
mov dword [ebp - 0x14], ebx
jbe 0x4499d2
lea eax, [esi + 4]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4499cb
add dword [ebp - 0xc], 8
inc edi
cmp edi, dword [esi]
jb 0x4499ae
jmp 0x4499d2
mov dword [ebp - 0x14], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp byte [ebp - 0x24], bl
je 0x4499e7
push esi
call fcn.0044c894
pop ecx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4499ef
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov ecx, dword [ebp + 8]
cmp dword [0x4c8f68], ecx
jne 0x449a0a
mov eax, dword [0x4c1004]
cmp eax, 0xffffffff
jne 0x449a4a
lea eax, [ebp - 0x14]
push 0x14
push eax
push 0x1004
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x449a44
lea eax, [ebp - 0x14]
push eax
call fcn.0047eeb5
pop ecx
lea ecx, [ebp - 0x34]
push 2
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x449a44
movsx eax, word [ebp - 0x34]
mov dword [0x4c1004], eax
mov ax, word [0x4c1004]
leave
ret
Function at 0x449f3a
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x49ea23
call fcn.0047d43c
sub esp, 0x460
and byte [ebp - 0x33c], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x33b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, 0x104
lea eax, [ebp - 0x33c]
push ebx
push eax
push dword [0x4c8ee8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x33c]
lea ecx, [ebp - 0x46c]
push eax
call fcn.00446da5
and byte [ebp - 0x134], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x4c8288
mov ecx, esi
stosb byte es:[edi], al
call fcn.00401a14
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.0044a107
pop ecx
test eax, eax
pop ecx
je 0x44a02b
and byte [ebp - 0x238], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x237]
mov byte [ebp - 0xd], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x134]
push eax
push 0
lea eax, [ebp - 0x238]
push 0x4c1244
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x134]
push 0
push eax
mov ecx, esi
call fcn.00401a14
push eax
lea ecx, [ebp - 0x46c]
call fcn.00447b63
jmp 0x44a088
mov eax, 0x4c82b0
mov ecx, eax
test ecx, ecx
je 0x44a04f
cmp byte [0x4c82b0], 0
je 0x44a04f
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x44a084
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x33c]
push eax
call fcn.00448f52
mov ecx, esi
call fcn.00401a14
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00449198
and byte [ebp - 0xd], 0
lea ecx, [ebp - 0x30]
call fcn.004028f6
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0040293e
push dword [ebp + 0x14]
lea ecx, [ebp - 0x30]
push dword [ebp + 0x10]
push 0x4c6e14
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00402b3d
cmp byte [ebp - 0xd], 0
pop edi
pop esi
pop ebx
je 0x44a0d2
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00403091
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403aee
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x46c]
call fcn.004473e5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x44a44a
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x49eae4
call fcn.0047d43c
sub esp, 0x60
push ebx
push esi
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x6c]
push dword [0x4a4278]
call fcn.00401884
lea eax, [ebp - 0xe]
push 1
push eax
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00401884
mov esi, dword [ebp + 0xc]
push 0xa
lea eax, [ebp - 0x6c]
push ebx
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00435c72
lea ecx, [ebp - 0x44]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], bl
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00401093
cmp dword [ebp + 0xc], 4
jne 0x44a564
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
lea edx, [ebp - 0x6c]
push 4
push edx
call dword [eax + 0x1c]
push str.1.20.1827.0
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.004042dd
push eax
call fcn.00449449
pop ecx
pop ecx
test eax, eax
setge byte [ebp + 0xf]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00402438
cmp byte [ebp + 0xf], bl
je 0x44a50b
mov esi, 0x300
jmp 0x44a5c4
lea eax, [ebp + 0xf]
push 1
push eax
lea ecx, [ebp - 0x44]
push dword [0x4a428c]
call fcn.00401884
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x6c]
push dword [ebp + 8]
mov dword [ebp - 4], 3
call fcn.00401884
push 0xa
lea eax, [ebp - 0x44]
push ebx
push eax
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.00435c72
lea ecx, [ebp - 0x6c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
jmp 0x44a5bb
lea eax, [ebp + 0xf]
push 1
push eax
lea ecx, [ebp - 0x44]
push dword [0x4a428c]
call fcn.00401884
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x6c]
push dword [ebp + 8]
mov dword [ebp - 4], 5
call fcn.00401884
push 0xa
lea eax, [ebp - 0x44]
push ebx
push eax
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
mov byte [ebp - 4], 6
call fcn.00435c72
lea ecx, [ebp - 0x6c]
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401093
cmp esi, ebx
je 0x44a636
mov dword [ebp + 8], ebx
push 0x20019
push str.SystemCurrentControlSetControlWindows
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 7
call fcn.00419f99
test eax, eax
jne 0x44a628
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.CSDVersion
mov dword [ebp - 0x1c], ebx
push dword [ebp + 8]
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x14], esi
jae 0x44a628
cmp dword [ebp + 8], ebx
je 0x44a624
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x44a639
cmp dword [ebp + 8], ebx
je 0x44a636
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44cd4c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x49ebd2
call fcn.0047d43c
sub esp, 0xf4
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 0x30]
mov dword [ebp - 4], esi
test bl, 0x10
je 0x44cd9e
lea ecx, [ebp + 8]
call fcn.00439b66
test al, al
je 0x44cd9e
push ebx
lea eax, [ebp + 8]
sub esp, 0x28
mov ecx, esp
mov dword [ebp + 0x30], esp
push 1
push eax
call fcn.00407ae3
call fcn.0044d001
add esp, 0x2c
mov bl, al
jmp 0x44cf1b
sub esp, 0x28
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push esi
push eax
mov dword [ecx], 0x4a36b8
mov dword [ecx + 0x20], 0x4a36b0
call fcn.00403d4e
call fcn.00455aee
add esp, 0x28
cmp eax, 0xffffffff
je 0x44cdeb
test bl, 4
je 0x44cdd3
test al, 0x10
je 0x44cde4
test bl, 8
je 0x44cf19
test al, 0x10
je 0x44cf19
mov bl, 1
jmp 0x44cf1b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov esi, eax
cmp esi, 2
je 0x44cf2b
cmp esi, 3
je 0x44cf2b
push 1
cmp esi, 5
pop ebx
jne 0x44cea0
lea ecx, [ebp - 0x100]
call fcn.0044cf72
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 8]
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x14], esp
push ebx
push eax
call fcn.00407ae3
call fcn.00455998
add esp, 0x2c
cmp eax, 0xffffffff
je 0x44ce8d
test byte [ebp + 0x30], 4
je 0x44ce5b
test byte [ebp - 0x100], 0x10
je 0x44ce6c
test byte [ebp + 0x30], 8
je 0x44ce6a
test byte [ebp - 0x100], 0x10
jne 0x44ce6c
xor bl, bl
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
test ecx, ecx
je 0x44ce79
push eax
call ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.0044cfcb
jmp 0x44cf1b
call edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
mov esi, eax
call fcn.0044cfcb
test byte [ebp + 0x30], 0x20
je 0x44cf19
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x4a4238
mov dword [ebp - 0x1c], 0x4a4230
call fcn.00403d4e
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], 0x4a4240
call fcn.0043e18d
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.0044cf48
mov eax, dword [ebp - 0x84]
push 0x4b1e88
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x84], vtable.is::file_exception.0
lea eax, [ebp - 0x84]
push eax
call fcn.0047ecc7
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402438
mov al, bl
jmp 0x44cf39
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402438
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x44f3d3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x94], 0x94
and dword [eax], 0
lea eax, [ebp - 0x94]
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 1
jne 0x44f44e
cmp dword [ebp - 0x8c], 0
je 0x44f446
cmp dword [ebp - 0x8c], 0xa
je 0x44f431
cmp dword [ebp - 0x8c], 0x5a
je 0x44f43a
xor al, al
mov dword [esi], 0x80
jmp 0x44f4bf
call fcn.0044f943
test al, al
je 0x44f43e
mov al, 1
jmp 0x44f426
mov dword [esi], 0x40
jmp 0x44f4a8
mov dword [esi], 0x10
jmp 0x44f4a8
cmp dword [ebp - 0x84], 2
jne 0x44f4bd
mov eax, dword [ebp - 0x90]
sub eax, 4
je 0x44f4b5
mov ecx, dword [ebp - 0x8c]
dec eax
je 0x44f478
dec eax
je 0x44f49e
xor al, al
mov dword [esi], 0x2000000
jmp 0x44f4bf
test ecx, ecx
jne 0x44f484
mov dword [esi], 0x100000
jmp 0x44f4a8
cmp ecx, 1
jne 0x44f491
mov dword [esi], 0x400000
jmp 0x44f4a8
cmp ecx, 2
jne 0x44f49e
mov dword [esi], 0x800000
jmp 0x44f4a8
test ecx, ecx
jne 0x44f4ac
mov dword [esi], 0x1000000
mov al, 1
jmp 0x44f4bf
cmp ecx, 1
jne 0x44f46e
mov al, cl
jmp 0x44f470
mov dword [esi], 0x10000
jmp 0x44f4a8
xor al, al
pop esi
leave
ret

Function at 0x44f838
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x44f867
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44f867
call eax
jmp 0x44f93e
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
mov ebx, 0xf003f
push eax
push ebx
push 0
mov edi, SysStringLen
push str..DefaultControl_PaneldesktopResourceLocale
push edi
mov dword [ebp - 0xc], 0xa
call esi
test eax, eax
jne 0x44f8b3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x4c6e14
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44f914
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
push 0
push str..DEFAULTControl_PanelInternational
push edi
call esi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x44f8e8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.Locale
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x44f8fc
cmp esi, ebx
je 0x44f8fc
push dword [ebp - 8]
call esi
cmp edi, ebx
je 0x44f91c
cmp dword [ebp - 4], ebx
je 0x44f90e
cmp esi, ebx
je 0x44f90e
push dword [ebp - 4]
call esi
mov ax, 0x409
jmp 0x44f93e
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0047d59c
add esp, 0xc
cmp dword [ebp - 4], ebx
mov edi, eax
je 0x44f93b
cmp esi, ebx
je 0x44f93b
push dword [ebp - 4]
call esi
mov ax, di
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44fa57
Capabilities:
Get common file path

Disassembly:
mov eax, 0x49f243
call fcn.0047d43c
sub esp, 0x15c
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
push 1
mov esi, 0x104
pop ebx
cmp dword [ebp + 0xc], ebx
jne 0x44fb02
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x44fb02
push str.GetSystemWindowsDirectoryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4c1634], eax
je 0x44fb02
lea ecx, [ebp - 0x168]
push esi
push ecx
call eax
test eax, eax
je 0x44fb02
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x168]
mov edi, 0x4a4238
mov esi, 0x4a4230
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], esi
call fcn.00402d70
push 0x4bd790
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.0044fb94
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403d4e
mov dword [ebp - 0x14], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
jmp 0x44fb7d
lea eax, [ebp - 0x168]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x44fb2a
lea ecx, [ebp - 0x30]
call fcn.0043de7a
lea eax, [ebp - 0x30]
push 0x4b4378
push eax
call fcn.0047ecc7
lea eax, [ebp - 0xd]
push 0
push eax
lea eax, [ebp - 0x168]
mov edi, 0x4a4238
mov esi, 0x4a4230
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], esi
call fcn.00402d70
push 0x4bd790
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 2
call fcn.0044fb94
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403d4e
and byte [ebp - 4], 0
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x3c]
call fcn.00402438
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x451c82
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x49f4a8
call fcn.0047d43c
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00419f99
mov edi, eax
cmp edi, esi
je 0x451ccc
cmp dword [ebp - 0x10], esi
je 0x451cc5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x451d69
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], pe_nt_image_headers32
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x451d3d
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.00451c82
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x451d2a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], pe_nt_image_headers32
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x451cef
cmp dword [ebp - 0x10], esi
je 0x451d38
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x451d69
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x451d50
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x451d67
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4