joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004a690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e7cb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100cba70]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x98], ebx
mov eax, dword [0x100ad8f4]
push eax
mov esi, 0x100cce40
call fcn.100663e0
add esp, 4
test al, al
je 0x1004a70f
push 0x12
push str.Templates::clear:
lea ecx, [esp + 0x28]
call fcn.10002b10
mov ecx, dword [0x100ad8f4]
push 1
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x4c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.100023e0
push 0x100cce40
mov byte [esp + 0xc0], 1
call fcn.10002800
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xc4], bl
call fcn.1008d030
mov byte [esp + 0x98], 2
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
add edi, 0x10
mov esi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x1004a780
cmp esi, ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
je 0x1004a78f
cmp esi, edi
je 0x1004a794
call fcn.10076ae4
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x14], ecx
je 0x1004a7d8
cmp esi, ebx
jne 0x1004a7a7
call fcn.10076ae4
mov edx, dword [esp + 0x14]
cmp edx, dword [esi + 4]
jne 0x1004a7b5
call fcn.10076ae4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
je 0x1004a7c9
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 1
call eax
lea esi, [esp + 0x10]
call fcn.10046aa0
mov esi, dword [esp + 0x10]
jmp 0x1004a780
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
push edx
mov ecx, edi
call fcn.10012430
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
lea ecx, [esp + 0x3c]
mov dword [edi + 8], edi
mov byte [esp + 0x98], bl
call fcn.1008bb30
cmp dword [esp + 0x38], 0x10
jb 0x1004a81e
mov eax, dword [esp + 0x24]
push eax
call fcn.10080518
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10079ea5
mov esp, ebp
pop ebp
ret
Function at 0x1005abb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100a2e2e
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
mov dword [esp + 0x14], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
mov byte [esp + 0x14], 1
call fcn.1000dd40
mov dword [esi + 0x3c], eax
mov byte [eax + 0x61], 1
mov eax, dword [esi + 0x3c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x3c]
mov dword [eax], eax
mov eax, dword [esi + 0x3c]
mov dword [eax + 8], eax
mov dword [esi + 0x40], ebx
mov ecx, esi
mov byte [esp + 0x14], 2
call fcn.1005ace0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x10062fb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1009ba7b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1007fb67
push 4
mov dword [esp + 0x24], 0
call fcn.100802a2
mov edi, eax
add esp, 4
test edi, edi
je 0x10063034
call fcn.1007fa7e
mov dword [edi], eax
call fcn.1007f8b2
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.1007fbfe
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10063029
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.1007fc1f
jmp 0x10063036
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x10065900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a77ab
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100cba70]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x98], ebx
mov ecx, dword [0x100ad8f4]
push ecx
mov esi, 0x100cced0
call fcn.100663e0
add esp, 4
test al, al
je 0x1006598c
push 0x17
push str.ModelPopulator::process
lea ecx, [esp + 0x28]
call fcn.10002b10
mov edx, dword [0x100ad8f4]
push 1
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x4c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], 0
call fcn.100023e0
push 0x100cced0
mov byte [esp + 0xc0], 1
call fcn.10002800
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xc4], 0
call fcn.1008d030
mov byte [esp + 0x98], 2
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov esi, edi
mov ebx, eax
mov edi, edi
test esi, esi
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], ecx
je 0x100659ff
cmp esi, edi
je 0x10065a04
call fcn.10076ae4
cmp ebx, dword [esp + 0x1c]
je 0x10065a33
test esi, esi
jne 0x10065a13
call fcn.10076ae4
cmp ebx, dword [esi + 4]
jne 0x10065a1d
call fcn.10076ae4
lea ecx, [ebx + 8]
call fcn.100204c0
cmp ebx, dword [esi + 4]
jne 0x10065a2f
call fcn.10076ae4
mov ebx, dword [ebx]
jmp 0x100659f0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
push edi
call eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 0
call fcn.1008bb30
cmp dword [esp + 0x38], 0x10
jb 0x10065a6b
mov ecx, dword [esp + 0x24]
push ecx
call fcn.10080518
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10079ea5
mov esp, ebp
pop ebp
ret 8
Function at 0x10066560
Capabilities:
Create directory
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x1009cfb2
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x100cba70]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebp
push esi
push edi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [ebx + 0x18], 0xf
mov dword [ebx + 0x14], esi
mov dword [esp + 0x14], ebx
mov byte [ebx + 4], 0
push esi
mov dword [esp + 0x12c], esi
mov ebp, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push esi
push str._ALLUSERSPROFILE__
mov dword [esp + 0x1c], 1
call ebp
mov edi, eax
cmp edi, esi
jbe 0x100666e5
push 0x104
call fcn.1007f852
push 0x104
mov esi, eax
push 0
push esi
call fcn.1007a340
add esp, 0x10
push edi
push esi
push str._ALLUSERSPROFILE__
call ebp
test eax, eax
jbe 0x100666dc
mov ecx, 0x104
sub ecx, eax
push str.gn_LogsDashboard_
push ecx
push esi
call fcn.1007a1c4
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
push esi
call edi
test eax, eax
je 0x1006664a
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10066631
sub eax, edx
push eax
push esi
mov ecx, ebx
call fcn.10002b10
jmp 0x100666dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x100666cd
push 0x103
lea eax, [esp + 0x1d]
push 0
push eax
mov byte [esp + 0x24], 0
call fcn.1007a340
add esp, 0xc
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push str._ALLUSERSPROFILE__
call ebp
test eax, eax
jbe 0x100666b5
lea eax, [esp + 0x18]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10066690
sub eax, edx
mov edx, 0x104
sub edx, eax
push str.gn_Logs
push edx
lea eax, [esp + 0x20]
push eax
call fcn.1007a1c4
add esp, 0xc
push 0
lea ecx, [esp + 0x1c]
push ecx
call edi
test eax, eax
je 0x100666dc
push 0
push esi
call edi
test eax, eax
je 0x100666dc
jmp 0x100666d4
cmp eax, 0xb7
jne 0x100666dc
push esi
mov ecx, ebx
call fcn.10002ae0
push esi
call fcn.10080547
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.10079ea5
add esp, 0x11c
ret
Function at 0x100690f0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push ebx
push esi
push edi
mov edi, 0x10
cmp dword [esp + 0x30], edi
jae 0x10069109
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
xor ebx, ebx
push ebx
push 0x3f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
cmp esi, ebx
je 0x1006916c
cmp dword [esp + 0x30], edi
jb 0x10069140
mov eax, dword [esp + 0x1c]
push eax
call fcn.10080518
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x100691d3
mov ecx, dword [esp + 0x38]
push ecx
call fcn.10080518
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
cmp dword [esp + 0x4c], edi
mov eax, dword [esp + 0x38]
jae 0x1006917a
lea eax, [esp + 0x38]
push 4
lea edx, [esp + 0x54]
push edx
push 4
push ebx
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x30], edi
jb 0x100691b0
mov edx, dword [esp + 0x1c]
push edx
call fcn.10080518
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x100691d3
mov eax, dword [esp + 0x38]
push eax
call fcn.10080518
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
Function at 0x100691e0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
push ebx
push ebp
push esi
mov esi, 0x10
cmp dword [esp + 0x30], esi
jae 0x100691f9
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
xor ebx, ebx
push ebx
push 0x3f
push ebx
push ebx
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebp, eax
cmp ebp, ebx
je 0x10069283
cmp dword [esp + 0x30], esi
jb 0x10069230
mov eax, dword [esp + 0x1c]
push eax
call fcn.10080518
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x10069253
mov ecx, dword [esp + 0x38]
push ecx
call fcn.10080518
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x1006931d
mov edx, dword [esp + 0x54]
push edx
call fcn.10080518
add esp, 4
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret
cmp dword [esp + 0x68], esi
mov ecx, dword [esp + 0x54]
jae 0x10069291
lea ecx, [esp + 0x54]
cmp dword [esp + 0x4c], esi
mov eax, dword [esp + 0x38]
jae 0x1006929f
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x64]
add edx, 1
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
mov ebp, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x30], esi
jb 0x100692d7
mov edx, dword [esp + 0x1c]
push edx
call fcn.10080518
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x100692fa
mov eax, dword [esp + 0x38]
push eax
call fcn.10080518
add esp, 4
cmp dword [esp + 0x68], esi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x1006931d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10080518
add esp, 4
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1007663a
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x100cb0d8]
je 0x10076655
inc edi
cmp edi, 0x17
jb 0x10076646
cmp edi, 0x17
jae 0x100767d5
push ebp
push 3
call fcn.1007a2e8
cmp eax, 1
pop ecx
je 0x100767a1
push 3
call fcn.1007a2e8
test eax, eax
pop ecx
jne 0x10076689
cmp dword [0x100cdcf0], 1
je 0x100767a1
cmp ebx, 0xfc
je 0x100767d4
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x100cde60
push ebp
call fcn.100799e1
add esp, 0xc
test eax, eax
je 0x100766bf
push esi
push esi
push esi
push esi
push esi
call fcn.100769c4
add esp, 0x14
push 0x104
mov esi, 0x100cde79
push esi
push 0
mov byte [0x100cdf7d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10076703
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.100799e1
add esp, 0xc
test eax, eax
je 0x10076703
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.100769c4
add esp, 0x14
push esi
call fcn.10079a50
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10076748
push esi
call fcn.10079a50
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x100ce174
push 0x100aba3c
sub ecx, eax
push ecx
push eax
call fcn.1007a235
add esp, 0x14
test eax, eax
je 0x10076748
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.100769c4
add esp, 0x14
jmp 0x1007674a
xor esi, esi
push 0x100aba38
push ebx
push ebp
call fcn.1007a1c4
add esp, 0xc
test eax, eax
je 0x1007676a
push esi
push esi
push esi
push esi
push esi
call fcn.100769c4
add esp, 0x14
push dword [edi*8 + 0x100cb0dc]
push ebx
push ebp
call fcn.1007a1c4
add esp, 0xc
test eax, eax
je 0x1007678c
push esi
push esi
push esi
push esi
push esi
call fcn.100769c4
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1007a007
add esp, 0xc
jmp 0x100767d4
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x100767d4
cmp ebp, 0xffffffff
je 0x100767d4
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x100cb0dc]
push dword [esi]
call fcn.10079a50
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10079ea5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100cba70]
jne 0x10079eaf
repz ret
jmp fcn.1007e403
Function at 0x1007a007
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100752ee
xor ebx, ebx
cmp dword [0x100ce340], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1007a0dd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1007a1bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1007a1bd
push eax
call fcn.10075280
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100ce340], eax
call esi
push eax
call fcn.10075280
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100ce344], eax
call esi
push eax
call fcn.10075280
mov dword [0x100ce348], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10074fc1
test eax, eax
pop ecx
pop ecx
je 0x1007a0ab
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100769c4
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1007a0dd
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10075280
cmp eax, ebx
pop ecx
mov dword [0x100ce350], eax
je 0x1007a0dd
push 0x100abbcc
push edi
call esi
push eax
call fcn.10075280
pop ecx
mov dword [0x100ce34c], eax
mov eax, dword [0x100ce34c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1007a162
cmp dword [0x100ce350], ecx
je 0x1007a162
push eax
call fcn.100752f7
push dword [0x100ce350]
mov esi, eax
call fcn.100752f7
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1007a162
cmp edi, ebx
je 0x1007a162
call esi
cmp eax, ebx
je 0x1007a12f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1007a12f
test byte [ebp - 0x18], 1
jne 0x1007a162
lea eax, [ebp - 0x10]
push eax
call fcn.10074ff8
test eax, eax
pop ecx
je 0x1007a14a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100769c4
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1007a159
or dword [ebp + 0x10], 0x200000
jmp 0x1007a19d
or dword [ebp + 0x10], 0x40000
jmp 0x1007a19d
mov eax, dword [0x100ce344]
cmp eax, dword [ebp - 8]
je 0x1007a19d
push eax
call fcn.100752f7
cmp eax, ebx
pop ecx
je 0x1007a19d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1007a19d
mov eax, dword [0x100ce348]
cmp eax, dword [ebp - 8]
je 0x1007a19d
push eax
call fcn.100752f7
cmp eax, ebx
pop ecx
je 0x1007a19d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100ce340]
call fcn.100752f7
cmp eax, ebx
pop ecx
je 0x1007a1bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1007a1bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1008a641
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 8]
call fcn.10092340
cmp dword [esi + 0x20], 0x10
jb 0x1008a66d
mov esi, dword [esi + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
call fcn.10092330
pop esi
pop ecx
ret
add esi, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
call fcn.10092330
pop esi
pop ecx
ret

Function at 0x1008a980
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x128]
sub esp, 0x128
push 0xffffffffffffffff
push 0x1009a5ab
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100cba70]
xor eax, ebp
mov dword [ebp + 0x124], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x130]
xor eax, eax
push 6
mov edi, ecx
push str.LXLOG_
lea ecx, [ebp]
mov dword [ebp - 4], eax
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], eax
mov byte [ebp + 4], al
call fcn.10002b10
mov ebx, 1
push ebx
push 0xffffffffffffffff
push 0x100b50fc
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.1008a4c0
cmp eax, 0xffffffff
jne 0x1008aa05
xor eax, eax
jmp 0x1008aa07
add eax, ebx
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.10027aa0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.1000a130
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], bl
jb 0x1008aa3b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10080518
add esp, 4
push 0x28
call fcn.100802a2
mov ecx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
test ecx, ecx
mov byte [ebp - 4], 3
je 0x1008aa60
push ebx
lea edx, [ebp]
push edx
push 0
call fcn.10092060
jmp 0x1008aa62
xor eax, eax
push ebx
push 0
push 0x100b50fc
mov ecx, esi
mov byte [ebp - 4], bl
mov dword [edi + 4], eax
call fcn.10027ae0
cmp eax, 0xffffffff
jne 0x1008ab02
push 0x104
lea eax, [ebp + 0x1d]
push 0
push eax
mov byte [ebp + 0x1c], 0
call fcn.1007a340
add esp, 0xc
push 0x105
lea ecx, [ebp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1008aab1
cmp eax, 0x104
jle 0x1008aac2
lea edx, [ebp + 0x1c]
push 0x100ad974
push edx
call fcn.1008054c
add esp, 8
cmp dword [esi + 0x18], 0x10
jb 0x1008aacd
mov esi, dword [esi + 4]
jmp 0x1008aad0
add esi, 4
push esi
lea eax, [ebp + 0x1f]
push 0x100ad970
push eax
call fcn.1008054c
lea eax, [ebp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008aae8
sub eax, edx
push eax
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [edi + 8]
call fcn.10002b10
jmp 0x1008ab0f
push 0xffffffffffffffff
push 0
push esi
lea ecx, [edi + 8]
call fcn.100023e0
cmp dword [ebp + 0x18], 0x10
jb 0x1008ab21
mov edx, dword [ebp + 4]
push edx
call fcn.10080518
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x124]
xor ecx, ebp
call fcn.10079ea5
add ebp, 0x128
mov esp, ebp
pop ebp
ret 4
Function at 0x1008c240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a878
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.1008b0a0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.1008b630
mov eax, dword [esi + 4]
push eax
call fcn.10080518
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x1008c2e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a8df
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.BasicLogger.0
xor ebx, ebx
mov ebp, 0xf
mov dword [esi + 0x20], ebp
mov dword [esi + 0x1c], ebx
mov byte [esi + 0xc], bl
lea ecx, [esi + 0x28]
mov dword [esp + 0x3c], ebx
call fcn.10089b10
lea edi, [esi + 0x44]
mov ecx, edi
mov byte [esp + 0x3c], 1
call fcn.1008a690
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
push ebx
lea ecx, [esi + 0x50]
mov byte [esp + 0x40], 2
call fcn.10092ae0
lea ecx, [esi + 0x70]
mov byte [esp + 0x3c], 3
call fcn.1008c1b0
mov edi, dword [esp + 0x44]
mov eax, edi
mov dword [esp + 0x30], ebp
mov byte [esp + 0x3c], 4
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea ebp, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1008c390
sub eax, ebp
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.10002b10
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov byte [esp + 0x40], 5
call fcn.1008a980
cmp dword [esp + 0x30], 0x10
jb 0x1008c3d4
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10080518
mov edx, dword [esp + 0x4c]
add esp, 4
mov dword [esi + 0x24], edx
jmp 0x1008c3db
mov eax, dword [esp + 0x48]
mov dword [esi + 0x24], eax
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8