joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506520
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5487a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
and eax, 0xfffffffe
cmp dword [ecx + 0x38], 0
jne 0x4281a3
or eax, 4
push 0
push eax
call fcn.004291b0
mov eax, dword [esi]
mov dword [esp + 0xc], esi
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x4281c1
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.004292b0
mov byte [esp + 0x10], al
mov dword [esp + 0x38], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
test byte [eax + esi + 0xc], 6
jne 0x428251
mov ecx, dword [eax + esi + 0x38]
movdqu xmm0, xmmword [ebp + 8]
push 1
sub esp, 0x18
mov edx, dword [ecx]
mov eax, esp
movdqu xmmword [eax], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [eax + 0x10], xmm0
lea eax, [esp + 0x30]
push eax
call dword [edx + 0x2c]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
adc ecx, dword [esp + 0x20]
cmp eax, dword [0x51fb10]
jne 0x428251
cmp ecx, dword [0x51fb14]
jne 0x428251
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x428249
or eax, 4
push 0
push eax
call fcn.004291b0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x42826b
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x428f40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5066f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5487a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0040b0f0
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00428e70
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x428fb1
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004cdf1d
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x428fda
push dword [esp + 0xc]
call fcn.00473e80
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42a6d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506818
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5487a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5487a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x42a824
cmp byte [ebx + 0x45], 0
je 0x42a824
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x42a730
xor al, al
jmp 0x42a826
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x42a770
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42a7b1
dec eax
je 0x42a7b5
sub eax, 2
je 0x42a80b
xor bl, bl
jmp 0x42a80d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x42a7ec
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004d04f4
add esp, 0x10
cmp esi, eax
jne 0x42a7ad
cmp byte [ebx + 0x45], 0
je 0x42a80b
test esi, esi
jne 0x42a770
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00417f10
jmp 0x42a770
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x42a820
push dword [esp + 0x18]
call fcn.00473e80
add esp, 4
mov al, bl
jmp 0x42a826
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c8eb4
mov esp, ebp
pop ebp
ret
Function at 0x42b310
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5069b0
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x5487a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x26c], esi
cmp eax, 0x64
jne 0x42b366
mov eax, dword [esi + 8]
test eax, eax
je 0x42b37a
push str._force_:_true_
jmp 0x42b376
test eax, eax
jne 0x42b37a
mov eax, dword [esi + 8]
test eax, eax
je 0x42b37a
push 0x52e664
push 9
call eax
push dword [esi + 4]
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x535178
lea edx, [esi + 0xc]
mov dword [esi + 0x40], 7
lea ecx, [ebp - 0x284]
call fcn.00405de0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x42b3af
mov eax, dword [eax]
lea ecx, [ebp - 0x268]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x270], 8
mov edi, eax
jb 0x42b3d6
push dword [ebp - 0x284]
call fcn.00473e80
add esp, 4
xor eax, eax
mov dword [ebp - 0x270], 7
mov dword [ebp - 0x274], 0
mov word [ebp - 0x284], ax
cmp edi, 0xffffffff
je 0x42b458
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, edi
lea eax, [ebp - 0x268]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42b458
cmp word [ebp - 0x23c], 0x2e
je 0x42b400
lea eax, [ebp - 0x23c]
push eax
lea edx, [esi + 0xc]
lea ecx, [ebp - 0x29c]
call fcn.00405de0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x42b43c
mov eax, dword [eax]
push eax
call ebx
cmp dword [ebp - 0x288], 8
jb 0x42b400
push dword [ebp - 0x29c]
call fcn.00473e80
add esp, 4
jmp 0x42b400
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esi, 0xc
cmp dword [esi + 0x14], 8
jb 0x42b46a
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, 1
jmp 0x42b494
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c8eb4
mov esp, ebp
pop ebp
ret
Function at 0x42b8c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5487a0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5487a0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x30]
push eax
call fcn.0042bb00
push 0
push 0x52e664
mov dword [esp + 0x60], 0
push dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x40]
call fcn.004062c0
test eax, eax
je 0x42ba3f
push str.Setup_
lea edx, [esp + 0x34]
lea ecx, [esp + 0x1c]
call fcn.00405de0
mov edi, eax
lea esi, [ebx + 0xc]
add esp, 4
cmp esi, edi
je 0x42b971
cmp dword [esi + 0x14], 8
jb 0x42b956
push dword [esi]
call fcn.00473e80
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.0040af40
cmp dword [esp + 0x2c], 8
jb 0x42b984
push dword [esp + 0x18]
call fcn.00473e80
add esp, 4
push 0x5351e0
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.00405de0
lea edi, [ebx + 0x24]
mov dword [esp + 0x18], eax
add esp, 4
cmp edi, eax
je 0x42b9d1
cmp dword [edi + 0x14], 8
jb 0x42b9b6
push dword [edi]
call fcn.00473e80
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
mov ecx, edi
push eax
call fcn.0040af40
cmp dword [esp + 0x2c], 8
jb 0x42b9e4
push dword [esp + 0x18]
call fcn.00473e80
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x42b9ee
mov eax, dword [esi]
jmp 0x42b9f0
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x42ba01
mov esi, dword [esi]
push esi
mov ecx, ebx
call fcn.0042ba80
test al, al
je 0x42ba3f
cmp dword [edi + 0x14], 8
jb 0x42ba15
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
test eax, eax
je 0x42ba3f
push str.InvokeW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42ba74
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor bl, bl
cmp dword [esp + 0x44], 8
jb 0x42ba54
push dword [esp + 0x30]
call fcn.00473e80
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004c8eb4
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x42ba41
Function at 0x42ba80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x534bdc
push 0x86
push dword [0x552c84]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x42baef
push esi
push dword [0x552c84]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42baef
push esi
push dword [0x552c84]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x42baef
push ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, ebx
mov ecx, eax
call fcn.00439a70
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x42c420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x42c45d
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x42c6d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x42c46f
mov dword [ebp - 8], 1
jmp 0x42c476
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x430d10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5487a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x118
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004d33c0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x430d75
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x430d82
mov al, 1
jmp 0x430d84
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c8eb4
mov esp, ebp
pop ebp
ret

Function at 0x430f40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x430f57
mov dword [ebp - 8], 1
jmp 0x430f5e
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
call fcn.00402840
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x430f9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x430f9f
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x430f9f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x430fa2
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x431050
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.004d33c0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], 0x5321e4
mov ecx, dword [ebp + 8]
call fcn.00402840
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 5
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4310c1
push 5
push 0
mov ecx, dword [ebp + 8]
call fcn.00402840
push eax
push str.iexplore.exe
push 0x53220c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x431240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x431254
xor al, al
jmp 0x431298
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x431390
push 0
push 0
call fcn.004d1cd7
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x4312a0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4312f5
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x102
jne 0x4312de
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x431316
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x431336
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov esp, ebp
pop ebp
ret 4
Function at 0x431790
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push bind
mov ecx, dword [ebp + 8]
call fcn.00402840
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4317c4
xor al, al
jmp 0x4317fe
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4317f2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4317fe
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4319d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402840
push eax
mov ecx, dword [ebp + 8]
call fcn.00402840
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4319f8
mov al, 1
jmp 0x431a34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00402840
push eax
mov ecx, dword [ebp + 8]
call fcn.00402840
push eax
push str.move_file_from____s___to____s___flag___d_failed__error___d.
push 0xf9
push str.utility::ufile::moveFile
call fcn.0042d8a0
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x431a40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402840
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x431a5b
mov al, 1
jmp 0x431a8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402840
push eax
push str.removeFile_file_from____s___error___d.
push 0x15e
push str.utility::ufile::removeFile
call fcn.0042d8a0
add esp, 0x14
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x431a90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5487a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x22c], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004d33c0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.004027e0
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040ac50
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
lea ecx, [ebp - 0x228]
call fcn.004028a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c8eb4
mov esp, ebp
pop ebp
ret
Function at 0x431bd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x431c0f
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jne 0x431c0f
mov al, 1
jmp 0x431c11
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x4349d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x14]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00402840
push eax
mov ecx, dword [ebp + 8]
call fcn.00402840
push eax
push 0x533200
push 0xc
push 0x533278
call fcn.0042d8a0
add esp, 0x1c
call fcn.00430d10
movzx edx, al
test edx, edx
je 0x434a23
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x434a23
mov dword [ebp - 8], 0x533290
jmp 0x434a2a
mov dword [ebp - 8], str.open
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x434a3b
mov dword [ebp - 4], 5
jmp 0x434a42
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00402840
push eax
mov ecx, dword [ebp + 8]
call fcn.00402840
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_ret_._lastError___d
push 0x18
push 0x5332e4
call fcn.0042d8a0
add esp, 0x10
cmp dword [ebp - 0x10], 0x20
jg 0x434aaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x533318
push 0x1b
push str.utility::process::shell
call fcn.0042d8a0
add esp, 0x10
xor al, al
jmp 0x434ab1
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x434bd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507038
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5487a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402840
push eax
mov ecx, dword [ebp + 8]
call fcn.00402840
push eax
push str.createProcess_filename____s___param____s___show___d
push 0xed
push str.utility::process::create
call fcn.0042d8a0
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
mov edx, 0x533afc
lea ecx, [ebp - 0x58]
call fcn.00405f80
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
push 0x533af8
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
call fcn.00406070
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004028a0
mov ecx, dword [ebp + 0xc]
call fcn.0040b6a0
movzx eax, al
test eax, eax
jne 0x434cb4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, 0x533b00
lea ecx, [ebp - 0x40]
call fcn.00405f80
add esp, 4
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004028a0
mov dword [ebp - 0xc8], 0
push 0x40
push 0
lea ecx, [ebp - 0xc4]
push ecx
call fcn.004d33c0
add esp, 0xc
mov dword [ebp - 0xc8], 0x44
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x9c], 1
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x434d14
mov dword [ebp - 0x5c], 5
jmp 0x434d1b
mov dword [ebp - 0x5c], 0
mov ax, word [ebp - 0x5c]
mov word [ebp - 0x98], ax
xor ecx, ecx
mov word [ebp - 0x96], cx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x7c], 0
xor edx, edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xc8]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00402840
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x434db0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
push 0x100
push 0x533b04
call fcn.0042d8a0
add esp, 0x10
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004028a0
mov eax, dword [ebp - 0x60]
jmp 0x434de6
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x434dc8
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004028a0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8eb4
mov esp, ebp
pop ebp
ret