joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433de0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46cd38
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x433e19
inc eax
mov dword [esi + 0x10], eax
jmp 0x433f2c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x433e2d
mov eax, 0xffffffc7
jmp 0x433f2e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x433e3e
cmp dword [esi + 8], eax
jne 0x433e2d
cmp dword [esi + 8], eax
jne 0x433e57
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x433e57
mov eax, 0xffffffc7
jmp 0x433f2e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x433e6b
push eax
mov ecx, ebx
call fcn.00433610
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00406d90
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x433e9c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00406db0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00432d80
test eax, eax
mov dword [esp + 0x38], eax
je 0x433ecf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x982798
call fcn.00406f90
mov eax, dword [esp + 0x38]
jmp 0x433f2e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00433c40
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x433f13
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00433c60
mov esi, eax
test esi, esi
jne 0x433f43
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00433c40
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x433ee5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x982798
call fcn.00406f90
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x982798
call fcn.00406f90
mov eax, esi
jmp 0x433f2e

Function at 0x437060
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4370c0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4370c0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4370c0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4370c0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x437100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43d020
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004664cd
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043c9c0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004663fb
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00462cbf
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00462cbf
push 1
push 0
push 0
mov ecx, esi
call fcn.00462c67
push 1
push 0
push 1
mov ecx, esi
call fcn.00462c67
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046653f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43d1a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004664cd
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043c9c0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004663fb
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43d264
cmp dword [esp + 0x40], 1
jne 0x43d262
cmp ecx, eax
jge 0x43d264
mov eax, ecx
cmp eax, 0xc8
jge 0x43d270
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043d020
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046653f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43d9e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d3f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004610dc
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00466775
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00467c91
test eax, eax
je 0x43dafc
mov ecx, dword [esp + 0x3c]
call fcn.004667a2
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43dac0
push edi
mov ecx, esi
call fcn.00463e0a
mov ecx, esi
call fcn.0043dc60
cmp dword [esp + 0x38], 1
jne 0x43daf5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00463f45
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x440530
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x440563
push esi
call fcn.00443640
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44055c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4405e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4405d2
mov eax, dword [esi + 8]
test eax, eax
je 0x440587
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4405ce
cmp eax, 2
je 0x4405d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44057a
cmp eax, 3
je 0x4405ad
cmp eax, 1
jne 0x44057a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44057a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44057a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00440610
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4405f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00440610
add esp, 4
pop esi
ret

Function at 0x44c120
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44c1c3
test eax, eax
jbe 0x44c1c3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44c1c3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44c16e
xor esi, esi
jmp 0x44c174
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44c19f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0044e0d0
add esi, eax
push esi
mov ebx, esi
call fcn.0044e0d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44c180
pop ebp
test edi, edi
pop edi
jne 0x44c1c3
test ebx, ebx
je 0x44c1c3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00450c60
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44c2e5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44c3fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44c3fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046152e
mov esi, eax
test esi, esi
je 0x44c3fd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44c3fd
mov ecx, esi
call fcn.0044c270
cmp edi, eax
jge 0x44c3fd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44c383
mov dword [esp + 0x34], 1
jmp 0x44c3de
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44c3fd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044b870
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x461ed2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x461f0a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045ff89
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045ff61
jmp 0x461f16
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4635c7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x463609
call fcn.0046907c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463609
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463600
xor eax, eax
jmp 0x463611
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00463617
pop edi
pop esi
pop ebx
ret 4
Function at 0x4695ac
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4695da
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4695f8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469512
jmp 0x4695f8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4695f8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469512
test edi, edi
mov eax, edi
jne 0x4695e2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100044e0
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x108
mov eax, dword [0x101c1b88]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push str.PrivilegeStat
push str.ConfigPrivilegeMode
call sym.IsaManage.dll_IsiReadDb_l
push 0x103
mov esi, eax
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.1011e8d0
add esp, 0x14
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1014b070
add esp, 0xc
cmp esi, 1
pop esi
jne 0x10002e87
push 0x101a7c70
push 0x458
push str.To_PrivilegeMode
push str..AgentStart.c
push 3
call fcn.1014edc0
push 0x101a7c70
push 0x458
push str.To_PrivilegeMode
push str..AgentStart.c
push 3
call fcn.1014f750
add esp, 0x28
push 4
push 0x101a7cc8
push 0x101a7cd0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x10002f22
push 0
push str.PrivilegeStat
push str.ConfigPrivilegeMode
call sym.IsaManage.dll_IsiWriteDb_l
add esp, 0xc
call fcn.10014ce0
mov eax, dword [0x101d8f38]
test eax, eax
je 0x10002e5a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x101d8f38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x101d8f38], 0
cmp byte [esp], 0
je 0x10002f22
push 0x101a759c
lea eax, [esp + 4]
push 0xffffffffffffffff
push eax
call fcn.1014e560
add esp, 0xc
test eax, eax
je 0x10002f22
push 0
jmp 0x10002f15
push str._SmpAgent
push 0x470
push str.To_PrivilegeMode
push str..AgentStart.c
push 3
call fcn.1014edc0
push str._SmpAgent
push 0x470
push str.To_PrivilegeMode
push str..AgentStart.c
push 3
call fcn.1014f750
mov ecx, dword [0x101d8f3c]
add esp, 0x28
push 0
push 0x10003bc0
push 0
push 0x69
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
jle 0x10002f22
push 1
push str.PrivilegeStat
push str.ConfigPrivilegeMode
call sym.IsaManage.dll_IsiWriteDb_l
add esp, 0xc
call fcn.10014c70
cmp byte [esp], 0
je 0x10002f22
push 0x101a759c
lea edx, [esp + 4]
push 0xffffffffffffffff
push edx
call fcn.1014e560
add esp, 0xc
test eax, eax
je 0x10002f22
push 8
push 0x101a7530
call sym.IsaManage.dll_IsiSetTrayMenu_State
add esp, 8
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1011a380
add esp, 0x108
ret
jmp 0x10002d60
Function at 0x10004840
Capabilities:
Delete registry key
Manipulate safe mode programs
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x101c1b88]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push 0x7f
lea eax, [esp + 0xd]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call fcn.1011e8d0
push str.ASM_StartInSafeStyle
push esi
call fcn.1015adb0
mov esi, eax
mov eax, dword [0x101d9388]
add esp, 0x14
test eax, eax
jne 0x1000489a
push str.SOFTWARESMP
push reloc.WS2_32.dll_bind
call fcn.1014d280
add esp, 8
mov dword [0x101d9388], eax
push 0x80
lea ecx, [esp + 0xc]
push ecx
push str.SmpSvc
push 0
push eax
call fcn.1014d750
lea edx, [esp + 0x1c]
push edx
call fcn.10154ac0
add esp, 0x18
test eax, eax
je 0x10004a20
cmp esi, 1
jne 0x100049ac
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebp
push edi
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push 0x101a8468
push reloc.WS2_32.dll_bind
mov dword [esp + 0x20], 0
call esi
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x10004923
mov edx, dword [esp + 0xc]
push 7
push str.Service
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call ebp
lea ecx, [esp + 0xc]
push ecx
push 0xf003f
push 0
push 0x101a84a4
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x1000495b
mov eax, dword [esp + 0xc]
push 7
push str.Service
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call ebp
push str.Setup_for_SafeBoot_ok
push 0x997
push str.SetupForSafeBoot
push str..AgentStart.c
push 3
call fcn.1014edc0
push str.Setup_for_SafeBoot_ok
push 0x997
push str.SetupForSafeBoot
push str..AgentStart.c
push 3
call fcn.1014f750
add esp, 0x28
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.1011a380
add esp, 0x188
ret
push 0xff
lea edx, [esp + 0x8d]
push 0
push edx
mov byte [esp + 0x94], 0
call fcn.1011e8d0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x98]
push str.SYSTEMCurrentControlSetControlSafeBootMinimal_s
push ecx
call fcn.1011a63e
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0x18
lea edx, [esp + 0x88]
push edx
push reloc.WS2_32.dll_bind
call esi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x8c]
push str.SYSTEMCurrentControlSetControlSafeBootNetwork_s
push ecx
call fcn.1011a63e
add esp, 0xc
lea edx, [esp + 0x88]
push edx
push reloc.WS2_32.dll_bind
call esi
mov ecx, dword [esp + 0x188]
pop esi
xor ecx, esp
call fcn.1011a380
add esp, 0x188
ret
Function at 0x10005c10
Capabilities:
Get session user name

Disassembly:
sub esp, 0x21c
mov eax, dword [0x101c1b88]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
push 0x103
lea eax, [esp + 0x11d]
push 0
push eax
mov byte [esp + 0x124], 0
call fcn.1011e8d0
push 0x103
lea ecx, [esp + 0x25]
push 0
push ecx
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], 0
mov byte [esp + 0x2c], 0
call fcn.1011e8d0
push 0x101a8b28
push 0xb28
push str.CheckAgentUserEnvironment
push str..AgentStart.c
push 3
mov dword [esp + 0x3c], 0x104
call fcn.1014edc0
push 0x101a8b28
push 0xb28
push str.CheckAgentUserEnvironment
push str..AgentStart.c
push 3
call fcn.1014f750
add esp, 0x40
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x101a8b68
push 0xb2b
push str.CheckAgentUserEnvironment
push str..AgentStart.c
push 3
call fcn.1014edc0
add esp, 0x1c
call esi
push eax
lea edx, [esp + 0x18]
push edx
push 0x101a8b68
push 0xb2b
push str.CheckAgentUserEnvironment
push str..AgentStart.c
push 3
call fcn.1014f750
call fcn.10154b60
push eax
lea eax, [esp + 0x28]
push eax
push 4
lea ecx, [esp + 0x2c]
push ecx
push str.ProxyEnable
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
call fcn.1014d420
call fcn.10154b60
neg eax
sbb eax, eax
add eax, 1
push eax
lea edx, [esp + 0x48]
push edx
push 0x103
lea eax, [esp + 0x15c]
push eax
push str.ProxyOverride
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
call fcn.1014d420
add esp, 0x54
cmp dword [esp + 4], 1
pop esi
jne 0x10005dc5
lea ecx, [esp + 0x114]
push str._local_
push ecx
call fcn.1011a86d
add esp, 8
test eax, eax
je 0x10005dc5
push 0x101a8bf0
push 0xb3e
push str.CheckAgentUserEnvironment
push str..AgentStart.c
push 1
call fcn.1014edc0
push 0x101a8bf0
push 0xb3e
push str.CheckAgentUserEnvironment
push str..AgentStart.c
push 1
call fcn.1014f750
add esp, 0x28
push str._Environment_
push 0xb42
push str.CheckAgentUserEnvironment
push str..AgentStart.c
push 3
call fcn.1014edc0
push str._Environment_
push 0xb42
push str.CheckAgentUserEnvironment
push str..AgentStart.c
push 3
call fcn.1014f750
mov ecx, dword [esp + 0x240]
add esp, 0x28
xor ecx, esp
mov eax, 1
call fcn.1011a380
add esp, 0x21c
ret
Function at 0x1000a8f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x108
mov eax, dword [0x101c1b88]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.1011e8d0
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.10155740
push str.SmpAgent
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.1014e0f0
push str.config.xml
lea eax, [esp + 0x24]
push eax
push 0x101a864c
mov ecx, eax
push 0x103
push ecx
call fcn.1011a6b9
add esp, 0x34
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1000a9bb
push 0x101a98cc
push 0x547
push 0x101a98e0
push str..If_Database.c
push 2
call fcn.1014edc0
push 0x101a98cc
push 0x547
push 0x101a98e0
push str..If_Database.c
push 2
call fcn.1014f750
add esp, 0x28
xor eax, eax
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1011a380
add esp, 0x108
ret
push 0x54b
push 0x101a98e0
lea eax, [esp + 8]
push str..If_Database.c
push eax
call fcn.1015bbe0
mov ecx, dword [esp + 0x114]
add esp, 0x10
xor ecx, esp
call fcn.1011a380
add esp, 0x108
ret

Function at 0x1000aab0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x108
mov eax, dword [0x101c1b88]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.1011e8d0
push 0
push str.Internal_Config.xml
call sym.IsaManage.dll_IsiUpdateEx
lea ecx, [esp + 0x14]
push 0x104
push ecx
call fcn.10155740
push str.SmpAgent
lea edx, [esp + 0x20]
push 0x104
push edx
call fcn.1014e0f0
push str.Internal_Config.xml
lea eax, [esp + 0x2c]
push eax
push 0x101a864c
mov ecx, eax
push 0x103
push ecx
call fcn.1011a6b9
add esp, 0x3c
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1000ab87
push 0x101a9908
push 0x570
push str.IsiGetInternalConfig
push str..If_Database.c
push 2
call fcn.1014edc0
push 0x101a9908
push 0x570
push str.IsiGetInternalConfig
push str..If_Database.c
push 2
call fcn.1014f750
add esp, 0x28
xor eax, eax
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1011a380
add esp, 0x108
ret
push 0x574
push str.IsiGetInternalConfig
lea eax, [esp + 8]
push str..If_Database.c
push eax
call fcn.1015bbe0
mov ecx, dword [esp + 0x114]
add esp, 0x10
xor ecx, esp
call fcn.1011a380
add esp, 0x108
ret
Function at 0x1000af10
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push 0
push 0x101a995c
call sym.IsaManage.dll_IsiUpdateEx
add esp, 8
push 0x101a995c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1000af87
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NeedDriver
push esi
call edi
push str.UnNeedDriver
push esi
mov dword [0x101d939c], eax
call edi
push str.UnNeedAllDriver
push esi
mov dword [0x101d93a0], eax
call edi
push str.SetDriverDebugFlag
push esi
mov dword [0x101d93a4], eax
call edi
push str.SetDriverPolicy
push esi
mov dword [0x101d93a8], eax
call edi
push str.StartupDriverInSafeBoot
push esi
mov dword [0x101d93ac], eax
call edi
mov dword [0x101d93b0], eax
pop edi
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
pop esi
jl 0x1000afca
cmp dword [0x101d93b0], 0
je 0x1000afca
cmp dword [0x101d8f40], 0
jne 0x1000afbb
call fcn.1014b3e0
mov dword [0x101d8f44], eax
mov dword [0x101d8f40], 1
cmp dword [0x101d8f44], 0
je 0x1000afca
jmp dword [0x101d93b0]
ret