joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41aa20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push 0x114
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x10], 0
push 0
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x13c], 0x114
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x138], 6
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
jb 0x41aa83
call fcn.0041d6d0
jmp 0x41aa88
call fcn.0041d760
mov bl, al
add esp, 8
test bl, bl
je 0x41aafc
mov eax, dword [ebp - 8]
test eax, eax
push esi
mov esi, 0x5b3144
mov dword [ebp - 0x20], 0
mov ecx, esi
mov dword [ebp - 0x1c], 0
cmovne ecx, eax
mov dword [ebp - 0x18], 0
lea eax, [ebp + 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.0041b1a0
mov eax, dword [ebp - 0x18]
test eax, eax
cmovne esi, eax
push esi
call fcn.00420e00
mov ecx, dword [ebp + 0xc]
add esp, 4
push eax
push esi
call fcn.00403040
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
add eax, eax
push eax
push dword [ebp - 0x18]
call fcn.00420bb0
pop esi
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x1c]
add eax, eax
mov dword [ebp - 8], 0
push eax
push dword [ebp + 0x18]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call fcn.00420bb0
mov eax, dword [ebp + 0x24]
lea ecx, [ebp + 0x2c]
add eax, eax
mov dword [ebp + 0x18], 0
push eax
push dword [ebp + 0x28]
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x10], 0
call fcn.00420bb0
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ab60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
push 0x114
lea eax, [ebp - 0x140]
mov dword [ebp - 0x10], 0
push 0
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x140], 0x114
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x13c], 6
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
jb 0x41abc3
call fcn.0041d6d0
jmp 0x41abc8
call fcn.0041d760
mov bl, al
add esp, 8
test bl, bl
je 0x41ac42
mov eax, dword [ebp - 8]
test eax, eax
push esi
mov esi, 0x5b3144
mov dword [ebp - 0x20], 0
mov ecx, esi
mov dword [ebp - 0x1c], 0
cmovne ecx, eax
mov dword [ebp - 0x18], 0
lea eax, [ebp + 0x30]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00403f30
mov eax, dword [ebp - 0x18]
test eax, eax
cmovne esi, eax
push esi
call fcn.00420e00
mov ecx, dword [ebp + 0xc]
add esp, 4
push eax
push esi
call fcn.00403040
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
add eax, eax
push eax
push dword [ebp - 0x18]
call fcn.00420bb0
pop esi
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x1c]
add eax, eax
mov dword [ebp - 8], 0
push eax
push dword [ebp + 0x18]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call fcn.00420bb0
mov eax, dword [ebp + 0x24]
lea ecx, [ebp + 0x2c]
add eax, eax
mov dword [ebp + 0x18], 0
push eax
push dword [ebp + 0x28]
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x10], 0
call fcn.00420bb0
mov eax, dword [ebp + 0x34]
lea ecx, [ebp + 0x3c]
add eax, eax
mov dword [ebp + 0x28], 0
push eax
push dword [ebp + 0x38]
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x20], 0
call fcn.00420bb0
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b6a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
push edi
mov edi, ecx
push 0x54ba80
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00420e00
add esp, 4
mov ecx, edi
push eax
push 0x54ba80
call fcn.00403040
mov dword [edi + 0x10], 0
lea esi, [edi + 0x1c]
mov dword [edi + 0x14], 0
lea eax, [ebp - 8]
mov dword [edi + 0x18], 0
mov dword [esi], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov byte [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
push eax
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov byte [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov word [edi + 0x8c], 0
mov byte [edi + 0x8e], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov byte [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov word [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push 0x5a5ab8
push 0x17
push 0
push 0x5a5ac8
call dword [sym.imp.ole32.dll_CoCreateInstance]
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41b84b
push str.SetCurrentProcessExplicitAppUserModelID
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b844
push str.Trion.Trove
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x114
lea eax, [ebp - 0x11c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x118], 6
jb 0x41b8ca
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41b8e3
push str.TaskDialogIndirect
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5b317c], eax
test eax, eax
jne 0x41b8bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7d0
call fcn.00416150
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x648450
xchg dword [ecx], eax
mov dword [0x5b317c], 0x41caf0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
mov esi, ecx
sub eax, 1
je 0x41c984
sub eax, 1
je 0x41c989
sub eax, 1
je 0x41c951
test edx, edx
je 0x41c941
cmp edx, 3
jne 0x41c989
push 1
push 0
push 0
push dword [ebp + 0x14]
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [esi + 0xa4], eax
xor eax, eax
pop esi
pop ebp
ret 0x10
push 1
push 0
push 0
push dword [ebp + 0x14]
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 1
push 0x466
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop esi
pop ebp
ret 0x10
call fcn.0041de30
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x41c990
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edi
mov eax, ecx
xor edi, edi
sub eax, 1
je 0x41cadf
sub eax, 1
je 0x41c9e9
test ecx, ecx
je 0x41c9d6
cmp ecx, 3
jne 0x41cadd
push 1
push edi
push edi
push dword [ebp + 0x14]
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esi + 0xa4], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
cmp eax, 0x4be
ja 0x41caa6
je 0x41ca59
sub eax, 2
je 0x41ca35
sub eax, 0x4bb
jne 0x41cadf
cmp byte [esi + 0xa1], al
sete al
inc eax
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x9c], eax
call fcn.00414650
mov ecx, esi
call fcn.004203d0
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 0x18]
call fcn.00414650
mov eax, dword [esi + 0x2c]
mov ecx, 0x5b3144
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
cmp byte [esi + 0xa1], 0
jne 0x41ca93
mov ecx, esi
call fcn.0041c540
test al, al
jne 0x41ca93
mov ecx, dword [esi + 0x18]
call fcn.00414650
mov eax, dword [esi + 0x2c]
mov ecx, 0x5b3144
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
xor eax, eax
cmp byte [esi + 0xa1], al
sete al
add eax, 2
jmp 0x41ca13
cmp eax, 0x4bf
jne 0x41cadf
mov dword [esi + 0x9c], 4
mov ecx, 0x5b3144
mov eax, dword [esi + 0x2c]
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 0x18]
push 1
call fcn.004145b0
mov ecx, dword [esi + 0x18]
call fcn.00413b60
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x41cb60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
mov ebx, ecx
push esi
mov ecx, dword [ebx + 0x70]
call fcn.00405f70
test al, al
je 0x41cc4a
call fcn.00415490
mov eax, dword [ebx + 0x2c]
mov ecx, 0x5b3144
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebx + 0x70]
mov dword [ebx + 0x78], 0
call fcn.00406120
lea ecx, [ebx + 0x44]
push dword [eax]
push dword [eax + 8]
call fcn.00403040
cmp dword [ebx + 0x9c], 3
mov byte [ebx + 0x54], 0
jne 0x41cc2b
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x41cbeb
call fcn.00416a00
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x41cbe4
mov ecx, esi
call fcn.004168d0
push 0x94
push esi
call fcn.005469bf
add esp, 8
mov dword [ebx + 0x74], 0
mov ecx, dword [ebx + 0x70]
test ecx, ecx
je 0x41cc17
call fcn.00405570
mov esi, dword [ebx + 0x70]
test esi, esi
je 0x41cc10
mov ecx, esi
call fcn.00404870
push 0x70
push esi
call fcn.005469bf
add esp, 8
mov dword [ebx + 0x70], 0
mov ecx, ebx
mov dword [ebx + 0x78], 0
call fcn.0041f240
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x70]
call fcn.00413c60
mov ecx, ebx
mov dword [ebx + 0x6c], eax
call fcn.0041d190
mov ecx, ebx
call fcn.0041c210
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.0041c540
test al, al
je 0x41cd73
mov ecx, dword [ebx + 0x70]
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.00406130
mov ecx, dword [ebx + 0x70]
mov esi, eax
call fcn.004063c0
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 8]
mov dword [ebp - 0x18], 0
push eax
push str.01.dmp
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], esi
call fcn.0041b1a0
mov eax, dword [ebp - 0x10]
mov edi, 0x5b3144
test eax, eax
mov dword [ebp - 0x38], 0
mov esi, edi
mov dword [ebp - 0x34], 0
cmovne esi, eax
mov dword [ebp - 0x30], 0
push esi
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x38]
push eax
push esi
call fcn.00403040
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
add eax, eax
push eax
push dword [ebp - 0x10]
call fcn.00420bb0
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
add eax, eax
mov dword [ebp - 0x10], 0
push eax
push dword [ebp - 0x40]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.00420bb0
mov eax, dword [ebp - 0x30]
mov ecx, edi
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041b8f0
mov eax, dword [ebx + 0x2c]
lea ecx, [ebp - 0x58]
test eax, eax
cmovne edi, eax
push edi
call fcn.0041b8f0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00433500
push dword [ebp - 4]
call fcn.00546a09
add esp, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0042c7d0
lea ecx, [ebp - 0x28]
call fcn.0042c7d0
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
add eax, eax
push eax
push dword [ebp - 0x30]
call fcn.00420bb0
pop edi
mov ecx, dword [ebx + 0x70]
call fcn.004063d0
push 1
push 1
mov ecx, ebx
mov esi, eax
call fcn.0041d050
push esi
push 0x7d1
mov ecx, ebx
call fcn.0041faf0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d050
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x41d086
call fcn.00416a00
mov edi, dword [esi + 0x74]
test edi, edi
je 0x41d07f
mov ecx, edi
call fcn.004168d0
push 0x94
push edi
call fcn.005469bf
add esp, 8
mov dword [esi + 0x74], 0
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x41d0b2
call fcn.00405570
mov edi, dword [esi + 0x70]
test edi, edi
je 0x41d0ab
mov ecx, edi
call fcn.00404870
push 0x70
push edi
call fcn.005469bf
add esp, 8
mov dword [esi + 0x70], 0
cmp byte [ebp + 8], 0
mov edi, 0x5b3144
je 0x41d0ce
mov eax, dword [esi + 0x2c]
mov ecx, edi
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [ebp + 0xc], 0
je 0x41d0e9
cmp dword [esi + 0x44], 0
je 0x41d0e9
mov eax, dword [esi + 0x4c]
test eax, eax
cmovne edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
mov dword [esi + 0x78], 0
pop esi
pop ebp
ret 8
Function at 0x41d670
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push 0x114
lea eax, [ebp - 0x114]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 6
push dword [ebp + 0xc]
push dword [ebp + 8]
jb 0x41d6c1
call fcn.0041d6d0
add esp, 8
mov esp, ebp
pop ebp
ret
call fcn.0041d760
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x41d760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.00546ac0
mov ecx, dword [ebp + 8]
movzx eax, word [0x5b3180]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, ecx
push eax
shr ecx, 4
and esi, 0xf
inc ecx
movzx eax, cx
push eax
push 6
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ecx, eax
test ecx, ecx
setne al
test al, al
je 0x41d867
push ecx
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, eax
test ecx, ecx
setne al
test al, al
je 0x41d867
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
setne cl
test cl, cl
je 0x41d86d
test esi, esi
je 0x41d7f2
lea esp, [esp]
movzx ecx, word [eax]
add eax, 2
test ecx, ecx
je 0x41d7ed
lea eax, [eax + ecx*2]
sub esi, 1
jne 0x41d7e0
movzx ecx, word [eax]
test ecx, ecx
push ebx
setne bl
test ecx, ecx
je 0x41d864
push ecx
add eax, 2
push eax
lea eax, [ebp - 0x2000]
push 0x1000
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcschr]
lea eax, [ebp - 0x2000]
push 0xd
push eax
call esi
add esp, 0x18
test eax, eax
je 0x41d845
mov edi, 0xa
mov word [eax], di
add eax, 2
push 0xd
push eax
call esi
add esp, 8
test eax, eax
jne 0x41d833
lea eax, [ebp - 0x2000]
push eax
call fcn.00420e00
mov ecx, dword [ebp + 0xc]
add esp, 4
push eax
lea eax, [ebp - 0x2000]
push eax
call fcn.00403040
mov al, bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41de30
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x41de51
mov eax, dword [ecx]
push 0
push dword [esi + 0xa4]
push ecx
call dword [eax + 0x28]
push 0x800
lea eax, [ebp - 0x824]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x824]
push 0x400
push eax
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x41dee0
lea eax, [ebp - 0x824]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.00403040
mov eax, dword [esi + 0xa4]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0x41d100
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
add eax, eax
push eax
push dword [ebp - 0xc]
call fcn.00420bb0
push str.ForcingDiagnostics
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x24]
push eax
push str.ForcingDiagnostics
call fcn.00403040
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 0x24]
push str.True
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040f970
push eax
call fcn.0041a630
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
add esp, 8
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
add eax, eax
mov dword [ebp - 8], 0
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call fcn.00420bb0
push 0
push 1
push 0x466
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41df80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
push 0
mov esi, ecx
push 1
push 0x46b
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x41dfb6
mov eax, dword [ecx]
push 1
push dword [esi + 0xa4]
push ecx
call dword [eax + 0x28]
lea eax, [ebp - 0x418]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x54b5e0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41e006
lea eax, [ebp - 0x20c]
push eax
call fcn.00420e00
add esp, 4
lea ecx, [esi + 0x24]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00403040
push dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
lea eax, [ebp - 0x20c]
push eax
call fcn.00414260
mov dword [esi + 0x20], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41e0e0
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, ecx
sub eax, 1
je 0x41e186
sub eax, 1
je 0x41e134
test ecx, ecx
je 0x41e124
cmp ecx, 3
jne 0x41e18d
push 1
push 0
push 0
push dword [ebp + 0x14]
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [esi + 0xa4], eax
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
sub eax, 2
je 0x41e154
sub eax, 0x4e3
je 0x41e175
sub eax, 1
jne 0x41e18d
cmp byte [esi + 0x54], al
jne 0x41e18d
mov ecx, esi
call fcn.0041e950
cmp dword [esi + 0x44], 0
je 0x41e18d
mov eax, dword [esi + 0x4c]
mov ecx, 0x5b3144
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
pop esi
pop ebp
ret 0x10
mov ecx, esi
call fcn.004203d0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, esi
call fcn.0041e020
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x41e1a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, ecx
sub eax, 1
je 0x41e23a
sub eax, 1
je 0x41e21c
sub eax, 2
je 0x41e1f5
test ecx, ecx
je 0x41e1e5
cmp ecx, 3
jne 0x41e241
push 1
push 0
push 0
push dword [ebp + 0x14]
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [esi + 0xa4], eax
xor eax, eax
pop esi
pop ebp
ret 0x10
mov ecx, esi
call fcn.00420660
test al, al
je 0x41e241
push 0
push 2
push 0x466
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop esi
pop ebp
ret 0x10
cmp dword [esi + 0x9c], 3
mov ecx, esi
setne al
movzx eax, al
push eax
push 1
call fcn.0041d050
xor eax, eax
pop esi
pop ebp
ret 0x10
mov ecx, esi
call fcn.0041e080
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x41ec80
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
push 0x54b6a8
mov edi, ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x38]
push eax
push 0x54b6a8
call fcn.00403040
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040f970
mov ebx, 0x5b3144
mov esi, ebx
mov eax, dword [eax + 8]
test eax, eax
mov dword [ebp - 0x20], 0
cmovne esi, eax
mov dword [ebp - 0x1c], 0
push esi
mov dword [ebp - 0x18], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x20]
push eax
push esi
call fcn.00403040
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
add eax, eax
push eax
push dword [ebp - 0x40]
call fcn.00420bb0
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
add eax, eax
mov dword [ebp - 0x40], 0
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.00420bb0
mov eax, dword [ebp - 0x18]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x5c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea ecx, [eax + 0x21]
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x41edc3
push 0
lea eax, [eax*2 + 0x42]
push eax
lea ecx, [ebp - 4]
call fcn.00420b70
mov esi, eax
test esi, esi
je 0x41edc3
mov ecx, dword [ebp - 0x10]
add ecx, ecx
push ecx
push dword [ebp - 8]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x10]
xor ecx, ecx
add esp, 0xc
mov word [esi + eax*2], cx
lea ecx, [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
push dword [edi]
lea ecx, [ebp - 0x10]
push dword [edi + 8]
call fcn.00403040
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x44
lea eax, [ebp - 0xa0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xa0], 0x44
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
test eax, eax
cmovne ebx, eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41ee46
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x54]
mov dword [edi + 0x7c], eax
mov byte [edi + 0x80], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
add eax, eax
push eax
push dword [ebp - 8]
call fcn.00420bb0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
add eax, eax
mov dword [ebp - 8], 0
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call fcn.00420bb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret