joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a148
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1027bf8
call fcn.0100a434
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x102ca9c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1009f5d
cmp eax, esi
jne 0x1009f50
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1009f60
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1009f37
xor esi, esi
inc esi
mov eax, dword [0x102ca98]
cmp eax, esi
jne 0x1009f73
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1009fae
mov eax, dword [0x102ca98]
test eax, eax
jne 0x1009fa8
mov dword [0x102ca98], esi
push 0x10013b0
push 0x10013a4
call fcn.01009eb4
pop ecx
pop ecx
test eax, eax
je 0x1009fae
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x100a078
mov dword [0x102c64c], esi
mov eax, dword [0x102ca98]
cmp eax, esi
jne 0x1009fd2
push 0x10013a0
push 0x10012ec
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x102ca98], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1009fdf
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x102caa0], ebx
je 0x100a000
push 0x102caa0
call fcn.0100a3a9
pop ecx
test eax, eax
je 0x100a000
push ebx
push 2
push ebx
call dword [0x102caa0]
push dword [0x102c634]
push dword [0x102c638]
push dword [0x102c630]
call fcn.01009c04
add esp, 0xc
mov dword [0x102c648], eax
cmp dword [0x102c63c], ebx
jne 0x100a05e
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x102c64c], ebx
jne 0x100a06c
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x102c648]
call fcn.0100a479
ret
call fcn.0100a627
jmp 0x1009f15
Function at 0x100a8b1
Capabilities:
Link many functions at runtime

Disassembly:
push 0x14
mov eax, 0x10259bc
call fcn.0100a184
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10], 0x1001c68
cmp ebx, edi
je 0x100a8fe
mov esi, ebx
mov dword [ebp - 0x10], ebx
cmp word [ebx], di
je 0x100a8f6
push 7
push 0x1002b48
push esi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
inc esi
inc esi
mov dword [ebp - 0x10], esi
test eax, eax
je 0x100a8f6
cmp word [esi], di
jne 0x100a8d7
cmp word [esi], di
jne 0x100a8fe
mov dword [ebp - 0x10], ebx
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x100a928
test byte [eax + 0x1c], 0x80
je 0x100a928
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push 0x1002a64
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a7d3
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x100a93c
mov ecx, dword [eax]
push 0x4033c3ab
push eax
call dword [ecx + 0x28]
pop ecx
pop ecx
push 0x1002b38
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], edi
cmp ebx, edi
je 0x100aa05
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002b28
push ebx
call esi
push 0x1002b10
push ebx
mov dword [ebp - 0x14], eax
call esi
push 0x1002afc
push ebx
mov dword [ebp + 0x18], eax
call esi
push 0x1002aec
push ebx
mov dword [ebp - 0x18], eax
call esi
push 0x1002ad4
push ebx
mov dword [ebp - 0x1c], eax
call esi
mov esi, eax
cmp dword [ebp - 0x14], edi
je 0x100aa05
cmp dword [ebp - 0x18], edi
je 0x100aa05
cmp dword [ebp + 0x18], edi
je 0x100aa05
cmp dword [ebp - 0x1c], edi
je 0x100aa05
cmp esi, edi
je 0x100aa05
lea eax, [ebp + 8]
push eax
push edi
push edi
push 0x1002abc
mov dword [ebp + 8], edi
call dword [ebp - 0x14]
test eax, eax
jne 0x100aa05
push edi
push edi
push edi
push 2
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp + 8]
call dword [ebp - 0x18]
push dword [ebp - 0x10]
push 0x1002aa8
push edi
push dword [ebp + 8]
call dword [ebp + 0x18]
push dword [ebp + 0x10]
push 0x1002a90
push 1
push dword [ebp + 8]
call dword [ebp + 0x18]
push edi
push 0x80
push 2
push dword [ebp + 8]
call dword [ebp - 0x1c]
push dword [ebp + 8]
call esi
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, edi
je 0x100aa19
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0100a270
ret 0x14
Function at 0x100c7d3
Capabilities:
Check os version
Delete registry key
Get common file path

Disassembly:
push 0x334
mov eax, 0x1025a07
call fcn.0100a1f7
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x338]
push eax
mov dword [ebp - 0x33c], esi
mov dword [ebp - 0x338], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100c814
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100c906
cmp dword [ebp - 0x334], 5
ja 0x100c841
jne 0x100c834
cmp dword [ebp - 0x330], 2
ja 0x100c841
jne 0x100c834
cmp word [ebp - 0x224], 1
jae 0x100c841
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x100c906
mov esi, 0x104
push esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x100c809
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
xor edi, edi
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x100c863
sub eax, edx
push 0x5c
sar eax, 1
pop ecx
cmp cx, word [ebp + eax*2 - 0x21e]
lea eax, [ebp - 0x21c]
jne 0x100c88b
push 0x10036cc
jmp 0x100c890
push 0x10036b0
push esi
push eax
call fcn.0100b6f5
cmp eax, edi
jge 0x100c8b2
mov ecx, eax
and ecx, 0x1fff0000
cmp ecx, 0x70000
jne 0x100c906
and eax, 0xffff
jmp 0x100c906
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x340], esi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x100c809
push 0x10036a0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
jne 0x100c8ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100c8fb
push edi
push 0x100
push dword [ebp - 0x33c]
push ebx
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
call fcn.0100a289
ret 8
Function at 0x100dfeb
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x18
mov eax, 0x1025b34
call fcn.0100a184
mov ebx, dword [ebp + 8]
xor edi, edi
cmp ebx, edi
jne 0x100e021
push edi
push 0x54f
push 0x10039ec
push 0xc55
push 0x1003310
call fcn.0100a8b1
xor eax, eax
jmp 0x100e140
mov esi, dword [ebp + 0xc]
cmp esi, edi
jne 0x100e03a
push ebx
push 0x54f
push 0x10039e0
push 0xc56
jmp 0x100e010
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x100e03f
sub eax, ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push edi
sar eax, 1
push 4
push eax
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x100e096
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xd
jne 0x100e084
mov eax, 0x803380b7
mov ecx, dword [ebx]
push esi
push 0x4033c3a9
push eax
push ebx
call dword [ecx + 0x1c]
add esp, 0x10
jmp 0x100e01a
push edi
lea eax, [ebp - 0xd]
push eax
push 8
call sub.WsmSvc.DLL_public:_static_void____stdcall_WSManMemory::Alloc_unsigned_int__class_TestSystem::CallSite_const___enum_TestSystem::Mode_
cmp eax, edi
je 0x100e0af
mov dword [eax], edi
mov dword [eax + 4], edi
mov esi, eax
jmp 0x100e0b1
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], edi
cmp esi, edi
jne 0x100e0c7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
jmp 0x100e01a
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
push edi
lea eax, [ebp - 0xe]
push eax
push dword [ebp - 0x14]
call sub.WsmSvc.DLL_public:_static_void____stdcall_WSManMemory::Alloc_unsigned_int__class_TestSystem::CallSite_const___enum_TestSystem::Mode_
lea ebx, [esi + 4]
push eax
mov ecx, ebx
call fcn.0101579e
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x100e100
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
push 1
mov ecx, esi
call fcn.0100d032
jmp 0x100e01a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 4
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x100e13e
mov ebx, dword [ebp + 8]
mov edi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10039b8
push 0x4033c360
push ebx
call dword [edi + 0x28]
add esp, 0x10
jmp 0x100e0f2
mov eax, esi
call fcn.0100a270
ret 8
Function at 0x100e714
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x100e745
test dword [eax + 0x1c], 0x1000
je 0x100e745
push ecx
push 0x1003bb4
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a84
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
push 9
push dword [ebp - 4]
push 0x59
push dword [ebp + 8]
call esi
mov ebx, 0x54f
mov edi, 0x1003bd8
test eax, eax
jne 0x100e779
push dword [ebp + 0xc]
push ebx
push 0x1003bcc
push 0x55
push edi
call fcn.0100a8b1
mov eax, dword [ebp - 4]
push 9
add eax, 0x12
push eax
push 0x5a
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100e79e
push dword [ebp + 0xc]
push ebx
push 0x1003bc4
push 0x59
push edi
call fcn.0100a8b1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10102b1
Capabilities:
Start http server

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
xor eax, eax
inc eax
push esi
mov word [ebp - 4], ax
xor eax, eax
push eax
push 2
mov word [ebp - 2], ax
push dword [ebp - 4]
mov esi, ecx
and dword [esi], 0
call dword [sym.imp.HTTPAPI.dll_HttpInitialize]
mov dword [esi], eax
test eax, eax
je 0x1010306
mov ecx, dword [0x102b00c]
cmp ecx, 0x102b00c
je 0x1010306
test dword [ecx + 0x1c], 0x400000
je 0x1010306
push eax
push 0x1004130
push 0xa
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019a84
mov eax, esi
pop esi
leave
ret
Function at 0x1010e13
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x1010e43
push dword [ebp + 8]
push 0x54f
push 0x1004334
push 0x341
push 0x1004190
call fcn.0100a8b1
xor eax, eax
jmp 0x1010f61
cmp dword [ebp + 0x18], edi
jne 0x1010e5c
push dword [ebp + 8]
push 0x54f
push 0x100432c
push 0x342
jmp 0x1010e32
push ebx
mov ebx, dword [ebp + 0x1c]
cmp ebx, edi
jne 0x1010e87
push dword [ebp + 8]
push 0x54f
push 0x1004324
push 0x343
push 0x1004190
call fcn.0100a8b1
xor eax, eax
jmp 0x1010f60
push esi
push edi
push edi
push edi
push edi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
mov eax, 0x103
cmp esi, eax
jne 0x1010eb0
push eax
jmp 0x1010f52
cmp esi, edi
je 0x1010ef9
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1010edc
test dword [eax + 0x1c], 0x400000
je 0x1010edc
push esi
push 0x1004130
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a84
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1010f51
mov ecx, dword [eax]
push esi
push 0x1004308
push 0x4033c364
push eax
call dword [ecx + 0x28]
add esp, 0x10
jmp 0x1010f51
push 0x1004304
push dword [ebp + 0x18]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
mov dword [ebx], eax
cmp eax, edi
jne 0x1010f5c
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1010f36
test dword [eax + 0x1c], 0x400000
je 0x1010f36
push 0x1004130
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100914c
mov eax, dword [ebp + 8]
mov esi, 0x80338005
cmp eax, edi
je 0x1010f51
mov ecx, dword [eax]
push 0x4033c44a
push esi
push eax
call dword [ecx + 0x1c]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1010f5f
xor eax, eax
inc eax
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
Function at 0x101136f
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x101139f
push dword [ebp + 8]
push 0x54f
push 0x10043b4
push 0x8f0
push 0x1004190
call fcn.0100a8b1
xor eax, eax
jmp 0x10114a2
cmp dword [ebp + 0x18], esi
jne 0x10113b8
push dword [ebp + 8]
push 0x54f
push 0x10043a8
push 0x8f1
jmp 0x101138e
cmp dword [ebp + 0x1c], esi
jne 0x10113d1
push dword [ebp + 8]
push 0x54f
push 0x100439c
push 0x8f2
jmp 0x101138e
push edi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
mov eax, 0x103
cmp edi, eax
jne 0x10113fa
push eax
jmp 0x1011494
cmp edi, esi
je 0x1011435
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1011426
test dword [eax + 0x1c], 0x400000
je 0x1011426
push edi
push 0x1004130
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a84
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x1011493
push edi
push 0x1004308
jmp 0x1011485
push dword [ebp + 0x1c]
push 0x20119
push esi
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
je 0x101149e
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1011478
test dword [eax + 0x1c], 0x400000
je 0x1011478
push edi
push 0x1004130
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a84
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x1011493
push edi
push 0x1003f24
mov ecx, dword [eax]
push 0x4033c364
push eax
call dword [ecx + 0x28]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10114a1
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x18
Function at 0x1011a31
Capabilities:
Query or enumerate registry key

Disassembly:
push 8
mov eax, 0x1025d6e
call fcn.0100a184
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp edi, esi
jne 0x1011a6a
push esi
push 0x54f
push 0x10044fc
push 0x377
push 0x1004190
call fcn.0100a8b1
xor eax, eax
call fcn.0100a270
ret 0xc
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1011a91
test dword [eax + 0x1c], 0x200000
je 0x1011a91
push 0x1004130
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100914c
push 2
pop edx
xor ecx, ecx
mov eax, 0x100
mov dword [ebp - 0x14], eax
mul edx
seto cl
push esi
neg ecx
or eax, ecx
lea ecx, [ebp + 0x13]
push ecx
push eax
call sub.WsmSvc.DLL_public:_static_void____stdcall_WSManMemory::Alloc_unsigned_int__class_TestSystem::CallSite_const___enum_TestSystem::Mode_
push eax
lea ecx, [ebp - 0x10]
call fcn.0100c474
mov dword [ebp - 4], esi
cmp dword [ebp - 0x10], esi
jne 0x1011ad9
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0100c61b
jmp 0x1011a60
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, 0x103
cmp eax, ecx
jne 0x1011afc
push ecx
jmp 0x1011ac5
cmp eax, esi
je 0x1011b1a
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0100c61b
mov eax, esi
jmp 0x1011a62
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], eax
xor eax, eax
inc eax
mov dword [ebp - 0x10], esi
mov dword [edi + 0xc], eax
mov esi, eax
jmp 0x1011b07
Function at 0x1018afd
Capabilities:
Check os version

Disassembly:
push 0x184
mov eax, 0x10264ec
call fcn.0100a1f7
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x148]
call fcn.010132fd
xor ebx, ebx
mov dword [ebp - 4], ebx
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0x190]
call fcn.0100e4af
mov byte [ebp - 4], 1
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x16c], 0x1005f78
mov dword [ebp - 0x168], 0x10057e0
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], 0x10057ac
mov dword [ebp - 0x15c], 0x1005360
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], 0x1005344
mov dword [ebp - 0x150], 0x1004ed0
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x12c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1018bfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1018bcb
test dword [eax + 0x1c], 0x400000
je 0x1018bcb
push esi
push 0x1004658
push 0x7e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a84
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x20]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x190]
call fcn.0100e4a3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.0101333e
xor eax, eax
call fcn.0100a289
ret 8
xor eax, eax
cmp byte [ebp - 0x12], 1
mov dword [ebp - 0x134], ebx
setne al
lea esi, [ebp - 0x16c]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], ebx
jne 0x1018c26
cmp dword [esi + 8], ebx
jne 0x1018cc2
mov eax, dword [esi]
mov dword [ebp - 0x140], eax
push ebx
lea eax, [ebp - 0x148]
push eax
push edi
call fcn.010189f4
push eax
lea ecx, [ebp - 0x130]
call fcn.0101002b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x130]
push ebx
push dword [esi + 4]
lea eax, [ebp - 0x190]
push 0x1777
push eax
call fcn.0101720e
cmp eax, ebx
je 0x1018c81
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x190]
push eax
call fcn.01017fe9
cmp eax, ebx
jne 0x1018cb3
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1018cae
test dword [eax + 0x1c], 0x200000
je 0x1018cae
push dword [ebp - 0x140]
push 0x1004658
push 0x7f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100aa26
cmp dword [ebp + 0xc], ebx
je 0x1018ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call fcn.0100fffd
inc dword [ebp - 0x134]
add esi, 0xc
cmp dword [ebp - 0x134], 3
jb 0x1018c15
xor esi, esi
inc esi
jmp 0x1018d7e
lea ecx, [ebp - 0x190]
call fcn.01009bd7
cmp eax, 5
je 0x1018d58
lea ecx, [ebp - 0x190]
call fcn.01009bd7
cmp eax, 0xe
je 0x1018d58
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x1018d2a
test dword [eax + 0x1c], 0x200000
je 0x1018d2a
push 0x1004658
push 0x80
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100914c
push ebx
push 0x54f
push 0x1004ec4
push 0xda9
push 0x1004668
call fcn.0100a8b1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call fcn.0100fffd
jmp 0x1018bd3
mov esi, dword [edi]
lea ecx, [ebp - 0x190]
add esi, 0x20
call fcn.01009bd7
push eax
mov ecx, edi
call dword [esi]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call fcn.0100fffd
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x190]
call fcn.0100e4a3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.0101333e
mov eax, esi
jmp 0x1018bf2
Function at 0x101b07a
Capabilities:
Set registry value

Disassembly:
push 0x60
mov eax, 0x1026728
call fcn.0100a1f7
mov edi, dword [ebp + 8]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 1
mov eax, dword [0x102b00c]
mov esi, 0x102b00c
mov ebx, 0x1006724
cmp eax, esi
je 0x101b0be
test dword [eax + 0x1c], 0x200000
je 0x101b0be
push ecx
push ebx
push 0x4a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a84
and dword [ebp - 0x6c], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x6c]
push eax
push 0x102
push 0
push dword [ebp - 0x64]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
mov dword [ebp - 0x68], ecx
cmp ecx, 2
jne 0x101b11d
mov eax, dword [0x102b00c]
cmp eax, esi
je 0x101b10f
test dword [eax + 0x1c], 0x400000
je 0x101b10f
push dword [ebp - 0x64]
push ebx
push 0x4b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100aa26
mov eax, dword [edi]
push 0x80338005
mov ecx, edi
call dword [eax + 0x20]
jmp 0x101b18c
cmp ecx, 5
jne 0x101b14e
mov eax, dword [0x102b00c]
cmp eax, esi
je 0x101b145
test dword [eax + 0x1c], 0x400000
je 0x101b145
push dword [ebp - 0x64]
push ebx
push 0x4c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100aa26
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
jmp 0x101b18c
test ecx, ecx
je 0x101b195
mov eax, dword [0x102b00c]
cmp eax, esi
je 0x101b176
test dword [eax + 0x1c], 0x400000
je 0x101b176
push dword [ebp - 0x64]
push ecx
push ebx
push 0x4d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101023d
push dword [ebp - 0x68]
mov eax, dword [edi]
push 0x1003f24
push 0x4033c360
push edi
call dword [eax + 0x28]
add esp, 0x10
and dword [ebp - 0x60], 0
jmp 0x101b228
lea eax, [ebp - 0x5c]
push eax
call fcn.0100bb35
push 0x4a
lea eax, [ebp - 0x5c]
push eax
push 1
push 0
push 0x1006a4c
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x101b1ff
mov ecx, dword [edi]
and dword [ebp - 0x60], 0
push eax
push 0x1004208
push 0x4033c360
push edi
call dword [ecx + 0x28]
add esp, 0x10
mov eax, dword [0x102b00c]
cmp eax, esi
je 0x101b228
test dword [eax + 0x1c], 0x400000
je 0x101b228
push 0x1006a4c
push dword [ebp - 0x68]
push ebx
push 0x4e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101023d
jmp 0x101b228
mov eax, dword [0x102b00c]
cmp eax, esi
je 0x101b228
test dword [eax + 0x1c], 0x200000
je 0x101b228
lea ecx, [ebp - 0x5c]
push ecx
push 0x1006a4c
push ebx
push 0x4f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100a7d3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0100c453
mov eax, dword [ebp - 0x60]
call fcn.0100a289
ret 4
Function at 0x101fb98
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x102b01c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
call fcn.0100ba4b
mov esi, 0x104
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x101fbd6
xor al, al
jmp 0x101fc86
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101fbdf
sub eax, edx
push 0x5c
sar eax, 1
pop ecx
cmp cx, word [ebp + eax*2 - 0x212]
lea eax, [ebp - 0x210]
jne 0x101fc07
push 0x10072a8
jmp 0x101fc0c
push 0x100728c
push esi
push eax
call fcn.0100b6f5
test eax, eax
jge 0x101fc40
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x101fbcf
test dword [eax + 0x1c], 0x200
je 0x101fbcf
push 0x1007004
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100914c
jmp 0x101fbcf
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push eax
mov ecx, edi
call fcn.0100c489
cmp dword [edi], 0
jne 0x101fc84
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x101fbcf
test dword [eax + 0x1c], 0x200
je 0x101fbcf
push 0x1007004
push 0xb
jmp 0x101fc33
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100a16f
leave
ret

Function at 0x10241b0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea edi, [esi + 0xc]
mov dword [edi], ebx
mov dword [esi + 0x10], ebx
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x10241f5
test dword [eax + 0x1c], 0x200000
je 0x10241f5
push esi
push 0x10085d0
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a84
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
mov dword [ebp - 4], eax
jge 0x1024225
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x102426f
test dword [eax + 0x1c], 0x400000
je 0x102426f
push dword [ebp - 4]
push 0x10085d0
push 0xb
jmp 0x1024264
push edi
xor eax, eax
push 0x1008620
inc eax
push eax
push ebx
push 0x1008610
mov dword [esi + 8], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov dword [ebp - 4], eax
jge 0x102427c
mov eax, dword [0x102b00c]
cmp eax, 0x102b00c
je 0x102426f
test dword [eax + 0x1c], 0x400000
je 0x102426f
push dword [ebp - 4]
push 0x10085d0
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a84
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push 0x10085e0
lea ecx, [esi + 0x10]
call fcn.0102412f
mov dword [esi], 1
jmp 0x1024275