joyce8/EMBER2024-capa huggingface dataset:
Function at 0x719c8f74
Capabilities:
Inject apc

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0xc00000a3
je 0x719c8ff9
cmp eax, 0xc0000120
je 0x719c8ff0
neg eax
sbb eax, eax
and eax, 0x277b
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
dec eax
push edi
je 0x719d4787
dec eax
jne 0x719d46fe
push 0
push 4
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x20]
mov eax, dword [esi + 8]
push dword [eax + 8]
call dword [sym.imp._CKERNEL.DLL_WriteProcessMemory]
push dword [esi + 0x14]
call dword [sym.imp._CKERNEL.DLL_SetEvent]
push dword [esi + 0x14]
call dword [sym.imp._CKERNEL.DLL_CloseHandle]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x719c8fea
push eax
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
and dword [esi + 0x24], 0
pop edi
pop esi
leave
ret 8
mov dword [ebp - 4], 0x3e3
jmp 0x719c8f99
mov dword [ebp - 4], 0x276b
jmp 0x719c8f99
dec eax
je 0x719d4739
dec eax
jne 0x719c8fd8
push 0
push 4
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x20]
mov eax, dword [esi + 8]
push dword [eax + 8]
call dword [sym.imp._CKERNEL.DLL_WriteProcessMemory]
push dword [ebp - 4]
push dword [esi + 0x20]
push dword [esi + 0x18]
push dword [esi + 0x1c]
push dword [esi + 0x14]
call dword [sym.imp._Cntl.DLL_NtQueueApcThread]
jmp 0x719c8fcf
push 0
push 4
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x20]
mov eax, dword [esi + 8]
push dword [eax + 8]
call dword [sym.imp._CKERNEL.DLL_WriteProcessMemory]
mov eax, dword [esi + 0x14]
test eax, eax
mov edi, dword [sym.imp._CKERNEL.DLL_CloseHandle]
je 0x719d4769
push eax
call dword [sym.imp._CKERNEL.DLL_SetEvent]
push dword [esi + 0x14]
call edi
push 0
push dword [ebp + 0xc]
push dword [esi + 0x20]
push dword [esi + 0x18]
push dword [esi + 0x1c]
call dword [sym.imp._Cntl.DLL_NtSetIoCompletion]
push dword [esi + 0x1c]
call edi
jmp 0x719c8fd8
push ebx
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
mov dword [ebp - 8], eax
call dword [sym.imp._CKERNEL.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov ebx, 0x2000000
push ebx
push 0
push 0x719d4844
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_OpenWindowStationA]
test eax, eax
mov dword [ebp + 8], eax
je 0x719d4835
mov edi, dword [sym.imp.USER32.dll_SetProcessWindowStation]
push eax
call edi
test eax, eax
je 0x719d4835
push ebx
push 0
push 0
push 0x719d483c
call dword [sym.imp.USER32.dll_OpenDesktopA]
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x719d47ef
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CloseWindowStation]
push dword [ebp - 8]
call edi
jmp 0x719d4835
mov ebx, dword [sym.imp.USER32.dll_SetThreadDesktop]
push eax
call ebx
test eax, eax
jne 0x719d4807
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_CloseDesktop]
jmp 0x719d47df
push dword [ebp - 4]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_CloseDesktop]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CloseWindowStation]
push dword [ebp - 8]
call edi
push dword [ebp - 0x10]
call ebx
pop ebx
jmp 0x719c8fd8
Function at 0x719cb149
Capabilities:
Query or enumerate registry key

Disassembly:
inc edi
jmp 0x719cb16a
or edi, 2
jmp 0x719cb1a2
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [0x719f7514]
mov ecx, dword [ecx]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
xor edi, edi
cmp dword [esi + 0x24], ecx
jne 0x719c8b5f
mov ecx, dword [esi + 0x34]
cmp ecx, eax
je 0x719cb1a2
lea edx, [ebp - 8]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push ecx
call dword [sym.imp._CADVAPI.DLL_RegQueryInfoKeyA]
test eax, eax
jne 0x719cb1a2
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebp - 4]
jne 0x719c8b65
mov eax, dword [esi + 0x38]
cmp eax, dword [ebp - 8]
jne 0x719c8b65
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x719cc1a2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0x208
xor ebx, ebx
push ebx
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
mov esi, eax
cmp esi, ebx
je 0x719d00a6
push edi
push 0x719cc060
push esi
call sub._Cmvrt.DLL_wcscpy
push dword [ebp + 8]
push esi
call sub._Cmvrt.DLL_wcscat
push 0x719cc034
push esi
call sub._Cmvrt.DLL_wcscat
add esp, 0x18
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push esi
push reloc.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_2
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExW]
push esi
push ebx
push dword [0x719f71dc]
mov edi, eax
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
cmp edi, ebx
jne 0x719d00ae
mov esi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
mov edi, 0x719cc024
push edi
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call esi
cmp eax, 0xea
je 0x719cc244
cmp eax, ebx
jne 0x719cc287
push dword [ebp - 4]
push ebx
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, ebx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
je 0x719d00b5
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push dword [ebp - 8]
call esi
cmp eax, ebx
jne 0x719cc287
push dword [ebp - 8]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 8
mov ebx, eax
jmp 0x719cc275
push 8
pop eax
jmp 0x719cc281
mov eax, edi
jmp 0x719cc280
push 8
pop ebx
jmp 0x719cc275

Function at 0x719cc4a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x719cc548
push reloc.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_2
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExW]
cmp eax, ebx
jne 0x719cc53c
push esi
mov esi, dword [sym.imp._CADVAPI.DLL_RegQueryValueExW]
push edi
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
mov edi, 0x719cc5b4
push edi
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call esi
cmp eax, 0xea
je 0x719cc4f8
cmp eax, ebx
jne 0x719d1d46
push dword [ebp - 8]
push ebx
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
je 0x719d1d4d
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push dword [ebp - 4]
call esi
mov esi, eax
cmp esi, ebx
jne 0x719d1d55
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
mov ebx, eax
jmp 0x719cc52f
push 8
pop ebx
jmp 0x719cc52f
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov eax, dword [ebp + 8]
push dword [eax]
push ebx
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
mov eax, esi
jmp 0x719cc53a
Function at 0x719cc787
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0x30
jb 0x719d20b7
push edi
push 1
push 1
xor edi, edi
push edi
call fcn.719c176c
test al, al
je 0x719d20ca
push esi
push 0x719f7524
call dword [sym.imp._CKERNEL.DLL_InterlockedIncrement]
cmp word [0x719f70c0], di
jne 0x719cc87d
call fcn.719ca031
mov esi, eax
cmp esi, edi
je 0x719d20d2
push dword [esi]
call sub._Cmvrt.DLL_wcslen
pop ecx
lea eax, [eax + eax + 2]
push eax
push edi
push dword [0x719f71dc]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
cmp eax, edi
mov dword [0x719f7218], eax
je 0x719d20d2
push dword [esi]
push eax
call sub._Cmvrt.DLL_wcscpy
mov eax, dword [0x719f7218]
pop ecx
pop ecx
mov cx, word [eax]
cmp cx, di
mov edx, 0x719f70c0
je 0x719cc833
sub eax, edx
cmp cx, 0x2e
je 0x719cc833
mov word [edx], cx
inc edx
inc edx
xor ecx, ecx
mov cx, word [eax + edx]
cmp cx, di
jne 0x719cc81d
lea eax, [ebp - 4]
push eax
push 1
push edi
push 0x719cc8d0
push reloc.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_2
mov word [edx], di
call dword [sym.imp._CADVAPI.DLL_RegOpenKeyExA]
test eax, eax
jne 0x719cc87d
lea eax, [ebp - 8]
push eax
push 0x719f7528
lea eax, [ebp - 0xc]
push eax
push edi
push 0x719cc8bc
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp._CADVAPI.DLL_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.DLL_RegCloseKey]
mov edi, dword [ebp + 0xc]
push 0xc
pop ecx
mov esi, 0x719f7318
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
push 4
pop ecx
mov edi, 0x719f753c
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x719d20ef
mov esi, dword [ebp + 8]
push 4
pop ecx
mov edi, 0x719f752c
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x719d20fb
xor eax, eax
pop esi
pop edi
leave
ret 8
push 0x2778
call dword [sym.imp._CKERNEL.DLL_SetLastError]
or eax, 0xffffffff
jmp 0x719cc8b8
or eax, 0xffffffff
jmp 0x719cc8b7
call dword [sym.imp._CKERNEL.DLL_GetLastError]
test eax, eax
jne 0x719d20e7
push 0x276b
call dword [sym.imp._CKERNEL.DLL_SetLastError]
or eax, 0xffffffff
jmp 0x719cc8b6
or dword [0x719f7388], 1
jmp 0x719cc8b4
or dword [0x719f7388], 2
jmp 0x719cc8b4
Function at 0x719cd5de
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x719f7264]
push ebx
push esi
push edi
mov edi, dword [sym.imp._CKERNEL.DLL_InterlockedCompareExchange]
mov dword [ebp - 4], eax
xor ebx, ebx
mov esi, dword [0x719f793c]
cmp esi, ebx
jle 0x719cd818
push esi
lea eax, [esi + 1]
push eax
push 0x719f793c
call edi
cmp eax, esi
jne 0x719cd5fc
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.719c15f6
leave
ret
cmp eax, esi
je 0x719cd942
jmp 0x719cd822
push 0x719f71e0
call fcn.719c5f1e
mov esi, dword [0x719f793c]
cmp esi, ebx
jg 0x719ce8d9
cmp dword [0x719f74dc], ebx
mov esi, 0x1f0003
jne 0x719cd878
push 0xffffffffffffffff
push ebx
push esi
push 0x719f74dc
call dword [sym.imp._Cntl.DLL_NtCreateIoCompletion]
test eax, eax
jl 0x719cd944
push 2
lea eax, [ebp - 0x10c]
push eax
push 4
push dword [0x719f74dc]
mov byte [ebp - 0x10b], 1
mov byte [ebp - 0x10c], bl
call dword [sym.imp._Cntl.DLL_NtSetInformationObject]
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [0x719f71d8]
call dword [sym.imp._CKERNEL.DLL_GetModuleFileNameA]
test eax, eax
je 0x719cd944
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp._CKERNEL.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x118], edi
je 0x719cd944
push ebx
push ebx
push ebx
push esi
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp._Cntl.DLL_NtCreateEvent]
test eax, eax
jl 0x719ce8ea
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0x28
push ebx
push dword [eax + 0x18]
call dword [sym.imp._Cntl.DLL_RtlAllocateHeap]
mov esi, eax
cmp esi, ebx
je 0x719ce8f6
push 0xa
pop ecx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x118]
mov dword [esi + 4], edi
mov eax, dword [ebp - 0x110]
mov dword [esi], eax
lea eax, [ebp - 0x114]
push eax
push ebx
push esi
push 0x719cd2c6
push ebx
push ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call dword [sym.imp._CKERNEL.DLL_CreateThread]
cmp eax, ebx
je 0x719ce902
push eax
call dword [sym.imp._Cntl.DLL_NtClose]
push 2
push 0x719f793c
call dword [sym.imp._CKERNEL.DLL_InterlockedExchangeAdd]
mov bl, 1
push 0x719f71e0
call fcn.719c5f66
mov al, bl
jmp 0x719cd61c
push esi
lea eax, [esi + 1]
push eax
push 0x719f793c
call edi
jmp 0x719cd629
push 0x719f71e0
call fcn.719c5f66
jmp 0x719ce92c
push 0x719f71e0
call fcn.719c5f66
jmp 0x719ce920
push 0x719f71e0
call fcn.719c5f66
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push ebx
push dword [eax + 0x18]
call dword [sym.imp._Cntl.DLL_RtlFreeHeap]
push dword [ebp - 0x110]
call dword [sym.imp._Cntl.DLL_NtClose]
push edi
call dword [sym.imp._CKERNEL.DLL_FreeLibrary]
xor al, al
jmp 0x719cd61c
Function at 0x719cd7f1
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
xor ebx, ebx
cmp dword [0x719f7240], ebx
je 0x719cd955
xor eax, eax
inc eax
pop ebx
leave
ret
call fcn.719d8367
jmp 0x719d1460
push 0x719f71e0
call fcn.719c5f1e
cmp dword [0x719f7240], ebx
jne 0x719cda33
push esi
push edi
push 0x719cda48
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp._Cntl.DLL_RtlInitUnicodeString]
mov esi, dword [sym.imp._Cntl.DLL_NtCreateFile]
push ebx
push ebx
push ebx
push 3
push 3
push ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], eax
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
mov edi, 0xc0100000
push edi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call esi
cmp eax, 0xc0000034
mov dword [ebp - 0xc], eax
je 0x719cd80e
cmp eax, 0xc000003a
je 0x719cd80e
cmp eax, 0xc000000e
je 0x719cd80e
cmp dword [ebp - 0xc], ebx
pop edi
pop esi
jl 0x719cda36
mov eax, dword [0x719f74dc]
push 0x1e
mov dword [ebp - 0x14], eax
push 8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x719cd65f
call dword [sym.imp._Cntl.DLL_NtSetInformationFile]
test eax, eax
jl 0x719d1488
push 2
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp - 8]
mov byte [ebp - 3], 1
mov byte [ebp - 4], bl
call dword [sym.imp._Cntl.DLL_NtSetInformationObject]
mov eax, dword [ebp - 8]
mov dword [0x719f7240], eax
xor ebx, ebx
inc ebx
push 0x719f71e0
call fcn.719c5f66
mov eax, ebx
jmp 0x719cd80b
test eax, eax
jne 0x719cd9e0
push ebx
push ebx
push ebx
push 3
push 3
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
push edi
lea eax, [ebp - 8]
push eax
call esi
mov dword [ebp - 0xc], eax
jmp 0x719cd9e0
push dword [ebp - 8]
call dword [sym.imp._Cntl.DLL_NtClose]
jmp 0x719cda36
Function at 0x719d6e2a
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x719f7264]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp + 0x10]
push 0x719d5758
mov dword [ebp - 0x20c], eax
push 0x200
lea eax, [ebp - 0x204]
push eax
push 0x719d7054
call fcn.719e86a5
test eax, eax
mov dword [0x719f80d0], eax
jne 0x719d6e9a
call dword [sym.imp._Cmvrt.DLL__errno]
cmp dword [eax], 2
je 0x719d702c
call dword [sym.imp._CKERNEL.DLL_GetLastError]
push eax
lea eax, [ebp - 0x204]
push eax
call sym.MSWSOCK.dll_s_perror
jmp 0x719d702c
push ebx
mov ebx, dword [sym.imp._Cmvrt.DLL_malloc]
push esi
push edi
mov edi, 0x719f80d8
call fcn.719d6d13
test eax, eax
je 0x719d701c
dec eax
jne 0x719d6ebf
call fcn.719d6d13
jmp 0x719d6ea8
sub eax, 0xa
jne 0x719d6ea8
call fcn.719d6d13
cmp eax, 0xa
jne 0x719d6ea8
mov eax, dword [ebp + 8]
mov esi, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x719d6fed
test cl, cl
je 0x719d6ef9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x719d6fed
inc eax
inc eax
inc esi
inc esi
test cl, cl
jne 0x719d6ed3
xor eax, eax
jmp 0x719d6ff2
cmp eax, 0xb
je 0x719d6ea8
cmp eax, 2
je 0x719d6f7d
cmp eax, 3
je 0x719d6f36
jle 0x719d700c
cmp eax, 5
jle 0x719d6f2c
cmp eax, 7
jle 0x719d700c
cmp eax, 9
jg 0x719d700c
call fcn.719d6d13
jmp 0x719d6ffa
call fcn.719d6d13
test eax, eax
je 0x719d6ffa
mov esi, dword [ebp - 0x20c]
cmp dword [esi], 0
jne 0x719d6ffa
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x719d6f57
sub eax, ecx
inc eax
push eax
call ebx
test eax, eax
pop ecx
mov dword [esi], eax
je 0x719d7038
mov edx, edi
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
je 0x719d6ffa
jmp 0x719d6f71
call fcn.719d6d13
test eax, eax
je 0x719d6ffa
mov eax, dword [ebp - 0x208]
mov eax, dword [eax]
test eax, eax
jne 0x719d6fc3
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x719d6f97
sub eax, ecx
inc eax
push eax
call ebx
test eax, eax
pop ecx
mov ecx, dword [ebp - 0x208]
mov dword [ecx], eax
je 0x719d7038
mov edx, edi
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
je 0x719d6ffa
jmp 0x719d6fb7
mov esi, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x719d6fed
test cl, cl
je 0x719d6ef9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x719d6fed
inc eax
inc eax
inc esi
inc esi
test cl, cl
je 0x719d6ef9
jmp 0x719d6fc5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x719d6ea8
call fcn.719d6d13
test eax, eax
je 0x719d6ea8
jmp 0x719d6f00
push edi
push 0x90e
push 2
call fcn.719e7f6d
add esp, 0xc
push dword [0x719f80d0]
call dword [sym.imp._Cmvrt.DLL_fclose]
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.719c15f6
leave
ret 0xc
call dword [sym.imp._CKERNEL.DLL_GetLastError]
push eax
push 0x90d
call fcn.719e7fe3
push 1
call dword [sym.imp._Cmvrt.DLL_exit]
nop
nop
nop
outsb dx, byte [esi]
je 0x719d70ca
arpl word [eax], ax
nop
nop
nop
nop
nop
Function at 0x719d705f
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x719f7264]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], ebx
je 0x719d7094
cmp dword [ebx], 0
jne 0x719d709c
push ebx
push esi
push eax
call fcn.719d6e2a
mov eax, dword [esi]
test eax, eax
mov edi, 0x80
jne 0x719d70f8
push 0x100
mov ebx, 0x719f81c0
push ebx
call fcn.719e83d8
test eax, eax
jne 0x719d712c
push ebx
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push edi
push eax
push 0x90b
call fcn.719e8026
add esp, 0x14
lea eax, [ebp - 0x84]
push eax
call fcn.719e8267
mov dword [esi], eax
cmp byte [eax], 0
jne 0x719d70ec
mov dword [esi], ebx
mov eax, dword [esi]
test eax, eax
je 0x719d7134
mov ebx, dword [ebp - 0x8c]
cmp dword [ebx], 0
jne 0x719d7134
push eax
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push edi
push eax
push 0x90c
call fcn.719e8026
add esp, 0x14
lea eax, [ebp - 0x84]
push eax
call fcn.719e8059
mov dword [ebx], eax
cmp byte [eax], 0
jne 0x719d7134
push 1
call dword [sym.imp._Cmvrt.DLL_exit]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.719c15f6
leave
ret 0xc

Function at 0x719d71f1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x719f7264]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x11]
mov dword [ebp - 0x18], eax
push 0xa
lea eax, [ebp - 0x10]
push eax
push 0x719d7240
mov byte [ebp - 0x11], 0
call dword [sym.imp._CKERNEL.DLL_GetEnvironmentVariableA]
test eax, eax
jle 0x719d7234
push 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call sub._Cmvrt.DLL_strtoul
add esp, 0xc
jmp 0x719d7236
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.719c15f6
leave
ret
Function at 0x719d7531
Capabilities:
Create tcp socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x719f7264]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x408]
push eax
push 2
call sub.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_115
mov ebx, eax
test ebx, ebx
jne 0x719d76b0
push 0x719f71e0
call fcn.719c5f1e
call fcn.719cc600
mov ebx, eax
test ebx, ebx
jne 0x719d7608
mov edx, dword [0x719f7580]
and dword [ebp - 0x40c], eax
test edx, edx
mov ebx, 0x273b
mov dword [ebp - 0x410], ebx
jle 0x719d7608
mov eax, dword [0x719f7584]
add eax, 0x58
mov ecx, dword [eax - 0xc]
cmp ecx, dword [0x719f76bc]
jne 0x719d75d2
mov ecx, dword [eax]
cmp ecx, dword [0x719f76c8]
jne 0x719d75d2
mov ecx, dword [eax + 4]
cmp ecx, dword [0x719f76cc]
jne 0x719d75d2
push 4
pop ecx
mov edi, 0x719f7684
lea esi, [eax - 0x44]
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
je 0x719d75e7
mov ebx, dword [ebp - 0x410]
inc dword [ebp - 0x40c]
add eax, 0x274
cmp dword [ebp - 0x40c], edx
jge 0x719d7608
jmp 0x719d759b
mov esi, dword [ebp - 0x40c]
imul esi, esi, 0x274
xor ebx, ebx
add esi, dword [0x719f7584]
mov ecx, 0x9d
lea edi, [ebp - 0x278]
rep movsd dword es:[edi], dword [esi]
push 0x719f71e0
call fcn.719c5f66
xor esi, esi
cmp ebx, esi
jne 0x719d76ab
push esi
push esi
lea eax, [ebp - 0x278]
push eax
push 6
push 1
push 2
call sub.WS2__32_Coverage_C_WINDOWS_system32.DLL_WSASocketW
cmp eax, 0xffffffff
je 0x719d76a4
push eax
call sub.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_3
call fcn.719cd5de
test al, al
je 0x719d769f
push esi
push esi
push 0x719f85d4
call sub.WS2__32_Coverage_C_WINDOWS_system32.DLL_WSAProviderConfigChange
test eax, eax
jne 0x719d76a4
push esi
mov esi, 0x719ebee6
push esi
push dword [0x719f74dc]
push dword [0x719f85d4]
call dword [sym.imp._CKERNEL.DLL_CreateIoCompletionPort]
test eax, eax
je 0x719d7697
xor eax, eax
mov ecx, 0x719f85c0
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ecx
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
push 0
push dword [0x719f74dc]
stosd dword es:[edi], eax
call dword [sym.imp._CKERNEL.DLL_PostQueuedCompletionStatus]
test eax, eax
je 0x719d7697
xor eax, eax
jmp 0x719d76b2
call dword [sym.imp._CKERNEL.DLL_GetLastError]
jmp 0x719d76a9
push 8
pop ebx
jmp 0x719d76ab
call sub.WS2__32_Coverage_C_WINDOWS_system32.DLL_Ordinal_111
mov ebx, eax
call fcn.719e73e5
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.719c15f6
leave
ret
Function at 0x719d7e00
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
xor ebx, ebx
cmp dword [0x719f8148], ebx
je 0x719d7e1b
xor eax, eax
inc eax
jmp 0x719d7f2e
push 0x719f71e0
call fcn.719c5f1e
cmp dword [0x719f8148], ebx
jne 0x719d7f1f
push esi
push edi
push 0x719d7f34
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp._Cntl.DLL_RtlInitUnicodeString]
mov esi, dword [sym.imp._Cntl.DLL_NtCreateFile]
push ebx
push ebx
push ebx
push 3
push 3
push ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], eax
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
mov edi, 0xc0100000
push edi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], 0x42
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call esi
cmp eax, 0xc0000034
mov dword [ebp - 0xc], eax
je 0x719d7e9a
cmp eax, 0xc000003a
je 0x719d7e9a
cmp eax, 0xc000000e
jne 0x719d7ebe
call fcn.719d8367
test eax, eax
jne 0x719d7ebe
push ebx
push ebx
push ebx
push 3
push 3
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
push edi
lea eax, [ebp - 8]
push eax
call esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], ebx
pop edi
pop esi
jl 0x719d7f22
mov eax, dword [0x719f74dc]
push 0x1e
mov dword [ebp - 0x14], eax
push 8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], fcn.719d7b03
call dword [sym.imp._Cntl.DLL_NtSetInformationFile]
test eax, eax
jge 0x719d7ef8
push dword [ebp - 8]
call dword [sym.imp._Cntl.DLL_NtClose]
jmp 0x719d7f22
push 2
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp - 8]
mov byte [ebp - 3], 1
mov byte [ebp - 4], bl
call dword [sym.imp._Cntl.DLL_NtSetInformationObject]
mov eax, dword [ebp - 8]
mov dword [0x719f8148], eax
mov byte [0x719f7310], 1
xor ebx, ebx
inc ebx
push 0x719f71e0
call fcn.719c5f66
mov eax, ebx
pop ebx
leave
ret