joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f190
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ffa28
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, 1
mov dword [esp + 0x6c], ebx
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
call fcn.005c8fb0
xor eax, eax
add esp, 0xc
lea edx, [esp + 0xc]
xor ecx, ecx
push edx
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], ebx
mov word [esp + 0x54], cx
call fcn.0040b8d0
mov byte [esp + 0x6c], 2
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push eax
push ecx
push str.__s___s
lea edi, [esp + 0x18]
call fcn.0042a2d0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp dword [eax - 4], ebx
jle 0x43f237
mov edx, dword [eax - 0xc]
push edx
mov eax, edi
push eax
call fcn.0040de10
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x43f29a
mov byte [esp + 0x6c], bl
lea ecx, [esp + 0xc]
call fcn.0040ba40
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x74]
call fcn.0040ba40
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x78]
call fcn.0040ba40
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x64
ret
mov byte [esp + 0x6c], bl
lea ecx, [esp + 0xc]
call fcn.0040ba40
mov byte [esp + 0x6c], 0
lea ecx, [esp + 0x74]
call fcn.0040ba40
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x78]
call fcn.0040ba40
mov eax, ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x64
ret
Function at 0x43f810
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5fa210
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov dword [esp + 0x10], 1
cmp byte [0x72a7bc], 0
mov dword [esp + 4], 0
je 0x43f856
cmp byte [esp + 0x24], 0
mov eax, 0x102
jne 0x43f85b
mov eax, 2
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 8]
push ecx
push 0
push eax
push 0
push 0
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43f8a5
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0x24]
push eax
push 4
push ecx
push 0
push edx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x10], 0
lea ecx, [esp + 0x18]
call fcn.0040ba40
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0040ba40
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret

Function at 0x43fa80
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x604018
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea eax, [esp + 4]
push eax
mov ecx, str.SoftwareVibraniumHome20AGlobal
call fcn.0040b990
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0xc]
push 1
push str.Renewed
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 4]
call fcn.0040ba40
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x43fb00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x603fdd
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x81c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x824], ebx
push esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
call fcn.0040b8d0
mov dword [esp + 0x824], ebx
lea eax, [esp + 0xc]
push eax
mov ecx, str.SoftwareVibraniumHome20AGlobal
mov dword [esp + 0x14], 1
call fcn.0040b990
mov dword [esp + 0x824], 1
push 0x7fe
lea edx, [esp + 0x1e]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x24], cx
call fcn.005c8fb0
mov edx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push str.Renewed
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43fbf1
mov eax, dword [esp + 8]
shr eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x18], cx
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43fbd2
sub eax, edx
sar eax, 1
lea edx, [esp + 0x18]
mov ebx, eax
push edx
mov eax, esi
call fcn.0040fac0
xor ebx, ebx
mov byte [esp + 0x824], bl
lea ecx, [esp + 0xc]
call fcn.0040ba40
mov eax, esi
mov ecx, dword [esp + 0x81c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.005c397a
add esp, 0x820
ret
Function at 0x4414d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60c40d
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x1ac], eax
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
xor eax, eax
push 0x18e
push eax
lea ecx, [esp + 0x26]
push ecx
mov word [esp + 0x28], ax
call fcn.005c8fb0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor eax, eax
mov dword [0x729b4c], eax
mov dword [0x729b50], eax
mov dword [0x729b54], eax
mov dword [0x729b58], eax
mov eax, 2
push 0x57
mov word [0x729b4c], ax
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [esp + 4]
push ecx
mov word [0x729b4e], ax
call fcn.0043ee40
add esp, 4
mov dword [esp + 0x1c0], 0
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sar eax, 2
test eax, eax
je 0x4415a6
ja 0x441594
call fcn.005c475a
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x729b50], eax
mov dword [esp + 0x1c0], 0xffffffff
lea eax, [esp + 4]
push eax
call fcn.0041cb00
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.005c397a
mov esp, ebp
pop ebp
ret
Function at 0x44bbf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5fd74d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
lea eax, [esi + 0xc]
push eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
call fcn.0044bf40
xor eax, eax
mov dword [esp + 0x10], eax
mov byte [esi + 0x30], al
mov byte [esi + 0x31], al
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8

Function at 0x44ed40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5ff7fb
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x804], eax
push ebx
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x810]
mov dword fs:[0], eax
push esi
mov dword [esp + 0xc], esi
call fcn.0040b8d0
mov dword [esp + 0x818], 0
push 0x400
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.005c6653
add esp, 8
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0xc]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44edc0
sub eax, edx
sar eax, 1
lea ecx, [esp + 0xc]
mov ebx, eax
push ecx
mov eax, esi
call fcn.0040fac0
push 9
push 0x6d1bcc
push esi
call fcn.004122f0
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44edfe
mov byte [0x729e78], 1
mov dword [esp + 0x818], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x810]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.005c397a
add esp, 0x814
ret

Function at 0x44ee30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x603a22
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x808], eax
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x810]
mov dword fs:[0], eax
mov eax, dword [esp + 0x820]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp + 0x818], 2
mov eax, dword [eax]
mov ecx, dword [esp + 0x828]
mov edx, dword [esp + 0x824]
push eax
push 0x400
lea eax, [esp + 0x14]
push eax
push ecx
push edx
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea ecx, [esp + 0x10]
call fcn.0040b990
mov eax, 1
mov dword [esp + 4], eax
mov byte [esp + 0x818], al
lea ecx, [esp + 0x824]
call fcn.0040ba40
mov byte [esp + 0x818], 0
lea ecx, [esp + 0x828]
call fcn.0040ba40
mov eax, esi
mov ecx, dword [esp + 0x810]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.005c397a
add esp, 0x818
ret 0xc
Function at 0x44ef10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5ff3a8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [0x72b29c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0040ba40
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x44f0a0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x6081b6
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov dword [esp + 0x1c], esi
call fcn.0040b8d0
xor edi, edi
mov dword [esp + 0x230], edi
push 0x206
lea ecx, [esp + 0x22]
xor eax, eax
push edi
push ecx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov word [esp + 0x28], ax
call fcn.005c8fb0
add esp, 0xc
push 0x104
lea edx, [esp + 0x20]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44f136
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x1c]
mov ebx, eax
push ecx
mov eax, esi
call fcn.0040fac0
mov eax, dword [esi]
push 0x5c
push eax
call fcn.005c6653
add esp, 8
test eax, eax
jne 0x44f169
or eax, 0xffffffff
jmp 0x44f16d
sub eax, dword [esi]
sar eax, 1
lea edx, [esp + 0x14]
push edx
push esi
mov ecx, eax
xor edx, edx
call fcn.00442c30
mov byte [esp + 0x230], 1
mov edi, esi
call fcn.0040ddb0
mov byte [esp + 0x230], 0
lea ecx, [esp + 0x14]
call fcn.0040ba40
push 6
push str.urldb
push esi
call fcn.004122f0
push str.LDll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 8], eax
test eax, eax
je 0x44f204
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LaOpenDatabase
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
push str.LaGetValue
push eax
call edi
mov ecx, dword [esi + 8]
push str.LaSetValue
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 8]
push str.LaDeleteValue
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
push str.LaCloseDatabase
push eax
call edi
mov dword [esi + 0x1c], eax
call fcn.0044f240
mov dword [esp + 0x230], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.005c397a
add esp, 0x224
ret
Function at 0x44f7c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6114b3
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x711ab8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x6d1d44
push 0x7d1
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x44f92c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x54], edi
cmp edi, ebx
je 0x44f92c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x44f925
push esi
push eax
lea ecx, [ebp - 0x4c]
call fcn.00441e10
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0xe0]
push edx
lea ecx, [ebx + 1]
call fcn.00450a70
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 3
lea ecx, [ecx]
lea eax, [ebp - 0x30]
push eax
lea esi, [ebp - 0xe0]
call fcn.004517d0
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 8]
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x44f8ff
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x44f8b8
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x50]
push edx
call fcn.0040b760
mov byte [ebp - 4], 4
push 0x6d1d4c
lea eax, [ebp - 0x50]
call fcn.0041cd10
mov edi, eax
mov eax, 0x6d1d4c
call fcn.0041cd70
mov ebx, dword [ebp - 0x58]
add ebx, 0x58
lea eax, [ebp - 0x50]
call fcn.00450a40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.0040b810
xor ebx, ebx
mov edi, dword [ebp - 0x54]
jmp 0x44f880
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.0040ac20
mov byte [ebp - 4], 1
lea eax, [ebp - 0xe0]
call fcn.0044f960
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4c]
call fcn.0040ac20
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c397a
mov esp, ebp
pop ebp
ret 4
Function at 0x453800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6037e1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.0040d0d0
mov dword [esp + 0x34], 1
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040f4b0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.0040d0d0
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 0x10
jb 0x4538a1
mov edx, dword [esp + 0x14]
push edx
call fcn.005c396f
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x4586b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6102b2
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x711ab8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x6d21bc
push 0x4e28
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4588a8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 1
test eax, eax
je 0x458899
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x458899
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004b7f60
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3c]
call fcn.00443930
test al, al
jne 0x45888d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00441e10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
push ecx
call fcn.00443eb0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x34]
push edx
mov ecx, 0x6d21c8
call fcn.0040b760
mov bl, 5
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x458799
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x38]
push eax
call fcn.0040b760
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.00458560
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.0040b810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040b810
xor edi, edi
mov dword [ebp - 0x44], edi
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x54]
sar ecx, 2
cmp edi, ecx
jae 0x458871
lea esi, [ebp - 0x60]
call fcn.00424a10
xor ecx, ecx
mov edx, 0x6d21cc
mov esi, eax
call fcn.0041c8a0
mov ebx, eax
test ebx, ebx
jle 0x45886b
lea eax, [ebx + 1]
lea edx, [ebp - 0x40]
push edx
lea esi, [ebp - 0x60]
mov dword [ebp - 0x34], eax
call fcn.00424a10
push eax
mov eax, dword [ebp - 0x34]
mov edx, eax
call fcn.00451980
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x38]
push eax
call fcn.00424a10
mov ecx, ebx
mov edx, eax
call fcn.0045a220
mov byte [ebp - 4], 8
push 0x72a7ec
mov ecx, eax
call fcn.0045a3f0
mov ebx, eax
mov eax, dword [ebp - 0x34]
call fcn.0040dcb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.0040b810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0040b810
inc edi
jmp 0x4587d3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
push ecx
call fcn.0041cb00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.0040ac20
mov esi, dword [ebp - 0x48]
mov byte [ebp - 4], 1
lea ebx, [ebp - 0x3c]
call fcn.004c2420
mov byte [ebp - 4], 0
test esi, esi
je 0x4588a8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c397a
mov esp, ebp
pop ebp
ret
Function at 0x459160
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x611270
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x72af90]
push eax
mov eax, 0x72af98
call fcn.004de940
mov ecx, dword [0x72aff8]
push ecx
mov eax, 0x72b000
call fcn.004de940
xor ebx, ebx
cmp dword [0x72b0a8], ebx
je 0x4591cb
cmp dword [0x72b0ac], ebx
je 0x4591cb
mov ecx, 0x72b0a8
mov edx, 0x72b068
call fcn.004e60c0
jmp 0x4591dc
mov edx, dword [0x72b060]
push edx
mov ecx, 0x72b068
call fcn.004e5fa0
cmp dword [0x72b0f8], ebx
je 0x4591fd
cmp dword [0x72b0fc], ebx
je 0x4591fd
mov ecx, 0x72b0f8
mov edx, 0x72b0b8
call fcn.004e60c0
jmp 0x45920d
mov eax, dword [0x72b0b0]
push eax
mov ecx, 0x72b0b8
call fcn.004e5fa0
cmp dword [0x72b148], ebx
je 0x45922e
cmp dword [0x72b14c], ebx
je 0x45922e
mov ecx, 0x72b148
mov edx, 0x72b108
call fcn.004e60c0
jmp 0x45923f
mov ecx, dword [0x72b100]
push ecx
mov ecx, 0x72b108
call fcn.004e5fa0
call fcn.004586b0
call fcn.00458d60
lea edx, [esp + 0x1c]
push 0x4e46
push edx
call fcn.004c4cd0
mov dword [esp + 0x30], ebx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004b7ef0
add esp, 0x10
mov ebp, eax
mov byte [esp + 0x28], 1
mov eax, dword [0x72a810]
dec dword [eax + 8]
mov esi, eax
add eax, 8
cmp dword [eax], ebx
jne 0x459289
xor edi, edi
call fcn.004c24f0
mov eax, dword [ebp]
inc dword [eax + 8]
mov dword [0x72a810], eax
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x18]
dec dword [eax + 8]
mov esi, eax
add eax, 8
cmp dword [eax], ebx
jne 0x4592c0
xor edi, edi
call fcn.004c24f0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005c396f
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x1c]
dec dword [eax + 8]
mov esi, eax
add eax, 8
cmp dword [eax], ebx
jne 0x4592f0
xor edi, edi
call fcn.004c24f0
mov edx, dword [esp + 0x1c]
push edx
call fcn.005c396f
add esp, 4
mov dword [esp + 0x1c], ebx
push ebx
push ebx
push 0x72af90
push 0x459fb0
push ebx
push ebx
call fcn.005c4af6
mov dword [0x72b25c], eax
add esp, 0x18
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x45a060
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x613e80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x45a0a2
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret 4
Function at 0x45cfc0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, 1
cmp dword [0x71038c], ebx
jl 0x45cfe1
push str.Started
push str.CNet::initIfNeeded
push ebx
call fcn.00579a92
add esp, 0xc
cmp byte [edi + 0x7c], 0
jne 0x45d12a
cmp byte [esp + 8], 0
je 0x45d01c
push str.netfilter2
call dword [sym.imp.nfapi.dll_enum__NF_STATUS___cdecl_nfapi::nf_registerDriver_char_const__]
add esp, 4
cmp dword [0x71038c], ebx
jl 0x45d01c
push eax
push str.NF_Install:__i
push str.CNet::install
push ebx
call fcn.00579a92
add esp, 0x10
push esi
push str.ProtocolFilters.dll
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45d03d
push str.ProtocolFilters.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x45d048
push 0xd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.c:_netfilter2
push edi
call esi
add esp, 8
pop esi
test eax, eax
je 0x45d0c9
push str.NetFilterSDK
call dword [sym.imp.protocolfilters.dll_void___cdecl_ProtocolFilters::pf_setRootSSLCertSubject_char_const__]
add esp, 4
cmp dword [0x71038c], ebx
jl 0x45d081
push str.pf_init:_OK
push str.CNet::initIfNeeded
push ebx
call fcn.00579a92
add esp, 0xc
call dword [sym.imp.protocolfilters.dll_class_nfapi::NF_EventHandler____cdecl_ProtocolFilters::pf_getNFEventHandler_void_]
push eax
push str.netfilter2
call dword [sym.imp.nfapi.dll_enum__NF_STATUS___cdecl_nfapi::nf_init_char_const___class_nfapi::NF_EventHandler__]
add esp, 8
test eax, eax
jne 0x45d0ba
cmp dword [0x71038c], ebx
jl 0x45d0b5
push str.nf_init:_OK
push str.CNet::initIfNeeded
push ebx
call fcn.00579a92
add esp, 0xc
mov byte [edi + 0x7c], bl
jmp 0x45d0e4
cmp dword [0x71038c], ebx
jl 0x45d0e4
push str.nf_init:_ERROR
jmp 0x45d0d6
cmp dword [0x71038c], ebx
jl 0x45d0e4
push str.pf_init:_ERROR
push str.CNet::initIfNeeded
push ebx
call fcn.00579a92
add esp, 0xc
cmp dword [0x72a038], 0
lea eax, [edi + 0x228]
mov dword [eax + 0x20], 0x45d450
mov dword [eax + 0x24], 0x45d470
mov dword [eax + 0x28], 0x45d490
mov dword [eax + 0x2c], 0x462b30
jne 0x45d12a
push 0
push 0
push eax
push 0x4687d0
push 0
push 0
call fcn.005c4af6
add esp, 0x18
mov dword [0x72a038], eax
cmp dword [0x71038c], ebx
jl 0x45d145
push 0x6d2454
push str.CNet::initIfNeeded
push ebx
call fcn.00579a92
add esp, 0xc
pop ebx
ret 4