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

Disassembly:
push ebp
lea ebp, [esp - 0x8004]
mov eax, 0x8004
call fcn.00442670
push 0xffffffffffffffff
push 0x444ff6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x45800c]
xor eax, ebp
mov dword [ebp + 0x8000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0x800c]
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.0040fd2b
xor esi, esi
mov edi, esi
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x3fff
push eax
push esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
push eax
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
test ebx, ebx
jne 0x41ddb9
mov dword [ebp - 0x10], 0x3fff
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.00403c85
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
mov eax, dword [ebp - 0x2c]
push edi
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp dword [ebp - 0x1c], 1
mov ebx, eax
jne 0x41ddc9
test ebx, ebx
jne 0x41ddac
mov edi, dword [ebp - 0x10]
call fcn.0040268c
push eax
push edi
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040245d
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00402a4c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
call fcn.0041e7e5
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00401759
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00401759
mov edi, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
push esi
call fcn.0042e92f
pop ecx
xor esi, esi
inc edi
mov dword [ebp - 0x28], edi
test ebx, ebx
jne 0x41ddd4
mov ebx, dword [ebp - 0x2c]
jmp 0x41dce6
push esi
call fcn.0042e92f
pop ecx
xor al, al
jmp 0x41dddd
cmp ebx, 0x103
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8000]
xor ecx, ebp
call fcn.0042e8fb
lea esp, [ebp + 0x8004]
pop ebp
ret 4

Function at 0x41f020
Capabilities:
Read file on windows

Disassembly:
push 0x18
mov eax, 0x445246
call fcn.00442121
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push 0xc
push 0
push eax
call fcn.0042fde0
add esp, 0xc
lea eax, [ebp - 0x24]
push 0
push eax
push 0xa
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41f05a
xor al, al
jmp 0x41f092
cmp dword [ebp - 0x24], 0xa
jne 0x41f056
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402a4c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push str._aiu_
call fcn.00402d87
mov ecx, dword [ebp - 0x20]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00401759
mov al, bl
call fcn.004420cb
ret 8
Function at 0x41f09a
Capabilities:
Read file on windows

Disassembly:
push 0x14
mov eax, 0x44527b
call fcn.00442121
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push 6
push 0
push eax
call fcn.0042fde0
add esp, 0xc
lea eax, [ebp - 0x20]
push 0
push eax
push 5
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41f0d4
xor al, al
jmp 0x41f131
cmp dword [ebp - 0x20], 5
jne 0x41f0d0
call fcn.0040268c
push eax
lea ecx, [ebp - 0x1c]
call fcn.004024c1
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040290d
test al, al
jne 0x41f108
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004040cc
push str._aiu_
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
call fcn.00402d87
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00401759
mov al, bl
call fcn.004420cb
ret 8
Function at 0x41f947
Capabilities:
Write file on windows

Disassembly:
push 0x14
mov eax, 0x4453f9
call fcn.004420ed
mov edi, ecx
push dword [ebp + 8]
lea esi, [edi + 8]
mov ecx, esi
call fcn.004023ce
push esi
push 0x44eb20
mov ecx, edi
call fcn.0041f8d2
xor ebx, ebx
mov ecx, esi
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
call fcn.00404009
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
cmp eax, 0xffffffff
jne 0x41f9ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x18]
mov ebx, eax
jmp 0x41fab5
push str._echo_off__r_n
lea ecx, [ebp + 8]
call fcn.00402a4c
mov byte [ebp - 4], 1
cmp dword [edi + 0x1c], 0
mov dword [ebp - 0x10], ebx
jle 0x41fa1f
lea esi, [edi + 0x18]
call fcn.0040268c
push eax
lea ecx, [ebp - 0x10]
call fcn.004024c1
push ebx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00402bb2
push dword [eax]
lea eax, [ebp - 0x10]
push str.del___s___r_n
push eax
call fcn.00404020
mov esi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.004015d8
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00401759
inc ebx
lea esi, [edi + 0x18]
cmp ebx, dword [edi + 0x1c]
jl 0x41f9c9
xor ebx, ebx
lea esi, [edi + 8]
call fcn.0040268c
push eax
lea ecx, [ebp - 0x10]
call fcn.004024c1
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push dword [esi]
push dword [edi]
push dword [edi + 4]
push dword [edi + 4]
push dword [edi + 4]
push str.:again__r_nif_not_exist___s__goto_end__r_nif_exist___s__del___s___r_ngoto_again__r_n:end__r_nrmDir___s___r_ndel___s___cls
push eax
call fcn.00404020
mov esi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
add esp, 0x1c
push dword [esi - 0xc]
push esi
call fcn.004015d8
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 4
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea edx, [ebp - 0x20]
mov ecx, edi
call fcn.00409a2d
mov edi, dword [ebp - 0x18]
pop ecx
test eax, eax
jle 0x41fa95
push ebx
lea ecx, [ebp - 0x10]
dec eax
push ecx
push eax
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x1c]
call fcn.0042e92f
pop ecx
lea ecx, [esi - 0x10]
call fcn.00401759
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401759
test edi, edi
je 0x41fabc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
call fcn.004420b6
ret 4
Function at 0x41fac6
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x4c
push 0x44
mov eax, 0x445424
call fcn.004420ed
mov edi, ecx
call fcn.0040268c
push eax
lea ecx, [ebp + 0x4c]
call fcn.004024c1
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [ebp + 0x58], bl
je 0x41fb2e
lea esi, [edi + 4]
push 0x5c
push dword [esi]
call fcn.00431244
pop ecx
pop ecx
test eax, eax
je 0x41fb2e
sub eax, dword [esi]
sar eax, 1
test eax, eax
jle 0x41fb2e
push eax
lea eax, [ebp + 0x58]
mov ecx, esi
push eax
call fcn.00402305
push eax
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 1
call fcn.004023ce
mov ecx, dword [ebp + 0x58]
lea ecx, [ecx - 0x10]
call fcn.00401759
push 0x40
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.0042fde0
mov esi, dword [ebp + 0x4c]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x50], 0x44
xorps xmm0, xmm0
mov eax, esi
movups xmmword [ebp + 0x3c], xmm0
cmp dword [esi - 0xc], ebx
cmove eax, ecx
lea ecx, [ebp + 0x3c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi + 0xc]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41fbb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x38
mov ebx, eax
lea eax, [ebp + 4]
push 0
push eax
call fcn.0042fde0
mov eax, dword [edi + 8]
add esp, 0xc
and dword [ebp + 0x1c], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp]
mov dword [ebp], 0x3c
push eax
mov dword [ebp + 4], 0x400
mov dword [ebp + 0xc], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x41fbc1
mov ecx, dword [ebp + 0x44]
call fcn.004296d5
lea ecx, [esi - 0x10]
call fcn.00401759
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x50]
pop ebp
ret 4

Function at 0x421461
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0x38
xor edi, edi
lea eax, [ebp - 0x38]
push edi
push eax
mov esi, ecx
call fcn.0042fde0
mov bl, byte [ebp + 8]
add esp, 0xc
mov eax, dword [ebp - 0x38]
test bl, bl
mov dword [ebp - 0x3c], 0x3c
push 0x40
pop ecx
cmovne eax, ecx
lea ecx, [esi + 0xf8]
mov dword [ebp - 0x38], eax
call fcn.00404009
mov dword [ebp - 0x2c], eax
xor ecx, ecx
mov eax, dword [esi + 0x6c]
inc ecx
shr eax, 2
test cl, al
mov dword [ebp - 0x30], str.open
push edi
pop eax
cmovne ecx, eax
mov dword [ebp - 0x20], ecx
lea ecx, [esi + 0x90]
mov eax, dword [ecx]
cmp dword [eax - 0xc], edi
je 0x4214d2
call fcn.00404009
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4214e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test bl, bl
je 0x42150c
test edi, edi
jne 0x42150c
cmp dword [ebp - 4], edi
je 0x42150c
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4218f1
Capabilities:
Delete directory
Delete file
Parse url

Disassembly:
push 0x44
mov eax, 0x445803
call fcn.004420ed
mov edi, ecx
cmp dword [edi + 0x78], 0
jle 0x4219d3
push 0
lea ecx, [edi + 0x74]
call fcn.00402bb2
push 0x3c
pop ebx
push ebx
mov esi, eax
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0042fde0
add esp, 0xc
mov dword [ebp - 0x50], ebx
lea eax, [ebp - 0x50]
xor ebx, ebx
push eax
push ebx
push ebx
push dword [esi]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x421948
cmp dword [ebp - 0x44], 5
je 0x4219d3
lea esi, [edi + 0xf8]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.00401706
add eax, 0x10
mov dword [ebp - 0x10], eax
push str..part
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040145f
lea ecx, [ebp - 0x10]
call fcn.00405092
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test al, al
je 0x421986
push edi
call ebx
mov ecx, esi
call fcn.00405092
test al, al
je 0x421995
push dword [esi]
call ebx
push 0x5c
push dword [esi]
call fcn.00431244
pop ecx
pop ecx
test eax, eax
je 0x4219cb
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x4219cb
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00402305
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esi - 0x10]
call fcn.00401759
lea ecx, [edi - 0x10]
call fcn.00401759
xor eax, eax
call fcn.004420b6
ret

Function at 0x4221a3
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
lea ecx, [edi + 0xa0]
call fcn.00404009
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4221ec
cmp dword [edi + 0xc4], ebx
je 0x4221ec
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [edi + 0xc4]
jne 0x4221ec
mov bl, 1
test esi, esi
je 0x4221f7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
ret

Function at 0x422514
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, ecx
cmp dword [esi + 0x98], 3
je 0x42252d
xor al, al
jmp 0x4225bf
push edi
xor edi, edi
cmp dword [esi + 0xa8], edi
jne 0x4225bc
push 0x38
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0042fde0
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
lea ecx, [esi + 0xa0]
mov dword [ebp - 0x3c], 0x40
call fcn.00404009
mov dword [ebp - 0x30], eax
lea ecx, [esi + 0xa4]
mov eax, dword [ecx]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], str.open
cmp dword [eax - 0xc], edi
je 0x422586
call fcn.00404009
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4225bc
cmp dword [ebp - 8], edi
je 0x4225bc
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 4], edi
setne al
jmp 0x4225be
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x422e01
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00422f6d
mov edi, dword [esi + 0x10]
mov ebx, eax
cmp dword [edi - 0xc], 0
je 0x422e6e
mov ecx, dword [esi + 4]
cmp ecx, 6
je 0x422e38
cmp ecx, 7
je 0x422e38
cmp ecx, 8
je 0x422e38
cmp ecx, 9
je 0x422e38
cmp ecx, 0x12
jne 0x422e6e
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0042fde0
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x8400
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422e77
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x45800c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x445b62
call fcn.004420ed
mov esi, dword [ebp + 0x214]
call fcn.0040268c
push eax
lea ecx, [ebp - 0x14]
call fcn.004024c1
xor ebx, ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push dword [esi]
push str.SoftwareCaphyonAdvanced_Updater_s
push eax
call fcn.00404020
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
add esp, 0xc
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x422f3e
push 0x104
lea eax, [ebp]
push eax
push dword [0x458cf0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x422f33
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push 4
push ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, ebx
lea ecx, [esi - 0x10]
call fcn.00401759
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042e8fb
lea esp, [ebp + 0x20c]
pop ebp
ret 4
Function at 0x42737e
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x45800c]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
mov ebp, dword [esp + 0x228]
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebp
push dword [edi]
call fcn.00407acc
mov esi, eax
test esi, esi
jne 0x427457
lea eax, [esp + 0x20]
mov dword [esp + 0x10], 0x100
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
push dword [esp + 0x30]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
call ebx
test eax, eax
jne 0x427432
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.0042737e
mov esi, eax
test esi, esi
jne 0x427457
lea eax, [esp + 0x20]
mov dword [esp + 0x10], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x30]
call ebx
test eax, eax
je 0x4273f7
jmp 0x427434
xor esi, esi
cmp dword [esp + 0x14], 0
je 0x427449
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
push ebp
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.00427503
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.00407b2a
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e8fb
add esp, 0x21c
ret 4
Function at 0x428331
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x45800c]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x64
mov eax, 0x446390
call fcn.004420ed
mov edi, dword [ebp + 0x420]
mov esi, dword [ebp + 0x424]
mov dword [ebp - 0x1c], edi
call fcn.0040268c
push eax
lea ecx, [ebp - 0x14]
call fcn.004024c1
mov eax, dword [ebp + 0x41c]
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [edi]
push str.msiexec.exe
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.00404020
mov eax, dword [esi]
add esp, 0x10
cmp dword [eax - 0xc], ebx
je 0x4283b1
push 0x20
lea ecx, [ebp - 0x14]
call fcn.00402e63
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push dword [eax - 0xc]
push eax
call fcn.004015d8
push 0x40
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0042fde0
add esp, 0xc
mov dword [ebp - 0x70], 0x44
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040268c
push eax
lea ecx, [ebp - 0x10]
call fcn.004024c1
push 0x104
lea eax, [ebp + 0x208]
mov byte [ebp - 4], 1
push eax
push str.windir
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, dword [ebp - 0x14]
mov esi, eax
test esi, esi
je 0x4284d1
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402a22
lea eax, [esi - 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402419
push 0x5c
pop esi
cmp ax, si
je 0x428430
push esi
lea ecx, [ebp - 0x10]
call fcn.00402e63
push str.system32
lea ecx, [ebp - 0x10]
call fcn.0040145f
push esi
lea ecx, [ebp - 0x10]
call fcn.00402e63
push str.msiexec.exe
lea ecx, [ebp - 0x10]
call fcn.0040145f
push 0x104
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x428471
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4284d6
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402a4c
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00429ac1
mov ecx, dword [ebp - 0x18]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00401759
test esi, esi
jne 0x4284d6
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4284c7
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4284db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x4284db
mov esi, 0xe000001f
mov ebx, esi
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.00401759
lea ecx, [edi - 0x10]
call fcn.00401759
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0042e8fb
lea esp, [ebp + 0x414]
pop ebp
ret 0xc
Function at 0x428512
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x45800c]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x60
mov eax, 0x4463c8
call fcn.004420ed
mov eax, dword [ebp + 0x218]
xor edi, edi
mov ebx, dword [ebp + 0x214]
push 0x40
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.0042fde0
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
lea eax, [ebp]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x428583
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42861f
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402a4c
mov edx, ebx
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x10]
call fcn.00429ac1
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401759
test esi, esi
je 0x4285b5
mov eax, esi
jmp 0x42861f
call fcn.0040268c
push eax
lea ecx, [ebp - 0x14]
call fcn.004024c1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x14]
push dword [ebx]
push str.__s___s
push eax
call fcn.00404020
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
add esp, 0x10
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42860d
push 0xffffffffffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x428615
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00401759
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042e8fb
lea esp, [ebp + 0x20c]
pop ebp
ret 8
Function at 0x428f62
Capabilities:
Create directory

Disassembly:
push ebp
sub esp, 0x90
lea ebp, [esp - 4]
mov eax, dword [0x45800c]
xor eax, ebp
mov dword [ebp + 0x90], eax
push 8
mov eax, 0x4465b0
call fcn.004420ed
mov edi, edx
mov esi, ecx
lea ecx, [ebp - 0x14]
call fcn.00404e12
and dword [ebp - 4], 0
mov ecx, edi
push eax
call fcn.004023ce
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401759
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x428fbc
xor al, al
jmp 0x42904f
call fcn.0040268c
push eax
lea ecx, [ebp - 0x10]
call fcn.004024c1
mov dword [ebp - 4], 1
lea edx, [ebp - 0x10]
mov ecx, dword [esi]
push 0
call fcn.00404318
mov esi, dword [ebp - 0x10]
pop ecx
cmp dword [esi - 4], 1
jle 0x428ff5
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.0040490a
mov esi, dword [ebp - 0x10]
lea ecx, [ebp]
call fcn.00405c41
xor eax, eax
cmp byte [esi], al
je 0x42900a
inc eax
cmp byte [eax + esi], 0
jne 0x429003
push eax
push esi
lea ecx, [ebp]
call fcn.00405acf
lea ecx, [ebp]
call fcn.00405b6e
lea ecx, [ebp]
call fcn.00405b6e
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp]
call fcn.00405bee
lea ecx, [ebp + 0x6c]
push ecx
mov ecx, edi
call fcn.00403f6c
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esi - 0x10]
call fcn.00401759
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.0042e8fb
lea esp, [ebp + 0x94]
pop ebp
ret