joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4262e0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x44c9a8
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x45d2b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x20]
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
jne 0x426333
xor ecx, ecx
jmp 0x426341
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x426338
sub ecx, esi
push eax
mov edi, ecx
lea eax, [esp + 0x24]
call fcn.00404150
lea edi, [esp + 0x20]
call fcn.00424ea0
mov esi, dword [esp + 0x20]
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x426383
push str._AFTERREBOOT
push esi
call fcn.004380d2
add esp, 8
test eax, eax
je 0x426383
sub eax, esi
cmp eax, 0xffffffff
je 0x426383
mov dword [ebp + 0x1c], 1
jmp 0x42638a
mov dword [ebp + 0x1c], 0
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4263ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4

Function at 0x426630
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
sub esp, 0x1c
push edi
push str.Rsinstall_Start_______________________________________________________________
push 0x80
call fcn.004025a0
add esp, 8
push str.DDF51177_0BB6_475c_BBCC_F1B3F310D2BB
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42667f
push str.Rsinstall_is_Runing_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
add esp, 0x1c
ret 0x10
push str.WinMain
push 0x453330
push 0x80
call fcn.004025a0
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
add esp, 0xc
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov edi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [0x560bbc], eax
call fcn.00426ca0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42670a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42672a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
add esp, 0x1c
ret 0x10
Function at 0x426ef0
Capabilities:
Create thread

Disassembly:
push ecx
push str.CWorkClass::Four_ExtratAllPack
push 0x451594
push 0x80
call fcn.004025a0
add esp, 0xc
lea eax, [esp]
push eax
push 0
push esi
push 0x426aa0
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push str.WaitFor_ExtratAllPack_Start
push 0x80
mov dword [esi + 8], eax
call fcn.004025a0
mov ecx, dword [esi + 8]
add esp, 8
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.WaitFor_ExtratAllPack_End
push 0x80
call fcn.004025a0
mov eax, 1
add esp, 0xc
ret
Function at 0x427400
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x44e3d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45d2b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push str.CWorkClass::IsShowInstall
push 0x451594
push 0x80
call fcn.004025a0
add esp, 0xc
call fcn.004287a0
cmp dword [eax + 0x14], 0
je 0x4274af
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.00422800
lea edi, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00424ea0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
or esi, 0xffffffff
test eax, eax
jl 0x4274c3
push str._SILENCE
push ecx
call fcn.004380d2
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x4274c3
sub eax, ecx
cmp eax, esi
je 0x4274c3
lea eax, [ecx - 0x10]
mov dword [esp + 0x18], esi
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x4274af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
lea eax, [ecx - 0x10]
mov dword [esp + 0x18], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4274e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x427500
Capabilities:
Create thread

Disassembly:
push ecx
push edi
push str.CWorkClass::FirstInstall
push 0x451594
push 0x80
mov edi, 1
call fcn.004025a0
add esp, 0xc
call fcn.00427400
test eax, eax
je 0x42758e
push str.CWorkClass::Three_LoadUI_Show
push 0x451594
push 0x80
call fcn.004025a0
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x426b60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x427589
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadUI_failed_Err_d
push 0x80
call fcn.004025a0
add esp, 0xc
push 0
push str.RsInstall
push str.LoadUiWindow_Failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, edi
pop edi
pop ecx
ret
mov eax, esi
call fcn.004275a0
xor eax, eax
pop edi
pop ecx
ret
Function at 0x427760
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.00432590
mov ebx, dword [eax]
call fcn.00432590
mov ebp, eax
mov eax, dword [ebp + 0x20]
mov edx, dword [eax - 8]
add ebp, 0x20
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov edi, 0x104
sub edx, edi
or ecx, edx
jge 0x42779b
mov ecx, edi
mov eax, ebp
call fcn.004043a0
mov esi, dword [ebp]
cmp dword [esi - 8], edi
jge 0x4277ad
push 0x80070057
call fcn.00404c40
mov dword [esi - 0xc], edi
mov eax, dword [ebp]
push edi
mov byte [eax + 0x104], 0
call fcn.00428080
add esp, 4
call fcn.00432590
mov esi, eax
mov eax, dword [esi + 0x20]
mov ecx, dword [eax - 8]
add esi, 0x20
test eax, eax
je 0x4277e5
push ecx
push eax
call fcn.004389ba
add esp, 8
test eax, eax
jl 0x4277a3
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4277a3
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
call fcn.00427400
test eax, eax
je 0x427871
push str.CWorkClass::Three_LoadUI_Show
push 0x451594
push 0x80
call fcn.004025a0
mov esi, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0
push esi
push 0x426b60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x42787a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadUI_failed_Err_d
push 0x80
call fcn.004025a0
add esp, 0xc
push 0
push str.RsInstall
push str.LoadUiWindow_Failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
mov edi, dword [esp + 0x18]
call fcn.00427890
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
Function at 0x427e10
Capabilities:
Get common file path
Read .ini file
Set current directory

Disassembly:
sub esp, 0x52c
mov eax, dword [0x45d2b0]
xor eax, esp
mov dword [esp + 0x528], eax
push ebx
push ebp
push esi
push 0x104
xor ebp, ebp
lea eax, [esp + 0x11]
push ebp
push eax
mov byte [esp + 0x18], 0
call fcn.0043d080
push 0x105
mov ebx, 0x4511a8
lea esi, [esp + 0x1c]
call fcn.00428080
xor ebx, ebx
add esp, 0x10
cmp byte [esp + 0xc], bl
jne 0x427e72
push 0x105
mov ebx, 0x4537d4
call fcn.00428080
add esp, 4
xor ebx, ebx
jmp 0x427e77
mov ebp, 1
push 0x104
lea ecx, [esp + 0x221]
push ebx
push ecx
mov byte [esp + 0x228], bl
call fcn.0043d080
push 0x104
lea edx, [esp + 0x125]
push ebx
push edx
mov byte [esp + 0x12c], bl
call fcn.0043d080
add esp, 0x18
xor eax, eax
mov cl, byte [esp + eax + 0xc]
mov byte [esp + eax + 0x21c], cl
inc eax
cmp cl, bl
jne 0x427eb0
lea eax, [esp + 0x21c]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x427ec8
mov ecx, dword [str.CompsVer.inf]
mov edx, dword [0x4537dc]
mov dword [eax], ecx
mov ecx, dword [0x4537e0]
mov dword [eax + 4], edx
mov dx, word [0x4537e4]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x21c]
push eax
push 0x105
lea ecx, [esp + 0x11c]
push ecx
push 0x451170
push str.Version
push str.UPDATE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esp + 0x114], bl
je 0x427fec
push 0x104
lea edx, [esp + 0x431]
push ebx
push edx
mov byte [esp + 0x438], bl
call fcn.0043d080
add esp, 0xc
lea eax, [esp + 0x42c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0xc]
push ecx
call esi
push 0x104
lea edx, [esp + 0x329]
push ebx
push edx
mov byte [esp + 0x330], bl
call fcn.0043d080
add esp, 0xc
xor eax, eax
jmp 0x427f90
mov cl, byte [esp + eax + 0xc]
mov byte [esp + eax + 0x324], cl
inc eax
cmp cl, bl
jne 0x427f90
push edi
lea edi, [esp + 0x328]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x427fb0
lea ecx, [esp + 0x118]
push ecx
call fcn.0043997d
add esp, 4
cmp eax, 0x15
pop edi
jl 0x427fe2
mov eax, 0x4511a8
cmp ebp, ebx
jne 0x427fdc
mov eax, 0x4537d4
push eax
call fcn.00427c70
lea edx, [esp + 0x42c]
push edx
call esi
mov ecx, dword [esp + 0x534]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00437bf9
add esp, 0x52c
ret
Function at 0x428080
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x45d2b0]
xor eax, esp
mov dword [esp + 0x110], eax
mov byte [esi], 0
mov ecx, dword [0x453844]
mov edx, dword [0x453848]
mov eax, dword [str.SOFTWARERising_]
push ebp
xor ebp, ebp
push 0xf4
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov eax, dword [0x45384c]
mov dword [esp + 0x14], ecx
mov cl, byte [0x453850]
lea edx, [esp + 0x21]
push ebp
push edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], cl
call fcn.0043d080
lea eax, [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4280e8
sub eax, edx
mov edx, eax
lea eax, [esp + 0xc]
push edi
lea edi, [eax + 1]
jmp 0x428100
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428100
mov ecx, 0x105
sub ecx, edx
push ecx
sub eax, edi
push ebx
lea edx, [esp + eax + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [esp + 8]
push eax
push 1
push 0
lea ecx, [esp + 0x1c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
test eax, eax
jne 0x42818f
mov ecx, dword [esp + 4]
lea edx, [esp + 0x11c]
push edx
push esi
lea eax, [esp + 0x10]
push eax
push 0
push str.installpath
push ecx
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x428184
push 0x5c
push esi
call fcn.00437d4b
add esp, 8
test eax, eax
je 0x42817f
cmp byte [eax + 1], 0
jne 0x42817f
mov byte [eax], 0
mov ebp, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x114]
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00437bf9
add esp, 0x114
ret
Function at 0x42a1d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x134
mov eax, dword [0x45d2b0]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
mov esi, dword [0x560bc4]
push edi
push 0x98
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0043d080
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
je 0x42a23b
movzx edx, word [esp + 0x9c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
jmp 0x42a28c
push 0x90
lea eax, [esp + 0xac]
push 0
push eax
call fcn.0043d080
add esp, 0xc
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xa8], 0x94
call edi
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [esi + 4], 0
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov eax, dword [esi + 8]
mov ecx, 1
cmp eax, ecx
jne 0x42a29b
mov dword [esi + 0x14], ecx
cmp eax, 2
jne 0x42a2a9
cmp dword [esi + 0xc], 4
jne 0x42a2a9
mov dword [esi + 0x18], ecx
cmp dword [esi + 0xc], 6
jne 0x42a2bd
cmp dword [esi + 0x10], 0
jne 0x42a2ba
mov dword [esi + 0x1c], ecx
jmp 0x42a2bd
mov dword [esi + 0x20], ecx
push str.IsWow64Process
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x42a2e7
lea edx, [esi + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push eax
push ecx
push edx
push str.The_System_is__d._d_bIs64_d
push 0x80
call fcn.004025a0
mov ecx, dword [esp + 0x14c]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.00437bf9
add esp, 0x134
ret
Function at 0x42c1f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44d967
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45d2b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov dword [esp + 0x14], 0
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x14], 1
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x14], 2
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x14], 3
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 0x20], eax
or edi, 0xffffffff
lea eax, [esi + 0x34]
mov byte [esp + 0x14], 4
push eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.00430e70
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], 1
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x42d0d0
Capabilities:
Check if file exists
Get file attributes
Inspect section memory permissions

Disassembly:
sub esp, 0x14
mov eax, dword [0x45d2b0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov dword [esp + 0x10], eax
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42d235
call fcn.00435880
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
mov edi, 1
xor ebx, ebx
mov ebp, edi
cmp eax, 0xffffffff
je 0x42d190
xor esi, esi
test al, 1
je 0x42d121
mov esi, SysReAllocString
test al, 2
je 0x42d12b
or esi, 0x40000000
test al, 4
je 0x42d135
or esi, 0x20000000
test al, 8
je 0x42d13f
or esi, 0x10000000
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push 0x221
push 0x20
push 2
lea edx, [esp + 0x24]
push edx
push esi
push eax
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 5
call fcn.00401410
mov edi, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push edi
push esi
push ecx
push str.Set_File__s_Users_Access_Rights_0x_08X_return:__d
push 0x80
call fcn.004025a0
add esp, 0x2c
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x28]
cmp eax, 0xffffffff
je 0x42d213
xor esi, esi
test al, 1
je 0x42d1a7
mov esi, SysReAllocString
test al, 2
je 0x42d1b1
or esi, 0x40000000
test al, 4
je 0x42d1bb
or esi, 0x20000000
test al, 8
je 0x42d1c5
or esi, 0x10000000
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push ebx
push 1
lea ecx, [esp + 0x20]
push ecx
push esi
push eax
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 1
call fcn.00401410
mov edx, dword [esp + 0x28]
add esp, 0x14
mov ebp, eax
mov eax, dword [edx]
push ebp
push esi
push eax
push str.Set_File__s_Everyone_Access_Rights_0x_08X_return:__d
push 0x80
call fcn.004025a0
add esp, 0x14
cmp edi, ebx
je 0x42d235
cmp ebp, ebx
je 0x42d235
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00437bf9
add esp, 0x14
ret 8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00437bf9
add esp, 0x14
ret 8
Function at 0x42dcd0
Capabilities:
Check if file exists
Get file attributes
Inspect section memory permissions

Disassembly:
sub esp, 0x14
mov eax, dword [0x45d2b0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov dword [esp + 0x10], eax
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42de35
call fcn.00435880
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x3c]
mov edi, 1
xor ebx, ebx
mov ebp, edi
cmp eax, 0xffffffff
je 0x42dd90
xor esi, esi
test al, 1
je 0x42dd21
mov esi, SysReAllocString
test al, 2
je 0x42dd2b
or esi, 0x40000000
test al, 4
je 0x42dd35
or esi, 0x20000000
test al, 8
je 0x42dd3f
or esi, 0x10000000
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push 0x221
push 0x20
push 2
lea edx, [esp + 0x24]
push edx
push esi
push eax
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 5
call fcn.00401410
mov edi, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push edi
push esi
push ecx
push str.Set_File__s_Users_Access_Rights_0x_08X_return:__d
push 0x80
call fcn.004025a0
add esp, 0x2c
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x40]
cmp eax, 0xffffffff
je 0x42de13
xor esi, esi
test al, 1
je 0x42dda7
mov esi, SysReAllocString
test al, 2
je 0x42ddb1
or esi, 0x40000000
test al, 4
je 0x42ddbb
or esi, 0x20000000
test al, 8
je 0x42ddc5
or esi, 0x10000000
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push ebx
push 1
lea ecx, [esp + 0x20]
push ecx
push esi
push eax
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 1
call fcn.00401410
mov edx, dword [esp + 0x28]
add esp, 0x14
mov ebp, eax
mov eax, dword [edx]
push ebp
push esi
push eax
push str.Set_File__s_Everyone_Access_Rights_0x_08X_return:__d
push 0x80
call fcn.004025a0
add esp, 0x14
cmp edi, ebx
je 0x42de35
cmp ebp, ebx
je 0x42de35
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00437bf9
add esp, 0x14
ret 8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00437bf9
add esp, 0x14
ret 8
Function at 0x42e870
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44d7fb
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x45d2b0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x10], 0
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x10], 1
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x10], 2
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x10], 3
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x10], 4
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x10], 5
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x10], 6
mov eax, dword [0x45fdc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45fdc0
call edx
add eax, 0x10
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x40]
push eax
mov byte [esp + 0x14], 7
call fcn.0042e0a0
lea ecx, [esi + 0x5c]
push ecx
mov byte [esp + 0x14], 8
call fcn.0042e0a0
lea edx, [esi + 0x80]
push edx
mov byte [esp + 0x14], 9
call fcn.00430e70
or eax, 0xffffffff
mov dword [esi + 0x78], 1
mov dword [esi + 0x7c], 1
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x432ff0
Capabilities:
Create thread

Disassembly:
push ecx
push 0x10
call fcn.004386a4
add esp, 4
test eax, eax
jne 0x433014
xor al, al
mov byte [esp + 8], al
push 0x458734
lea eax, [esp + 0xc]
push eax
call fcn.0043b0bb
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
lea ecx, [esp]
push ecx
push 0
push eax
push 0x432f70
mov dword [eax], edx
mov edx, dword [esp + 0x24]
push 0
push 0
mov dword [eax + 8], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret 0x10

Function at 0x434110
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0xc
test esi, esi
je 0x434196
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x434174
lea ecx, [esp + 4]
push ecx
push esi
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x10]
push str.SystemRoot
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
test eax, eax
jne 0x43418e
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
call edi
pop edi
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret

Function at 0x4341a0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push edi
mov edi, eax
test edi, edi
je 0x434248
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x105
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43420d
lea ecx, [esp + 8]
push ecx
push edi
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x14]
push str.SystemRoot
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call esi
test eax, eax
jne 0x434230
push 0x105
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
call esi
pop esi
pop edi
add esp, 0xc
ret
push str._system32
mov ecx, 0x105
call fcn.00402040
push edi
call esi
pop esi
pop edi
add esp, 0xc
ret
xor eax, eax
pop edi
add esp, 0xc
ret