joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006447e
Capabilities:
Check mutex on windows

Disassembly:
push 8
mov eax, 0x100b00d7
call fcn.100a5688
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
lea edi, [esi + 4]
mov dword [esi], ebx
call fcn.1008e9f3
push eax
mov ecx, edi
call fcn.10091a7b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 8], edx
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], eax
mov al, byte [ecx + 8]
test al, al
je 0x1006453b
add ecx, 4
mov eax, dword [ecx]
cmp dword [eax - 0xc], ebx
je 0x100644e9
push ecx
mov edx, 0x1001646c
lea ecx, [ebp - 0x10]
call fcn.1006eaa2
mov byte [ebp - 4], 1
jmp 0x100644fb
push edx
mov edx, 0x1001646c
lea ecx, [ebp - 0x10]
call fcn.1006eaa2
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.10091a7b
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push dword [edi]
push ebx
push 0x100000
call dword [sym.imp.kernel32.dll_OpenMutexW]
mov dword [esi], eax
test eax, eax
jne 0x1006453f
push dword [edi]
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x1006453f
mov byte [esi + 0x14], 1
mov eax, esi
call fcn.100a5651
ret 0x14

Function at 0x100649c0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x10064aa8
push 0x10016540
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
jne 0x100649e6
pop esi
jmp dword [sym.imp.kernel32.dll_GetLastError]
push 0x10016550
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 8], eax
test eax, eax
jne 0x10064a00
pop esi
jmp dword [sym.imp.kernel32.dll_GetLastError]
push 0x10016560
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x10064a1c
pop esi
jmp dword [sym.imp.kernel32.dll_GetLastError]
push 0x10016578
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x10064a38
pop esi
jmp dword [sym.imp.kernel32.dll_GetLastError]
push 0x1001658c
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10064a54
pop esi
jmp dword [sym.imp.kernel32.dll_GetLastError]
push 0x100165a4
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x10064a70
pop esi
jmp dword [sym.imp.kernel32.dll_GetLastError]
push 0x100165b4
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x10064a8c
pop esi
jmp dword [sym.imp.kernel32.dll_GetLastError]
push 0x100165c8
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi + 0x24], eax
test eax, eax
jne 0x10064aa8
pop esi
jmp dword [sym.imp.kernel32.dll_GetLastError]
xor eax, eax
pop esi
ret
Function at 0x10064d08
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
mov dword [esi], 0x1001af20
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov ecx, dword [esi + 4]
sub ecx, 0x10
pop esi
jmp fcn.1008ebf5
Function at 0x10065726
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x100b02b6
call fcn.100a5688
mov edi, ecx
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x14]
call fcn.10091a7b
and dword [ebp - 4], 0
xor ecx, ecx
mov esi, dword [ebp - 0x14]
inc ecx
mov edx, 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x10065769
push edx
lea ecx, [ebp - 0x14]
call fcn.10091a7b
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.100324d7
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x10]
call fcn.10091a7b
mov ebx, 0x10006fe0
mov byte [ebp - 4], 1
mov ecx, ebx
call fcn.1008e51a
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.10091a7b
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
push esi
call fcn.10091a7b
mov ecx, ebx
call fcn.1008e51a
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.10091a7b
mov ebx, 0x10016794
mov ecx, ebx
call fcn.1008e51a
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.10091a7b
mov ecx, dword [edi + 4]
call fcn.1008e51a
push eax
push dword [edi + 4]
lea ecx, [ebp - 0x10]
call fcn.10091a7b
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
xor ebx, ebx
push 0x40
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10093d90
mov edi, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x70], 0x44
cmp dword [edi - 4], 1
jle 0x10065817
push dword [edi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.10091a7b
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push esi
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x10065862
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 7
push eax
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x20]
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [edi - 0x10]
call fcn.1008ebf5
lea ecx, [esi - 0x10]
call fcn.1008ebf5
call fcn.100a5651
ret
Function at 0x10065a1b
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x100b034d
call fcn.100a5688
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
call fcn.1008e9f3
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.10091a7b
mov dword [ebp - 4], esi
mov ecx, edi
inc esi
mov dword [ebp - 0x14], esi
call fcn.1008e407
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x10065ae5
mov edx, edi
call fcn.10091a7b
push dword [edi]
lea ecx, [ebp - 0x10]
call fcn.1006f4e2
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x10]
call fcn.10091a7b
test esi, esi
je 0x10065aa7
mov dword [ebp - 4], 1
push dword [edi]
push 0x100167a0
jmp 0x10065ab5
mov dword [ebp - 4], 2
push dword [edi]
push 0x10016820
lea eax, [ebp - 0x10]
push eax
call fcn.10091a7b
mov ebx, dword [ebx + 4]
add esp, 0xc
mov esi, dword [ebp - 0x10]
mov eax, dword [ebx]
push esi
push 4
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x100d0614]
mov ecx, ebx
call edi
lea ecx, [esi - 0x10]
call fcn.1008ebf5
jmp 0x10065aff
mov edi, dword [ebx + 4]
push 0x100168a8
push esi
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
mov eax, dword [ebp + 8]
call fcn.100a5651
ret 8
Function at 0x100662be
Capabilities:
Accept command line arguments

Disassembly:
push 0x20
mov eax, 0x100b053c
call fcn.100a5688
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], 0x1001acf0
xor ebx, ebx
mov dword [edi + 4], 0x1002143c
mov dword [edi + 8], ebx
mov byte [edi + 0xc], bl
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x24], ebx
mov byte [edi + 0x28], bl
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x20], 0x100213ec
mov byte [ebp - 4], 1
push 0xc00
mov dword [edi + 0x3c], ebx
call fcn.10091a7b
pop ecx
mov dword [ebp - 0x10], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.100328eb
mov byte [ebp - 4], 1
mov dword [0x100cfe78], eax
call fcn.10091a7b
push 4
call fcn.10091a7b
mov dword [ebp - 0x10], eax
mov dword [esp], 0x1002168c
mov dword [eax], 0x1001a7e8
mov dword [0x100cfd74], eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x10066387
push 0x10018b5c
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x10], 0x20000
test esi, esi
je 0x10066387
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call dword [0x100d0614]
call esi
push 0x10073f70
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1002e7ee
mov byte [ebp - 4], 3
call fcn.1007b0b6
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.1002ebc5
mov ecx, dword [0x100cfe78]
neg al
push ebx
sbb al, al
inc al
mov byte [ecx], al
lea ecx, [ebp - 0x28]
mov eax, dword [0x100cfe78]
push 0x10007088
mov dword [eax + 0x990], esi
call fcn.1002e39c
lea ecx, [ebp - 0x2c]
mov bl, al
call fcn.1002eb94
mov ecx, dword [0x100cfe78]
mov dword [ecx + 0xbf0], 1
test bl, bl
je 0x10066403
mov dword [ecx + 0xbf0], 3
test al, al
je 0x10066411
mov dword [ecx + 0xbf0], 2
lea ecx, [ebp - 0x2c]
call fcn.1002eb70
mov eax, edi
call fcn.100a5651
ret
Function at 0x100667c3
Capabilities:
Accept command line arguments

Disassembly:
push 0xc4
mov eax, 0x100b05bb
call fcn.100a56bc
mov ebx, ecx
mov esi, 0x10006fc4
lea ecx, [ebp - 0xc4]
push esi
call fcn.1006f4e2
and dword [ebp - 4], 0
lea eax, [ebp - 0xc4]
push eax
push esi
push 0x10016c74
push ebx
lea ecx, [ebp - 0xd0]
call fcn.1002e26b
mov byte [ebp - 4], 1
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0xc0]
call fcn.10091a7b
mov byte [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0xc0]
push 0x10016cac
push eax
call fcn.10091a7b
mov eax, dword [ebx]
add esp, 0xc
mov esi, dword [ebp - 0xc0]
mov edi, dword [eax + 4]
mov ecx, edi
push esi
push 7
call dword [0x100d0614]
mov ecx, ebx
call edi
push 0xac
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.10093d90
add esp, 0xc
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.kernel32.dll_GetTimeZoneInformation]
cmp eax, 1
jne 0x10066880
lea eax, [ebp - 0xb8]
jmp 0x10066888
cmp eax, 2
jne 0x100668eb
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xc0]
push 0x10016cd8
push eax
call fcn.10091a7b
mov eax, dword [ebx]
add esp, 0xc
push dword [ebp - 0xc0]
mov esi, dword [eax + 4]
mov ecx, esi
push 7
call dword [0x100d0614]
mov ecx, ebx
call esi
call dword [sym.imp.kernel32.dll_GetThreadLocale]
push eax
lea eax, [ebp - 0xc0]
push 0x10016d40
push eax
call fcn.10091a7b
mov eax, dword [ebx]
add esp, 0xc
mov esi, dword [ebp - 0xc0]
mov edi, dword [eax + 4]
mov ecx, edi
push esi
push 7
call dword [0x100d0614]
mov ecx, ebx
call edi
lea ecx, [esi - 0x10]
call fcn.1008ebf5
lea ecx, [ebp - 0xd0]
call fcn.10091a7b
mov ecx, dword [ebp - 0xc4]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
call fcn.100a5666
ret
Function at 0x1006b607
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x100b1115
call fcn.100a56bc
mov esi, ecx
mov dword [ebp - 0x220], esi
xor edi, edi
lea eax, [ebp - 0x218]
push 0x208
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x21c], edi
call fcn.10093d90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.1006f4e2
mov dword [ebp - 4], edi
mov ecx, esi
mov dword [ebp - 0x21c], 1
call fcn.10073c87
mov eax, esi
call fcn.100a5666
ret

Function at 0x1006cd11
Capabilities:
Accept command line arguments

Disassembly:
push 0x18
mov eax, 0x100a8d99
call fcn.100a5688
mov edi, ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x24]
call fcn.1002e7ee
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.1002ebc5
test al, al
je 0x1006cd69
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x1006cd69
mov esi, dword [edi + 8]
cmp esi, 3
je 0x1006cd52
cmp esi, 2
jne 0x1006cd6c
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100d0614]
mov ecx, ebx
call esi
mov esi, eax
test esi, esi
jne 0x1006cd6c
mov esi, dword [edi + 8]
lea ecx, [ebp - 0x24]
call fcn.1002eb70
mov eax, esi
call fcn.100a5651
ret

Function at 0x1006d7bd
Capabilities:
Delete file

Disassembly:
push 0x220
mov eax, 0x100b14bb
call fcn.100a56bc
mov ebx, ecx
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
and dword [ebp - 0x22c], 0
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100d0614]
mov ecx, ebx
call esi
test al, al
je 0x1006d8f7
mov ecx, ebx
call fcn.10073334
xor esi, esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], esi
push ecx
push ecx
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], esi
call fcn.10091a7b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.1006f4e2
mov byte [ebp - 4], 1
cmp dword [ebp - 0x220], esi
je 0x1006d846
push dword [ebp - 0x220]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x220], esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov ecx, dword [ebx + 0x3c]
lea eax, [ebp - 0x224]
push eax
call fcn.10091a7b
push 0x10018850
lea ecx, [ebp - 0x228]
mov esi, eax
call fcn.1006f4e2
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 2
push eax
push esi
mov ecx, ebx
call fcn.1007235f
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
cmp byte [ebx + 0x80], 0
je 0x1006d8c9
push dword [0x100c685c]
push dword [0x100c6858]
call dword [sym.imp.advapi32.dll_EventUnregister]
and dword [0x100c6858], 0
and dword [0x100c685c], 0
and dword [0x100c6840], 0
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.1008eb5d
mov ecx, dword [ebp - 0x224]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [edi], eax
call fcn.1008ebf5
lea ecx, [ebp - 0x220]
call fcn.10032dd5
jmp 0x1006d903
push 0x100216b4
mov ecx, edi
call fcn.1006f4e2
mov eax, edi
call fcn.100a5666
ret 4
Function at 0x1006e6f2
Capabilities:
Get hostname

Disassembly:
push 0xc
mov eax, 0x100afd4c
call fcn.100a5688
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x10]
call fcn.10091a7b
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 4], ebx
mov edx, 0x104
mov eax, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x14], edx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x1006e734
push edx
lea ecx, [ebp - 0x10]
call fcn.10091a7b
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push 7
call dword [sym.imp.Secur32.dll_GetComputerObjectNameW]
test al, al
je 0x1006e7b1
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10091a7b
push ebx
push 0x2f
lea ecx, [ebp - 0x10]
call fcn.10091a7b
cmp eax, 0xffffffff
je 0x1006e789
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.10091a7b
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10091a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
lea ecx, [ebp - 0x10]
call fcn.1006ee97
push ebx
push 0x10018b38
lea ecx, [ebp - 0x10]
call fcn.10091a7b
cmp eax, 0xffffffff
je 0x1006e7b1
call fcn.10091a7b
mov bl, al
neg bl
sbb bl, bl
inc bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1008ebf5
mov al, bl
call fcn.100a5651
ret
Function at 0x1006fb30
Capabilities:
Check if file exists
Copy file
Set file attributes

Disassembly:
push 0x1c
mov eax, 0x100b17c8
call fcn.100a5688
mov esi, ecx
xor ebx, ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
lea ecx, [esi + 0x10]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.10091a7b
cmp dword [ebp - 0x1c], ebx
ja 0x1006fc61
jb 0x1006fb6a
cmp dword [ebp - 0x20], 2
ja 0x1006fc61
lea ecx, [ebp - 0x18]
call fcn.10074092
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.1006f4e2
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006fbc6
push 0x10018ba0
lea ecx, [ebp - 0x1c]
call fcn.1006f4e2
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10091a7b
push 0x100c54c8
lea eax, [ebp - 0x28]
push eax
call fcn.10091a7b
mov ecx, esi
call fcn.10062d90
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.10091a7b
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008eb5d
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 0x10]
push ecx
call dword [sym.imp.kernel32.dll_CopyFileW]
test eax, eax
je 0x1006fc17
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x1006fc15
push 0x80
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x1006fc17
mov bl, 1
mov ecx, dword [ebp - 0x1c]
call fcn.1008ebf5
test bl, bl
je 0x1006fc4b
push 1
mov ecx, esi
call fcn.10063270
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
call fcn.100a5651
ret
push 0x10018be0
lea ecx, [ebp - 0x1c]
call fcn.1006f4e2
mov byte [ebp - 4], 5
jmp 0x1006fbac
mov ecx, esi
call fcn.100741cc
test al, al
jne 0x1006fc45
push 0x10018c18
lea ecx, [ebp - 0x1c]
call fcn.1006f4e2
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x28]
call fcn.10091a7b
push 0x100c5450
jmp 0x1006fbbd
Function at 0x100704d6
Capabilities:
Accept command line arguments

Disassembly:
push 0x20
mov eax, 0x100b1920
call fcn.100a5688
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1002e7ee
mov dword [ebp - 4], ebx
call fcn.10059e1c
cmp byte [eax], bl
jne 0x1007050e
push 0x100190a0
jmp 0x1007059e
push ebx
push 0x10007088
lea ecx, [ebp - 0x28]
call fcn.1002e39c
test al, al
je 0x10070539
push ebx
push 0x100070b8
lea ecx, [ebp - 0x28]
call fcn.1002e39c
test al, al
jne 0x10070539
push 0x10019140
jmp 0x1007059e
lea ecx, [ebp - 0x2c]
call fcn.1002eb94
test al, al
je 0x1007055f
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10091a7b
xor ecx, ecx
inc ecx
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jne 0x10070562
mov bl, cl
jmp 0x10070562
mov ecx, dword [ebp - 0x10]
test cl, 1
je 0x10070572
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
test bl, bl
je 0x1007057d
push 0x100191f8
jmp 0x1007059e
cmp dword [edi + 8], 1
je 0x1007058a
push 0x100192b8
jmp 0x1007059e
mov ecx, dword [edi + 0x18]
call fcn.10059f9c
mov dword [edi + 0x48], eax
test eax, eax
jne 0x100705b4
push 0x10019358
mov edi, dword [edi + 0x18]
push 2
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
lea ecx, [ebp - 0x2c]
call fcn.1002eb70
call fcn.100a5651
ret
Function at 0x10072fff
Capabilities:
Accept command line arguments

Disassembly:
push 0x30
mov eax, 0x100b1f64
call fcn.100a5688
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1002e7ee
mov dword [ebp - 4], 1
call fcn.1008e9f3
mov ecx, dword [ebp + 8]
push eax
call fcn.10091a7b
mov dword [ebp - 0x18], 1
call dword [sym.imp.kernel32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0x100216c4
call fcn.1006f4e2
push ebx
push 0x10019eb0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1002e39c
mov byte [ebp - 4], 1
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0x100216c4
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
test bl, bl
je 0x1007311c
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, 0x100216c4
lea ecx, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], ebx
call fcn.1006f4e2
push 0x10019eb0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call fcn.1002e5fe
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
push eax
call fcn.10091a7b
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push dword [ebp + 8]
mov ecx, dword [esi + 0x3c]
push 0x1ee
call fcn.100378d9
push 0x10019ee0
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.1006f4e2
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
push esi
mov byte [ebp - 4], 5
call fcn.1007235f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1008ebf5
lea ecx, [ebp - 0x3c]
call fcn.1002eb70
mov eax, dword [ebp + 8]
call fcn.100a5651
ret 4
Function at 0x10074092
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x100b20fb
call fcn.100a5688
mov dword [ebp - 0x20], ecx
and dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1c]
push 0x1001a46c
call fcn.1006f4e2
and dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetThreadLocale]
mov esi, eax
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x24]
call fcn.10091a7b
xor ebx, ebx
lea eax, [ebp - 0x24]
inc ebx
mov byte [ebp - 4], bl
push dword [ebp - 0x1c]
push esi
push 0x1001a4bc
push eax
call fcn.10091a7b
add esp, 0x10
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x14]
call fcn.10091a7b
mov byte [ebp - 4], 2
mov edi, 0x104
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 8]
sub ebx, dword [esi - 4]
sub eax, edi
or eax, ebx
jge 0x10074119
push edi
lea ecx, [ebp - 0x14]
call fcn.10091a7b
mov esi, dword [ebp - 0x14]
push edi
push esi
push 0x10000000
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.10091a7b
push esi
lea ecx, [ebp - 0x10]
call fcn.1006f4e2
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1006e86f
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x18]
call fcn.10091a7b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
mov edi, dword [ebp - 0x24]
push edi
push dword [ebp - 0x10]
call fcn.10091a7b
mov ebx, dword [ebp - 0x18]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10074185
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.10091a7b
mov ebx, dword [ebp - 0x18]
lea ecx, [ebx - 0x10]
call fcn.1008eb5d
mov ecx, dword [ebp - 0x20]
add eax, 0x10
mov dword [ecx], eax
lea ecx, [ebx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
lea ecx, [esi - 0x10]
call fcn.1008ebf5
lea ecx, [edi - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov eax, dword [ebp - 0x20]
call fcn.100a5651
ret
Function at 0x100741cc
Capabilities:
Get file size

Disassembly:
push 0x2c
mov eax, 0x100b214e
call fcn.100a5688
mov edi, ecx
mov dword [ebp - 0x20], edi
call fcn.10062d90
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10074092
mov esi, dword [ebp - 0x1c]
push ecx
push ebx
push 0x80
push 3
push 1
push SysReAllocString
push esi
lea ecx, [ebp - 0x28]
call fcn.10091a7b
test eax, eax
jns 0x10074261
lea ecx, [ebp - 0x14]
call fcn.1008eab0
push esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push 0x1001a4f8
push eax
call fcn.10091a7b
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x30]
push eax
call fcn.10091a7b
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x38]
call fcn.10091a7b
push 0x100c55f0
lea eax, [ebp - 0x38]
push eax
call fcn.10091a7b
push ebx
mov ebx, dword [ebp - 0x28]
push ebx
call dword [sym.imp.kernel32.dll_GetFileSize]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x1c], eax
call fcn.1008ebf5
mov byte [ebp - 4], 0
test ebx, ebx
je 0x10074286
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
call fcn.10074092
push ecx
mov ecx, esp
mov byte [ebp - 4], 5
mov dword [ebp - 0x24], ecx
push dword [eax]
call fcn.1006f4e2
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.100786fe
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [edi]
push ecx
push esp
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.100786fe
cmp dword [ebp - 0x10], 0
jne 0x100742e7
push 0x80004005
call fcn.10091a7b
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.10091a7b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
test eax, eax
sete bl
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push 1
mov ecx, edi
mov dword [ebp - 4], 8
call fcn.10063270
mov dword [edi + 0x10], eax
mov al, bl
call fcn.100a5651
ret