joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b770
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1008fec0
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
xor esi, esi
mov dword [ebp - 0x42c], esi
test ecx, ecx
jne 0x1000b7cb
lea eax, [esi + 0x57]
jmp 0x1000b833
mov dword [ebp - 4], esi
push str.SoftwareMicrosoftOffice
push ecx
push 0x10086b48
push 0xff
push 0xff
lea eax, [ebp - 0x420]
push eax
call fcn.100520fb
add esp, 0x18
lea eax, [ebp - 0x424]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x420]
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov dword [ebp - 0x428], edi
test edi, edi
je 0x1000b84f
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1000b860
mov dword [ebp - 0x42c], 0xff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x220]
push eax
push esi
push dword [ebp - 0x424]
call ebx
mov edi, eax
mov dword [ebp - 0x428], edi
test edi, edi
jne 0x1000b8c3
lea eax, [ebp - 0x220]
push eax
call fcn.10054467
add esp, 4
test eax, eax
je 0x1000b8c3
lea eax, [ebp - 0x420]
push eax
lea edx, [ebp - 0x220]
mov ecx, dword [ebp - 0x424]
call fcn.1000b900
add esp, 4
inc esi
mov dword [ebp - 0x430], esi
cmp edi, 0x103
jne 0x1000b860
mov dword [ebp - 4], 0xfffffffe
call fcn.1000b8e9
jmp 0x1000b831
Function at 0x1000b900
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1009cbc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, edx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x40c], 0
push esi
push edi
test ebx, ebx
je 0x1000ba77
push 0xfffffffffffffffe
push ebx
call fcn.10051b84
add esp, 8
test eax, eax
je 0x1000ba77
xor esi, esi
push str.Security
push dword [esi + 0x10085f40]
lea eax, [ebp - 0x208]
push ebx
push str._s_s_s
push 0xff
push 0xff
push eax
call fcn.100520fb
add esp, 0x1c
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x420]
lea eax, [ebp - 0x408]
push 0x10086b48
push 0xff
push 0xff
push eax
call fcn.100520fb
add esp, 0x18
lea eax, [ebp - 0x40c]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x1000ba58
mov ebx, dword [ebp - 0x40c]
mov ecx, ebx
call fcn.1000b320
mov dword [ebp - 0x41c], eax
cmp eax, 4
je 0x1000ba2a
push 1
push 0x100e2820
mov dword [ebp - 0x410], 4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 4
lea eax, [ebp - 0x410]
push eax
push 4
push edi
push str.VBAWarnings
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
push 0x100e2820
mov edi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea ecx, [ebp - 0x408]
call fcn.1000c430
mov edx, dword [ebp - 0x41c]
lea ecx, [ebp - 0x408]
call fcn.1000ba90
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x414]
add esi, 4
cmp esi, 0x18
jb 0x1000b954
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x57
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005132c
mov esp, ebp
pop ebp
ret
Function at 0x1000c430
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push 0x210
mov esi, ecx
call fcn.1005218a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1000c542
push esi
lea eax, [ebx + 4]
push 0x104
push eax
call fcn.10053320
mov eax, dword [0x100e2824]
add esp, 0xc
test eax, eax
jne 0x1000c476
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x100e2824], eax
mov ecx, dword [0x100e2828]
mov dword [ebx], eax
mov dword [ebx + 0x20c], 0x100e2820
push edi
test ecx, ecx
jne 0x1000c4ac
push 0x28
call fcn.1005218a
mov esi, 0xa
add esp, 4
mov edi, esi
mov dword [0x100e281c], esi
mov dword [0x100e282c], edi
jmp 0x1000c4e1
mov esi, dword [0x100e281c]
mov edi, dword [0x100e282c]
test esi, esi
jne 0x1000c4e9
add edi, 0xa
mov esi, 0xa
mov dword [0x100e282c], edi
mov dword [0x100e281c], esi
lea eax, [edi*4]
push eax
push ecx
call fcn.100543bc
add esp, 8
mov ecx, eax
mov dword [0x100e2828], ecx
test ecx, ecx
je 0x1000c532
push 0
push 0
push ebx
push 0x1000c000
push 0
sub edi, esi
push 0
mov dword [0x100e2830], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x100e2828]
mov edx, eax
mov eax, dword [0x100e2830]
dec dword [0x100e281c]
mov dword [ecx + eax*4], edx
test edx, edx
jne 0x1000c52c
pop edi
pop esi
mov eax, 0x236
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
dec esi
mov eax, 0x25a
pop edi
mov dword [0x100e281c], esi
pop esi
pop ebx
ret
dec dword [0x100e281c]
mov eax, 0xe
pop esi
pop ebx
ret
Function at 0x1000c840
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1009cbc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push dword [0x100e2824]
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x100e2830]
push 0x7d0
push 1
push dword [0x100e2828]
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [0x100e2824]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x100e2828]
mov dword [0x100e2824], 0
call fcn.10052152
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x210]
add esp, 4
mov dword [0x100e2828], 0
push eax
push 0xf003f
push 0
push str.SoftwareMalwarebytesAnti_ExploitOfficeMacroSettingsBackup
push 0x80000002
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1000c9dd
push edi
xor edi, edi
mov dword [ebp - 0x228], 4
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], edi
jmp 0x1000c910
lea eax, [ebp - 0x228]
mov dword [ebp - 0x224], 0xff
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
test ebx, ebx
jne 0x1000c9c1
lea eax, [ebp - 0x218]
push eax
push 0xf003f
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x80000003
call esi
test eax, eax
jne 0x1000c9c1
mov eax, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x218]
push 1
push 0x100e2820
mov dword [ebp - 0x220], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push ebx
push str.VBAWarnings
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push 0x100e2820
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
inc edi
cmp ebx, 0x103
jne 0x1000c910
push dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
pop edi
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMalwarebytesAnti_Exploit
push 0x80000002
call esi
mov esi, eax
test esi, esi
jne 0x1000ca16
push str.OfficeMacroSettingsBackup
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x214]
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005132c
mov esp, ebp
pop ebp
ret
Function at 0x1000ca30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.1000cb00
mov edi, eax
test edi, edi
je 0x1000caef
push 0x1000a
call fcn.1005218a
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000ca7c
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x1000cac6
push esi
push str.InitializeHooksSA
push 1
mov edx, 0x36
mov byte [esi + 0xffff], 0
mov ecx, str...ProtectionNA.cpp
call fcn.10001cf0
add esp, 0x10
push esi
call fcn.10052152
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
mov ecx, esi
call fcn.1000cf90
pop edi
pop esi
pop ebp
ret 4
Function at 0x1000d5a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1008ff58
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
mov ecx, str.ESProtectionDriver
call fcn.1000d7e0
mov esi, eax
mov ecx, str.MBAMAntiExploit
call fcn.1000d7e0
test eax, eax
jne 0x1000d6f8
test esi, esi
jne 0x1000d6f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [eax + 0x1e]
mov dword [ebp - 0x1c], esi
push 0x1000a
call fcn.1005218a
add esp, 4
mov ebx, eax
push 0x2000a
call fcn.1005218a
add esp, 4
mov esi, eax
test ebx, ebx
je 0x1000d6c6
test esi, esi
je 0x1000d6c6
push str.Malwarebytes_Anti_Exploit_Driver_has_been_successfully_uninstalled
push 0xffff
push esi
call fcn.1005211a
add esp, 0xc
test eax, eax
jle 0x1000d6b1
xor eax, eax
mov word [esi + 0x1fffe], ax
push 0xffffffffffffffff
push esi
mov ecx, esi
call fcn.10001b80
inc eax
push eax
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1000d694
push edi
push esi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
push ebx
push str.UninstallDriver
push 4
mov edx, 0xdd
mov ecx, str...ProtectionNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1000d6de
push edi
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1000d6d8
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ebx, ebx
je 0x1000d6eb
push ebx
call fcn.10052152
add esp, 4
test esi, esi
je 0x1000d6f8
push esi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0
call fcn.1000d71f
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000f8a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090048
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x100e28a0]
inc ecx
mov dword [0x100e28a0], ecx
mov eax, dword [0x100e289c]
test eax, eax
jle 0x1000f924
dec eax
mov dword [0x100e289c], eax
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp ecx, 0x12c
setle al
dec eax
and eax, 0x1c
add eax, 2
mov dword [0x100e289c], eax
xor edi, edi
mov dword [ebp - 0x24], edi
cmp edi, 4
jge 0x1000fa74
cmp dword [0x1009dcac], 1
jne 0x1000fa74
mov ecx, dword [edi*4 + 0x10086080]
call fcn.10008d00
test eax, eax
je 0x1000fa6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax + 0x1e]
mov dword [ebp - 0x20], 0
push 0x1000a
call fcn.1005218a
mov dword [ebp - 0x1c], eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov esi, eax
cmp dword [ebp - 0x1c], 0
je 0x1000fa39
test esi, esi
je 0x1000fa39
push edi
push dword [edi*4 + 0x10086080]
push str.KillProcessName:__s____d
push 0xffff
push esi
call fcn.1005211a
add esp, 0x14
test eax, eax
jle 0x1000fa24
xor eax, eax
mov word [esi + 0x1fffe], ax
push 0xffffffffffffffff
push esi
mov ecx, esi
call fcn.10001b80
inc eax
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1000fa05
push ebx
push esi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
push dword [ebp - 0x1c]
push str.KillUnWantedProcessesSA
push 4
mov edx, 0x3a2
mov ecx, str...ProtectionNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1000fa51
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1000fa4b
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000fa61
push eax
call fcn.10052152
add esp, 4
test esi, esi
je 0x1000fa6e
push esi
call fcn.10052152
add esp, 4
inc edi
jmp 0x1000f93d
mov dword [ebp - 4], 0
call fcn.1000fa9b
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010090
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x1009cbc0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10010129
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x100100e5
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1005132c
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
neg esi
push 0
push 0
mov dword [esp + 0x20], eax
sbb esi, esi
mov eax, dword [esp + 0x18]
and esi, 2
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
call fcn.1005132c
mov esp, ebp
pop ebp
ret
Function at 0x10016c90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, edx
test ebx, ebx
je 0x10016d0d
cmp dword [ebx], 0x1234abcd
jne 0x10016d0d
push 0x5c
push esi
call fcn.1005276f
add esp, 8
test eax, eax
jne 0x10016cbc
mov eax, esi
mov dword [ebp - 4], esi
jmp 0x10016cc2
add eax, 2
mov dword [ebp - 4], eax
xor esi, esi
push edi
cmp dword [ebx + 0x6298], esi
jle 0x10016cf8
xor edi, edi
nop
push eax
mov eax, dword [ebx + 0x62a0]
add eax, edi
push eax
call fcn.100513c3
add esp, 8
test eax, eax
je 0x10016d01
mov eax, dword [ebp - 4]
inc esi
add edi, 0x208
cmp esi, dword [ebx + 0x6298]
jl 0x10016cd0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1000a
call fcn.1005218a
mov esi, eax
add esp, 4
test esi, esi
jne 0x10016d41
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi + 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 8
test eax, eax
jle 0x10016d8f
push esi
push str.IsFileInGlobalPool
push 1
mov edx, 0x7ee
mov byte [esi + 0xffff], 0
mov ecx, str...ServerIpcNA.cpp
call fcn.10001cf0
add esp, 0x10
push esi
call fcn.10052152
add esp, 4
mov eax, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
mov eax, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10016dc0
Capabilities:
Accept command line arguments
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090138
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [0x100e2810]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
test ebx, ebx
je 0x10016eb9
cmp dword [ebx], 0x1234abcd
jne 0x10016eb9
lea eax, [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
jne 0x10016e64
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dword [ebp - 0x24], esi
cmp esi, dword [ebp - 0x1c]
jge 0x10016ea8
mov edx, dword [edi + esi*4]
mov ecx, ebx
call fcn.10016c90
cmp eax, 1
jne 0x10016ea5
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [esi + 1]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc esi
jmp 0x10016e66
mov dword [ebp - 4], 0
call fcn.10016f70
jmp 0x10016f8a
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10016ee6
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10016f43
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 8
test eax, eax
jle 0x10016f22
mov byte [esi + 0xffff], 0
push esi
push str.IsArgumentInGlobalPool
push 1
mov edx, 0x80d
mov ecx, str...ServerIpcNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10016f3a
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10018bc0
Capabilities:
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100901d0
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x411c
call fcn.10055c30
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x4130], 0
push 0x4110
push 0
lea eax, [ebp - 0x412c]
push eax
call fcn.10055aa0
add esp, 0xc
mov dword [ebp - 0x4134], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
push 0
lea eax, [ebp - 0x4134]
push eax
push 0x4114
lea eax, [ebp - 0x4130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10018cb0
cmp dword [ebp - 0x4134], 0x4114
jne 0x10018cb0
push 0x4114
lea eax, [ebp - 0x4130]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.10055450
push 0x128
push 0xff
lea eax, [esi + 0x134]
push eax
call fcn.10055aa0
add esp, 0x18
mov dword [ebp - 4], 0
call fcn.10018d63
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x10018e06
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
lea edi, [eax + 0x1e]
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10018cec
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10018d48
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10018d27
mov byte [esi + 0xffff], 0
push esi
push str.LoadApplicationConfig19
push 1
mov edx, 0xf9
mov ecx, str...StandAloneSvcAppFiles.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10018d3f
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
lea eax, [ebx + 0x1e]
jmp 0x10018e06
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret
Function at 0x1001bf75
Capabilities:
Delete file

Disassembly:
test edi, edi
je 0x1001bf8c
push edi
call fcn.10052152
add esp, 4
mov dword [ebp - 0x37c], 0
mov eax, dword [ebp - 0x380]
cmp eax, 0xffffffff
je 0x1001bf9e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x384], eax
ret
Function at 0x1001c460
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.1001c590
mov edi, eax
test edi, edi
je 0x1001c579
mov eax, dword [esi + 0x62c0]
test eax, eax
je 0x1001c496
push eax
call fcn.10052152
add esp, 4
mov dword [esi + 0x62c0], 0
push 0x9c72a
call fcn.1005218a
add esp, 4
mov dword [esi + 0x62c0], eax
test eax, eax
jne 0x1001c55f
push 0x1000a
call fcn.1005218a
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001c4e5
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
lea eax, [esi + 5]
pop esi
pop ebp
ret 4
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x1001c533
push esi
push str.LoadReportFileSA
push 1
mov edx, 0x3ff
mov byte [esi + 0xffff], 0
mov ecx, str...StandAloneSvcAppFiles.cpp
call fcn.10001cf0
add esp, 0x10
push esi
call fcn.10052152
add esp, 4
mov eax, 5
pop edi
pop esi
pop ebp
ret 4
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
mov eax, 5
pop edi
pop esi
pop ebp
ret 4
push 0x9c720
push 0
push eax
call fcn.10055aa0
add esp, 0xc
mov dword [esi + 0x62bc], 0x64
mov eax, edi
pop edi
pop esi
pop ebp
ret 4