joyce8/EMBER2024-capa huggingface dataset:
Function at 0x570093
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0056ef84
and dword [ebp - 4], 0
cmp dword [0x57cc90], 0
mov ebx, eax
jne 0x570144
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5701f5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5701f5
push eax
call fcn.0056ef12
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x57cc90], eax
call esi
push eax
call fcn.0056ef12
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x57cc94], eax
call esi
push eax
call fcn.0056ef12
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x57cc98], eax
call esi
push eax
call fcn.0056ef12
pop ecx
mov dword [0x57cca0], eax
test eax, eax
je 0x570144
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0056ef12
pop ecx
mov dword [0x57cc9c], eax
mov eax, dword [0x57cc9c]
cmp eax, ebx
je 0x57019c
cmp dword [0x57cca0], ebx
je 0x57019c
push eax
call fcn.0056ef8d
push dword [0x57cca0]
mov esi, eax
call fcn.0056ef8d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x57019c
test edi, edi
je 0x57019c
call esi
test eax, eax
je 0x570193
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x570193
test byte [ebp - 0xc], 1
jne 0x57019c
or dword [ebp + 0x10], 0x200000
jmp 0x5701d5
mov eax, dword [0x57cc94]
cmp eax, ebx
je 0x5701d5
push eax
call fcn.0056ef8d
pop ecx
test eax, eax
je 0x5701d5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5701d5
mov eax, dword [0x57cc98]
cmp eax, ebx
je 0x5701d5
push eax
call fcn.0056ef8d
pop ecx
test eax, eax
je 0x5701d5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x57cc90]
call fcn.0056ef8d
pop ecx
test eax, eax
je 0x5701f5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5701f7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x571efe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x579d08]
jne 0x571f08
repz ret
jmp fcn.00573625
Function at 0x408000
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x40
lea eax, [esp + 0x44]
lea ecx, [esp]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
push 0
push eax
push 0x40
push ecx
push esi
call ebx
test eax, eax
je 0x408175
cmp dword [esp + 0x54], 0x40
jne 0x408175
cmp word [esp + 0x10], 0x5a4d
jne 0x408175
mov edx, dword [esp + 0x4c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push edx
push esi
call ebp
cmp eax, 0xffffffff
je 0x408175
lea eax, [esp + 0x54]
push 0
push eax
push 0xf8
push 0x40e960
push esi
call ebx
test eax, eax
je 0x408175
cmp dword [esp + 0x54], 0xf8
jne 0x408175
cmp dword [0x40e960], 0x4550
jne 0x408175
mov eax, dword [0x40e976]
test ah, 0x20
jne 0x408175
mov edx, dword [0x40ea80]
xor eax, eax
mov ax, word [0x40e966]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 3
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [sym.imp.KERNEL32.dll_GetCPInfo], eax
je 0x408175
push 1
push 0
push 0
push esi
call ebp
mov dword [0x40ea6c], eax
xor eax, eax
mov ax, word [0x40e966]
mov edx, dword [sym.imp.KERNEL32.dll_GetCPInfo]
lea ecx, [esp + 0x54]
push 0
lea edi, [eax + eax*4]
push ecx
shl edi, 3
push edi
push edx
push esi
call ebx
test eax, eax
je 0x408175
cmp dword [esp + 0x54], edi
jne 0x408175
push 1
push 0
push 0
push esi
call ebp
mov ecx, dword [0x40ea80]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov eax, dword [0x40e9b4]
cmp edx, eax
ja 0x408175
mov edi, dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [0x40e988]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
add eax, edx
cmp ecx, eax
jae 0x408175
xor eax, eax
push 2
mov ax, word [0x40e966]
push 0
push 0
push esi
lea ecx, [eax + eax*4]
mov ebx, dword [edi + ecx*8 - 0x18]
lea edi, [edi + ecx*8]
call ebp
mov edx, dword [edi - 0x14]
add edx, ebx
cmp eax, edx
jne 0x408175
cmp dword [edi - 0x20], ebx
ja 0x408175
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
Function at 0x4014d3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
xor eax, eax
mov edi, eax
mov dword [ebp - 0x4c], 0x30
mov eax, 3
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [0x404120], eax
mov eax, edi
mov dword [ebp - 0x44], 0x4013b2
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.rieta
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea esi, [ebp - 0x4c]
push esi
call dword [sym.imp.USER32.dll_RegisterClassExW]
push edi
push dword [ebp - 0x38]
push edi
push edi
push 0x190
push 0x258
push 0xffffee08
push 0xffffee6c
push 0
push str.tovice
push str.rieta
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x404128], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x404128]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x4015a5
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40158a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402030
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403258
push 0x402230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x404154], 0xffffffff
mov dword [0x404158], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x404150]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x40414c]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x40415c], ecx
call fcn.00402220
mov eax, dword [0x404104]
test eax, eax
jne 0x4020c1
push 0x402210
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.004021f0
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x404148]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x404144]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x4021cf
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x402135
cmp al, 0x22
jne 0x402127
cmp byte [esi], 0x22
jne 0x40213e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x40214e
cmp al, 0x20
ja 0x40214e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40213e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x40216f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x402174
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x4021b4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40213e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4021cf

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x5f134400
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0xc400458
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10001130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002371a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1003406c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.1000b7d8
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x100011f0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0x1002421c
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.1000d71d
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x100330fc
push eax
call fcn.1000f434
push edi
push esi
call fcn.1000bb20
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c5be
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
mov dword [ebp + 0x74], 0x100349fa
mov dword [ebp + 0x24], 0
lea eax, [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x50]
push edx
call fcn.10002a88
add esp, 8
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x24]
push eax
call fcn.100029d8
add esp, 0x10
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x10]
push edx
push 0
call dword [ebp + 0x20]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x18]
Function at 0x10002610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp + 0x64]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x24]
push eax
call fcn.100029d8
add esp, 0x10
mov dword [ebp + 0x1c], eax
push 0x104
mov ecx, dword [ebp + 0x60]
push ecx
push 0
call dword [ebp + 0x1c]
mov dword [ebp + 0x18], eax
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x60]
mov dword [ebp + 0x3c], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x68], ecx
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x60]
movzx ecx, word [eax + edx*2 - 2]
mov edx, dword [ebp + 0x74]
movzx eax, word [edx + 0x3c]
cmp ecx, eax
je 0x1000267b
xor ecx, ecx
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x60]
mov word [eax + edx*2], cx
mov ecx, dword [ebp + 0x68]
sub ecx, 1
mov dword [ebp + 0x68], ecx
jmp 0x1000264e
mov dword [ebp + 0x58], 0
mov edx, dword [ebp + 0x3c]
add edx, dword [ebp + 0x58]
movsx eax, byte [edx]
test eax, eax
je 0x100026b7
mov ecx, dword [ebp + 0x3c]
add ecx, dword [ebp + 0x58]
movsx dx, byte [ecx]
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x60]
mov word [ecx + eax*2], dx
mov edx, dword [ebp + 0x68]
add edx, 1
mov dword [ebp + 0x68], edx
mov eax, dword [ebp + 0x58]
add eax, 1
mov dword [ebp + 0x58], eax
jmp 0x10002682
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 0x64]
push edx
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.100029d8
add esp, 0x10
mov dword [ebp + 0x14], eax
push 0
mov edx, dword [ebp + 0x74]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 4]
push edx
push 0
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x44]
push eax
mov ecx, dword [ebp + 0x60]
push ecx
call dword [ebp + 0x14]
mov dword [ebp + 0x38], eax
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x48]
push edx
mov eax, dword [ebp + 0x64]
push eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x24]
push edx
call fcn.100029d8
add esp, 0x10
mov dword [ebp + 0x10], eax
push 0
mov eax, dword [ebp + 0x38]
push eax
call dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x60]
mov dword [ebp + 0x70], ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp + 0x64]
push eax
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 0x24]
push edx
call fcn.100029d8
add esp, 0x10
mov dword [ebp + 8], eax
mov dword [ebp + 0x34], 0
xor al, 0
add byte [eax], al
add byte [edx], ch
Function at 0x10002760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor al, 0
add byte [eax], al
add byte [edx], ch
lea eax, [ebp + 0x34]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x70]
push edx
mov eax, dword [ebp + 0x38]
push eax
call dword [ebp + 8]
mov ecx, dword [ebp + 0x70]
add ecx, dword [ebp + 0x34]
mov dword [ebp + 0x40], ecx
mov edx, dword [ebp + 0x74]
mov eax, dword [edx + 0x2c]
add eax, dword [ebp + 0x70]
mov dword [ebp + 0x70], eax
mov ecx, dword [ebp + 0x70]
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
mov eax, dword [edx]
mov dword [ebp + 4], eax
mov ecx, dword [ebp + 0x6c]
add ecx, 4
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x6c]
mov eax, dword [edx]
mov dword [ebp], eax
mov ecx, dword [ebp + 0x6c]
add ecx, 4
mov dword [ebp + 0x6c], ecx
mov dword [ebp + 0x4c], 0
jmp 0x100027d2
Function at 0x100029d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*8 + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
jmp 0x10002a30
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x10002a78
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.10002968
add esp, 8
cmp eax, dword [ebp + 0x10]
jne 0x10002a76
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x10002a7a
jmp 0x10002a27
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10002a88
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 0xc
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
je 0x10002aff
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
push eax
call fcn.10002518
add esp, 4
cmp dword [ebp + 8], eax
jne 0x10002af5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18]
jmp 0x10002b01
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x10002acb
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100041b0
Capabilities:
Connect to wmi namespace via wbemlocator
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023a06
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1003406c]
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
xor bl, bl
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0x100267e8
push 1
push 0
push 0x100267d8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10004307
push str.rootWMI
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x10004245
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0x10024228
push 0x10033194
lea eax, [ebp - 0x28]
movq qword [ebp - 0x24], xmm0
push eax
mov dword [ebp - 0x24], str.bad_allocation
call fcn.1000f434
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10004266
lea ecx, [ebp - 0x64]
call fcn.10003ff0
push 0x10033208
lea eax, [ebp - 0x64]
push eax
call fcn.1000f434
mov ecx, dword [eax]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x100042f3
mov eax, dword [edi]
lea edx, [ebp - 0x1c]
push edx
push 0x100241e0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x100042df
push 0
push 0
push 3
push 4
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x100042cb
push str._ASUSWMIManager___ConnectToServer__successfully.
mov bl, 1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10004312
push str._ASUSWMIManager___ConnectToServer__CoSetProxyBlanket_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10004312
push str._ASUSWMIManager___ConnectToServer__ConnectServer_failed1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10004312
push str._ASUSWMIManager___ConnectToServer__QueryInterface_failed2
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10004312
push str._ASUSWMIManager___ConnectToServer__CoCreateInstance_failed3
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10004326
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
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.1000c5be
mov esp, ebp
pop ebp
ret
Function at 0x10009410
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023d4b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x1003406c]
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 eax, dword [ebp + 8]
push str.asio_hw_fun47
mov dword [ebp - 0x228], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x21c], esi
test esi, esi
jne 0x10009490
xorps xmm0, xmm0
mov dword [ebp - method.std::runtime_error.virtual_0], 0x10024228
push 0x10033194
lea eax, [ebp - 0x244]
movq qword [ebp - 0x240], xmm0
push eax
mov dword [ebp - 0x240], str.bad_allocation
call fcn.1000f434
mov dword [ebp - 4], 0
movups xmm0, xmmword [str.LdnIndexDataArray]
mov eax, dword [0x1003145c]
push 0x1e4
movups xmmword [ebp - 0x218], xmm0
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x1f4]
movups xmm0, xmmword [0x1003144c]
push 0
push eax
movups xmmword [ebp - 0x208], xmm0
call fcn.1000f4b0
mov eax, dword [edi + 4]
lea edx, [ebp - 0x224]
add esp, 0xc
mov dword [ebp - 0x224], 0
xor bl, bl
mov ecx, dword [eax]
push 0
push edx
push 0
push esi
push eax
call dword [ecx + 0x4c]
test eax, eax
js 0x100095d0
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
push edx
mov dword [ebp - 0x220], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x100095c4
push dword [ebp - 0x228]
mov eax, 8
mov word [ebp - 0x238], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 8
mov dword [ebp - 0x230], eax
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x220]
push edx
push 0
lea edx, [ebp - 0x218]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x100095ab
mov eax, dword [edi]
lea edx, [ebp - 0x228]
push 0
push edx
push dword [ebp - 0x220]
mov dword [ebp - 0x228], 0
mov ecx, dword [eax]
push 0
push 0
push esi
push dword [edi + 8]
push eax
call dword [ecx + 0x60]
test eax, eax
js 0x100095a0
push str._ASUSWMIManager___BurstWriteSIO__ExecMethod_Successful.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov bl, 1
jmp 0x100095ab
push str._ASUSWMIManager___BurstWriteSIO__ExecMethod_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, bl
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.1000c5be
mov esp, ebp
pop ebp
ret 4