joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42adc7
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push 0xaec
mov eax, 0x46b480
call fcn.00443402
mov edi, dword [ebp + 8]
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
xor ebx, ebx
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.004423c0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 1
lea eax, [ebp - 0xaf1]
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.004025e0
mov dword [ebp - 4], ebx
push 1
lea eax, [ebp - 0xaf1]
push eax
push 0x47bbd0
lea ecx, [ebp - 0x840]
call fcn.004025e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x870]
call fcn.0042ca2e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x840]
call fcn.00401580
or dword [ebp - 0xaf8], 0xffffffff
mov byte [ebp - 4], 3
cmp dword [ebp - 0x858], 8
lea ecx, [ebp - 0xaf0]
lea eax, [ebp - 0x86c]
cmovae eax, dword [ebp - 0x86c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42af64
lea ecx, [ebp - 0xaf8]
call fcn.0042c6a0
mov dword [ebp - 0xaf8], esi
lea eax, [ebp - 0xae4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x42af4e
push 1
lea eax, [ebp - 0xaf1]
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.004025e0
mov byte [ebp - 4], 5
push 1
lea eax, [ebp - 0xaf1]
push eax
lea eax, [ebp - 0xac4]
push eax
lea ecx, [ebp - 0x8a0]
call fcn.004025e0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x8a0]
push eax
lea ecx, [ebp - 0x840]
call fcn.0042ca2e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8a0]
call fcn.00401580
cmp dword [ebp - 0x828], 8
lea eax, [ebp - 0x83c]
cmovae eax, dword [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x840]
call fcn.00401580
lea eax, [ebp - 0xaf0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42aeaf
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xaf8]
call fcn.0042c6a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x870]
call fcn.00401580
call fcn.004433b1
ret 4
Function at 0x432df0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x46d193
call fcn.0044346e
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 0x60
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x432e6d
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x432e6d
call fcn.004323d8
mov esi, eax
jmp 0x432f4e
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x432e90
call fcn.004323d8
jmp 0x432f41
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x432e86
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x432ec3
mov esi, 0x8007000e
jmp 0x432f43
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.00432239
mov dword [ebp - 4], 1
jmp 0x432ef7
cmp dword [ebp - 0x418], 0
je 0x432eb9
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x432e86
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.00432cb7
mov esi, eax
test edi, edi
je 0x432f4e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x432f6a
lea ecx, [ebp - 0x418]
call fcn.00432612
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004433c0
ret 0x10
Function at 0x433e3b
Capabilities:
Read file on windows

Disassembly:
push 0x8c
mov eax, 0x46d30a
call fcn.00443402
mov esi, ecx
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x98], 0
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 8]
xor ebx, ebx
inc ebx
cmp eax, 0xffffffff
cmove eax, ebx
test ecx, ecx
je 0x433ead
lea edi, [ebp - 0x98]
push edi
push eax
push edx
call fcn.0045e9c6
test al, al
jne 0x433ef6
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.004345d3
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x94]
call fcn.0043455d
push 0x497674
lea eax, [ebp - 0x94]
push eax
call fcn.00443342
push 0
lea ecx, [ebp - 0x98]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x433ef6
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.004345d3
mov dword [ebp - 4], 2
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.004343b1
push 0x497600
lea eax, [ebp - 0x90]
jmp 0x433ea7
mov eax, dword [ebp - 0x98]
call fcn.004433b1
ret 8

Function at 0x433f04
Capabilities:
Read file on windows

Disassembly:
push 0x8c
mov eax, 0x46d30a
call fcn.00443402
mov esi, ecx
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x98], 0
mov edx, dword [ebp + 8]
push 8
pop ecx
cmp eax, 0xffffffff
cmove eax, ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x433f78
lea edi, [ebp - 0x98]
push edi
push eax
push edx
call fcn.0045e9c6
test al, al
jne 0x433fc3
push 1
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.004345d3
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x94]
call fcn.0043455d
push 0x497674
lea eax, [ebp - 0x94]
push eax
call fcn.00443342
push 0
lea ecx, [ebp - 0x98]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x433fc3
push 1
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.004345d3
mov dword [ebp - 4], 2
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.004343b1
push 0x497600
lea eax, [ebp - 0x90]
jmp 0x433f72
mov eax, dword [ebp - 0x98]
call fcn.004433b1
ret 8
Function at 0x437e4e
Capabilities:
Create process on windows

Disassembly:
push 0x8cc
mov eax, 0x46e6b8
call fcn.00443402
mov esi, ecx
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
xor edi, edi
lea eax, [ebp - 0x80e]
push edi
push eax
call fcn.004423c0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x484fc8
push str.ClickOncePackage
push str.Startup
lea ecx, [esi + 0x10]
call fcn.0040d8c0
cmp word [ebp - 0x810], di
jne 0x437eb2
xor eax, eax
jmp 0x43800f
lea eax, [ebp - 0x870]
push eax
mov ecx, esi
call fcn.004360fd
mov dword [ebp - 4], edi
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x437ece
mov eax, dword [eax]
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0x8d1]
push ecx
push eax
lea ecx, [ebp - 0x840]
call fcn.004025e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x870]
call fcn.00401580
push esi
lea eax, [ebp - 0x8d1]
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.004025e0
mov byte [ebp - 4], 4
push edi
push edi
lea eax, [ebp - 0x8d0]
push eax
lea ecx, [ebp - 0x840]
call fcn.00402d40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x870]
push ecx
lea ecx, [ebp - 0x8a0]
push ecx
mov ecx, eax
call fcn.004026d0
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x840]
call fcn.00402520
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8a0]
call fcn.00401580
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8d0]
call fcn.00401580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x870]
call fcn.00401580
cmp dword [ebp - 0x828], 8
push 4
lea eax, [ebp - 0x83c]
cmovae eax, dword [ebp - 0x83c]
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x8d8], esp
push esi
lea edx, [ebp - 0x8d1]
push edx
push eax
call fcn.0040cbc2
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 2
call fcn.004562d0
add esp, 0x34
test al, al
jne 0x437fd1
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x83c]
call fcn.00405190
cmp dword [ebp - 0x828], 8
push esi
push edi
push edi
lea eax, [ebp - 0x83c]
cmovae eax, dword [ebp - 0x83c]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb esi, esi
neg esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
call fcn.00401580
mov eax, esi
call fcn.004433b1
ret
Function at 0x439a3b
Capabilities:
Get file size

Disassembly:
push 0x88
mov eax, 0x46ebdd
call fcn.00443402
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 4], ebx
je 0x439aa2
test eax, eax
je 0x439a5c
mov dword [eax], ebx
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, eax
cmp esi, 0xffffffff
jne 0x439af3
push 1
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.004345d3
mov dword [ebp - 4], ebx
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x94]
call fcn.0043455d
push 0x497674
lea eax, [ebp - 0x94]
push eax
call fcn.00443342
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x439af3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x439af3
push 1
lea ecx, [edi + 0xc]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004345d3
mov dword [ebp - 4], 2
push 1
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.0043440c
push 0x497600
lea eax, [ebp - 0x90]
jmp 0x439a9c
mov eax, esi
call fcn.004433b1
ret 4
Function at 0x439f4a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 8
mov eax, 0x46ef87
call fcn.004433cf
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0x14
xor ebx, ebx
cmp dword [esi + 0x78], ebx
je 0x439f75
push dword [esi + 0x78]
call fcn.00460730
pop ecx
mov dword [esi + 0x78], ebx
push dword [esi + 0x74]
call fcn.0044212c
pop ecx
mov dword [esi + 0x74], ebx
mov byte [ebp - 4], 0x13
lea ecx, [esi + 0x384]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x13
call fcn.00401580
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0x354]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x12
call fcn.00401580
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x324]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x11
call fcn.00401580
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x2f4]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x10
call fcn.00401580
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x2c4]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xf
call fcn.00401580
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x294]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xe
call fcn.00401580
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x264]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xd
call fcn.00401580
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x234]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xc
call fcn.00401580
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x204]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xb
call fcn.00401580
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x1d4]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xa
call fcn.00401580
mov byte [ebp - 4], 9
lea ecx, [esi + 0x1a4]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 9
call fcn.00401580
mov byte [ebp - 4], 8
lea ecx, [esi + 0x174]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 8
call fcn.00401580
mov byte [ebp - 4], 7
lea ecx, [esi + 0x144]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 7
call fcn.00401580
mov byte [ebp - 4], 6
lea ecx, [esi + 0x114]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 6
call fcn.00401580
mov byte [ebp - 4], 5
lea ecx, [esi + 0xe4]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 5
call fcn.00401580
mov byte [ebp - 4], 4
lea ecx, [esi + 0xb4]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 4
call fcn.00401580
mov byte [ebp - 4], 3
lea ecx, [esi + 0x84]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 3
call fcn.00401580
mov byte [ebp - 4], 2
lea ecx, [esi + 0x68]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 2
call fcn.00439ed6
mov byte [ebp - 4], 1
lea ecx, [esi + 0x60]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
call fcn.00439ed6
mov byte [ebp - 4], bl
lea ecx, [esi + 0x58]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], bl
call fcn.00439ed6
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x30]
call fcn.0042c53d
call fcn.0044339d
ret
Function at 0x43dcd3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 8], 0
je 0x43dcf1
mov ecx, esi
call fcn.0043db2b
pop esi
pop ebp
ret 4
Function at 0x43e889
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0x58
mov eax, 0x470072
call fcn.00443402
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
and dword [ebp - 0x54], 0
mov ebx, dword [edx + 0x38]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x30]
shr eax, 2
and eax, 0xffffff01
test byte [edx + 0x30], 6
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x41], 0
je 0x43e8d2
mov byte [ebp - 0x41], 1
lea eax, [ecx + 4]
cmp dword [eax + 0x14], 8
jb 0x43e8dd
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43e90d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x44], eax
xor eax, eax
jmp 0x43e9e3
mov eax, 0x400
mov edi, eax
cmp ebx, eax
cmovb edi, ebx
push edi
call fcn.0044203b
pop ecx
push 0
lea ecx, [ebp - 0x48]
push ecx
push edi
mov dword [ebp - 0x4c], eax
push eax
jmp 0x43e9bf
cmp byte [ebp - 0x60], 0
je 0x43e96e
cmp byte [ebp - 0x41], 0
je 0x43e96e
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.004264c6
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0043af17
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.0040bd10
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401580
push 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x58]
add ecx, eax
mov dword [ebp - 0x54], ecx
test edx, edx
je 0x43e9a4
push dword [ebp - 0x5c]
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
test al, al
jne 0x43e9eb
mov eax, dword [ebp - 0x48]
sub ebx, eax
je 0x43e9d0
test eax, eax
je 0x43e9d0
push 0
cmp ebx, 0x400
lea eax, [ebp - 0x48]
push eax
cmovb edi, ebx
push edi
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43e930
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.004433b1
ret 0x10
xor edi, edi
jmp 0x43e9d3
Function at 0x43f6db
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x70c
mov eax, 0x4702c1
call fcn.00443402
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x714], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x718], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x628], ax
xor ebx, ebx
lea eax, [ebp - 0x626]
push ebx
push eax
call fcn.004423c0
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push dword [0x4a5e48]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x70c]
call fcn.0043e32d
mov dword [ebp - 4], ebx
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004423c0
cmp dword [0x4a5d40], 8
mov esi, 0x4a5d2c
mov eax, esi
cmovae eax, dword [0x4a5d2c]
push eax
lea eax, [ebp - 0x70c]
push eax
call fcn.004404ab
add esp, 0x14
test eax, eax
je 0x43f843
xor eax, eax
push 0x206
mov word [ebp - 0x420], ax
xor esi, esi
lea eax, [ebp - 0x41e]
push esi
push eax
inc ebx
call fcn.004423c0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push esi
push 0x47e61c
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebx
lea eax, [ebp - 0x70d]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x678]
call fcn.0040cbc2
mov byte [ebp - 4], bl
lea eax, [ebp - 0x6a8]
push eax
mov ecx, 0x4a5d28
call fcn.00415629
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x678]
push ecx
push eax
lea ecx, [ebp - 0x70c]
call fcn.0043e9ef
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x6a8]
call fcn.00401580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x678]
call fcn.00401580
jmp 0x43f897
cmp word [0x4a5490], 0
je 0x43f861
push 0x4a5490
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x43f897
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.0044053f
cmp dword [0x4a5d40], 8
lea eax, [ebp - 0x218]
cmovae esi, dword [0x4a5d2c]
push esi
push eax
push eax
call fcn.004401e9
lea ecx, [ebp - 0x648]
call fcn.0041976f
mov byte [ebp - 4], 6
cmp word [ebp - 0x218], 0
jne 0x43f8b4
xor eax, eax
jmp 0x43f8c1
lea eax, [ebp - 0x218]
push eax
call fcn.00443324
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.0040f240
lea ecx, [ebp - 0x648]
call fcn.0040f2da
lea ecx, [ebp - 0x648]
call fcn.0040dda2
push dword [ebp + 0x14]
lea ecx, [ebp - 0x648]
push dword [ebp - 0x718]
push 0x484fc8
push dword [ebp - 0x714]
push edi
call fcn.0040d8c0
test bl, bl
je 0x43f91b
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x648]
call fcn.0040cdae
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70c]
call fcn.0043e60e
call fcn.004433b1
ret
Function at 0x44108f
Capabilities:
Create process on windows

Disassembly:
push 0x98
mov eax, 0x47082c
call fcn.00443402
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
push ecx
lea ecx, [ebp - 0x41]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004025e0
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x10
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.004423c0
push 0x44
pop esi
push esi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.004423c0
xor ecx, ecx
xor eax, eax
inc ecx
add esp, 0x18
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x78], ecx
mov word [ebp - 0x74], ax
cmp dword [ebp + 0xc], eax
je 0x4410f2
mov word [ebp - 0x74], cx
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push str.Attempting_to_launch__no_wait_:__s
mov edi, str.utils.cpp
push eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], 0x486
call fcn.00411f5e
add esp, 0xc
lea eax, [ebp - 0x50]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
push eax
call fcn.00402910
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
mov byte [eax + 4], cl
mov ecx, dword [eax]
call fcn.004035c0
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push ebx
push ebx
push 0x20
xor ecx, ecx
inc ecx
push ecx
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x50]
call fcn.00403460
push esi
lea eax, [ebp - 0x4c]
push str.Launch_result__d
push eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], 0x48b
call fcn.00411f5e
add esp, 0xc
test esi, esi
je 0x441196
push 0x3e8
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401580
mov eax, esi
call fcn.004433b1
ret 8
Function at 0x4411ac
Capabilities:
Create process on windows

Disassembly:
push 0xb8
mov eax, 0x47086c
call fcn.00443402
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
push ecx
lea ecx, [ebp - 0x45]
push ecx
xor ebx, ebx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], ebx
call fcn.004025e0
mov dword [ebp - 4], ebx
push 0x10
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.004423c0
push 0x44
pop esi
push esi
lea eax, [ebp - 0xc4]
push ebx
push eax
call fcn.004423c0
xor edi, edi
xor eax, eax
inc edi
add esp, 0x18
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0x98], edi
mov word [ebp - 0x94], ax
cmp dword [ebp + 0xc], eax
je 0x44121b
mov word [ebp - 0x94], di
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x50]
push str.Attempting_to_launch:__s
push eax
mov dword [ebp - 0x50], str.utils.cpp
mov dword [ebp - 0x4c], 0x446
call fcn.00411f5e
add esp, 0xc
lea eax, [ebp - 0x54]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
push eax
call fcn.00402910
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
mov byte [eax + 4], cl
mov ecx, dword [eax]
call fcn.004035c0
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0xc4]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.00403460
test esi, esi
je 0x44131d
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
xor edi, edi
inc edi
jmp 0x4412c4
cmp eax, edi
jne 0x4412d7
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [ebp - 0x7c], 0x11
je 0x4412d7
cmp dword [ebp - 0x7c], 0x10
je 0x4412d7
cmp dword [ebp - 0x7c], 0x12
je 0x4412d7
push 0x4ff
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
push eax
push edi
call esi
test eax, eax
jne 0x4412a0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x44]
push dword [ebp - 0x64]
mov dword [0x4a6674], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x44]
mov dword [ebp - 0x50], str.utils.cpp
push eax
lea eax, [ebp - 0x50]
push str.Launch_result__d__exit_code__d
push eax
mov dword [ebp - 0x4c], 0x467
call fcn.00411f5e
mov esi, dword [ebp - 0x44]
add esp, 0x10
jmp 0x441322
mov esi, 0xcccccccc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401580
mov eax, esi
call fcn.004433b1
ret 8
Function at 0x455339
Capabilities:
Read file on windows

Disassembly:
push 0x10c
mov eax, 0x470a32
call fcn.00443402
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 8]
xor edi, edi
xor ebx, ebx
inc edi
cmp eax, 0xffffffff
cmove eax, edi
mov dword [ebp - 0x118], ebx
test ecx, ecx
je 0x4553be
lea edi, [ebp - 0x118]
push edi
push eax
push edx
call fcn.0045e9c6
test al, al
jne 0x455410
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x47d68c
mov dword [ebp - 0x48], 0x484b70
call fcn.0040c865
push 1
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], ebx
call fcn.0043455d
push 0x497674
lea eax, [ebp - 0x114]
push eax
call fcn.00443342
push ebx
lea ecx, [ebp - 0x118]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x455410
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x47d68c
mov dword [ebp - 0x18], 0x484b70
call fcn.0040c865
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], edi
call fcn.004343b1
push 0x497600
lea eax, [ebp - 0xc0]
jmp 0x4553b8
mov eax, dword [ebp - 0x118]
call fcn.004433b1
ret 8