joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45631f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec esp
add eax, dword [eax]
add byte [ebx - 0x6fb43], al
inc dword [edx]
jne 0x4563e0
invalid
movsd dword es:[edi], dword [esi]
clc

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

Disassembly:
mov ch, 0x54
cld
invalid
add byte [eax], al
add byte [ebx + 0x708b0c40], cl
sbb al, 0xad
cmp byte [eax + 0x1c], 0x18
je 0x4568bb
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.004546f7
jecxz 0x456860
mov al, 0xf
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.004546f7
fldenv [edi]
pop esp
and eax, 0x8b348b49
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4568e4
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4568e4
call fcn.004546f7
pop es
push ss
push ecx
adc dword [ebx - 0x20fcdba6], ecx
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.004546f7
leave
cwde
push ebp
mov dword [0xff0875ff], eax
jne 0x45692d
push dword [ebp]
invalid
Function at 0x403c00
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a13b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x58fc74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5a8344], 0
je 0x403c3d
mov al, 1
jmp 0x403dd2
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00512450
xor eax, eax
mov dword [ebp - 0x220], 0
add esp, 0xc
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403c90
sub eax, edx
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004040c0
push 0xa
push str.AsIO3.dll
lea ecx, [ebp - 0x230]
call fcn.00403f40
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5a8344], eax
test eax, eax
je 0x403dc3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ASIO_Open
push eax
call esi
push str.ASIO_ReadMSR
push dword [0x5a8344]
mov dword [0x5a8348], eax
call esi
push str.ASIO_WriteMSR
push dword [0x5a8344]
mov dword [0x5a834c], eax
call esi
push str.ASIO_InPortB
push dword [0x5a8344]
mov dword [0x5a8350], eax
call esi
push str.ASIO_OutPortB
push dword [0x5a8344]
mov dword [0x5a8354], eax
call esi
push str.ASIO_InPortD
push dword [0x5a8344]
mov dword [0x5a8358], eax
call esi
push str.ASIO_OutPortD
push dword [0x5a8344]
mov dword [0x5a835c], eax
call esi
push str.MapPhysToLin
push dword [0x5a8344]
mov dword [0x5a8360], eax
call esi
push str.UnmapPhysicalMemory
push dword [0x5a8344]
mov dword [0x5a8368], eax
call esi
push str.ASIO_MapMem
push dword [0x5a8344]
mov dword [0x5a836c], eax
call esi
push str.ASIO_UnmapMem
push dword [0x5a8344]
mov dword [0x5a8370], eax
call esi
push 0
mov dword [0x5a8374], eax
call dword [0x5a8348]
test eax, eax
je 0x403dc3
mov bl, 1
jmp 0x403dc5
xor bl, bl
lea ecx, [ebp - 0x230]
call fcn.00403b60
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa15c
mov esp, ebp
pop ebp
ret
Function at 0x409df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a507
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58fc74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi], vtable.AsusFanControl.0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [ebp + 8]
mov word [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov byte [esi + 0x80], 1
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov eax, dword [esi + 0x50]
push 0
mov byte [ebp - 4], 4
mov dword [esi + 0x54], eax
call dword [sym.imp.ole32.dll_CoInitialize]
call sym.AsusFanControlService.exe__AcpiInit_0
push 0x4060022
call fcn.00407850
add esp, 4
test al, al
mov eax, esi
je 0x409f22
mov byte [esi + 0x80], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41cd00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bd2b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x58fc74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x828], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x820]
push eax
push 0x20019
push 0
push 0x54d11c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
mov dword [edi], vtable.FanControlImp.0
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41cdd2
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00512450
add esp, 0xc
mov dword [ebp - 0x81c], 0x400
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push str.ExeName
push dword [ebp - 0x820]
call esi
test eax, eax
jne 0x41cdd2
mov al, 1
jmp 0x41ce8b
lea eax, [ebp - 0x818]
push eax
push 0x20019
push 0
push str.SoftwareAsusROG_Live_Service
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x41ce32
push 0x400
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00512450
add esp, 0xc
mov dword [ebp - 0x824], 0x400
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push 0x54d1a0
push dword [ebp - 0x818]
call esi
test eax, eax
je 0x41cdcb
lea eax, [ebp - 0x814]
push eax
push 0x20019
push 0
push str.SoftwareAsusAi_Suite_IIFAN_Xpert_2
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov esi, eax
lea eax, [ebp - 0x814]
push eax
push 0x20019
push 0
push str.SoftwareAsusAi_Suite_IIThermal_Radar
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test esi, esi
je 0x41ce74
test eax, eax
je 0x41ce74
xor al, al
jmp 0x41ce8b
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00425640
cmp eax, 4
sete al
mov byte [edi + 0x14], al
mov eax, edi
mov dword [edi + 0x10], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa15c
mov esp, ebp
pop ebp
ret
Function at 0x41e7b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x58fc74]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x410]
push eax
push 0x20019
push 0
push 0x54d11c
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e832
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00512450
add esp, 0xc
mov dword [ebp - 0x408], 0x400
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
push 0
push 0
push str.ExeName
push dword [ebp - 0x410]
call esi
test eax, eax
je 0x41e892
lea eax, [ebp - 0x414]
push eax
push 0x20019
push 0
push str.SoftwareAsusROG_Live_Service
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x41e8a4
push 0x400
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00512450
add esp, 0xc
mov dword [ebp - 0x408], 0x400
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
push 0
push 0
push 0x54d1a0
push dword [ebp - 0x414]
call esi
test eax, eax
jne 0x41e8a4
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa15c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x40c]
push eax
push 0x20019
push 0
push str.SoftwareAsusAi_Suite_IIFAN_Xpert_2
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov esi, eax
lea eax, [ebp - 0x40c]
push eax
push 0x20019
push 0
push str.SoftwareAsusAi_Suite_IIThermal_Radar
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test esi, esi
je 0x41e8f4
test eax, eax
je 0x41e8f4
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa15c
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00425640
mov ecx, dword [ebp - 4]
cmp eax, 4
pop edi
sete al
xor ecx, ebp
pop esi
call fcn.004fa15c
mov esp, ebp
pop ebp
ret
Function at 0x423e90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
lea esi, [ecx + 8]
mov ecx, esi
call fcn.004233d0
xor ebx, ebx
mov cl, bl
shl cl, 3
lea eax, [ecx + 0x60]
mov byte [ebp - 0x1a], al
lea eax, [ecx + 0x61]
mov byte [ebp - 0x19], al
lea eax, [ecx + 0x62]
mov byte [ebp - 0x18], al
lea eax, [ecx + 0x63]
mov byte [ebp - 0x17], al
lea eax, [ecx + 0x64]
mov byte [ebp - 0x16], al
lea eax, [ecx + 0x65]
mov byte [ebp - 0x15], al
lea eax, [ecx + 0x66]
add cl, 0x67
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], cl
mov cl, bl
shl cl, 4
inc ebx
mov dword [ebp - 0x34], ebx
lea eax, [ecx + 0x10]
mov byte [ebp - 0x12], al
lea eax, [ecx + 0x11]
mov byte [ebp - 0x11], al
lea eax, [ecx + 0x12]
mov byte [ebp - 0x10], al
lea eax, [ecx + 0x13]
mov byte [ebp - 0xf], al
lea eax, [ecx + 0x15]
mov byte [ebp - 0xe], al
add cl, 0x19
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xd], cl
mov ecx, esi
movups xmm0, xmmword [ebp - 0x1c]
mov byte [ebp - 0x20], al
lea eax, [ebp - 0x34]
push eax
movups xmmword [ebp - 0x30], xmm0
call fcn.00422b70
push eax
add eax, 0x10
mov ecx, esi
push eax
push 0
lea eax, [ebp - 8]
push eax
call fcn.00422d00
cmp ebx, 4
jl 0x423ea4
movzx eax, byte [ebp - 0xc]
mov ecx, esi
mov dword [ebp - 0x1a], 0xabaaa9a8
mov dword [ebp - 0x16], 0xafaeadac
mov dword [ebp - 0x12], 0x63626160
mov word [ebp - 0xe], 0x6965
movups xmm0, xmmword [ebp - 0x1c]
mov byte [ebp - 0x20], al
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 5
movups xmmword [ebp - 0x30], xmm0
call fcn.00422b70
push eax
add eax, 0x10
mov ecx, esi
push eax
push 0
lea eax, [ebp - 8]
push eax
call fcn.00422d00
movzx eax, byte [ebp - 0xc]
mov ecx, esi
mov dword [ebp - 0x1a], 0xa3a2a1a0
mov dword [ebp - 0x16], 0xa7a6a5a4
mov dword [ebp - 0x12], 0x53525150
mov word [ebp - 0xe], 0x5955
movups xmm0, xmmword [ebp - 0x1c]
mov byte [ebp - 0x20], al
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 6
movups xmmword [ebp - 0x30], xmm0
call fcn.00422b70
push eax
add eax, 0x10
mov ecx, esi
push eax
push 0
lea eax, [ebp - 8]
push eax
call fcn.00422d00
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x42403e
mov byte [eax + 0x14], 0x13
mov ecx, dword [eax + 0x10]
dec ecx
cmp ecx, 5
ja case.default.0x423fee
jmp dword [ecx*4 + 0x424044]
mov byte [eax + 0x24], 0x5d
mov byte [eax + 0x15], 0x15
jmp case.default.0x423fee
mov byte [eax + 0x24], 0x5e
mov byte [eax + 0x15], 0x16
jmp case.default.0x423fee
mov byte [eax + 0x24], 0x5f
mov byte [eax + 0x15], 0x17
jmp case.default.0x423fee
mov byte [eax + 0x24], 0x6d
mov byte [eax + 0x15], 0x1e
jmp case.default.0x423fee
mov byte [eax + 0x24], 0x6f
mov byte [eax + 0x15], 0x92
jmp case.default.0x423fee
mov byte [eax + 0x24], 0x6e
mov byte [eax + 0x15], 0x1f
lea ecx, [ebp - 4]
call fcn.004113d0
mov eax, dword [ebp - 4]
cmp eax, dword [esi]
jne 0x423fe1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426060
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c37f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x58fc74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x5a86f8]
test esi, esi
jne 0x4260f2
call fcn.00403c00
test al, al
je 0x426104
call sym.AsusFanControlService.exe__AcpiInit_0
push 0xc
call fcn.004fa16d
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4260ea
xor eax, eax
mov dword [esi], vtable.Sio::SioAccessor.0
push 0x11060004
mov word [esi + 4], ax
mov byte [esi + 6], al
mov dword [esi + 8], eax
call fcn.00407850
add esp, 4
mov byte [esi + 7], al
mov ecx, esi
call fcn.00425c00
mov ecx, esi
call fcn.00425e20
jmp 0x4260ec
xor esi, esi
mov dword [0x5a86f8], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.Sio::SioAccessor::Instance
push 0x6e
push str.d:jenkinsworkspace_asusfancontrolservice_src_asus_sio.cpp
lea ecx, [ebp - 0x1c]
call fcn.004255f0
push str.ASIO_open_fail...exit_...
sub esp, 0xc
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
push 2
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.0046e790
push eax
call fcn.00472660
add esp, 0x18
push 1
call fcn.0051d6b8
int3
Function at 0x42e080
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x58fc74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x40c], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x42e2ce
push ebx
push 0
push 2
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
xor bl, bl
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, 0x80010119
movzx ebx, bl
lea eax, [ebp - 0x40c]
mov ecx, 1
push eax
push 0x565908
push ecx
push 0
push 0x5658f8
cmove ebx, ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42e14f
mov eax, dword [ebp - 0x40c]
lea edx, [ebp - 0x408]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x408], 0
mov ecx, dword [eax]
push str.ROOTcimv2
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x42e166
mov eax, dword [ebp - 0x40c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa15c
mov esp, ebp
pop ebp
ret 0x10
push esi
mov esi, dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push edi
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x408]
call esi
mov edi, eax
test bl, bl
je 0x42e1a0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xa
push dword [ebp - 0x408]
call esi
mov eax, dword [ebp - 0x408]
test edi, edi
js 0x42e2b3
lea edx, [ebp - 0x410]
mov dword [ebp - 0x410], 0
mov ecx, dword [eax]
push edx
push 0
push 0x30
push dword [ebp - 0x414]
push eax
call dword [ecx + 0x48]
test eax, eax
jns 0x42e1de
mov eax, dword [ebp - 0x408]
jmp 0x42e2bf
mov ecx, dword [ebp - 0x410]
xor esi, esi
test ecx, ecx
je 0x42e2ad
nop
mov eax, dword [ecx]
lea edx, [ebp - 0x420]
push edx
lea edx, [ebp - 0x414]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x42e2ad
mov eax, dword [ebp - 0x414]
lea edx, [ebp - 0x430]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push dword [ebp - 0x418]
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp esi, dword [ebp + 0x14]
jne 0x42e296
mov edx, dword [ebp - 0x428]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e241
sub ecx, ebx
sar ecx, 1
push edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.0051d287
lea eax, [ebp - 0x404]
add esp, 0xc
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e270
sub eax, edx
lea ecx, [ebp - 0x404]
sar eax, 1
push ecx
inc eax
push eax
push dword [ebp - 0x41c]
call fcn.0051d287
add esp, 0xc
test edi, edi
js 0x42e1d3
mov ecx, dword [ebp - 0x410]
inc esi
test ecx, ecx
jne 0x42e1f0
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa15c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e5b0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x58fc74]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x42e5f8
push edi
push 0x54e228
call fcn.0042e510
add esp, 8
test al, al
je 0x42e624
mov eax, dword [ebp + 8]
sub eax, 0
je 0x42e613
sub eax, 1
je 0x42e60c
mov eax, 0x11
jmp 0x42e618
mov eax, 5
jmp 0x42e618
mov eax, 1
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov edi, eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x42e653
push 0
push 0x54e228
call fcn.0042e470
add esp, 8
mov ecx, dword [ebp - 4]
test edi, edi
pop edi
setne al
xor ecx, ebp
call fcn.004fa15c
mov esp, ebp
pop ebp
ret

Function at 0x42fe40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ca29
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58fc74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x5a8774
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x5a8774
mov dword [esi + 0x30], 0x5a8774
mov dword [esi + 0x34], 0x5a8774
mov edi, dword [ebp + 8]
mov edx, edi
mov byte [ebp - 4], 3
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x42fee1
sub edx, ebx
push edx
push edi
call fcn.0042fc70
mov edi, dword [ebp + 0xc]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x42ff00
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.0042fc70
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x42ff20
sub edx, ecx
lea ecx, [esi + 0x34]
push edx
push edi
call fcn.0042fc70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42ff50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ca63
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58fc74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x5a8774
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x5a8774
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x54a7b0
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0042fc70
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x431190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
jne 0x4311b0
push ebx
push ebx
push ebx
push 2
call fcn.00433b40
pop edi
xor al, al
pop ebx
pop ebp
ret 8
push esi
mov esi, dword [edi + 0x18]
test esi, esi
je 0x4311c7
mov ecx, esi
mov esi, dword [esi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x4311b8
push 2
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push 0
push ebx
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
call fcn.0051dfac
push ebx
call fcn.0051ee64
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp + 8], esi
call fcn.0051dfac
add esp, 0x1c
test esi, esi
jg 0x431221
push 0
push 0
push 0
push 0xc
mov ecx, edi
call fcn.00433b40
pop esi
pop edi
xor al, al
pop ebx
pop ebp
ret 8
lea eax, [esi + 1]
push eax
call fcn.004fa445
push ebx
mov ebx, dword [ebp + 8]
mov esi, eax
push 1
push ebx
push esi
mov byte [esi], 0
call fcn.0051e6b2
add esp, 0x14
cmp eax, 1
je 0x431265
push esi
call fcn.004fa44e
add esp, 4
mov ecx, edi
push 0
push 0
push 0
push 2
call fcn.00433b40
pop esi
pop edi
xor al, al
pop ebx
pop ebp
ret 8
mov byte [esi + ebx], 0
mov eax, esi
mov cl, byte [esi]
mov edx, esi
test cl, cl
je 0x431296
mov dword [ebp + 8], eax
lea ebx, [edx + 1]
inc eax
cmp cl, 0xd
jne 0x43128c
mov byte [edx], 0xa
cmp byte [eax], 0xa
cmovne eax, dword [ebp + 8]
inc eax
jmp 0x43128e
mov byte [edx], cl
mov cl, byte [eax]
mov edx, ebx
test cl, cl
jne 0x431273
push dword [ebp + 0xc]
mov byte [edx], 0
mov ecx, edi
mov eax, dword [edi]
push 0
push esi
call dword [eax + 8]
push esi
call fcn.004fa44e
add esp, 4
cmp byte [edi + 0x2c], 0
sete al
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x436d90
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [0x5a8798], eax
call esi
push 0
push 0
push 0
push 0
mov dword [0x5a879c], eax
call esi
push dword [0x5a8798]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [0x5a8794], eax
call esi
push dword [0x5a879c]
call esi
push dword [0x5a8794]
call esi
push 0
push 0
push 0x435d60
call fcn.00522784
add esp, 0xc
mov dword [0x5a87a0], eax
pop esi
ret
Function at 0x437d30
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x58fc74]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push 0xff
push 0x100
push eax
call fcn.00408f20
push dword [eax + 4]
push dword [eax]
call fcn.0051bea9
xor eax, eax
add esp, 0x20
cmp dword [esi + 0x260], 0
mov word [ebp - 6], ax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
jne 0x437d97
push eax
call fcn.0052254c
add esp, 4
lea eax, [esi + 0x40]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x437dcc
push 0
lea eax, [ebp - 0x208]
push eax
push 0
push 1
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fa15c
mov esp, ebp
pop ebp
ret