joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d760
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0xc], eax
call fcn.0048ae10
push 0x63fa00
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x63fa18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x63fa30
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
mov word [ebp - 0x420], ax
push 0x40e
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.00568440
add esp, 0xc
push 0x207
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x48d805
cmp dword [ebp - 4], 0x7a
je 0x48d805
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5a05c0
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x48d830
push 0x410
lea edx, [ebp - 0x420]
push edx
call fcn.004020c0
add esp, 8
push 0x207
push 0x5a05e4
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea ecx, [ebp - 0x420]
push ecx
push str.conf_file_path_s_r_n
push 0x5a0634
call fcn.0040c230
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
mov ecx, 0x6412b4
call fcn.0040e620
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48d8a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5a0648
push 2
push 0x5a069c
call fcn.0040c290
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5a06b0
push str.InitParseConf
call fcn.0040c230
add esp, 0xc
xor eax, eax
jmp 0x48d8b2
lea ecx, [ebp - 0x420]
push ecx
call fcn.0048d130
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret

Function at 0x491220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x491234
mov eax, 1
jmp 0x491274
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x10], edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x491820
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x491272
mov eax, 1
jmp 0x491274
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x491280
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x49133c
mov edx, dword [ebp - 0x14]
mov byte [edx], 1
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x4912f4
push 0x1f4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4912dd
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], 0
mov byte [ebp - 0x10], 0
xor edx, edx
mov dword [ebp - 0xf], edx
mov dword [ebp - 0xb], edx
mov byte [ebp - 7], dl
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
je 0x491321
push 0xa
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
call fcn.00491860
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x59f2a0
push 0x59f2ac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret

Function at 0x491710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], ecx
push 0x103
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x491767
cmp dword [ebp - 4], 0x7a
je 0x491767
mov ecx, dword [ebp - 0xc]
add ecx, 0x2c
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x59f2fc
mov edx, dword [ebp - 0xc]
add edx, 0x2c
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
jmp 0x491792
push 0x104
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
call fcn.004020c0
add esp, 8
push 0x103
push 0x59f310
mov ecx, dword [ebp - 0xc]
add ecx, 0x2c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edx, dword [ebp - 0xc]
add edx, 0x2c
push edx
push str.conf_file_path_S_r_n
push 0x59f34c
call fcn.0040c230
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4917d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x59f368
push str.CSelfLearn::IniSelfLearn
call fcn.0040c230
add esp, 0xc
xor eax, eax
jmp 0x49180c
mov ecx, 0x641338
call fcn.004a2040
mov esi, eax
mov ecx, 0x64139c
call fcn.004a2040
add esi, eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], esi
mov ecx, 0x641448
call fcn.004a2040
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x492e90
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00492640
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp dword [0x6408f4], 0
jne 0x492ecd
cmp dword [0x6408f0], 0
je 0x492ecd
mov eax, dword [0x6408f0]
mov dword [0x6408f4], eax
cmp dword [0x6408f4], 0
je 0x492f4a
mov ecx, dword [0x6408f4]
cmp dword [ecx + 8], 0
je 0x492f4a
mov edx, dword [0x6408f4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 8]
jb 0x492f4a
mov ecx, dword [0x6408f4]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x492f4a
mov eax, dword [0x6408f4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jb 0x492f19
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x492f20
xor eax, eax
jmp 0x49306d
mov ecx, dword [0x6408f4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00568440
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x49306d
mov edx, dword [0x6408f0]
mov dword [0x6408f4], edx
jmp 0x492f66
mov eax, dword [0x6408f4]
mov ecx, dword [eax + 4]
mov dword [0x6408f4], ecx
cmp dword [0x6408f4], 0
je 0x492fa6
cmp dword [0x6408f4], 0
je 0x492fa4
mov edx, dword [0x6408f4]
cmp dword [edx + 8], 0
je 0x492fa4
mov eax, dword [0x6408f4]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jb 0x492fa4
mov edx, dword [0x6408f4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x492fa4
jmp 0x492efe
jmp 0x492f58
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00492e40
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49306b
mov eax, dword [ebp - 4]
mov dword [0x6408f4], eax
mov ecx, dword [0x6408f4]
mov dword [ecx], 0x52727464
mov edx, dword [0x6408f4]
mov dword [edx + 8], 0
mov eax, dword [0x6408f4]
mov ecx, dword [0x6408f0]
mov dword [eax + 4], ecx
mov edx, dword [0x6408f4]
mov dword [0x6408f0], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x6408f4]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x38c
jmp 0x493037
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 1
jle 0x49305b
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
jmp 0x49302e
mov eax, dword [0x6408f4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x492efe
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4930c0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x4930d5
xor eax, eax
jmp 0x49314a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x493102
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x493145
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x493143
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x49313f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x493143
xor eax, eax
jmp 0x49314a
jmp 0x4930f9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x493250
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x640900], eax
je 0x49326e
mov eax, 0x10dd
jmp 0x49334f
mov eax, dword [0x640910]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4932ec
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4932ca
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x4932ca
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00493080
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.005557fe
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x493276
mov dword [0x640910], 0
call fcn.00492bc0
mov ecx, dword [0x64090c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x493339
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005557fe
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x493304
mov dword [0x64090c], 0
mov dword [0x640900], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4937b0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x640904], 0
je 0x4937c9
mov eax, dword [0x640904]
jmp 0x493869
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x4937db
xor eax, eax
jmp 0x493869
push 8
call fcn.005557c4
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x493831
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x49381a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.005557fe
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x640904], eax
mov dword [0x640908], 0
mov eax, dword [ebp - 4]
jmp 0x493869
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x49384b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4937fb
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x64090c]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x64090c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x495360
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea ecx, [ebp + 8]
call fcn.00406290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x495398
mov dword [ebp - 0x10], 1
lea ecx, [ebp + 8]
call fcn.00406270
lea ecx, [ebp + 0x24]
call fcn.004060d0
mov eax, dword [ebp - 0x10]
jmp 0x4954e6
lea ecx, [ebp + 8]
call fcn.00406290
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4953cf
mov dword [ebp - 0x14], 4
lea ecx, [ebp + 8]
call fcn.00406270
lea ecx, [ebp + 0x24]
call fcn.004060d0
mov eax, dword [ebp - 0x14]
jmp 0x4954e6
push 0
push 0x59e2f4
lea ecx, [ebp + 0x24]
call fcn.00422ea0
cmp eax, 0xffffffff
je 0x4953fb
mov dword [ebp - 8], 2
mov eax, dword [ebp - 0xc]
and eax, dword [ebp - 8]
jne 0x4953fb
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
push 0
push 0x59e2f8
lea ecx, [ebp + 0x24]
call fcn.00422ea0
cmp eax, 0xffffffff
je 0x49542a
mov dword [ebp - 8], 2
mov edx, dword [ebp - 0xc]
and edx, dword [ebp - 8]
cmp edx, dword [ebp - 8]
jne 0x49542a
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 0
push 0x59e2fc
lea ecx, [ebp + 0x24]
call fcn.00422ea0
cmp eax, 0xffffffff
je 0x495456
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0xc]
and ecx, dword [ebp - 8]
jne 0x495456
mov edx, dword [ebp - 0xc]
or edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
push 0
push 0x59e300
lea ecx, [ebp + 0x24]
call fcn.00422ea0
cmp eax, 0xffffffff
je 0x495485
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
and eax, dword [ebp - 8]
cmp eax, dword [ebp - 8]
jne 0x495485
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
lea ecx, [ebp + 8]
call fcn.00406290
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4954ba
mov dword [ebp - 0x18], 0
lea ecx, [ebp + 8]
call fcn.00406270
lea ecx, [ebp + 0x24]
call fcn.004060d0
mov eax, dword [ebp - 0x18]
jmp 0x4954e6
mov dword [ebp - 0x1c], 2
lea ecx, [ebp + 8]
call fcn.00406270
lea ecx, [ebp + 0x24]
call fcn.004060d0
mov eax, dword [ebp - 0x1c]
jmp 0x4954e6
mov esp, ebp
pop ebp
ret
Function at 0x49d340
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
push 0x6077d8
push 1
push 0
push 0x6077c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x49d3ac
mov ecx, dword [ebp - 0x14]
push ecx
push str.HostProtect::firewall_state_CoCreateInstance_failed:_0x_08lx_n
push 0x59d678
call fcn.0040c230
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov eax, 9
jmp 0x49d51e
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x49d3fc
mov edx, dword [ebp - 0x14]
push edx
push str.HostProtect::firewall_state_get_LocalPolicy_failed:_0x_08lx_n
push 0x59d694
call fcn.0040c230
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 8], 0
mov eax, 9
jmp 0x49d51e
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x49d461
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x14]
push edx
push str.HostProtect::firewall_state_get_CurrentProfile_failed:_0x_08lx_n
push str.HostProtect::firewall_state
call fcn.0040c230
add esp, 0xc
mov eax, 9
jmp 0x49d51e
xor eax, eax
mov word [ebp - 0x10], ax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x20]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x49d4c1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 8], 0
movsx eax, word [ebp - 0x10]
test eax, eax
je 0x49d4d4
mov ecx, dword [ebp + 8]
mov dword [ecx], 1
jmp 0x49d4dd
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x49d770
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
lea ecx, [ebp - 8]
push ecx
push 0x6077d8
push 1
push 0
push 0x6077c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x49d7cd
mov edx, dword [ebp - 0xc]
push edx
push str.CoCreateInstance_failed:_0x_08lx_n
call fcn.00560da1
add esp, 8
jmp 0x49d829
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x49d7fd
mov edx, dword [ebp - 0xc]
push edx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.00560da1
add esp, 8
jmp 0x49d829
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x49d829
mov edx, dword [ebp - 0xc]
push edx
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.00560da1
add esp, 8
cmp dword [ebp - 4], 0
je 0x49d83d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 8], 0
je 0x49d851
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4a0830
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0x607828
push 1
push 0
push 0x607818
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4a0872
mov ecx, dword [ebp - 4]
push ecx
push str.HostProtect::WFCOMInitialize_CoCreateInstance_for_INetFwPolicy2_failed:_0x_08lx_n
push str.WFCOMInitialize
call fcn.0040c230
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4a46b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 1
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 1
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0
je 0x4a4745
push 0xbb8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a471c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 4]
push edx
push str._ProcessProtect_Wait_trace_udp_thread_fail__ret_d__err_d._n
push 0x59afcc
call fcn.0040c230
add esp, 0x10
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x4a4739
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 4]
push edx
push str._ProcessProtect_Wait_trace_udp_thread_thread_exit_OK..._n
push 0x59b07c
call fcn.0040c230
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [edx], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x4a47ca
push 0xbb8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a47a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 8]
push eax
push 0x59b0a0
push 0x59b124
call fcn.0040c230
add esp, 0x10
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x4a47bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 8]
push eax
push str._ProcessProtect_Wait_trace_process_thread_thread_exit_OK..._n
push str.ProcessProtect::ProcessProtect
call fcn.0040c230
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0
mov esp, ebp
pop ebp
ret

Function at 0x4a4800
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x4a4b10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx], eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x4a4b30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0xffffffff
je 0x4a4864
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4a4864
mov eax, 1
jmp 0x4a4866
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4a51b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a5226
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00492060
add esp, 8
test eax, eax
jne 0x4a5211
mov eax, dword [ebp - 0x238]
jmp 0x4a5232
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 8], eax
jmp 0x4a51ec
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret