joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006c670
Capabilities:
Get file size

Disassembly:
push 0x2c
mov eax, 0x100a0d97
call fcn.10094b6a
mov esi, ecx
mov eax, dword [esi]
mov dword [ebp - 0x20], esi
call dword [eax + 0x1c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.1006c7f8
push ebx
push 0x80
push 3
push 1
push SysReAllocStringLen
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
lea edi, [ebp - 0x28]
call fcn.1002b029
cmp eax, ebx
jge 0x1006c721
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push 0x10016868
push eax
call fcn.100847a7
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1002b2a7
mov esi, 0x1001afc0
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.1002d336
push 0x100aad5c
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], esi
call fcn.1008e3d9
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084b37
mov byte [ebp - 4], bl
cmp dword [ebp - 0x28], ebx
je 0x1006c749
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.1006c7f8
push ecx
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
push ecx
call fcn.1005f361
lea eax, [ebp - 0x1c]
push eax
call fcn.1006fce6
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esi]
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push ecx
mov ecx, esi
call dword [eax + 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.1006fce6
xor eax, eax
cmp dword [ebp - 0x14], ebx
setne al
cmp eax, ebx
jne 0x1006c7ac
push 0x80004005
call fcn.10084aa9
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.10088e1a
cmp eax, ebx
mov eax, dword [ebp - 0x14]
pop ecx
sete bl
pop ecx
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
or dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, bl
call fcn.10094c56
ret
Function at 0x1006c7f8
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x100a0d3f
call fcn.10094b6a
and dword [ebp - 0x20], 0
push 0x1001688c
lea eax, [ebp - 0x18]
push eax
call fcn.1005f361
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov esi, eax
mov eax, dword [0x100bcf90]
mov ebx, 0x100bcf90
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push esi
push 0x100168b0
push eax
call fcn.100847a7
mov eax, dword [0x100bcf90]
add esp, 0x10
mov ecx, ebx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
xor ecx, ecx
mov byte [ebp - 4], 2
mov eax, dword [edi - 8]
inc ecx
sub ecx, dword [edi - 4]
mov esi, 0x104
sub eax, esi
or eax, ecx
jge 0x1006c885
mov eax, esi
lea ecx, [ebp - 0x1c]
call fcn.1008495f
mov edi, dword [ebp - 0x1c]
push esi
push edi
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or eax, 0xffffffff
lea esi, [ebp - 0x1c]
call fcn.1008472b
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.1005f361
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1005ffe4
mov eax, dword [0x100bcf90]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x20]
push esi
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
call fcn.1005ff00
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006c8f5
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.1005ff00
mov ebx, dword [ebp - 0x14]
lea eax, [ebx - 0x10]
call fcn.10084ad6
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
lea eax, [ebx - 0x10]
call fcn.10084b37
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084b37
lea eax, [edi - 0x10]
call fcn.10084b37
lea eax, [esi - 0x10]
call fcn.10084b37
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp + 8]
call fcn.10094c56
ret 4

Function at 0x1006f420
Capabilities:
Accept command line arguments
Identify system language via api

Disassembly:
push 0x24
mov eax, 0x100a3027
call fcn.10094b6a
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10026b5d
lea eax, [ebp - 0x18]
xor edi, edi
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], edi
call fcn.100271ef
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], edi
je 0x1006f49f
push eax
call fcn.10087a97
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, 0xfffffffd
jne 0x1006f476
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x1006f49f
mov ecx, dword [esi + 4]
cmp ecx, edi
jle 0x1006f48f
mov edx, dword [esi]
cmp dword [edx], eax
je 0x1006f492
inc edi
add edx, 4
cmp edi, ecx
jl 0x1006f483
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x1006f49f
lea ebx, [ebp - 0x14]
call fcn.1006b4f9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
lea ecx, [ebp - 0x30]
call fcn.10026eb8
call fcn.10094c56
ret
Function at 0x1006fce6
Capabilities:
Read file on windows

Disassembly:
push 0x20
mov eax, 0x1009cbe9
call fcn.10094b6a
xor ebx, ebx
mov dword [ebp - 0x10], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [0x100bcf90]
mov esi, 0x100bcf90
mov ecx, esi
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push ebx
push 0x80
push 3
push edi
push SysReAllocStringLen
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea edi, [ebp - 0x24]
call fcn.1002b029
cmp eax, ebx
jge 0x1006fdbb
mov eax, dword [0x100bcf90]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10084ad6
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push esi
lea eax, [ebp + 0x10]
push 0x10017290
push eax
mov byte [ebp - 4], 4
call fcn.100847a7
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.10084b37
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1002b2a7
mov esi, 0x1001afc0
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.1002d336
push 0x100aad5c
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1008e3d9
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
call fcn.100831e6
push ebx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x1006fde1
call fcn.100845fb
mov eax, dword [ebp - 0x14]
call fcn.1006784c
cmp dword [ebp - 0x24], ebx
je 0x1006fdf7
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, esi
call fcn.10094c56
ret 0xc
Function at 0x10071aa4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x100bc210]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push edi
push 0x44
pop edi
push edi
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x47c]
push 0
push eax
call fcn.1008a7e0
push dword [esi + 0xc]
mov dword [ebp - 0x47c], edi
push dword [ebp - 0x420]
xor eax, eax
lea edi, [ebp - 0x434]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10017c98
stosd dword es:[edi], eax
lea eax, [ebp - 0x41c]
push 0x208
push eax
mov dword [ebp - 0x424], 0x80004005
call fcn.10087dec
add esp, 0x20
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x47c]
push eax
xor edi, edi
push edi
push edi
push 0x4000020
push 1
push edi
push edi
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10071bea
mov dword [ebp - 0x420], 1
mov eax, dword [ebx]
push 0x4e20
push dword [esi]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
mov eax, dword [ebx]
mov ecx, ebx
jne 0x10071b81
push 1
push dword [esi + 4]
call dword [eax + 0x20]
test eax, eax
jne 0x10071bd3
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x424], edi
jmp 0x10071bd3
push 0x4e20
push dword [esi + 8]
call dword [eax + 0x20]
cmp eax, 0x102
je 0x10071bea
cmp eax, 0x80
je 0x10071be1
mov eax, dword [ebx]
push 1
push dword [esi]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
je 0x10071bb4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x10071bc4
mov eax, dword [ebx]
push 1
push dword [esi + 4]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
jne 0x10071bca
mov dword [ebp - 0x420], edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 0x420], edi
jne 0x10071b51
jmp 0x10071bea
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x430]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
push dword [ebp - 0x434]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x424]
xor ecx, ebp
pop edi
call fcn.10086de1
leave
ret 4
Function at 0x100728a6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a2e0c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.10026b5d
and dword [esp + 0x30], 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
call fcn.100271a7
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
call fcn.10084b37
test esi, esi
je 0x10072928
push 4
pop esi
lea ecx, [esp + 0xc]
call fcn.10026eb8
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
call fcn.10026f45
test al, al
je 0x10072939
push 2
jmp 0x1007290b
push 0
push 0x100036c8
lea eax, [esp + 0x18]
push eax
call fcn.100266fe
test al, al
je 0x10072952
push 3
jmp 0x1007290b
xor esi, esi
inc esi
jmp 0x1007290c

Function at 0x10072d58
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a7317
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
and dword [esp + 0x18], 0
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.10038a0f
and dword [esp + 0x40], 0
push dword [esp + 0x14]
movzx eax, bx
push eax
push 0x10017f10
push 2
call fcn.10026695
mov eax, dword [esp + 0x24]
add esp, 0x10
push esi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
call fcn.10084ad6
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x18]
push eax
call fcn.1002db95
mov byte [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10026b5d
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 2
call fcn.100271cb
mov byte [esp + 0x40], 3
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
push esi
je 0x10072e5e
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10038169
push esi
push ebx
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
mov byte [esp + 0x50], 4
call fcn.10038a9e
push dword [esp + 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.10084b37
lea ecx, [esp + 0x1c]
call fcn.10026eb8
push dword [esp + 0x10]
call esi
jmp 0x10072e8b
push ebx
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
call fcn.10038a9e
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.10084b37
lea ecx, [esp + 0x1c]
call fcn.10026eb8
push dword [esp + 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10072eb3
Capabilities:
Accept command line arguments

Disassembly:
push 0x2c
mov eax, 0x100a2de4
call fcn.10094b6a
mov esi, dword [ebp + 8]
and dword [ebp - 0x18], 0
xor ebx, ebx
mov edi, 0x100bcf90
inc ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10084a73
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10026b5d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.10027135
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, dword [ebp - 0x14]
setne bl
add eax, 0xfffffff0
call fcn.10084b37
test bl, bl
je 0x10072ff7
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10027135
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.1005f361
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084ad6
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084b37
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [0x100bcf90]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.10028259
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.1005f361
mov byte [ebp - 4], 9
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x10072fce
lea eax, [ebp - 0x1c]
push eax
call fcn.10028b91
mov edi, esi
mov byte [ebp - 4], 0xa
call fcn.1005f4dc
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
push dword [ebp - 0x10]
mov eax, esi
call fcn.1005fec1
jmp 0x10072fd8
lea eax, [ebp - 0x10]
mov edi, esi
call fcn.1005f4dc
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084b37
mov byte [ebp - 4], 2
lea eax, [ebx - 0x10]
jmp 0x10073015
lea eax, [ebp - 0x20]
push eax
call fcn.10028b91
mov edi, esi
mov byte [ebp - 4], 0xb
call fcn.1005f4dc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10084b37
push dword [ebp + 0xc]
mov eax, esi
call fcn.1005fec1
lea ecx, [ebp - 0x38]
call fcn.10026eb8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, esi
call fcn.10094c56
ret 8
Function at 0x100737c3
Capabilities:
Accept command line arguments

Disassembly:
push 0x164
mov eax, 0x100aa074
call fcn.10094b6a
mov edi, ecx
push dword [ebp + 0x10]
and dword [ebp - 0x1c], 0
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push dword [ebp + 0xc]
push eax
call fcn.1005f361
lea eax, [ebp - 0x10]
push eax
call fcn.1002db95
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10026b5d
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.100271cb
push dword [ebp + 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
push edi
lea eax, [ebp - 0x10]
push eax
jne 0x10073857
push dword [ebp + 8]
call fcn.100488b1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10084b37
lea ecx, [ebp - 0x38]
call fcn.10026eb8
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x100738ff
lea eax, [ebp - 0x170]
push eax
call fcn.100488b1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 4
call fcn.10046efc
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x20]
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 5
call fcn.1003a764
mov byte [ebp - 4], 6
push dword [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10038082
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10084b37
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push edi
push eax
push dword [ebp + 8]
call fcn.100488b1
push dword [ebp - 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x1c], ebx
call esi
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 3
call fcn.10048564
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10084b37
lea ecx, [ebp - 0x38]
call fcn.10026eb8
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp + 8]
call fcn.10094c56
ret 0xc
Function at 0x10077ead
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a680c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
mov edi, dword [ebp + 8]
push 0x10018854
push 0x1001886c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10077f02
xor eax, eax
jmp 0x10077fe7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [esi]
push 0x10018880
xor ebx, ebx
push ebx
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push dword [ebp + 0x10]
mov dword [esp + 0x1c], ebx
call dword [eax + 0x1c]
mov dword [esp + 0x10], eax
cmp eax, ebx
jge 0x10077f66
push esi
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push 0x100188d8
push eax
call fcn.1005f361
lea ecx, [esp + 0x18]
mov edx, edi
call fcn.1007accc
push dword [esp + 0x10]
push 0x10018910
push ebx
call fcn.10026695
add esp, 0xc
jmp 0x10077fe3
mov ecx, dword [esp + 0x14]
mov ebx, ecx
mov dword [esp + 0x18], ebx
and dword [esp + 0x40], 0
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push 0x10018994
push eax
call fcn.1005f361
mov eax, dword [edi + 0x40]
push 7
push eax
call fcn.10061ed6
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10026b5d
mov byte [esp + 0x40], 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], 0x13ec
call fcn.10026f17
push esi
push 0
add edi, 4
push edi
lea eax, [esp + 0x1c]
call fcn.1005e7f3
lea ecx, [esp + 0x1c]
call fcn.10026eb8
or dword [esp + 0x40], 0xffffffff
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10078001
Capabilities:
Check if file exists

Disassembly:
push 0x54
mov eax, 0x100a09c9
call fcn.10094b6a
lea eax, [ebp - 0x10]
push eax
call fcn.10028b91
and dword [ebp - 4], 0
push 0x100189a0
lea eax, [ebp - 0x10]
call fcn.1005fec1
mov dword [ebp - 0x60], 0x100189b4
mov dword [ebp - 0x5c], 0x100189c8
mov dword [ebp - 0x58], 0x100189dc
mov dword [ebp - 0x54], 0x100189f0
mov dword [ebp - 0x50], 0x10018a04
mov dword [ebp - 0x4c], 0x10018a18
mov dword [ebp - 0x48], 0x10018a34
mov dword [ebp - 0x44], 0x10018a58
mov dword [ebp - 0x40], 0x10018a70
mov dword [ebp - 0x3c], 0x10018a88
mov dword [ebp - 0x38], 0x10018aa0
mov dword [ebp - 0x34], 0x10018ab8
mov dword [ebp - 0x30], 0x10018ad0
mov dword [ebp - 0x2c], 0x10018ae8
mov dword [ebp - 0x28], 0x10018b00
xor esi, esi
push dword [ebp + esi*4 - 0x60]
lea eax, [ebp - 0x10]
call fcn.1005fec1
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100780ca
lea eax, [ebp - 0x10]
call fcn.1005ffe4
inc esi
cmp esi, 0xf
jb 0x10078092
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084b37
call fcn.10094c56
ret
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084ad6
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push esi
lea eax, [ebp - 0x14]
push 0x10018b18
push eax
mov byte [ebp - 4], 2
call fcn.100847a7
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.10084b37
push dword [ebp - 0x14]
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002b2a7
mov esi, 0x1001afc0
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.1002d336
push 0x100aad5c
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1008e3d9
int3

Function at 0x10078785
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp byte [esi + 0x18], al
je 0x100787a2
push eax
push eax
push esi
push 0x1007d3ad
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
pop esi
ret
Function at 0x1007a5e7
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x10
mov eax, 0x1009cb58
call fcn.10094b6a
mov ebx, ecx
mov eax, dword [ebx + 8]
sub eax, 0x10
call fcn.10084ad6
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.1005ffe4
mov eax, dword [ebx + 8]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov esi, esp
call fcn.10084ad6
add eax, 0x10
mov dword [esi], eax
call fcn.10028524
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x1007a684
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084ad6
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0x100191bc
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.1005fd4e
mov byte [ebp - 4], 2
mov ebx, dword [ebx + 0x18]
push dword [eax]
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
lea eax, [esi - 0x10]
call fcn.10084b37
jmp 0x1007a73a
xor edx, edx
lea esi, [ebx + 0xc]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
inc edx
sub edx, dword [eax - 4]
mov eax, 0x105
sub ecx, eax
or ecx, edx
jge 0x1007a6a4
mov ecx, esi
call fcn.1008495f
push dword [esi]
push 0
push 0x100191f8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1007a716
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1007a6ce
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 0x10019200
push eax
mov byte [ebp - 4], 3
call fcn.100847a7
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx]
add esp, 0xc
push edi
push 0
call dword [eax + 4]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.10084b37
or eax, 0xffffffff
call fcn.1008472b
cmp byte [ebx + 0x14], 0
je 0x1007a73a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
push 0x10007584
mov eax, esi
call fcn.10067944
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp - 0x14]
call fcn.10094c56
ret