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

Disassembly:
push 0x10
mov eax, 0x100a1631
call fcn.10094b6a
xor ebx, ebx
push ebx
push 0x100c4354
mov edi, 0x100c4218
push edi
mov dword [ebp - 0x14], ebx
push ebx
push dword [ebp + 8]
call fcn.10094605
add esp, 0x14
cmp eax, ebx
je 0x1005c3e7
lea esi, [ebp - 0x18]
call fcn.1003a743
mov eax, dword [eax]
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
cmp dword [eax - 0xc], ebx
je 0x1005c3ea
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 1
je 0x1005c3fb
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
cmp byte [ebp - 0xd], bl
je 0x1005c55b
push ebx
push 0x100c4258
push edi
push ebx
push dword [ebp + 8]
call fcn.10094605
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x1005c565
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.1003abec
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
cmp dword [ebp - 0x1c], ebx
je 0x1005c4a4
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.1003abec
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.10028b91
mov byte [ebp - 4], 2
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x14]
call fcn.1005ff00
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
jmp 0x1005c4ce
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.1003abec
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.1005f4dc
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
mov edi, 0x100c4218
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1005c553
push ebx
push 0x100c43bc
push edi
push ebx
push dword [ebp + 8]
call fcn.10094605
add esp, 0x14
cmp eax, ebx
je 0x1005c50a
cmp dword [eax + 0x134], 4
jne 0x1005c50a
mov bl, 1
lea eax, [esi - 0x10]
call fcn.10084b37
mov al, bl
jmp 0x1005c55d
push 0x10012640
lea eax, [ebp + 8]
push eax
call fcn.1005f361
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.1005fc9d
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 5
push dword [eax]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10084b37
jmp 0x1005c4fe
lea eax, [esi - 0x10]
call fcn.10084b37
mov al, 1
call fcn.10094c56
ret 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push 0x1001270c
push ebx
call dword [eax + 4]
xor al, al
jmp 0x1005c55d
Function at 0x1005c57c
Capabilities:
Check mutex on windows

Disassembly:
push 0
mov eax, 0x1009b4ef
call fcn.10094b6a
mov edi, ecx
mov ebx, dword [ebp + 8]
and dword [ebx], 0
lea esi, [ebx + 4]
mov ecx, 0x100bcf90
call fcn.10084a73
and dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 8], ecx
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x18], eax
cmp byte [edi + 8], 0
je 0x1005c62f
add edi, 4
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
test eax, eax
push 0x10012740
lea eax, [ebp + 0xc]
push eax
je 0x1005c5e3
call fcn.1005fd4e
mov byte [ebp - 4], 1
jmp 0x1005c5ee
mov edi, ecx
call fcn.1005fd4e
mov byte [ebp - 4], 2
mov edi, esi
call fcn.1005f4dc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10084b37
push dword [esi]
xor edi, edi
push edi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebx], eax
cmp eax, edi
jne 0x1005c633
push dword [esi]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1005c633
mov byte [ebx + 0x14], 1
mov eax, ebx
call fcn.10094c56
ret 0x14

Function at 0x1005cc5d
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
mov dword [esi], 0x1001cfc4
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
sub eax, 0x10
pop esi
jmp fcn.10084b37
Function at 0x1005e3ff
Capabilities:
Accept command line arguments

Disassembly:
push 0x20
mov eax, 0x100a5612
call fcn.10094b6a
mov esi, dword [ebp + 8]
mov dword [esi], 0x1001d030
xor ebx, ebx
mov dword [esi + 4], 0x1001b054
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x20], 0x1001b0a4
mov byte [ebp - 4], 1
push 0xc00
mov dword [esi + 0x3c], ebx
call fcn.100880c5
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x1005e470
push eax
call fcn.1002ac06
jmp 0x1005e472
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x100c68d4], eax
call fcn.1002a755
push 4
call fcn.100880c5
pop ecx
cmp eax, ebx
je 0x1005e494
mov dword [eax], 0x1001d038
jmp 0x1005e496
xor eax, eax
push 0x1001d298
mov dword [0x100c68e0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x1005e4c7
push 0x10016124
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], 0x20000
cmp eax, ebx
je 0x1005e4c7
lea ecx, [ebp - 0x14]
push ecx
call eax
push 0x1006c943
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10026b5d
mov byte [ebp - 4], 3
call fcn.100728a6
mov edi, eax
lea eax, [ebp - 0x2c]
call fcn.10026f17
mov ecx, dword [0x100c68d4]
neg al
sbb al, al
inc al
mov byte [ecx], al
mov eax, dword [0x100c68d4]
push ebx
mov dword [eax + 0x990], edi
push 0x10003658
lea eax, [ebp - 0x28]
push eax
call fcn.100266fe
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x2c]
call fcn.10026ee3
mov ecx, dword [0x100c68d4]
mov dword [ecx + 0xbf0], 1
cmp byte [ebp - 0xd], bl
je 0x1005e547
mov dword [ecx + 0xbf0], 3
cmp al, bl
je 0x1005e555
mov dword [ecx + 0xbf0], 2
lea ecx, [ebp - 0x2c]
call fcn.10026eb8
mov eax, esi
call fcn.10094c56
ret 4
Function at 0x100605a5
Capabilities:
Accept command line arguments

Disassembly:
push 0x18
mov eax, 0x100a1c53
call fcn.10094b6a
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10026b5d
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
call fcn.10026f17
test al, al
je 0x10060607
cmp dword [esi + 4], 0
je 0x10060607
mov eax, dword [esi + 8]
cmp eax, 3
je 0x100605e6
cmp eax, 2
jne 0x100605f5
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x100605f5
mov eax, dword [esi + 8]
mov esi, eax
lea ecx, [ebp - 0x24]
call fcn.10026eb8
mov eax, esi
call fcn.10094c56
ret
mov esi, dword [esi + 8]
jmp 0x100605f7
Function at 0x10061a3c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a126e
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100bc210]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ebx, edx
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call dword [eax + 8]
test al, al
je 0x10061bd2
call fcn.10068179
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x248], edi
call fcn.1002b159
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.1005f361
mov byte [esp + 0x248], 1
cmp dword [esp + 0x24], edi
je 0x10061ae3
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], edi
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esi + 0x3c]
mov eax, dword [edi]
push 2
push 0xa
push dword [esp + 0x18]
mov ecx, edi
push dword [edi + 4]
call dword [eax + 8]
mov ebx, 0xffff
mov esi, 0x80070000
test eax, eax
jne 0x10061b23
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10061b21
and eax, ebx
or eax, esi
test eax, eax
js 0x10061b69
mov eax, dword [edi]
push 0
push 1
push 0
push 0x100065c0
push dword [esp + 0x20]
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
jne 0x10061b4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10061b63
and eax, ebx
or eax, esi
jmp 0x10061b61
mov eax, dword [edi]
push 2
push 0xea60
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x10061b3d
xor eax, eax
test eax, eax
js 0x10061b69
mov byte [edi + 8], 1
mov esi, eax
push 0x10013668
lea eax, [esp + 0x18]
push eax
call fcn.1005f361
push esi
push dword [esp + 0x1c]
lea edi, [esp + 0x1c]
mov byte [esp + 0x250], 2
call fcn.10068d48
mov byte [esp + 0x248], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.10084ad6
mov edi, dword [esp + 0x1c]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.10084b37
lea esi, [esp + 0x24]
call fcn.1002b129
mov eax, edi
jmp 0x10061bdf
push 0x1001d3bc
push ebx
call fcn.1005f361
mov eax, ebx
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.10086de1
mov esp, ebp
pop ebp
ret

Function at 0x10062ada
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x100a1220
call fcn.10094bdd
and dword [ebp - 4], 0
and dword [ebp - 0x21c], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x220], esi
call fcn.1008a7e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1005f361
and dword [ebp - 4], 0
mov eax, esi
mov dword [ebp - 0x21c], 1
call fcn.10067a19
mov eax, esi
call fcn.10094c6f
ret
Function at 0x10062b59
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x1009ccfd
call fcn.10094b6a
and dword [ebp - 0x10], 0
push 0x1000c4a0
lea eax, [ebp - 0x10]
push eax
call fcn.1005f361
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 8]
xor ecx, ecx
inc ecx
sub ecx, dword [eax - 4]
mov esi, 0x104
sub edx, esi
or ecx, edx
jge 0x10062b9f
mov eax, esi
lea ecx, [ebp - 0x10]
call fcn.1008495f
mov eax, dword [ebp - 0x10]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.1008472b
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.1005f361
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp + 8]
call fcn.10094c56
ret 4
Function at 0x10066343
Capabilities:
Get hostname

Disassembly:
push 0xc
mov eax, 0x1009c1ba
call fcn.10094b6a
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
call dword [eax + 0xc]
lea ecx, [eax + 0x10]
mov dword [ebp - 0x10], ecx
xor edx, edx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, 0x104
inc edx
mov dword [ebp - 0x14], eax
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, eax
or ecx, edx
jge 0x10066386
lea ecx, [ebp - 0x10]
call fcn.1008495f
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push 7
call dword [sym.imp.Secur32.dll_GetComputerObjectNameW]
test al, al
je 0x100663fc
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.1008472b
push 0x2f
xor ecx, ecx
call fcn.1005f8f4
cmp eax, 0xffffffff
je 0x100663d7
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.1005fb6c
mov edi, esi
mov byte [ebp - 4], 1
call fcn.1005f4dc
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
lea eax, [ebp - 0x10]
call fcn.1005f98c
push 0x10014820
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.1005f926
cmp eax, 0xffffffff
je 0x100663fc
call fcn.1006ab9a
test al, al
je 0x1006640f
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084b37
mov al, bl
call fcn.10094c56
ret
mov bl, 1
jmp 0x100663fc
Function at 0x100670da
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x100bc210]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [esi + 4]
push eax
mov dword [esi], 0x1001d070
call fcn.1005e3ff
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.1008a7e0
add esp, 0xc
push 0xff
lea eax, [ebp - 0x204]
push eax
push 0x10014b2c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jle 0x10067175
mov edx, 0x100128f4
lea eax, [ebp - 0x204]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x10067166
test cx, cx
je 0x10067162
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x10067166
add eax, 4
add edx, 4
test cx, cx
jne 0x10067140
xor eax, eax
jmp 0x1006716b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10067175
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.10086de1
leave
ret
Function at 0x10067a42
Capabilities:
Get system information on windows

Disassembly:
push 0x50
mov eax, 0x1009edf2
call fcn.10094b6a
mov esi, ecx
mov edi, edx
lea eax, [ebp + 8]
xor ebx, ebx
push eax
mov ecx, 0x100132f0
mov dword [ebp - 4], ebx
call fcn.1005f5d9
test eax, eax
je 0x10067b9c
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x10067b9c
lea eax, [ebp + 8]
push eax
mov ecx, 0x10014b58
call fcn.1005f5d9
test eax, eax
jne 0x10067a8f
push 2
jmp 0x10067aa3
lea eax, [ebp + 8]
push eax
mov ecx, 0x10014b6c
call fcn.1005f5d9
test eax, eax
jne 0x10067aa9
push 3
pop esi
jmp 0x10067ba8
lea eax, [ebp + 8]
push eax
mov ecx, 0x10014b8c
call fcn.1005f5d9
test eax, eax
jne 0x10067b0b
mov byte [edi + 0x11], 1
cmp byte [edi + 0x10], bl
jne 0x10067aa1
push 9
pop ecx
mov dword [ebp - 0x5c], 0x1001af10
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.10027ab8
test al, al
je 0x10067b03
call dword [sym.imp.sqmapi.dll_SqmIsWindowsOptedIn]
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 2
jmp 0x10067ba8
xor esi, esi
inc esi
jmp 0x10067ba8
push 0x10014ba8
lea eax, [ebp - 0x14]
push eax
call fcn.1005f361
push 0x1000593c
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.1005f361
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1002b306
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084b37
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1002b391
mov byte [ebp - 4], 7
mov eax, dword [eax]
mov edx, dword [esi]
push eax
push ebx
mov ecx, esi
call dword [edx + 4]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.1002d2f2
push 0x100aac28
lea eax, [ebp - 0x34]
push eax
call fcn.1008e3d9
xor eax, eax
cmp byte [edi + 0x10], bl
setne al
lea esi, [eax + eax + 1]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, esi
call fcn.10094c56
ret 4
Function at 0x1006837a
Capabilities:
Accept command line arguments

Disassembly:
push 0x30
mov eax, 0x100a1013
call fcn.10094b6a
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10026b5d
and dword [ebp - 4], 0
call edi
push eax
lea eax, [ebp - 0x18]
mov esi, 0x1001af00
push eax
mov dword [ebp - 0x1c], esi
call fcn.1005f361
push 0
mov ebx, 0x10015080
push ebx
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.100266fe
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esi
call fcn.10084b37
cmp byte [ebp - 0x11], 0
je 0x1006845a
call edi
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], esi
call fcn.1005f361
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.10026977
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 0x24], esi
call fcn.10084b37
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0x18]
push eax
push 0x1ee
call fcn.1002f8f9
mov edi, eax
push 0x10015038
lea eax, [ebp + 8]
push eax
call fcn.1005f361
push edi
push esi
lea edi, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.10068d48
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
lea ecx, [ebp - 0x3c]
call fcn.10026eb8
call fcn.10094c56
ret 4
Function at 0x1006a48c
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x100a7707
call fcn.10094b6a
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10026b5d
mov dword [ebp - 4], ebx
call fcn.100527f4
cmp byte [eax], bl
jne 0x1006a4c3
push 0x10015928
jmp 0x1006a55b
push ebx
push 0x10003658
lea eax, [ebp - 0x2c]
push eax
call fcn.100266fe
test al, al
je 0x1006a4f0
push ebx
push 0x10003688
lea eax, [ebp - 0x2c]
push eax
call fcn.100266fe
test al, al
jne 0x1006a4f0
push 0x100159c8
jmp 0x1006a55b
lea eax, [ebp - 0x30]
call fcn.10026ee3
test al, al
je 0x1006a51a
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.10027183
mov eax, dword [eax]
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
cmp dword [eax - 0xc], ebx
je 0x1006a51d
mov byte [ebp - 0xd], bl
test byte [ebp - 0x14], 1
je 0x1006a52e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
cmp byte [ebp - 0xd], bl
je 0x1006a53a
push 0x10015a80
jmp 0x1006a55b
cmp dword [esi + 8], 1
mov ecx, dword [esi + 0x18]
je 0x1006a54a
push 0x10015b40
jmp 0x1006a55e
call fcn.1005296f
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x1006a565
push 0x10015be0
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
push 2
call dword [eax + 4]
lea ecx, [ebp - 0x30]
call fcn.10026eb8
call fcn.10094c56
ret
Function at 0x1006ade5
Capabilities:
Check if file exists
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a6a51
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [edi + 0x10]
mov dword [esp + 0x28], ebx
push eax
lea esi, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
call fcn.1002b0ee
cmp dword [esp + 0x20], ebx
ja 0x1006af93
jb 0x1006ae46
cmp dword [esp + 0x1c], 2
ja 0x1006af93
lea eax, [esp + 0x1c]
push eax
call fcn.1006c7f8
mov dword [esp + 0x40], ebx
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.1005f361
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
push dword [esp + 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1006aeb9
push 0x10016068
lea eax, [esp + 0x2c]
push eax
call fcn.1005f361
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x48], 3
call fcn.1002b2a7
mov dword [esp + 0x2c], 0x1001aff0
push 0x100aaeb0
lea eax, [esp + 0x30]
push eax
call fcn.1008e3d9
mov ecx, edi
call fcn.1005ad7d
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.1005adaf
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084ad6
push ebx
push dword [esp + 0x18]
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1006af10
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x1006af09
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1006af10
mov byte [esp + 0x13], 1
jmp 0x1006af14
mov byte [esp + 0x13], bl
lea eax, [esi - 0x10]
call fcn.10084b37
cmp byte [esp + 0x13], bl
je 0x1006af5a
push 1
push edi
call fcn.1005b25d
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084b37
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100160a8
lea eax, [esp + 0x2c]
push eax
call fcn.1005f361
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x48], 5
call fcn.1002b2a7
mov dword [esp + 0x2c], 0x1001aff0
push 0x100aaeb0
lea eax, [esp + 0x30]
jmp 0x1006aeb3
mov ecx, edi
call fcn.1006c670
test al, al
jne 0x1006af48
push 0x100160e0
lea eax, [esp + 0x2c]
push eax
call fcn.1005f361
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x48], 6
call fcn.1002b2a7
mov dword [esp + 0x2c], 0x1001affc
push 0x100aaefc
lea eax, [esp + 0x30]
jmp 0x1006aeb3
Function at 0x1006bf54
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov ecx, esi
call fcn.1006f420
push esi
push dword [ebp + 8]
call fcn.1006f4bd
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [esp + 0xc], ecx
test eax, eax
jle 0x1006bf94
mov edx, dword [esi]
cmp dword [edx], ecx
je 0x1006bf97
inc ebx
add edx, 4
cmp ebx, eax
jl 0x1006bf88
or ebx, 0xffffffff
cmp ebx, 0xffffffff
jne 0x1006bfa5
lea ebx, [esp + 0xc]
call fcn.1006b4f9
mov eax, dword [esi + 4]
xor edx, edx
mov ebx, 0x409
test eax, eax
jle 0x1006bfc1
mov ecx, dword [esi]
cmp dword [ecx], ebx
je 0x1006bfc4
inc edx
add ecx, 4
cmp edx, eax
jl 0x1006bfb5
or edx, 0xffffffff
cmp edx, 0xffffffff
jne 0x1006bfd6
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0xc]
call fcn.1006b4f9
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1006bfe3
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x100a0ddf
call fcn.10094b6a
lea eax, [ebp - 0x14]
push eax
call fcn.10028b91
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084ad6
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.1002f533
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x10]
call fcn.1005fec1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
push 0x10016528
lea eax, [ebp - 0x10]
call fcn.1005fec1
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
test eax, eax
jne 0x1006c087
push edi
push 0x10016550
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
call fcn.10026695
add esp, 0xc
lea eax, [ebx - 0x10]
call fcn.10084b37
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084b37
xor al, al
call fcn.10094c56
ret 8
cmp byte [ebp + 0xc], 0
je 0x1006c128
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084ad6
add eax, 0x10
mov dword [ebp + 0xc], eax
push edi
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.1002f533
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp + 0xc]
call fcn.1005fec1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10084b37
push 0x10009268
lea eax, [ebp + 0xc]
call fcn.1005fec1
mov ebx, dword [ebp + 0xc]
push ebx
call esi
test eax, eax
jne 0x1006c120
push edi
push 0x100165b0
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
call fcn.10026695
add esp, 0xc
lea eax, [ebx - 0x10]
call fcn.10084b37
xor bl, bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10084b37
mov al, bl
jmp 0x1006c07f
lea eax, [ebx - 0x10]
call fcn.10084b37
mov bl, 1
jmp 0x1006c103