joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008a90
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], 0
jne 0x10008aab
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008af5
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 7
mov edx, dword [ebp + 8]
push edx
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
jne 0x10008ad6
xor eax, eax
jmp 0x10008af5
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.100020c0
mov eax, dword [ebp - 4]
push eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10008e40
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], 0
jne 0x10008e5b
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10008ea5
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 6
mov edx, dword [ebp + 8]
push edx
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
jne 0x10008e86
xor eax, eax
jmp 0x10008ea5
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.100020c0
mov eax, dword [ebp - 4]
push eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10009b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x10009b99
xor ecx, ecx
jne 0x10009b99
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10009be0
mov eax, dword [ebp - 0xc]
jmp 0x10009c3d
cmp dword [ebp - 4], 1
je 0x10009bf3
cmp dword [ebp - 4], 2
je 0x10009bf3
mov eax, 0xd
jmp 0x10009c3d
cmp dword [ebp + 0xc], 0
je 0x10009c31
cmp dword [ebp - 8], 0
je 0x10009c29
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x10009c20
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x10009c27
mov eax, 0xd
jmp 0x10009c3d
jmp 0x10009c31
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10009cb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100210f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], 0x114
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 0xa
ja 0x10009d20
cmp dword [ebp - 0x11c], 0xa
jne 0x10009d14
cmp dword [ebp - 0x114], 0x3fab
jae 0x10009d20
mov dword [ebp - 0x128], 0
jmp 0x10009d2a
mov dword [ebp - 0x128], 1
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014a4a
mov esp, ebp
pop ebp
ret
Function at 0x10009d40
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001e888
push 0x10014bc0
mov eax, dword fs:[0]
push eax
add esp, 0xfffffbc0
mov eax, dword [0x100210f0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x450], ecx
cmp dword [ebp + 0x10], 0
je 0x10009d88
cmp dword [ebp + 0xc], 0
jne 0x10009d92
mov eax, 0x57
jmp 0x10009f85
xor eax, eax
mov word [ebp - 0x228], ax
push 0x206
push 0
lea ecx, [ebp - 0x226]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x10009de4
mov edx, dword [ebp + 8]
movzx eax, word [edx]
test eax, eax
je 0x10009de4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x1001a6e4
push 0x104
lea eax, [ebp - 0x228]
push eax
call fcn.10002110
add esp, 0x14
jmp 0x10009df9
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
lea edx, [ebp - 0x228]
push edx
call fcn.100020c0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x238], 0
xor eax, eax
mov word [ebp - 0x440], ax
push 0x206
push 0
lea ecx, [ebp - 0x43e]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x234], 0x104
lea edx, [ebp - 0x444]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x440]
push ecx
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x228]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edx, dword [ebp - 0x238]
push edx
call fcn.100147fc
add esp, 4
mov dword [ebp - 0x448], eax
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10009eb0
mov dword [ebp - 0x230], 0xe
jmp 0x10009f3c
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x228]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x10009ef1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x230], eax
jmp 0x10009f3c
lea ecx, [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
jne 0x10009f13
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x230], eax
jmp 0x10009f3c
cmp dword [ebp - 0x22c], 0
jne 0x10009f28
mov dword [ebp - 0x230], 0xd
jmp 0x10009f3c
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.100020c0
mov dword [ebp - 4], 0xfffffffe
call fcn.10009f4a
jmp 0x10009f7f
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10014a4a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10009fe0
Capabilities:
Check if file exists
Delete file
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015780
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x120
mov eax, dword [0x100210f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x124], 0xffffffff
mov byte [ebp - 0x120], 0
push 0x103
push 0
lea eax, [ebp - 0x11f]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x1000a05c
mov ecx, dword [ebp + 8]
push ecx
push 0x1001a840
push 0x104
lea edx, [ebp - 0x120]
push edx
call fcn.1000af70
add esp, 0x10
call fcn.1000dac0
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000a086
mov ecx, dword [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
mov edx, dword [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xffffffff
je 0x1000a14b
mov dword [ebp - 0x130], 0
push 2
push 0
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [ebp - 0x120]
push ecx
call sub.MSVCR90.dll_strlen
add esp, 4
mov dword [ebp - 0x12c], eax
push 0
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1000a124
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x124], 0xffffffff
je 0x1000a14b
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x124], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10014a4a
mov esp, ebp
pop ebp
ret

Function at 0x1000b540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
push 0x1000b690
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
call dword [sym.imp.MSVCR90.dll__errno]
mov edx, dword [eax]
sub edx, 0x20000000
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp dword [eax + 4], 0
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b5b0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1000b5c9
mov eax, 6
jmp 0x1000b5f0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1000b5e4
mov dword [ebp - 8], 0
jmp 0x1000b5ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1000b6e0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x1001ba18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], 0
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x1000b857
push str.FreeSid
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
push str.InitializeSecurityDescriptor
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.SetSecurityDescriptorDacl
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push str.ConvertStringSecurityDescriptorToSecurityDescriptorW
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x1000b809
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GetSecurityDescriptorSacl
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 0
jne 0x1000b830
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.SetSecurityDescriptorSacl
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x1000b857
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
je 0x1000b884
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
je 0x1000b884
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1000b884
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x14], 0
je 0x1000b884
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 0
jne 0x1000b88f
push str.ADVAPI32.DLL::Interface_is_null
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10010210
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x100210f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x62c], ecx
mov eax, dword [ebp - 0x62c]
mov dword [eax], 1
mov ecx, dword [ebp - 0x62c]
mov dword [ecx + 4], 0
push 0x208
push 0
mov edx, dword [ebp - 0x62c]
add edx, 8
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x100102a9
push 0x1001df10
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.10002110
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str.FseLocalLog
lea edx, [ebp - 0x210]
push edx
push str._s_s_s.log
push 0x104
mov eax, dword [ebp - 0x62c]
add eax, 8
push eax
call fcn.10002110
add esp, 0x18
mov ecx, dword [ebp - 0x62c]
mov dword [ecx + 0x210], 1
xor edx, edx
mov word [ebp - 0x628], dx
push 0x410
push 0
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x628], cx
lea edx, [ebp - 0x628]
push edx
call fcn.1000fc40
add esp, 4
test eax, eax
jne 0x10010330
mov eax, dword [ebp - 0x62c]
mov dword [eax + 0x210], 0
mov ecx, dword [ebp - 0x62c]
mov dword [ecx + 0x21c], 1
lea edx, [ebp - 0x628]
push edx
call fcn.1000ff30
add esp, 4
test eax, eax
je 0x10010363
mov eax, dword [ebp - 0x62c]
mov dword [eax + 0x21c], 0
mov ecx, dword [ebp - 0x62c]
mov dword [ecx + 0x214], 0
mov edx, dword [ebp - 0x62c]
mov dword [edx + 0x218], 0
mov eax, dword [ebp - 0x62c]
mov dword [eax + 0x220], 0
mov ecx, dword [ebp - 0x62c]
mov dword [ecx + 0x224], 0
mov edx, dword [ebp - 0x62c]
mov dword [edx + 0x228], 0
mov eax, dword [ebp - 0x62c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014a4a
mov esp, ebp
pop ebp
ret 4
Function at 0x10011580
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001ee98
push 0x10014bc0
mov eax, dword fs:[0]
push eax
add esp, 0xfffffdbc
mov eax, dword [0x100210f0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x40], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x254], ecx
mov eax, dword [ebp - 0x254]
cmp dword [eax + 0x210], 0
jne 0x100115d3
jmp 0x10011741
mov ecx, dword [ebp - 0x254]
movzx edx, word [ecx + 8]
test edx, edx
jne 0x100115e6
jmp 0x10011741
mov eax, dword [ebp - 0x254]
cmp dword [eax + 4], 0
jle 0x10011606
mov ecx, dword [ebp - 0x254]
cmp dword [ecx + 4], 0x200000
jge 0x10011606
jmp 0x10011741
mov dword [ebp - 4], 0
push 0x24
push 0
lea edx, [ebp - 0x3c]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
push 0
mov ecx, dword [ebp - 0x254]
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp dword [ebp - 0x1c], 0x200000
ja 0x10011646
cmp dword [ebp - 0x20], 0
jbe 0x100116ff
xor edx, edx
mov word [ebp - 0x248], dx
push 0x206
push 0
lea eax, [ebp - 0x246]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x254]
add ecx, 8
push ecx
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.100020c0
mov dword [ebp - 0x24c], 0x104
lea eax, [ebp - 0x24c]
push eax
push 0x104
lea ecx, [ebp - 0x248]
push ecx
call fcn.10005b80
mov edx, dword [ebp - 0x24c]
sub edx, 4
mov dword [ebp - 0x24c], edx
xor eax, eax
mov ecx, dword [ebp - 0x24c]
mov word [ebp + ecx*2 - 0x248], ax
push str..0.log
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.10005b20
push 9
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x254]
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x254]
mov dword [edx + 4], 0
jmp 0x1001170b
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov dword [ebp - 4], 0xfffffffe
jmp 0x10011741
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.10014a4a
mov esp, ebp
pop ebp
ret

Function at 0x10014a4a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100210f0]
jne 0x10014a54
repz ret
jmp fcn.10015060
Function at 0x4055e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x602150
push eax
mov dword fs:[0], esp
sub esp, 0xc
xor eax, eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x164]
test edx, edx
jle 0x40562f
mov ecx, dword [esi + 0x104]
mov edi, dword [ecx]
cmp edi, eax
jne 0x405625
test edi, edi
jl 0x405646
cmp edi, 3
jle 0x405625
cmp edi, 0x11
jne 0x405646
inc ebx
add ecx, 4
cmp ebx, edx
mov eax, edi
jl 0x405611
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push ecx
mov dword [esi + 4], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x6a0f60
call fcn.005eb163
push ecx
mov dword [esp + 0x28], 0
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x6a0f60
call fcn.005eb163
lea eax, [esp + 0x14]
push edi
push eax
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.00405810
mov ecx, dword [eax]
lea edx, [esi + 0x14]
push ecx
push str.Operators_must_be_separated_by_values._n_nThere_cant_be_two__s_operators_in_a_row.
push edx
mov dword [esp + 0x2c], 1
call fcn.005e764e
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.005eb0f5
mov eax, dword [esi + 0x118]
pop edi
mov ecx, dword [eax + ebx*4 - 4]
mov dword [esi + 0xc], ecx
mov edx, dword [esi + 0x12c]
mov eax, dword [esi + 0x118]
mov ecx, dword [edx + ebx*4]
mov edx, dword [eax + ebx*4]
lea eax, [ecx + edx - 1]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], eax
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x405810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x602197
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], 0
mov ebx, 1
mov dword [esp + 0x20], ebx
mov eax, dword [0x69c108]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x20], 4
lea eax, [edi - 1]
cmp eax, 0x12
ja case.default.0x40585c
jmp dword [eax*4 + 0x4059dc]
push 0x672d3c
jmp 0x4058df
push 0x672d38
jmp 0x4058df
push 0x672d34
jmp 0x4058df
push 0x672d30
jmp 0x4058df
push 0x672d2c
jmp 0x4058df
push 0x672d28
jmp 0x4058df
push 0x672d24
jmp 0x4058df
push 0x672d20
jmp 0x4058df
push 0x672d1c
jmp 0x4058df
push 0x672d18
jmp 0x4058df
push 0x672d14
jmp 0x4058df
push 0x672d10
jmp 0x4058df
push 0x672d0c
jmp 0x4058df
push 0x672d08
jmp 0x4058df
push 0x672d04
jmp 0x4058df
push 0x672d00
jmp 0x4058df
push str.VALUE
jmp 0x4058df
push str.UNKNOWN
lea ecx, [esp + 0x10]
call fcn.005eb27e
mov eax, dword [esp + 0x30]
push 0x6a0f60
push eax
call fcn.005cebb3
add esp, 8
test eax, eax
jne 0x405914
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.005eae6a
mov dword [esp + 0x14], ebx
jmp 0x40598c
mov ecx, dword [esi + edi*4 + 0x20]
mov eax, ecx
and eax, 3
dec eax
je 0x405946
dec eax
jne 0x405978
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str.__s___s___s_
push edx
call fcn.005e764e
add esp, 0x14
jmp 0x405978
test cl, 4
je 0x40595c
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push str._s__s_
jmp 0x40596b
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push str.__s__s
lea edx, [esp + 0x1c]
push edx
call fcn.005e764e
add esp, 0x10
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.005eae6a
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.005eb0f5
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call fcn.005eb0f5
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], bl
call fcn.005eb0f5
lea ecx, [esp + 0x34]
mov byte [esp + 0x20], 0
call fcn.005eb0f5
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x408f10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60261b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x69c108]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
xor edi, edi
push 0x6a0f60
mov dword [esp + 0x1c], edi
call fcn.005eb27e
lea ecx, [esp + 0xc]
or eax, 0xffffffff
mov dword [esi + 0x10], edi
push ecx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], eax
mov dword [esi + 8], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x14], edi
mov dword [esi], edi
call fcn.005e79d8
lea edx, [esp + 0xc]
push edx
call fcn.005e79d8
lea eax, [esp + 0xc]
push eax
call fcn.005e79d8
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x408fb0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x602640
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
xor ebx, ebx
lea eax, [edi + 0x2c]
mov dword [esp + 0x18], ebx
push eax
push ecx
push edx
call fcn.005eb38a
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x1c], 1
call fcn.005eb22e
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], bl
call fcn.005eb0f5
mov eax, dword [edi]
push 1
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x1c]
push ebx
push ebx
push ecx
call fcn.005cede0
mov ecx, dword [edi + 0x20]
xor ebp, ebp
add eax, ecx
mov dword [esi + 0x30], ebx
adc edx, ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
lea edx, [esi + 0x18]
lea eax, [edi + 4]
push edx
push eax
mov dword [esi + 0x2c], ebx
call fcn.00409080
lea ecx, [esi + 0x1c]
lea edx, [edi + 0xc]
push ecx
push edx
call fcn.00409080
lea eax, [esi + 0x20]
add edi, 0x14
push eax
push edi
call fcn.00409080
mov ecx, dword [esp + 0x40]
add esp, 0x18
mov dword [esi], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call fcn.005eb0f5
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc