joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004bb49
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x10095cc2
call fcn.100871aa
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
mov dword [esi + 0x14], eax
mov edi, 0x1001ab1c
push edi
lea eax, [esi + 0x20]
push eax
mov dword [esi], 0x100199b4
mov dword [esi + 4], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], bl
call fcn.100580f9
push edi
lea eax, [esi + 0x24]
push eax
mov dword [ebp - 4], ebx
call fcn.100580f9
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.1004baf0
mov ecx, dword [ebp + 0x10]
push eax
lea eax, [esi + 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.100492d0
cmp dword [ebp - 0x18], ebx
je 0x1004bbc6
push dword [ebp - 0x18]
call fcn.1007c1ae
pop ecx
mov eax, dword [ebp + 0x18]
or dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x4c], eax
mov byte [esi + 0x50], bl
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov byte [ebp - 4], 5
cmp byte [0x100b6202], 1
mov edi, dword [sym.imp.msi.dll_MsiSetPropertyW]
jne 0x1004bc00
push ebx
push 3
call edi
mov byte [0x100b6202], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10023ed7
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
mov dword [ebp + 0xc], 0x102
call fcn.1002426c
test al, al
jne 0x1004bc2e
mov dword [ebp + 0xc], 2
push ebx
push dword [ebp + 0xc]
call edi
push ebx
push esi
push 0x922
push 0x1004bd03
call dword [sym.imp.msi.dll_MsiBeginTransactionW]
push esi
push 0x7fdf
push 0x1004bce5
call dword [sym.imp.msi.dll_MsiSetInternalUI]
lea ecx, [ebp - 0x30]
mov dword [esi + 0x68], eax
call fcn.10024209
mov eax, esi
call fcn.10087296
ret 0x18

Function at 0x1004d12c
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp byte [esi + 4], bl
je 0x1004d1d3
cmp dword [esi + 0x18], ebx
jne 0x1004d1d3
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x18], eax
cmp eax, ebx
jne 0x1004d167
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1004d1ce
push edi
push 0x10
call fcn.1007bc2d
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x1004d17f
mov dword [ebp - 4], 0xe
jmp 0x1004d1cd
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [edi], esi
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x1004d1a1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push edi
push 0x1004d1e2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x14], eax
cmp eax, ebx
jne 0x1004d1cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi + 0x18]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], ebx
pop edi
mov eax, dword [ebp - 4]
jmp 0x1004d1d8
mov eax, 0x10dd
pop ebx
leave
ret 0xc
Function at 0x1004d44f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push dword [esi + 0x2c]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ebx, [esi + 0x1c]
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1004d4f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
jne 0x1004d4d6
mov eax, dword [esi + 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x18]
push 0xffffffffffffffff
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
test edi, edi
jne 0x1004d4c2
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1004d4f0
jmp 0x1004d4c7
cmp edi, 0xffffffff
jne 0x1004d4d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1004d4d6
mov edi, 0x3e3
test edi, edi
je 0x1004d4f0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CancelIo]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov byte [esi + 0x39], 0
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x1004d5a6
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [ebp - 0xc], edi
cmp dword [ebp + 0xc], edi
je 0x1004d5ca
push dword [ebp + 0xc]
call dword [sym.imp.msi.dll_MsiRecordIsNull]
inc eax
mov dword [ebp - 0xc], eax
xor eax, eax
push 0xc
pop ebx
mov word [ebp - 4], ax
cmp dword [ebp - 0xc], eax
jbe 0x1004d602
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.msi.dll_MsiRecordSetStreamA]
cmp eax, 0xea
jne 0x1004d5fc
mov eax, dword [ebp - 8]
lea ebx, [ebx + eax*2 + 2]
inc edi
cmp edi, dword [ebp - 0xc]
jb 0x1004d5d8
mov edi, ebx
call fcn.1004d82f
test eax, eax
jne 0x1004d615
push 0xe
pop eax
jmp 0x1004d70f
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp + 8]
and dword [ebp - 8], 0
mov dword [eax], ebx
mov eax, dword [esi + 0x30]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x30]
lea edi, [eax + 0xc]
add eax, ebx
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x1004d6a2
cmp edi, dword [ebp - 0x10]
jae 0x1004d6a2
xor eax, eax
mov word [edi], ax
and dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp + 0xc]
call dword [sym.imp.msi.dll_MsiRecordSetStreamA]
cmp eax, 0xea
jne 0x1004d687
mov eax, dword [ebp - 0x10]
sub eax, edi
sar eax, 1
cmp dword [ebp + 8], eax
jge 0x1004d687
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp - 8]
push dword [ebp + 0xc]
call dword [sym.imp.msi.dll_MsiRecordSetStreamA]
mov ecx, dword [ebp + 8]
xor eax, eax
inc dword [ebp - 8]
mov word [edi + ecx*2], ax
mov eax, dword [ebp + 8]
lea edi, [edi + eax*2 + 2]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x1004d63f
push dword [esi + 0x2c]
and dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edi, [esi + 0x1c]
push edi
push 0
push ebx
push dword [esi + 0x30]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1004d70c
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov dword [ebp + 0xc], eax
cmp eax, 0x3e5
jne 0x1004d6f5
and dword [ebp + 0xc], 0
push 1
lea eax, [ebp + 8]
push eax
push edi
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1004d70c
call ebx
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x1004d70c
push dword [esi + 0x10]
mov byte [esi + 0x39], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x10], 0
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1004d71b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
push dword [esi + 0x2c]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edi, [esi + 0x1c]
push edi
push ebx
push 4
push dword [ebp + 8]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1004d796
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x3e5
jne 0x1004d781
push dword [esi + 0x3c]
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test ebx, ebx
jne 0x1004d785
push eax
lea eax, [ebp + 8]
push eax
push edi
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1004d796
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x1004d796
push dword [esi + 0x10]
mov byte [esi + 0x39], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x10], 0
pop edi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0x1004d7a3
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov edi, edi
push edi
xor edi, edi
push edi
push edi
mov eax, 0x400
push eax
push eax
push 1
push edi
push 0x40080003
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x1004d7d7
and dword [esi + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1004d826
lea ecx, [esi + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x1004d7ec
mov byte [esi + 0x39], 1
jmp 0x1004d826
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xe7
jne 0x1004d818
push 0x4e20
push dword [esi + 0xc]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1004d7e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
jne 0x1004d826
xor edi, edi
mov byte [esi + 0x38], 1
mov eax, edi
pop edi
ret
Function at 0x100520ca
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0x34
mov eax, 0x10091745
call fcn.100871aa
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [esi], 0x1001a50c
lea edi, [esi + 8]
mov dword [ebp - 4], 1
push dword [edi]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x20], edi
call fcn.100580f9
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10052120
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1001ab1c
xor ebx, ebx
mov eax, edi
call fcn.10078f08
add esi, 0xc
push dword [esi]
lea eax, [ebp - 0x10]
push eax
call fcn.100580f9
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10052201
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10052201
mov eax, dword [esi]
mov edi, dword [eax - 0xc]
lea eax, [edi + 1]
push eax
call fcn.100790bd
mov edx, eax
xor eax, eax
mov word [edx + edi*2 + 2], ax
push 6
pop ecx
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 0x40], 0
and dword [ebp - 0x34], 0
mov eax, 0x414
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x38], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
or eax, 0xffffffff
call fcn.10078e28
test edi, edi
je 0x100521f0
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
mov byte [ebp - 4], 4
push dword [esi]
lea eax, [ebp - 0x14]
push 0x10010958
push eax
call fcn.10078ea6
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
add esp, 0x10
push edi
push 1
call dword [eax + 4]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.1007924a
push 0x1001ab1c
xor ebx, ebx
mov eax, esi
call fcn.10078f08
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esi]
sub eax, 0x10
call fcn.1007924a
mov eax, dword [edi]
sub eax, 0x10
call fcn.1007924a
call fcn.10087296
ret
Function at 0x1005225c
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x100916f7
call fcn.100871aa
push dword [ecx + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.100580f9
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.100580f9
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10058d59
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.10058c05
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100522f5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.100791e7
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.10058274
lea eax, [esi - 0x10]
call fcn.1007924a
mov bl, 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.1007924a
mov al, bl
call fcn.10087296
ret 8
mov esi, dword [ebp + 0xc]
call fcn.10078ec1
jmp 0x100522d5

Function at 0x10054142
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x18]
xor eax, eax
push eax
push eax
push eax
add esi, 0x10
push esi
call fcn.10028171
test eax, eax
js 0x1005416e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1005416e
pop esi
jmp fcn.10078cf4
pop esi
ret
Function at 0x10054bbe
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x1009598b
call fcn.100871aa
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.100580f9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.10026016
mov eax, dword [eax]
push ebx
push 0x80
push 3
push 1
push SysReAllocStringLen
push eax
lea edi, [ebp - 0x2c]
call fcn.100280e5
mov edi, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.1007924a
cmp edi, ebx
jge 0x10054cbb
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.100580f9
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x14]
push 0x10010ec0
push eax
call fcn.10078ea6
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.1007924a
push dword [ebp - 0x14]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10028371
mov esi, 0x100187e8
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.1002a3dc
mov dword [ebp - 0x34], esi
push 0x1009c2fc
lea eax, [ebp - 0x34]
push eax
call fcn.10081847
push ebx
lea eax, [ebp - 0x24]
push eax
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x10054cdb
call fcn.10078cf4
cmp byte [ebp - 0x10], 0xff
jne 0x10054cfd
cmp byte [ebp - 0xf], 0xfe
jne 0x10054cfd
cmp dword [ebp - 0x2c], ebx
je 0x10054cf5
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10087296
ret 4
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0x10010f10
push eax
call fcn.10078ea6
mov eax, dword [esi]
add esp, 0xc
push dword [ebp - 0x14]
mov ecx, esi
push ebx
call dword [eax + 4]
push 0x10005e9c
lea eax, [ebp + 8]
push eax
call fcn.100580f9
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.100283d2
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.1007924a
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.1002a398
push 0x1009c1c8
lea eax, [ebp - 0x20]
jmp 0x10054cb5
Function at 0x10055194
Capabilities:
Accept command line arguments

Disassembly:
push 0x28
mov eax, 0x1009592b
call fcn.100871aa
lea eax, [ebp - 0x14]
push eax
call fcn.10025e18
and dword [ebp - 4], 0
push 0x10011260
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebp - 0x14]
call fcn.10058a35
push 0x10011210
lea ecx, [ebp - 0x18]
push ecx
mov edi, eax
mov byte [ebp - 4], 1
call fcn.10058a35
push 0x100111b0
lea ecx, [ebp - 0x10]
push ecx
mov edi, eax
mov byte [ebp - 4], 2
call fcn.10058a35
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
push dword [ebp - 0x10]
mov eax, dword [esi]
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10023ed7
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.10024236
test al, al
jne 0x10055251
push 0
push 0x10003bd0
lea eax, [ebp - 0x30]
push eax
call fcn.10023a76
test al, al
jne 0x10055251
push 0x10
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x34]
call fcn.10024209
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.1007924a
call fcn.10087296
ret 4
Function at 0x100553df
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x10093746
call fcn.100871aa
xor ebx, ebx
push ebx
push 0x100b6154
mov edi, 0x100b6050
push edi
mov dword [ebp - 0x14], ebx
push ebx
push dword [ebp + 8]
call fcn.10086c45
add esp, 0x14
cmp eax, ebx
je 0x10055426
lea esi, [ebp - 0x18]
call fcn.10042a90
mov eax, dword [eax]
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
cmp dword [eax - 0xc], ebx
je 0x10055429
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 1
je 0x1005543a
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.1007924a
cmp byte [ebp - 0xd], bl
je 0x1005559a
push ebx
push 0x100b6090
push edi
push ebx
push dword [ebp + 8]
call fcn.10086c45
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x100555a4
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.10036d17
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.1007924a
cmp dword [ebp - 0x1c], ebx
je 0x100554e3
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.10036d17
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.10025d87
mov byte [ebp - 4], 2
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x14]
call fcn.10058c46
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.1007924a
jmp 0x1005550d
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.10036d17
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10058274
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
mov edi, 0x100b6050
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10055592
push ebx
push 0x100b61bc
push edi
push ebx
push dword [ebp + 8]
call fcn.10086c45
add esp, 0x14
cmp eax, ebx
je 0x10055549
cmp dword [eax + 0xf4], 4
jne 0x10055549
mov bl, 1
lea eax, [esi - 0x10]
call fcn.1007924a
mov al, bl
jmp 0x1005559c
push 0x10011360
lea eax, [ebp + 8]
push eax
call fcn.100580f9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.100589df
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 5
push dword [eax]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.1007924a
jmp 0x1005553d
lea eax, [esi - 0x10]
call fcn.1007924a
mov al, 1
call fcn.10087296
ret 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push 0x1001142c
push ebx
call dword [eax + 4]
xor al, al
jmp 0x1005559c

Function at 0x10055cc1
Capabilities:
Delete file

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 4]
mov dword [esi], 0x1001a774
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
sub eax, 0x10
pop esi
jmp fcn.1007924a
Function at 0x10055cc3
Capabilities:
Delete file

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 4]
mov dword [esi], 0x1001a774
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
sub eax, 0x10
pop esi
jmp fcn.1007924a
Function at 0x100578fb
Capabilities:
Accept command line arguments

Disassembly:
push 0xc4
mov eax, 0x100915c0
call fcn.1008721d
mov ebx, 0x10003b0c
push ebx
lea eax, [ebp - 0xc4]
push eax
call fcn.100580f9
and dword [ebp - 4], 0
mov edi, 0x10011b74
push edi
lea eax, [ebp - 0xd0]
push eax
call fcn.100580f9
mov byte [ebp - 4], 1
lea eax, [ebp - 0xc4]
push ebx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 8]
mov byte [ebp - 4], 2
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0xc0]
push 0x10011b9c
push eax
call fcn.10078ea6
mov edi, dword [ebp - 0xc0]
mov eax, dword [esi]
add esp, 0xc
push edi
push 7
mov ecx, esi
call dword [eax + 4]
and dword [ebp - 0xbc], 0
push 0xa8
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.1007eb10
add esp, 0xc
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 1
jne 0x100579d1
lea eax, [ebp - 0xb8]
jmp 0x100579d9
cmp eax, 2
jne 0x10057a28
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xc0]
push 0x10011bc0
push eax
call fcn.10078ea6
mov eax, dword [esi]
add esp, 0xc
push dword [ebp - 0xc0]
mov ecx, esi
push 7
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
lea eax, [ebp - 0xc0]
push 0x10011bdc
push eax
call fcn.10078ea6
mov edi, dword [ebp - 0xc0]
mov eax, dword [esi]
add esp, 0xc
push edi
push 7
mov ecx, esi
call dword [eax + 4]
lea eax, [edi - 0x10]
call fcn.1007924a
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 0
call fcn.100239be
mov eax, dword [ebp - 0xc4]
add eax, 0xfffffff0
call fcn.1007924a
call fcn.100872af
ret

Function at 0x10059267
Capabilities:
Accept command line arguments

Disassembly:
push 0x18
mov eax, 0x10094414
call fcn.100871aa
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10023ed7
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
call fcn.1002426c
test al, al
je 0x100592c9
cmp dword [esi + 4], 0
je 0x100592c9
mov eax, dword [esi + 8]
cmp eax, 3
je 0x100592a8
cmp eax, 2
jne 0x100592b7
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x100592b7
mov eax, dword [esi + 8]
mov esi, eax
lea ecx, [ebp - 0x24]
call fcn.10024209
mov eax, esi
call fcn.10087296
ret
mov esi, dword [esi + 8]
jmp 0x100592b9