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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a2da3
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.10026b8b
and dword [esp + 0x30], 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
call fcn.100271d5
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
call fcn.10084c29
test esi, esi
je 0x10072ad1
push 4
pop esi
lea ecx, [esp + 0xc]
call fcn.10026ee6
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.10026f73
test al, al
je 0x10072ae2
push 2
jmp 0x10072ab4
push 0
push 0x100036c8
lea eax, [esp + 0x18]
push eax
call fcn.1002672c
test al, al
je 0x10072afb
push 3
jmp 0x10072ab4
xor esi, esi
inc esi
jmp 0x10072ab5

Function at 0x10072f20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a7348
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.100389cf
and dword [esp + 0x40], 0
push dword [esp + 0x14]
movzx eax, bx
push eax
push 0x10017f38
push 2
call fcn.100266c3
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.10084bc8
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x18]
push eax
call fcn.1002dbd4
mov byte [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10026b8b
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 2
call fcn.100271f9
mov byte [esp + 0x40], 3
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
push esi
je 0x10073026
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10038129
push esi
push ebx
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
mov byte [esp + 0x50], 4
call fcn.10038a5e
push dword [esp + 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.10084c29
lea ecx, [esp + 0x1c]
call fcn.10026ee6
push dword [esp + 0x10]
call esi
jmp 0x10073053
push ebx
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
call fcn.10038a5e
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.10084c29
lea ecx, [esp + 0x1c]
call fcn.10026ee6
push dword [esp + 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084c29
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 0x1007307b
Capabilities:
Accept command line arguments

Disassembly:
push 0x2c
mov eax, 0x100a2d7b
call fcn.10094bba
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.10084b65
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10026b8b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.10027163
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, dword [ebp - 0x14]
setne bl
add eax, 0xfffffff0
call fcn.10084c29
test bl, bl
je 0x100731bf
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10027163
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.1005f448
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084bc8
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
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.10028287
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.1005f448
mov byte [ebp - 4], 9
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x10073196
lea eax, [ebp - 0x1c]
push eax
call fcn.10028bbf
mov edi, esi
mov byte [ebp - 4], 0xa
call fcn.1005f5c3
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
push dword [ebp - 0x10]
mov eax, esi
call fcn.1005ffa8
jmp 0x100731a0
lea eax, [ebp - 0x10]
mov edi, esi
call fcn.1005f5c3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [ebp - 4], 2
lea eax, [ebx - 0x10]
jmp 0x100731dd
lea eax, [ebp - 0x20]
push eax
call fcn.10028bbf
mov edi, esi
mov byte [ebp - 4], 0xb
call fcn.1005f5c3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10084c29
push dword [ebp + 0xc]
mov eax, esi
call fcn.1005ffa8
lea ecx, [ebp - 0x38]
call fcn.10026ee6
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, esi
call fcn.10094ca6
ret 8
Function at 0x10073930
Capabilities:
Accept command line arguments

Disassembly:
push 0x164
mov eax, 0x100aa0cd
call fcn.10094bba
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.1005f448
lea eax, [ebp - 0x10]
push eax
call fcn.1002dbd4
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.10026b8b
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.100271f9
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 0x100739c4
push dword [ebp + 8]
call fcn.10048910
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10084c29
lea ecx, [ebp - 0x38]
call fcn.10026ee6
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10073a6c
lea eax, [ebp - 0x170]
push eax
call fcn.10048910
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 4
call fcn.10046ec0
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x20]
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 5
call fcn.10046f00
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.10038042
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push edi
push eax
push dword [ebp + 8]
call fcn.10048910
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.100485c3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10084c29
lea ecx, [ebp - 0x38]
call fcn.10026ee6
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp + 8]
call fcn.10094ca6
ret 0xc
Function at 0x10078274
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a675e
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 0x1001887c
push 0x10018894
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100782c9
xor eax, eax
jmp 0x100783ae
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [esi]
push 0x100188a8
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 0x1007832d
push esi
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push 0x10018900
push eax
call fcn.1005f448
lea ecx, [esp + 0x18]
mov edx, edi
call fcn.1007b090
push dword [esp + 0x10]
push 0x10018938
push ebx
call fcn.100266c3
add esp, 0xc
jmp 0x100783aa
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 0x100189bc
push eax
call fcn.1005f448
mov eax, dword [edi + 0x40]
push 7
push eax
call fcn.10061f8a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10026b8b
mov byte [esp + 0x40], 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], 0x13ec
call fcn.10026f45
push esi
push 0
add edi, 4
push edi
lea eax, [esp + 0x1c]
call fcn.1005e8da
lea ecx, [esp + 0x1c]
call fcn.10026ee6
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 0x100783c8
Capabilities:
Check if file exists

Disassembly:
push 0x54
mov eax, 0x100a0905
call fcn.10094bba
lea eax, [ebp - 0x10]
push eax
call fcn.10028bbf
and dword [ebp - 4], 0
push 0x100189c8
lea eax, [ebp - 0x10]
call fcn.1005ffa8
mov dword [ebp - 0x60], 0x100189dc
mov dword [ebp - 0x5c], 0x100189f0
mov dword [ebp - 0x58], 0x10018a04
mov dword [ebp - 0x54], 0x10018a18
mov dword [ebp - 0x50], 0x10018a2c
mov dword [ebp - 0x4c], 0x10018a40
mov dword [ebp - 0x48], 0x10018a5c
mov dword [ebp - 0x44], 0x10018a80
mov dword [ebp - 0x40], 0x10018a98
mov dword [ebp - 0x3c], 0x10018ab0
mov dword [ebp - 0x38], 0x10018ac8
mov dword [ebp - 0x34], 0x10018ae0
mov dword [ebp - 0x30], 0x10018af8
mov dword [ebp - 0x2c], 0x10018b10
mov dword [ebp - 0x28], 0x10018b28
xor esi, esi
push dword [ebp + esi*4 - 0x60]
lea eax, [ebp - 0x10]
call fcn.1005ffa8
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10078491
lea eax, [ebp - 0x10]
call fcn.100600cb
inc esi
cmp esi, 0xf
jb 0x10078459
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084c29
call fcn.10094ca6
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.10084bc8
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push esi
lea eax, [ebp - 0x14]
push 0x10018b40
push eax
mov byte [ebp - 4], 2
call fcn.10084899
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.10084c29
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.1002b2d5
mov esi, 0x1001afe8
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.1002d363
push 0x100aadb4
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1008e427
int3
Function at 0x10078b4c
Capabilities:
Create thread

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

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

Disassembly:
push 0x10
mov eax, 0x1009cbd8
call fcn.10094bba
mov ebx, ecx
mov eax, dword [ebx + 8]
sub eax, 0x10
call fcn.10084bc8
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.100600cb
mov eax, dword [ebx + 8]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov esi, esp
call fcn.10084bc8
add eax, 0x10
mov dword [esi], eax
call fcn.10028552
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x1007aa54
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084bc8
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0x100191e4
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.1005fe35
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.10084c29
lea eax, [esi - 0x10]
call fcn.10084c29
jmp 0x1007ab0a
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 0x1007aa74
mov ecx, esi
call fcn.10084a51
push dword [esi]
push 0
push 0x10019220
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1007aae6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1007aa9e
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 0x10019228
push eax
mov byte [ebp - 4], 3
call fcn.10084899
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.10084c29
or eax, 0xffffffff
call fcn.1008481d
cmp byte [ebx + 0x14], 0
je 0x1007ab0a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
push 0x10007584
mov eax, esi
call fcn.10067b76
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [ebp - 0x14]
call fcn.10094ca6
ret
Function at 0x1007ad92
Capabilities:
Check if file exists
Delete file

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0xc]
mov dword [esi], 0x1001d1cc
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1007adb1
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0xc]
sub eax, 0x10
call fcn.10084c29
mov eax, dword [esi + 8]
sub eax, 0x10
pop esi
jmp fcn.10084c29

Function at 0x1007b090
Capabilities:
Accept command line arguments

Disassembly:
push 0x1c
mov eax, 0x100a668f
call fcn.10094bba
mov esi, ecx
mov edi, edx
and dword [ebp - 4], 0
mov eax, dword [esi]
cmp eax, 0x80004004
jne 0x1007b0b2
mov eax, 0x80070642
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10026b8b
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.10084bc8
add eax, 0x10
mov dword [esi], eax
mov esi, dword [edi + 0x40]
call fcn.1007d586
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 0x13ed
call fcn.10026f45
push dword [ebp + 0xc]
add edi, 4
push 0
push edi
lea eax, [ebp - 0x10]
call fcn.1005e8da
lea ecx, [ebp - 0x28]
call fcn.10026ee6
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10084c29
call fcn.10094ca6
ret 8
Function at 0x1007ccdd
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x100a2c3a
call fcn.10094bba
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10026b8b
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.100271d5
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [edi + 0xc]
sub eax, 0x10
call fcn.10084bc8
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
mov eax, dword [edi + 8]
sub eax, 0x10
call fcn.10084bc8
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.1005f70a
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.10084c29
lea eax, [esi - 0x10]
call fcn.10084c29
cmp byte [ebp - 0xd], 0
jne 0x1007cd85
test bl, bl
jne 0x1007cd85
cmp byte [edi + 0x15], bl
je 0x1007cd85
cmp byte [edi + 0x14], bl
je 0x1007cd85
inc bl
jmp 0x1007cd87
xor bl, bl
lea ecx, [ebp - 0x30]
call fcn.10026ee6
mov al, bl
call fcn.10094ca6
ret

Function at 0x1007de8b
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0xc
mov eax, 0x1009bf34
call fcn.10094bba
mov ebx, ecx
mov eax, dword [0x100bcf90]
mov esi, 0x100bcf90
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov eax, dword [0x100bcf90]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x2c]
sub eax, 0x10
call fcn.10084bc8
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.100600cb
mov edi, dword [ebx + 0xc]
jmp 0x1007df2d
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push 0x100197b0
push eax
call fcn.10084899
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1007df2c
push dword [ebp - 0x10]
mov eax, dword [ebx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1007df61
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1007df61
cmp eax, 0xb7
jne 0x1007df37
inc edi
cmp edi, 0xffff
jb 0x1007dee8
jmp 0x1007df61
push eax
lea eax, [ebp - 0x14]
push 0x100197d0
push eax
call fcn.10084899
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
add esp, 0xc
push dword [ebp - 0x14]
push 0
call dword [eax + 4]
lea eax, [ebx + 0x2c]
lea edi, [ebp - 0x10]
call fcn.1005f5c3
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1007df99
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebx + 0x2c]
lea eax, [ebp - 0x14]
push 0x10019848
push eax
call fcn.10084899
mov ebx, dword [ebx + 8]
mov eax, dword [ebx]
add esp, 0x10
push dword [ebp - 0x14]
mov ecx, ebx
push 0
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084c29
lea eax, [edi - 0x10]
call fcn.10084c29
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084c29
call fcn.10094ca6
ret
Function at 0x1007ea05
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a49c6
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
push 0x1000c9d4
lea eax, [esp + 0x14]
push eax
call fcn.1005f448
and dword [esp + 0x58], 0
lea eax, [esp + 0x10]
push eax
push 0x10019bb4
mov eax, 0x246c
call fcn.1008f0b0
mov edi, esp
lea esi, [ebx + 0x10]
mov dword [esp + 0x2490], esp
call fcn.100830b9
lea edi, [esp + 0x2490]
call fcn.1002f543
push 0x100191c8
lea ecx, [esp + 0x24]
push ecx
mov edi, eax
mov byte [esp + 0x68], 1
call fcn.1005fe35
lea ecx, [esp + 0x1c]
push ecx
mov edi, eax
mov byte [esp + 0x64], 2
call fcn.1005fdda
mov byte [esp + 0x5c], 3
push dword [eax]
mov edi, dword [ebx + 8]
push 0x1000ca30
lea eax, [esp + 0x30]
push eax
call fcn.10026633
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [esp + 0x58], 7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [ebx + 0x2480]
mov ebx, dword [ebx + 0xc]
push 0xe
push 4
push 2
push eax
call fcn.100758a1
mov esi, dword [esp + 0x20]
mov eax, dword [ebp + 8]
lea ecx, [esi - 8]
mov dword [esi + 0x2488], eax
call fcn.100804b4
mov ebx, eax
xor eax, eax
cmp ebx, eax
jl 0x1007eb72
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1007eb3c
cmp eax, 0xffffffff
je 0x1007eb3a
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x3c]
push eax
call ebx
test eax, eax
jne 0x1007eb1f
lea eax, [esi + 0x24c0]
call fcn.10058d03
cmp byte [esi + 4], 0
je 0x1007eb89
mov eax, dword [esi + 0x24b0]
mov edx, dword [esi - 8]
push eax
lea ecx, [esi - 8]
call dword [edx + 0x38]
mov edi, 0x80004004
jmp 0x1007eb84
mov eax, dword [esi + 0x24b0]
mov edx, dword [esi - 8]
push eax
lea ecx, [esi - 8]
call dword [edx + 0x38]
mov edi, ebx
call fcn.1008061f
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x5c], 0
call fcn.10026674
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.10084c29
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100803ce
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100bc210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
jns 0x100803f3
xor al, al
jmp 0x100804a3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
test eax, eax
js 0x100803ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
test eax, eax
js 0x100803ec
push edi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1008a830
xor eax, eax
push edi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.1008a830
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x414]
push eax
push 0
push 0x1001a3a4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [esi + 0x24b8]
mov edx, dword [esi]
lea ecx, [ebp - 0x414]
push ecx
push 0x1001a3ac
push eax
mov ecx, esi
call dword [edx + 0x44]
pop edi
test eax, eax
js 0x100803ec
mov eax, dword [esi + 0x24b8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
test eax, eax
setns al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086e31
leave
ret
Function at 0x10080e83
Capabilities:
Accept command line arguments

Disassembly:
push 0x20
mov eax, 0x100a7db7
call fcn.10094bba
xor ebx, ebx
push ebx
push 0x100c4330
mov esi, 0x100c4218
push esi
push ebx
push edi
call fcn.10094655
mov edx, dword [eax]
add esp, 0x14
push dword [ebp + 0xc]
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x10080ecc
push 0x38
push 0x1001a7d8
mov eax, dword [ebp + 0x14]
call fcn.10067b76
xor eax, eax
inc eax
jmp 0x10080fe2
push ebx
push 0x100c4238
push esi
push ebx
push edi
mov byte [ebp + 0xf], bl
call fcn.10094655
add esp, 0x14
cmp eax, ebx
je 0x10080eef
cmp dword [eax + 0x134], 4
sete byte [ebp + 0xf]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10026b8b
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.100271d5
mov esi, dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 0x18]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push ecx
push esi
push dword [ebp + 8]
push eax
push edi
call fcn.1007dfc2
mov byte [ebp + 0x13], al
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084c29
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10026ee6
cmp byte [ebp + 0x13], bl
je 0x10080f88
cmp byte [ebp + 0x18], bl
je 0x10080f5e
push 0x22
push 0x1001a850
jmp 0x10080ebc
cmp dword [ebp + 8], 4
je 0x10080f7c
cmp byte [ebp + 0xf], bl
jne 0x10080f7c
mov eax, dword [ebp + 0x14]
push 0x21
push 0x1001a8c8
call fcn.10067b76
push 2
jmp 0x10080fe1
push 0x14
push 0x1001a898
jmp 0x10080ebc
push edi
call fcn.1008107b
test al, al
je 0x10080fa5
mov eax, dword [ebp + 0x14]
push 0x13
push 0x1001a90c
call fcn.10067b76
push 3
jmp 0x10080fe1
push 0x1001a938
lea eax, [ebp + 0x18]
push eax
call fcn.1005f448
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0x18]
push dword [eax - 0xc]
push eax
mov eax, dword [ebp + 0x14]
call fcn.10067b76
push dword [ebp + 0x18]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
call fcn.10084c29
push 5
pop eax
call fcn.10094ca6
ret 0x14