joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006401f
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x10092b84
call fcn.10086e1a
and dword [ebp - 0x20], 0
push 0x10014ae8
lea eax, [ebp - 0x18]
push eax
call fcn.1005833e
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov esi, eax
mov eax, dword [0x100aee70]
mov ebx, 0x100aee70
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 0x10014b0c
push eax
call fcn.10078b7a
mov eax, dword [0x100aee70]
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 0x100640ac
mov eax, esi
lea ecx, [ebp - 0x1c]
call fcn.10078d3a
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.10078afc
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.1005833e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.10058f73
mov eax, dword [0x100aee70]
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.10058e8b
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006411c
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.10058e8b
mov ebx, dword [ebp - 0x14]
lea eax, [ebx - 0x10]
call fcn.10078eab
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
lea eax, [ebx - 0x10]
call fcn.10078f0e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10078f0e
lea eax, [edi - 0x10]
call fcn.10078f0e
lea eax, [esi - 0x10]
call fcn.10078f0e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp + 8]
call fcn.10086f06
ret 4

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

Disassembly:
push 0x24
mov eax, 0x10094dd9
call fcn.10086e1a
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10023e77
lea eax, [ebp - 0x18]
xor edi, edi
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], edi
call fcn.100244d2
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], edi
je 0x10066764
push eax
call fcn.1007ba7c
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, 0xfffffffd
jne 0x1006673b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x10066764
mov ecx, dword [esi + 4]
cmp ecx, edi
jle 0x10066754
mov edx, dword [esi]
cmp dword [edx], eax
je 0x10066757
inc edi
add edx, 4
cmp edi, ecx
jl 0x10066748
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x10066764
lea ebx, [ebp - 0x14]
call fcn.1005bc6d
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
lea ecx, [ebp - 0x30]
call fcn.100241a9
call fcn.10086f06
ret
Function at 0x10066d61
Capabilities:
Read file on windows

Disassembly:
push 0x20
mov eax, 0x1008ee79
call fcn.10086e1a
xor ebx, ebx
mov dword [ebp - 0x10], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [0x100aee70]
mov esi, 0x100aee70
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.1002809d
cmp eax, ebx
jge 0x10066e36
mov eax, dword [0x100aee70]
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.10078eab
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push esi
lea eax, [ebp + 0x10]
push 0x100152ac
push eax
mov byte [ebp - 4], 4
call fcn.10078b7a
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.10078f0e
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10028329
mov esi, 0x10018808
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.1002a3bc
push 0x1009befc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.100814aa
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
call fcn.10077865
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 0x10066e5c
call fcn.100789c8
mov eax, dword [ebp - 0x14]
call fcn.1005fe25
cmp dword [ebp - 0x24], ebx
je 0x10066e72
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, esi
call fcn.10086f06
ret 0xc
Function at 0x10068618
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x100ae210]
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.1007e770
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 0x100155e0
stosd dword es:[edi], eax
lea eax, [ebp - 0x41c]
push 0x208
push eax
mov dword [ebp - 0x424], 0x80004005
call fcn.1007bdd1
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 0x10068760
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 0x100686f7
push 1
push dword [esi + 4]
call dword [eax + 0x20]
test eax, eax
jne 0x10068749
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x424], edi
jmp 0x10068749
push 0x4e20
push dword [esi + 8]
call dword [eax + 0x20]
cmp eax, 0x102
je 0x10068760
cmp eax, 0x80
je 0x10068757
mov eax, dword [ebx]
push 1
push dword [esi]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
je 0x1006872a
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1006873a
mov eax, dword [ebx]
push 1
push dword [esi + 4]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
jne 0x10068740
mov dword [ebp - 0x420], edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 0x420], edi
jne 0x100686c7
jmp 0x10068760
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.1007b091
leave
ret 4
Function at 0x10069293
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10094c14
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100ae210]
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.10023e77
and dword [esp + 0x30], 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
call fcn.10024486
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
call fcn.10078f0e
test esi, esi
je 0x10069317
push 4
pop esi
lea ecx, [esp + 0xc]
call fcn.100241a9
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.1002423c
test al, al
je 0x10069328
push 2
jmp 0x100692fa
push 0
push 0x10003c2c
lea eax, [esp + 0x18]
push eax
call fcn.10023a16
test al, al
je 0x10069341
push 3
jmp 0x100692fa
xor esi, esi
inc esi
jmp 0x100692fb

Function at 0x1006972f
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099198
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x100ae210]
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.10035044
and dword [esp + 0x40], 0
push dword [esp + 0x14]
movzx eax, bx
push eax
push 0x100157b0
push 2
call fcn.100239ad
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.10078eab
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x18]
push eax
call fcn.1002a8cc
mov byte [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10023e77
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 2
call fcn.100244ac
mov byte [esp + 0x40], 3
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
push esi
je 0x10069837
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10034798
push esi
push ebx
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
mov byte [esp + 0x50], 4
call fcn.100350d5
push dword [esp + 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.10078f0e
lea ecx, [esp + 0x1c]
call fcn.100241a9
push dword [esp + 0x10]
call esi
jmp 0x10069864
push ebx
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
call fcn.100350d5
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.10078f0e
lea ecx, [esp + 0x1c]
call fcn.100241a9
push dword [esp + 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10078f0e
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 0x1006988c
Capabilities:
Accept command line arguments

Disassembly:
push 0x2c
mov eax, 0x10094bec
call fcn.10086e1a
mov esi, dword [ebp + 8]
and dword [ebp - 0x18], 0
xor ebx, ebx
mov edi, 0x100aee70
inc ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10078e54
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10023e77
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.10024412
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, dword [ebp - 0x14]
setne bl
add eax, 0xfffffff0
call fcn.10078f0e
test bl, bl
je 0x100699d0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10024412
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.1005833e
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10078eab
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [0x100aee70]
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.100253d4
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.1005833e
mov byte [ebp - 4], 9
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x100699a7
lea eax, [ebp - 0x1c]
push eax
call fcn.10025d3f
mov edi, esi
mov byte [ebp - 4], 0xa
call fcn.100584b9
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
push dword [ebp - 0x10]
mov eax, esi
call fcn.10058e4a
jmp 0x100699b1
lea eax, [ebp - 0x10]
mov edi, esi
call fcn.100584b9
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [ebp - 4], 2
lea eax, [ebx - 0x10]
jmp 0x100699ee
lea eax, [ebp - 0x20]
push eax
call fcn.10025d3f
mov edi, esi
mov byte [ebp - 4], 0xb
call fcn.100584b9
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10078f0e
push dword [ebp + 0xc]
mov eax, esi
call fcn.10058e4a
lea ecx, [ebp - 0x38]
call fcn.100241a9
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, esi
call fcn.10086f06
ret 8
Function at 0x10069bb9
Capabilities:
Accept command line arguments

Disassembly:
push 0x164
mov eax, 0x1009b383
call fcn.10086e1a
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.1005833e
lea eax, [ebp - 0x10]
push eax
call fcn.1002a8cc
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.10023e77
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.100244ac
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 0x10069c4d
push dword [ebp + 8]
call fcn.1004473c
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10078f0e
lea ecx, [ebp - 0x38]
call fcn.100241a9
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10069cf5
lea eax, [ebp - 0x170]
push eax
call fcn.1004473c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 4
call fcn.10042d2f
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x20]
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 5
call fcn.10042d73
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.100346b1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push edi
push eax
push dword [ebp + 8]
call fcn.1004473c
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.100443ed
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10078f0e
lea ecx, [ebp - 0x38]
call fcn.100241a9
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp + 8]
call fcn.10086f06
ret 0xc
Function at 0x1006cec8
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100986c9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100ae210]
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 0x100160a0
push 0x100160b8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006cf1f
xor eax, eax
jmp 0x1006d004
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [esi]
push 0x100160c8
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 0x1006cf83
push esi
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push 0x10016120
push eax
call fcn.1005833e
lea ecx, [esp + 0x18]
mov edx, edi
call fcn.1006fccf
push dword [esp + 0x10]
push 0x10016158
push ebx
call fcn.100239ad
add esp, 0xc
jmp 0x1006d000
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 0x100161dc
push eax
call fcn.1005833e
mov eax, dword [edi + 0x40]
push 7
push eax
call fcn.1005ae4a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10023e77
mov byte [esp + 0x40], 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], 0x13ec
call fcn.1002420c
push esi
push 0
add edi, 4
push edi
lea eax, [esp + 0x1c]
call fcn.10057a92
lea ecx, [esp + 0x1c]
call fcn.100241a9
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 0x1006d01e
Capabilities:
Check if file exists

Disassembly:
push 0x54
mov eax, 0x10092796
call fcn.10086e1a
lea eax, [ebp - 0x10]
push eax
call fcn.10025d3f
and dword [ebp - 4], 0
push 0x100161e8
lea eax, [ebp - 0x10]
call fcn.10058e4a
mov dword [ebp - 0x60], 0x100161fc
mov dword [ebp - 0x5c], 0x10016210
mov dword [ebp - 0x58], 0x10016224
mov dword [ebp - 0x54], 0x10016238
mov dword [ebp - 0x50], 0x1001624c
mov dword [ebp - 0x4c], 0x10016260
mov dword [ebp - 0x48], 0x1001627c
mov dword [ebp - 0x44], 0x100162a0
mov dword [ebp - 0x40], 0x100162b8
mov dword [ebp - 0x3c], 0x100162d0
mov dword [ebp - 0x38], 0x100162e8
mov dword [ebp - 0x34], 0x10016300
mov dword [ebp - 0x30], 0x10016318
mov dword [ebp - 0x2c], 0x10016330
mov dword [ebp - 0x28], 0x10016348
xor esi, esi
push dword [ebp + esi*4 - 0x60]
lea eax, [ebp - 0x10]
call fcn.10058e4a
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006d0e7
lea eax, [ebp - 0x10]
call fcn.10058f73
inc esi
cmp esi, 0xf
jb 0x1006d0af
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10078f0e
call fcn.10086f06
ret
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
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.10078eab
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push esi
lea eax, [ebp - 0x14]
push 0x10016360
push eax
mov byte [ebp - 4], 2
call fcn.10078b7a
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.10078f0e
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.10028329
mov esi, 0x10018808
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.1002a3bc
push 0x1009befc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.100814aa
int3
Function at 0x1006d713
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
mov esi, ecx
xor eax, eax
cmp byte [esi + 0x18], al
je 0x1006d732
push eax
push eax
push esi
push 0x100723e8
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
pop esi
ret

Function at 0x1006f5c8
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x10
mov eax, 0x1008ee18
call fcn.10086e1a
mov ebx, ecx
mov eax, dword [ebx + 8]
sub eax, 0x10
call fcn.10078eab
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.10058f73
mov eax, dword [ebx + 8]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov esi, esp
call fcn.10078eab
add eax, 0x10
mov dword [esi], eax
call fcn.100256a3
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x1006f665
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10078eab
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0x10016ab4
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.10058cd5
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.10078f0e
lea eax, [esi - 0x10]
call fcn.10078f0e
jmp 0x1006f71b
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 0x1006f685
mov ecx, esi
call fcn.10078d3a
push dword [esi]
push 0
push 0x10016af0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1006f6f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1006f6af
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 0x10016af8
push eax
mov byte [ebp - 4], 3
call fcn.10078b7a
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.10078f0e
or eax, 0xffffffff
call fcn.10078afc
cmp byte [ebx + 0x14], 0
je 0x1006f71b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
push 0x10016b88
mov eax, esi
call fcn.1005ff21
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x14]
call fcn.10086f06
ret
Function at 0x1006f9a3
Capabilities:
Check if file exists
Delete file

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0xc]
mov dword [esi], 0x1001a950
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1006f9c4
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0xc]
sub eax, 0x10
call fcn.10078f0e
mov eax, dword [esi + 8]
sub eax, 0x10
pop esi
jmp fcn.10078f0e

Function at 0x1006fccf
Capabilities:
Accept command line arguments

Disassembly:
push 0x1c
mov eax, 0x100985fa
call fcn.10086e1a
mov esi, ecx
mov edi, edx
and dword [ebp - 4], 0
mov eax, dword [esi]
cmp eax, 0x80004004
jne 0x1006fcf1
mov eax, 0x80070642
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10023e77
mov byte [ebp - 4], 1
push dword [esi]
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
call fcn.10078eab
add eax, 0x10
mov dword [esi], eax
mov esi, dword [edi + 0x40]
call fcn.100721ec
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 0x13ed
call fcn.1002420c
push dword [ebp + 0xc]
add edi, 4
push 0
push edi
lea eax, [ebp - 0x10]
call fcn.10057a92
lea ecx, [ebp - 0x28]
call fcn.100241a9
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10078f0e
call fcn.10086f06
ret 8
Function at 0x1007192c
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x10094acb
call fcn.10086e1a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10023e77
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.10024486
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [edi + 0xc]
sub eax, 0x10
call fcn.10078eab
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
mov eax, dword [edi + 8]
sub eax, 0x10
call fcn.10078eab
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.10058608
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.10078f0e
lea eax, [esi - 0x10]
call fcn.10078f0e
cmp byte [ebp - 0xd], 0
jne 0x100719d4
test bl, bl
jne 0x100719d4
cmp byte [edi + 0x15], bl
je 0x100719d4
cmp byte [edi + 0x14], bl
je 0x100719d4
inc bl
jmp 0x100719d6
xor bl, bl
lea ecx, [ebp - 0x30]
call fcn.100241a9
mov al, bl
call fcn.10086f06
ret