joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024fe8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1003904c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1001c5fc
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1001c5fc
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1002505f
cmp word [ecx], dx
je 0x1002505f
mov eax, dword [0x10031c44]
push edi
dec eax
push eax
push 0x10031b30
call fcn.10024f87
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100250d2
cmp word [eax], dx
je 0x100250d2
mov eax, dword [edi]
test eax, eax
je 0x10025083
cmp word [eax], dx
je 0x10025083
lea eax, [ebp - 0x10]
push eax
call fcn.1002496a
jmp 0x1002508c
lea eax, [ebp - 0x10]
push eax
call fcn.10024a05
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100250fc
mov eax, dword [0x10031b2c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10031820
call fcn.10024f87
add esp, 0xc
test al, al
je 0x100250fc
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100250c7
cmp word [eax], di
je 0x100250c7
lea eax, [ebp - 0x10]
push eax
call fcn.1002496a
pop ecx
jmp 0x100250fe
lea eax, [ebp - 0x10]
push eax
call fcn.10024a05
jmp 0x100250c4
mov eax, dword [edi]
test eax, eax
je 0x100250e9
cmp word [eax], dx
je 0x100250e9
lea eax, [ebp - 0x10]
push eax
call fcn.1002491f
pop ecx
jmp 0x100250fc
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100251c7
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10024e0c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100251c7
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100251c7
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100251c7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10025154
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1002062e
test ebx, ebx
je 0x100251c2
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1002062e
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100251c7
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100251c7
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10028b32
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100251c9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100127e3
leave
ret
Function at 0x1002ad40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002ad6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002ad6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x101cf1e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0xfffffc5c
add byte [ebp - 0x73], dh
test esp, ebp
clc
invalid

Function at 0x101cf330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ch, 0x7c
stc
invalid
invalid
jo 0x101cf34e
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x101cf33b
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.101cd177
sub edx, dword [edi - 0x5d]
jno 0x101cf2d4
clc
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
push esp
pop es
js 0x101cf355
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.101cd177
inc esp
in al, 0x11
push ss
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x101cf364
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x101cf364
call fcn.101cd177
pushfd
jae 0x101cf3e4
jno 0x101cf312
pop edx
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.101cd177
div dword [ebp + 0x75ff60c2]
or bh, bh
jne 0x101cf3ad
push dword [ebp]
call fcn.101cd977
cmp byte [edi + 0x2c], bl
je 0x101cf3e0
invalid
mov edx, dword [ebp + 0x14]
cmp dword [edi + 0x34], edx
jl 0x101cf3c3
cmp ecx, dword [ebp + 0x10]
je 0x101cf3e0
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push sym.python310.dll__Py_NoneStruct
push 2
push esi
push edi
push eax
call fcn.101cf1e0
mov ebx, eax
add esp, 0x14
mov eax, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
je 0x101cf409
test ebx, ebx
jne 0x101cf409
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push sym.python310.dll__Py_NoneStruct
push 7
push esi
push edi
push eax
call fcn.101cf1e0
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100070de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x100070ed
pop dword [ebp - 0x3c]
mov eax, 0x8cb70909
sub eax, 0x7cb6981c
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x41824
push 0
mov eax, 0xf8160cfd
sub eax, 0xe8130ba1
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xc6da7f38
sub ecx, 0xc6da3213
xor ebx, ebx
add ebx, eax
mov edx, 0x1004bc00
add edx, dword [ebp - 0x3c]
mov edi, 0x9a7465ac
add dword [ebp - 0x28], ecx
mov esi, dword [edx]
add dword [ebp - 0x38], ecx
add esi, edi
xor dword [ebp - 0x24], 0x52658394
mov dword [ebx], esi
xor dword [ebp - 8], esi
add ebx, 4
add edx, 0xe08734db
sub edx, 0xe08734d7
loop 0x10007142
add eax, 0x12767
xor ebx, ebx
add ebx, eax
add eax, 0x2fdc1499
sub eax, 0x2fdc1494
mov ecx, 0x51d79964
sub ecx, 0x41d79964
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x1800455f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x180045b5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x180045b5
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x180045a7
cmp esi, ecx
jae 0x180045b5
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x18004595
cmp esi, ecx
jae 0x180045b5
cmp word [esi], 0
je 0x180045b5
mov eax, esi
jmp 0x180045b7
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1800524d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x181cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x18005268
mov al, 1
jmp 0x180052ab
push 0x34
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.18147220
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x180052a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x181a5cd0
call fcn.1800b4c6
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x18005264
mov eax, dword [ebp - 0x38]
shr eax, 0xa
and al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.18144705
leave
ret

Function at 0x180052b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SoftwareGoogleUpdateDev_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x180052e6
xor al, al
jmp 0x1800532e
push esi
push edi
push 4
pop edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push ebx
push str.IsEnabledLogToFile
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1800532a
cmp dword [ebp - 8], edi
jne 0x1800532a
cmp dword [ebp - 0xc], ebx
je 0x1800532a
mov bl, 1
pop edi
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x180056ac
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
call fcn.180052b8
mov byte [ebx + 0x77], al
mov ecx, ebx
lea eax, [ebp - 4]
push eax
call fcn.18006239
mov edi, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], edi
cmp dword [edi - 0xc], 0
je 0x18005737
push edi
push 1
push str.EnableLogging
push str.LoggingSettings
call esi
push edi
push 1
test eax, eax
push str.ShowTime
setne al
push str.LoggingSettings
mov byte [ebx + 0x74], al
call esi
push edi
push 0
test eax, eax
push str.LogToOutputDebug
setne al
push str.LoggingSettings
mov byte [ebx + 0x76], al
call esi
push edi
push 1
test eax, eax
push str.AppendToFile
setne al
push str.LoggingSettings
mov byte [ebx + 0x78], al
call esi
test eax, eax
setne al
jmp 0x18005745
mov byte [ebx + 0x74], 1
mov al, 1
mov byte [ebx + 0x76], 1
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x79], al
cmp byte [ebx + 0x75], 0
je 0x18005752
mov byte [ebx + 0x76], 1
xor eax, eax
mov byte [ebx], 1
mov dword [ebx + 4], 7
mov edi, esi
mov dword [ebp - 4], eax
mov ecx, dword [eax + 0x181cc0c0]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x180057be
mov ecx, dword [eax + 0x181cc0c4]
mov dword [ebp - 0x10], ecx
cmp ecx, 9
ja 0x180057be
lea eax, [ebp - 8]
mov ecx, ebx
push eax
call fcn.18006239
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], 0
je 0x180057a1
push esi
push 1
push dword [ebp - 0xc]
push str.LoggingLevel
call edi
jmp 0x180057a4
xor eax, eax
inc eax
mov edx, dword [ebp - 0x10]
test eax, eax
setne cl
mov byte [ebx + edx*8], cl
lea ecx, [esi - 0x10]
mov dword [ebx + edx*8 + 4], eax
call fcn.18004665
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
cmp eax, 0x48
jb 0x18005763
call fcn.1800bd71
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
lea ecx, [ecx - 0x10]
call fcn.18004665
pop edi
pop esi
pop ebx
leave
ret

Function at 0x180057ea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.18004001
push eax
lea ecx, [ebp - 4]
call fcn.180070cc
mov esi, dword [ebp - 4]
xor ecx, ecx
inc ecx
mov edx, 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x18005820
push edx
lea ecx, [ebp - 4]
call fcn.180071a2
mov esi, dword [ebp - 4]
push esi
xor eax, eax
push eax
push eax
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x18005856
mov ecx, dword [ebp + 8]
push 0x1817fc2c
call fcn.18006d94
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.18006def
lea ecx, [esi - 0x10]
call fcn.18004665
mov eax, dword [ebp + 8]
jmp 0x1800588d
push str.GoogleUpdateLog
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x18005832
push edi
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.18007149
mov esi, dword [ebp + 8]
lea ecx, [ebp - 4]
add eax, 0x10
push 0xffffffffffffffff
mov dword [esi], eax
call fcn.18006def
mov ecx, edi
call fcn.18004665
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x1800593d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
cmp byte [ebx + 0x77], 0
je 0x18005a06
mov eax, dword [ebx + 0xcc]
push esi
push edi
test eax, eax
jne 0x180059fc
lea eax, [ebp - 4]
push eax
call fcn.18005892
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], 0
je 0x1800599d
lea edx, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.1800eea1
mov edi, dword [ebp - 8]
mov ecx, edi
call fcn.180050b2
test al, al
jne 0x180059a7
mov ecx, edi
call fcn.180050ee
test eax, eax
jns 0x180059a7
lea ecx, [edi - 0x10]
call fcn.18004665
lea ecx, [esi - 0x10]
call fcn.18004665
jmp 0x18005a04
mov al, byte [ebx + 0x79]
push 0x20
mov byte [ebp - 8], al
call fcn.18144dcf
pop ecx
push dword [ebp - 8]
mov ecx, eax
push esi
call fcn.18006326
mov dword [ebx + 0xcc], eax
test eax, eax
jne 0x180059e2
push esi
push dword [ebx + 0x54]
push str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_log_writer_to__s
call fcn.1800b4c6
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [edi - 0x10]
call fcn.18004665
lea ecx, [esi - 0x10]
call fcn.18004665
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x18005a04
push eax
mov ecx, ebx
call fcn.180061c6
pop edi
pop esi
pop ebx
leave
ret

Function at 0x18005f45
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
test esi, esi
je 0x18006006
cmp dword [ebp + 8], 0
jne 0x18005f6a
cmp dword [ebp + 0x10], 2
jg 0x18006006
call fcn.18004001
push eax
lea ecx, [ebp - 4]
call fcn.180070cc
call fcn.18004001
push eax
lea ecx, [ebp + 0x14]
call fcn.180070cc
xor edi, edi
lea eax, [ebx + 0x58]
inc edi
push 0
mov ecx, eax
call fcn.1800ec55
test al, al
jne 0x18005fac
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
lea eax, [ebx + 0x58]
cmp edi, 0x14
jle 0x18005f8c
jmp 0x18005fd0
push dword [ebp + 0x18]
lea eax, [ebp + 0x14]
mov ecx, ebx
push esi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.18005e71
lea ecx, [ebx + 0x58]
mov eax, dword [ecx]
call dword [eax + 8]
cmp edi, 0x14
jle 0x18005ff0
push str.LOG_SYSTEM:_Couldnt_acquire_lock__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
push 0x181a6258
call esi
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.18004665
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18004665
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x18006326
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx], fcn.180064d4
mov dword [ebx + 4], 0x989680
mov word [ebx + 8], 0
mov byte [ebx + 0xa], al
mov byte [ebx + 0xb], 1
call fcn.18004001
push eax
lea ecx, [ebx + 0xc]
call fcn.180070cc
push dword [ebp + 8]
xor edi, edi
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x10], edi
call fcn.18006d94
mov dword [ebx + 0x18], edi
call fcn.18004001
push eax
lea ecx, [ebx + 0x1c]
call fcn.180070cc
movzx eax, byte [0x181d398a]
neg eax
sbb eax, eax
and eax, 0x181d2b40
mov dword [ebp + 8], eax
je 0x180063f9
lea ecx, [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.18006239
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], edi
je 0x180063d5
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push 0x989680
push str.MaxLogFileSize
push str.LoggingSettings
call edi
mov dword [ebx + 4], eax
xor eax, eax
push esi
inc eax
push eax
push str.LogFileWide
push str.LoggingSettings
call edi
test eax, eax
setne al
jmp 0x180063df
xor eax, eax
mov dword [ebx + 4], 0x989680
inc eax
mov byte [ebx + 0xb], al
lea ecx, [ebx + 0x1c]
mov eax, dword [ebp + 8]
add eax, 0x54
push eax
call fcn.18006d3c
lea ecx, [esi - 0x10]
call fcn.18004665
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8

Function at 0x18006451
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x180064d2
mov byte [esi + 8], 1
call fcn.18006500
cmp dword [esi + 0x10], 0
je 0x180064d2
test al, al
je 0x18006471
mov byte [esi + 0xa], 1
mov ecx, esi
call fcn.18006b10
test al, al
jne 0x18006498
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.1800b4c6
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
ret
mov ecx, esi
call fcn.180065ca
cmp dword [esi + 0x18], 0
jne 0x180064bf
push dword [esi + 0x14]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_create_logging_file__s_n
call fcn.1800b4c6
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 0x10], 0
mov byte [esi + 9], 1
je 0x180064d2
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
ret
Function at 0x180065ca
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x181cb008]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x8c], 0
lea edx, [ebp - 0x8c]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x94], ebx
lea esi, [ebx + 0x14]
mov ecx, dword [esi]
mov dword [ebp - 0x98], esi
call fcn.1800b132
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebx + 4]
jbe 0x18006617
mov ecx, ebx
call fcn.180067e7
xor eax, eax
cmp byte [ebx + 0xa], al
setne al
xor edi, edi
push edi
push 0x80
lea eax, [eax*2 + 2]
push eax
push edi
push 3
push 0x40000000
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x18], eax
cmp eax, 0xffffffff
jne 0x1800664e
mov dword [ebx + 0x18], edi
xor al, al
jmp 0x180066b4
mov edx, esi
lea ecx, [ebp - 0x8c]
call fcn.1800eea1
mov esi, dword [ebp - 0x8c]
lea edi, [ebp - 0x28]
push 9
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
xor edi, edi
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x180066c3
call fcn.18013c92
push dword [ebx + 0x14]
push dword [ebx + 0x1c]
push str.LOG_SYSTEM:___s_:_ERROR___Log_path__s_has_a_reparse_point
call fcn.1800b4c6
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebx + 0x18], edi
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.18004665
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18144705
leave
ret
mov eax, dword [ebp - 0x28]
shr eax, 0xa
and al, 1
jne 0x18006682
mov ecx, dword [ebx + 0x18]
call fcn.1800524d
test al, al
jne 0x18006682
lea ecx, [ebp - 0xb8]
call fcn.18004aca
push 0x221
push 0x20
push 2
lea eax, [ebp - 0x88]
push 0x181a5c98
push eax
call fcn.18004711
add esp, 0x14
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0xb8]
push edi
push 0xc0010000
push eax
call fcn.18004b47
lea ecx, [ebp - 0x88]
mov bl, al
call fcn.180047fa
test bl, bl
je 0x18006744
push ecx
lea eax, [ebp - 0xb8]
xor edx, edx
push eax
mov eax, dword [ebp - 0x98]
inc edx
mov ecx, dword [eax]
call fcn.18005076
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1800677b
mov eax, dword [ebp - 0x94]
cmp byte [eax + 0xb], 0
je 0x1800677b
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], edi
push ecx
push 2
push 0x18180d84
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0xb8]
call fcn.18004b10
xor ebx, ebx
inc ebx
jmp 0x180066aa
Function at 0x1800678e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 0x80
push 5
push ebx
push 3
push 0x40000000
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esi + 0x18], 0xffffffff
mov edi, eax
jne 0x180067be
xor al, al
jmp 0x180067e2
cmp byte [esi + 0xb], bl
je 0x180067d9
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 2
push 0x18180d84
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x18006852
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x181cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x18
mov dword [ebp - 0x74], ecx
lea edi, [ebp - 0x68]
pop ecx
mov esi, str.SYSTEMCurrentControlSetControlSession_Manager
lea eax, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
xor ebx, ebx
lea eax, [ebp - 0x68]
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movsw word es:[edi], word [esi]
mov dword [ebp - 0x70], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800697a
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x6c]
push 7
pop esi
push eax
push ebx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x6c], ebx
push eax
push ebx
push str.PendingFileRenameOperations
push dword [ebp - 0x70]
mov dword [ebp - 0x78], esi
call edi
test eax, eax
jne 0x1800697a
cmp dword [ebp - 0x78], esi
jne 0x1800697a
push dword [ebp - 0x6c]
call fcn.18144dff
push dword [ebp - 0x6c]
mov esi, eax
push ebx
push esi
call fcn.18147220
add esp, 0x10
lea eax, [ebp - 0x6c]
push eax
push esi
push ebx
push ebx
push str.PendingFileRenameOperations
push dword [ebp - 0x70]
call edi
test eax, eax
jne 0x1800696b
mov edi, dword [ebp - 0x6c]
shr edi, 1
mov dword [ebp - 0x7c], edi
lea eax, [edi - 2]
cmp eax, 0xffffd
ja 0x1800696b
cmp word [esi + edi*2 - 4], bx
jne 0x1800696b
cmp word [esi + edi*2 - 2], bx
jne 0x1800696b
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x74]
add eax, 0x14
mov edx, 0x181a6604
push eax
call fcn.18006bb3
test edi, edi
mov edi, dword [ebp - 0x74]
pop ecx
je 0x1800695a
lea eax, [esi + ebx*2]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1800695d
lea eax, [esi + ebx*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add ebx, eax
cmp ebx, dword [ebp - 0x7c]
jb 0x18006939
or ebx, 0xffffffff
cmp ebx, 0xffffffff
lea ecx, [edi - 0x10]
setne bl
call fcn.18004665
test esi, esi
je 0x18006976
push esi
call fcn.18144dca
pop ecx
mov al, bl
jmp 0x1800697c
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18144705
leave
ret