joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4232f2
Capabilities:
Hide graphical window

Disassembly:
push 0x24
mov eax, 0x458571
call fcn.0043ccad
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov edx, ebx
lea eax, [ebx + 4]
neg edx
lea ecx, [ebp - 0x30]
sbb edx, edx
and edx, eax
call fcn.00402229
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [eax]
call esi
mov ecx, ebx
call fcn.00423465
mov ecx, ebx
lea eax, [ebx + 0x78]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.00435c27
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [ebx + 0xa0]
mov ecx, dword [ecx + 8]
mov dword [ecx + 4], eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x42335a
push eax
call fcn.0042537d
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x41d
push dword [ebx + 4]
call edi
push 0
push eax
mov dword [ebx + 0xb4], eax
call esi
push 0x40f
push dword [ebx + 4]
call edi
push 0x4020
push 0
push 0x1036
lea esi, [ebx + 0xac]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov dword [esi], eax
call ebx
mov edx, 0x85
lea ecx, [ebp - 0x28]
call fcn.004022ad
and dword [ebp - 4], 0
sub esp, 0xc
push 0xfa
push ecx
push dword [ebp - 0x28]
mov ecx, esi
push 0
call fcn.0041d2cc
mov edx, 0xa3
lea ecx, [ebp - 0x24]
call fcn.004022ad
sub esp, 0xc
push 0x64
push ecx
push dword [ebp - 0x24]
mov ecx, esi
push 1
call fcn.0041d2cc
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401b8a
mov eax, dword [ebp - 0x2c]
push 0x41c
push dword [eax + 4]
lea esi, [eax + 0xb0]
call edi
push ecx
push 0x80
push 0
mov ecx, esi
mov dword [esi], eax
call fcn.0040e377
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push eax
lea esi, [edi + 0xac]
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push 0x101d
push dword [esi]
call ebx
mov ecx, dword [ebp - 0x18]
sub ecx, eax
sub ecx, 3
movzx eax, cx
push eax
push 1
push 0x101e
push dword [esi]
call ebx
and dword [edi + 0x9c], 0
xor eax, eax
call fcn.0043cc57
ret 8

Function at 0x4238a2
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb8], 0
je 0x4238f5
push 0
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x467a40
push dword [esi + 0xb0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.004102ae
test al, al
je 0x4238e3
push 0
lea ecx, [esi + 0x88]
call fcn.00423b25
mov ecx, dword [esi + 0xa4]
call fcn.00439b9b
mov eax, 0xc4
pop esi
ret
or eax, 0xffffffff
pop esi
ret

Function at 0x423df5
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea eax, [ecx - 0x50]
neg esi
sbb esi, esi
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x423e37
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esp + 0xc], 2
jne 0x423e27
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x423e3e
cmp dword [esp + 0xc], 0
jne 0x423e37
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0xc], 1
je 0x423e54
mov edx, dword [esp + 0x10]
mov ecx, esi
mov eax, edx
shr eax, 0x10
cwde
push eax
movsx eax, dx
push eax
call fcn.004238fa
xor eax, eax
pop esi
ret 0x10
Function at 0x424195
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
sub esp, 0x7f8
lea ebp, [esp - 4]
mov eax, dword [0x47806c]
xor eax, ebp
mov dword [ebp + 0x7f8], eax
push 0x10
mov eax, 0x45863c
call fcn.0043cc79
mov esi, ecx
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4241d9
or eax, 0xffffffff
jmp 0x42433c
lea eax, [ebp + 0x5f0]
xor ebx, ebx
push eax
push ebx
push 0x469d4c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4241d1
lea eax, [ebp + 0x5f0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
cmp word [ebp + 0x5f0], ax
je 0x424219
inc eax
cmp word [ebp + eax*2 + 0x5f0], bx
jne 0x42420e
push 0x6c
pop ecx
push 0x72
mov word [ebp + eax*2 + 0x5ee], cx
pop ecx
push 0x75
mov word [ebp + eax*2 + 0x5ec], cx
pop ecx
push 0x2e
mov word [ebp + eax*2 + 0x5ea], cx
pop ecx
push ebx
push 0x80
push 2
push ebx
push ebx
mov word [ebp + eax*2 + 0x5e8], cx
lea eax, [ebp + 0x5f0]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or edi, 0xffffffff
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x42433a
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push 0xfde9
lea edx, [ebp - 0x18]
mov dword [ebp - 4], ebx
mov ecx, esi
call fcn.0041124f
mov esi, dword [ebp - 0x14]
lea edx, [ebp + 0x208]
pop ecx
mov ebx, edx
mov ecx, str._InternetShortcut__r_nURL
sub ecx, ebx
mov al, 0x5b
mov ebx, esi
mov byte [edx], al
inc edx
mov al, byte [ecx + edx]
test al, al
jne 0x42429e
mov byte [edx], al
mov al, byte [ebx]
jmp 0x4242ba
mov cl, al
inc esi
call fcn.00424119
add edx, eax
mov al, byte [esi]
test al, al
jne 0x4242ae
mov word [edx], 0xa0d
add edx, 2
push 0
mov byte [edx], al
lea eax, [ebp + 0x208]
sub edx, eax
lea eax, [ebp - 0x1c]
push eax
push edx
lea eax, [ebp + 0x208]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x42432b
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebp + 0x5f0]
push 5
xor ecx, ecx
push ecx
push ecx
push eax
push str.open
push ecx
call esi
mov edi, eax
cmp edi, 0x20
ja 0x42432b
push 5
xor ecx, ecx
lea eax, [ebp + 0x5f0]
push ecx
push ecx
push eax
push ecx
push ecx
call esi
mov edi, eax
push ebx
call fcn.0043c1dd
xor eax, eax
cmp edi, 0x20
pop ecx
cmova edi, eax
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 + 0x7f8]
xor ecx, ebp
call fcn.0043c1a9
lea esp, [ebp + 0x7fc]
pop ebp
ret
Function at 0x425390
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov ebp, 0x425794
mov eax, dword [esi + 0x10]
add eax, 4
push eax
push ebx
push esi
push ebp
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x1c], eax
mov ecx, dword [ecx + 4]
mov dword [esi + 0x20], ecx
test eax, eax
je 0x4253e7
mov esi, dword [esi]
test esi, esi
je 0x4253f0
mov eax, dword [esi + 0x10]
add eax, 4
push eax
push ebx
push esi
push ebp
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
mov dword [esi + 0x20], eax
cmp dword [esi + 0x1c], ebx
jne 0x4253be
pop esi
pop ebp
pop ebx
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x426c0d
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov esi, ecx
push eax
xor bl, bl
call fcn.00427277
push dword [esp + 0x14]
xor ebp, ebp
push ebp
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x426c4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov edi, eax
add ecx, 0xfffffff0
call fcn.00401b8a
jmp 0x426c6f
push ebp
push ebp
push ebp
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x20], eax
test eax, eax
je 0x426c38
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401b8a
mov edi, ebp
test edi, edi
jne 0x426c8d
mov eax, dword [esi + 0x20]
push ecx
add eax, 4
push eax
lea eax, [esi + 8]
push eax
call fcn.004273f2
mov ecx, esi
call fcn.00427106
mov bl, 1
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004272b6
push dword [esp + 0x1c]
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x426cb5
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x467a50
call fcn.00404635
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401b8a
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x14
ret

Function at 0x42771c
Capabilities:
Query environment variable

Disassembly:
push 4
mov eax, 0x458c4c
call fcn.0043cc79
push 0x208
mov ebx, 0x104
call fcn.0043c1e2
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xor edi, edi
push ebx
push esi
mov dword [ebp - 4], edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 2
pop ecx
test eax, eax
jne 0x427774
mov edi, 0xcb
push 2
pop eax
push eax
push esi
call fcn.0043c1f4
pop ecx
pop ecx
mov eax, edi
call fcn.0043cc42
ret 8
push 2
pop ecx
cmp eax, ebx
jb 0x4277b9
or dword [ebp - 4], 0xffffffff
add ebx, ebx
push ecx
push esi
call fcn.0043c1f4
xor ecx, ecx
mov eax, ebx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043c1e2
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x427771
jmp 0x427756
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00402e8b
jmp 0x42775b
Function at 0x4280ad
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x458d6c
call fcn.0043cc79
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x4280c5
xor al, al
jmp 0x428134
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push ebx
push ebx
push ebx
push dword [eax]
mov dword [ebp - 0x10], ebx
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4280c1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4280c1
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043c1e2
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
mov eax, dword [ebp + 8]
push esi
push ebx
push ebx
push dword [eax]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42812b
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00402e8b
mov bl, 1
push esi
call fcn.0043c1dd
pop ecx
mov al, bl
call fcn.0043cc42
ret 8

Function at 0x4281f0
Capabilities:
Set registry value

Disassembly:
cmp dword [ecx + 4], 0
jne 0x4281fa
xor al, al
jmp 0x428219
mov eax, dword [esp + 4]
push 8
push dword [esp + 0xc]
push 3
push 0
push dword [eax]
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb al, al
inc al
ret 0xc
Function at 0x428330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8004]
mov eax, 0x8004
call fcn.0043d430
push 0xffffffffffffffff
push 0x458dcf
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47806c]
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.0041903f
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 0x42845c
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.0040411b
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 0x42846c
test ebx, ebx
jne 0x42844f
mov edi, dword [ebp - 0x10]
call fcn.00402af7
push eax
push edi
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.004028b4
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00402eb5
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
call fcn.00428e94
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov edi, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
push esi
call fcn.0043c1dd
pop ecx
xor esi, esi
inc edi
mov dword [ebp - 0x28], edi
test ebx, ebx
jne 0x428477
mov ebx, dword [ebp - 0x2c]
jmp 0x428389
push esi
call fcn.0043c1dd
pop ecx
xor al, al
jmp 0x428480
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.0043c1a9
lea esp, [ebp + 0x8004]
pop ebp
ret 4

Function at 0x4296a2
Capabilities:
Read file on windows

Disassembly:
push 0x18
mov eax, 0x458ffc
call fcn.0043ccad
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push 0xc
push 0
push eax
call fcn.0043dd90
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 0x4296dc
xor al, al
jmp 0x429714
cmp dword [ebp - 0x24], 0xa
jne 0x4296d8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402eb5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push str._aiu_
call fcn.00403225
mov ecx, dword [ebp - 0x20]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00401b8a
mov al, bl
call fcn.0043cc57
ret 8
Function at 0x42971c
Capabilities:
Read file on windows

Disassembly:
push 0x14
mov eax, 0x459031
call fcn.0043ccad
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push 6
push 0
push eax
call fcn.0043dd90
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 0x429756
xor al, al
jmp 0x4297b3
cmp dword [ebp - 0x20], 5
jne 0x429752
call fcn.00402af7
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402918
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402d76
test al, al
jne 0x42978a
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004045b6
push str._aiu_
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
call fcn.00403225
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00401b8a
mov al, bl
call fcn.0043cc57
ret 8
Function at 0x429f7e
Capabilities:
Write file on windows

Disassembly:
push 0x18
mov eax, 0x4591ef
call fcn.0043cc79
mov edi, ecx
push dword [ebp + 8]
lea esi, [edi + 8]
mov ecx, esi
call fcn.00402825
push esi
push 0x46c340
mov ecx, edi
call fcn.00429f0b
xor ebx, ebx
mov ecx, esi
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
call fcn.004044f3
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x467a50
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
cmp eax, 0xffffffff
jne 0x429fe7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x42a0eb
push str._echo_off__r_n
lea ecx, [ebp + 8]
call fcn.00402eb5
mov byte [ebp - 4], 1
cmp dword [edi + 0x1c], 0
mov dword [ebp - 0x10], ebx
jle 0x42a05a
lea esi, [edi + 0x18]
call fcn.00402af7
push eax
lea ecx, [ebp - 0x10]
call fcn.00402918
push ebx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040301c
push dword [eax]
lea eax, [ebp - 0x10]
push str.del___s___r_n
push eax
call fcn.0040450a
mov esi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
add esp, 0xc
push dword [esi - 0xc]
push esi
call fcn.004019fa
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00401b8a
inc ebx
lea esi, [edi + 0x18]
cmp ebx, dword [edi + 0x1c]
jl 0x42a004
xor ebx, ebx
lea esi, [edi + 8]
call fcn.00402af7
push eax
lea ecx, [ebp - 0x10]
call fcn.00402918
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.0040450a
mov esi, dword [ebp - 0x10]
lea ecx, [ebp + 8]
add esp, 0x1c
push dword [esi - 0xc]
push esi
call fcn.004019fa
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 4
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea edx, [ebp - 0x1c]
mov ecx, edi
call fcn.0041124f
pop ecx
test eax, eax
jle 0x42a0cf
push ebx
lea ecx, [ebp - 0x10]
dec eax
push ecx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x18]
call fcn.0043c1dd
pop ecx
lea ecx, [esi - 0x10]
call fcn.00401b8a
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x467a50
call fcn.00404635
mov eax, ebx
call fcn.0043cc42
ret 4
Function at 0x42a104
Capabilities:
Create process on windows

Disassembly:
push 0xa8
mov eax, 0x45922a
call fcn.0043cc79
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.00402af7
push eax
lea ecx, [ebp - 0x18]
call fcn.00402918
and dword [ebp - 4], 0
cmp byte [ebp + 8], 0
je 0x42a172
lea esi, [ebx + 4]
push 0x5c
push dword [esi]
call fcn.0043e594
pop ecx
pop ecx
test eax, eax
je 0x42a172
sub eax, dword [esi]
sar eax, 1
test eax, eax
jle 0x42a172
push eax
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.0040276a
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00402825
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
push 0x44
pop esi
push esi
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.0043dd90
xor eax, eax
mov dword [ebp - 0xb4], esi
lea edi, [ebp - 0x30]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
call fcn.00411415
mov al, byte [eax + 0x1c]
test al, al
je 0x42a21a
call fcn.00411415
test byte [eax + 0x20], 8
je 0x42a21a
lea ecx, [ebp - 0x1c]
call fcn.0041108a
mov edi, eax
lea ecx, [ebp + 8]
call fcn.0041108a
mov ebx, eax
mov esi, dword [ebp - 0x14]
mov ecx, edi
mov byte [ebp - 4], 3
push str.Running_temp_updater_from_path:
mov esi, dword [esi + 4]
call fcn.00401881
push 0x467a40
mov ecx, ebx
call fcn.00401881
push ecx
push esi
mov ecx, edi
call fcn.0041109e
push eax
push ecx
push ebx
call fcn.00411415
mov ecx, eax
call fcn.004114cb
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
xor edx, edx
xor ecx, ecx
mov eax, esi
cmp dword [esi - 0xc], edx
cmove eax, ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push eax
push edx
push edx
push edx
push edx
push edx
push dword [ebp - 0x20]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42a28d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3c
mov edi, eax
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.0043dd90
mov eax, dword [ebx + 8]
add esp, 0xc
and dword [ebp - 0x50], 0
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x3c
push eax
mov dword [ebp - 0x68], 0x400
mov dword [ebp - 0x60], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x42a297
mov ecx, dword [ebp - 0x28]
call fcn.004358e6
xor edi, edi
lea ecx, [esi - 0x10]
call fcn.00401b8a
mov eax, edi
call fcn.0043cc42
ret 4
Function at 0x42bc31
Capabilities:
Create process on windows

Disassembly:
push 0x54
mov eax, 0x45963d
call fcn.0043cc79
mov eax, ecx
mov dword [ebp - 0x18], eax
lea ebx, [eax + 0x158]
push 0x2e
push dword [ebx]
call fcn.0043e594
pop ecx
pop ecx
test eax, eax
je 0x42bc6b
sub eax, dword [ebx]
sar eax, 1
js 0x42bc6b
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00404307
jmp 0x42bc79
call fcn.00402af7
push eax
lea ecx, [ebp - 0x14]
call fcn.00402918
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x14]
push str..appx
push esi
call fcn.0044205f
pop ecx
pop ecx
test eax, eax
jne 0x42bd37
call fcn.00402af7
push eax
lea ecx, [ebp + 8]
call fcn.00402918
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push dword [ebx]
push str.Add_AppxPackage__Path___s___n_exit__error.count_n
push eax
call fcn.0040450a
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00410ad7
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x24]
call fcn.00410b96
test al, al
jne 0x42bd11
call fcn.00402af7
push eax
lea ecx, [ebp - 0x18]
call fcn.00402918
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
mov edi, 0xe000002c
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], edi
call fcn.00402825
lea eax, [ebp - 0x1c]
push eax
call fcn.00418434
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401b8a
jmp 0x42bdd9
push 0x3c
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.0043dd90
mov eax, dword [ebp - 0x5c]
add esp, 0xc
cmp byte [ebp + 8], 0
mov dword [ebp - 0x60], 0x3c
push 0x40
pop ecx
cmovne eax, ecx
mov ecx, ebx
mov dword [ebp - 0x5c], eax
call fcn.004044f3
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x50], eax
inc ecx
push 0
mov dword [ebp - 0x54], str.open
mov eax, dword [edx + 0x90]
shr eax, 2
test cl, al
pop eax
cmovne ecx, eax
mov dword [ebp - 0x44], ecx
lea ecx, [edx + 0xb4]
mov eax, dword [ecx]
cmp dword [eax - 0xc], edi
je 0x42bd9d
call fcn.004044f3
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42bdb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp byte [ebp + 8], 0
je 0x42bdd9
test edi, edi
jne 0x42bdd9
cmp dword [ebp - 0x28], edi
je 0x42bdd9
push 0xffffffffffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea ecx, [esi - 0x10]
call fcn.00401b8a
mov eax, edi
call fcn.0043cc42
ret 8