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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x427ff5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x4362ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x50], ebx
push 0x42efc0
lea ecx, [esp + 0x10]
call fcn.0044544b
call fcn.0044f3b4
push eax
lea edi, [esp + 0x1c]
call fcn.00444f53
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov byte [esp + 0x50], 1
push dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
call fcn.004453ff
push 0x42d240
lea eax, [esp + 0x10]
push eax
call fcn.004453ff
push 0x42efe0
lea eax, [esp + 0x10]
push eax
call fcn.004453ff
push 1
lea edi, [esp + 0x1c]
call fcn.00444f53
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov byte [esp + 0x50], 2
push dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
call fcn.004453ff
push 0x42eff0
lea eax, [esp + 0x10]
push eax
call fcn.004453ff
push 0x42eff8
lea eax, [esp + 0x10]
push eax
call fcn.004453ff
push dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
call fcn.004453ff
push 0x42effc
lea eax, [esp + 0x10]
push eax
call fcn.004453ff
mov dword [esp + 0x1c], 0x42f1c0
mov dword [esp + 0x30], ebx
mov byte [esp + 0x50], 3
mov dword [esp + 0x34], ebx
mov byte [esp + 0x50], 4
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x30], bl
mov dword [esp + 0x2c], ebx
call fcn.0044f7f1
mov byte [esp + 0x50], 5
push dword [esp + 0xc]
lea ecx, [esp + 0x20]
call fcn.0044f0c1
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x1c]
call fcn.0044f07f
mov byte [esp + 0x50], 1
cmp dword [esp + 0x10], ebx
je 0x44fd26
lea ecx, [esp + 0x10]
call fcn.004455d2
mov byte [esp + 0x50], bl
cmp dword [esp + 0x14], ebx
je 0x44fd39
lea ecx, [esp + 0x14]
call fcn.004455d2
or dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0xc], ebx
je 0x44fd4d
lea ecx, [esp + 0xc]
call fcn.004455d2
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10005720
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1003767b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10047130]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1002224d
push 4
mov dword [esp + 0x20], 0
call fcn.10022a9d
mov edi, eax
add esp, 4
test edi, edi
je 0x1000579e
call fcn.1002204e
mov dword [edi], eax
call fcn.10021e7c
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.1002219e
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10005793
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.100221c6
jmp 0x100057a0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x10008170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10038499
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10047130]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov ecx, 0xf
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov byte [esi + 4], al
mov dword [esp + 0x14], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov byte [esi + 0x20], al
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], eax
mov byte [esi + 0x3c], al
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], eax
mov byte [esi + 0x58], al
lea eax, [esi + 0x7c]
push eax
mov byte [esp + 0x18], 3
call fcn.1000c330
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x10009a80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10038338
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10047130]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x10047130]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
movzx ebx, byte [eax]
movzx edx, byte [eax + 2]
mov esi, ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax + 3]
shl ebx, 8
add ebx, ecx
shl ebx, 8
add ebx, edx
shl ebx, 8
push 0x1004a70c
add ebx, eax
mov dword [esp + 0x1c], 0x1004a70c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esp + 0x3c]
mov dword [esp + 0x68], 0
call fcn.1000cbd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov byte [esp + 0x88], 1
push 0
lea edx, [esp + 0x60]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.10004be0
mov ecx, ebx
lea esi, [esp + 0x38]
call fcn.1000b410
add esp, 0x1c
mov ecx, eax
mov byte [esp + 0x68], 2
call fcn.10009e60
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
mov esi, 0x10
cmp dword [esp + 0x38], esi
jb 0x10009b6c
mov eax, dword [esp + 0x24]
push eax
call fcn.100229a9
add esp, 4
mov ecx, dword [0x1004a708]
xor ebx, ebx
push ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esp + 0x54], esi
jb 0x10009b9a
mov edx, dword [esp + 0x40]
push edx
call fcn.100229a9
add esp, 4
push 0x1004a70c
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1002259f
mov esp, ebp
pop ebp
ret
Function at 0x1000d100
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10038ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10047130]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10047130]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
push 0x1004a73c
mov esi, ecx
mov dword [esp + 0x3c], 0x1004a73c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
lea eax, [esp + 0x20]
xor ebx, ebx
push eax
mov dword [esp + 0x8c], ebx
call fcn.1000db20
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea edi, [esp + 0x28]
mov dword [esp + 0x28], ebx
call fcn.1000e620
add esp, 0x10
xor edx, edx
cmp edx, dword [esp + 0x18]
push esi
sbb edi, edi
mov ecx, 0x1004aa10
neg edi
call fcn.1000d410
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.10004be0
push esi
mov ecx, 0x1004aa10
mov byte [esp + 0x88], 1
call fcn.1000d410
push 0xffffffffffffffff
push ebx
push ebp
mov ecx, eax
call fcn.10004be0
mov eax, ebp
lea edx, [esp + 0x58]
call fcn.1000e800
test al, al
jne 0x1000d292
push ebp
lea ecx, [esp + 0x40]
call fcn.10001c00
add esp, 4
mov ebp, eax
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 2
call fcn.10001c00
mov ecx, 8
add esp, 4
cmp dword [ebp + 0x18], ecx
jb 0x1000d21c
mov ebp, dword [ebp + 4]
jmp 0x1000d21f
add ebp, 4
cmp dword [eax + 0x18], ecx
jb 0x1000d229
mov esi, dword [eax + 4]
jmp 0x1000d22c
lea esi, [eax + 4]
cmp ebp, ebx
je 0x1000d239
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x1000d23b
xor eax, eax
lea eax, [eax + eax + 2]
push eax
push ebp
push 1
push esi
push str.Softwareprojonepodlp_nac_nacmacwatchknownmacs
push connect
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esi, 8
cmp dword [esp + 0x34], esi
jb 0x1000d26c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100229a9
add esp, 4
xor edx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
cmp dword [esp + 0x54], esi
jb 0x1000d292
mov eax, dword [esp + 0x40]
push eax
call fcn.100229a9
add esp, 4
xor ecx, ecx
cmp edi, ebx
sete cl
cmp dword [esp + 0x70], 0x10
mov esi, ecx
jb 0x1000d2af
mov edx, dword [esp + 0x5c]
push edx
call fcn.100229a9
add esp, 4
push 0x1004a73c
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1002259f
add esp, 0x74
ret
Function at 0x1000f060
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1003903b
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x10047130]
xor eax, esp
mov dword [esp + 0x44c], eax
push ebx
push ebp
push esi
mov eax, dword [0x10047130]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x470]
xor eax, eax
cmp dword [edi + 0x14], 0xc8
mov dword [esp + 0x10], eax
jbe 0x1000f0cb
mov dword [ebp + 0x14], eax
xor ecx, ecx
mov dword [ebp + 0x18], 7
push eax
mov word [ebp + 4], cx
mov eax, 0x1003d9a4
jmp 0x1000f219
push 0x40e
push eax
lea eax, [esp + 0x56]
xor edx, edx
push eax
mov word [esp + 0x58], dx
call fcn.10027a00
add esp, 0xc
push 0x208
lea ecx, [esp + 0x50]
push ecx
mov ebx, str.cachekvstore
call fcn.10011086
push edi
lea ecx, [esp + 0x34]
call fcn.10001c00
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x1000f115
mov eax, dword [eax + 4]
jmp 0x1000f118
add eax, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea edx, [esp + 0x50]
push edx
call ebx
cmp dword [esp + 0x48], esi
jb 0x1000f139
mov eax, dword [esp + 0x34]
push eax
call fcn.100229a9
add esp, 4
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000f1ea
lea esi, [esp + 0x30]
call fcn.1000f020
mov dword [esp + 0x468], 0
cmp dword [esp + 0x44], 0
mov esi, 8
je 0x1000f1cc
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x1000f17a
lea eax, [esp + 0x34]
push 0x208
push eax
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str.cachekvstore
lea eax, [esp + 0x50]
push eax
call ebx
push edi
lea ecx, [esp + 0x18]
call fcn.10001c00
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x1000f1ae
mov eax, dword [eax + 4]
jmp 0x1000f1b1
add eax, 4
push eax
lea ecx, [esp + 0x50]
push ecx
call ebx
cmp dword [esp + 0x2c], esi
jb 0x1000f1cc
mov edx, dword [esp + 0x18]
push edx
call fcn.100229a9
add esp, 4
mov dword [esp + 0x468], 0xffffffff
cmp dword [esp + 0x48], esi
jb 0x1000f1ea
mov eax, dword [esp + 0x34]
push eax
call fcn.100229a9
add esp, 4
xor ecx, ecx
lea eax, [esp + 0x4c]
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
mov word [ebp + 4], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000f205
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
mov esi, ebp
call fcn.10005820
mov eax, ebp
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.1002259f
add esp, 0x45c
ret
Function at 0x1000f250
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x10039348
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10047130]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x10047130]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, edx
xor ebx, ebx
cmp dword [edi + 0x14], 0xc8
mov esi, ecx
mov dword [esp + 0x10], ebx
jbe 0x1000f2ae
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x1003d9a1
mov byte [esi + 4], bl
call fcn.100053d0
jmp 0x1000f32a
lea eax, [esp + 0x14]
push eax
call fcn.1000f060
add esp, 4
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x18]
mov edi, 8
cmp dword [esp + 0x2c], edi
jae 0x1000f2d2
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000f304
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x1003d9a1
mov ecx, esi
mov byte [esi + 4], bl
call fcn.100053d0
cmp dword [esp + 0x2c], edi
jb 0x1000f32a
mov ecx, dword [esp + 0x18]
push ecx
jmp 0x1000f322
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jae 0x1000f312
lea ecx, [esp + 0x18]
call fcn.1000f040
cmp dword [esp + 0x2c], edi
jb 0x1000f32a
mov edx, dword [esp + 0x18]
push edx
call fcn.100229a9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1002259f
add esp, 0x30
ret

Function at 0x1000f350
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push 0
push 0
push 0
push 0x100082c0
push 0
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
push 0
push 0
push 0
push 0x100032c0
push 0
push 0
call esi
push eax
call edi
pop edi
pop esi
ret

Function at 0x1000f820
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
xor esi, esi
push edi
cmp dword [0x1004aa40], esi
jne 0x1000f85e
call ebp
test eax, eax
jns 0x1000f854
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x1004aa3c], eax
mov dword [0x1004aa40], 1
mov eax, dword [0x1004aa3c]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000f877
push ebx
push eax
call edi
mov esi, eax
test esi, esi
jne 0x1000f8b2
mov eax, dword [0x1004aa44]
test eax, eax
jne 0x1000f8aa
call ebp
test eax, eax
jns 0x1000f894
mov eax, dword [0x1003ebd8]
push eax
call dword [0x1003ebd4]
jmp 0x1000f8a1
mov ecx, dword [str.Kernel32.dll]
push ecx
call dword [0x1003ebcc]
test eax, eax
je 0x1000f8b2
mov dword [0x1004aa44], eax
push ebx
push eax
call edi
pop edi
pop esi
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x1000fbf0
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 0x13c
mov eax, dword [0x10047130]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
push str.wpcap.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1000fc24
call fcn.1000f6d0
test eax, eax
je 0x1000fd6c
xor ebx, ebx
lea eax, [esp + 0x10]
push eax
push ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x40], bl
mov dword [esp + 0x41], ebx
mov dword [esp + 0x18], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x1000fcaf
mov ecx, dword [esp + 0x10]
add ecx, 0x400
push ecx
call fcn.10022b51
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x1000fcc3
lea edx, [esp + 0x10]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x1000fca4
mov dl, byte [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ecx, edi
jmp 0x1000fc80
cmp dword [ecx + 0x194], esi
lea eax, [ecx + 0x194]
jne 0x1000fc9a
add eax, 4
cmp dl, byte [eax]
jne 0x1000fc9a
cmp bl, byte [eax + 1]
je 0x1000fc9e
inc dword [esp + 0x14]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x1000fc80
push edi
call fcn.10022779
add esp, 4
jmp 0x1000fcc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IsPcapInstalled_GetAdaptersInfo_failed_:__d
call fcn.1001585c
add esp, 8
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
push ecx
xor ebp, ebp
call sub.wpcap.dll_pcap_findalldevs
add esp, 8
test eax, eax
jl 0x1000fd70
mov eax, dword [esp + 0x18]
mov edi, eax
test eax, eax
je 0x1000fd42
lea ebx, [ebp + 0x10]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1000fd3e
mov eax, ecx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000fd10
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.100053d0
inc ebp
cmp dword [esp + 0x34], ebx
jb 0x1000fd38
mov edx, dword [esp + 0x20]
push edx
call fcn.100229a9
add esp, 4
mov edi, dword [edi]
test edi, edi
jne 0x1000fcec
mov eax, dword [esp + 0x18]
push eax
call sub.wpcap.dll_pcap_freealldevs
add esp, 4
test ebp, ebp
jne 0x1000fd91
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x1000fd84
push 0
push eax
push str.IsPcapInstalled_pcap_install_false_:_nAdaptersCount__d_nPcapCount__d
call fcn.1001585c
add esp, 0xc
call fcn.1000fbb0
xor eax, eax
jmp 0x1000fd96
lea eax, [esp + 0x40]
push eax
push str.IsPcapInstalled_pcap_findalldevs_failed_:__hs
call fcn.1001585c
add esp, 8
jmp 0x1000fd4f
push str.IsPcapInstalled_pcap_install_double_0
call fcn.1001585c
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002259f
add esp, 0x13c
ret
Function at 0x1000fe50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10039008
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x10047130]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.1000fdb0
mov dword [esp + 0x30], 0
cmp dword [eax + 0x18], 8
jb 0x1000fe98
mov eax, dword [eax + 4]
jmp 0x1000fe9b
add eax, 4
push eax
push 2
push ebx
call fcn.100140d0
add esp, 0xc
cmp dword [esp + 0x24], 8
jb 0x1000febb
mov eax, dword [esp + 0x10]
push eax
call fcn.100229a9
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x10010850
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x23c
mov eax, dword [0x10047130]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
movzx ebx, word [0x1004a754]
push esi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push edi
mov esi, eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push ebx
mov dword [esp + 0x234], eax
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [esp + 0xc]
push ecx
mov word [esp + 0x232], ax
push 0x8004667e
mov eax, 2
push esi
mov word [esp + 0x238], ax
mov dword [esp + 0x18], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push 0x10
lea edx, [esp + 0x230]
push edx
push esi
call dword [sym.imp.WS2_32.dll_connect]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100108fc
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.1002259f
add esp, 0x23c
ret
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x138], esi
mov dword [esp + 0x134], 1
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 0
call dword [sym.imp.WS2_32.dll_select]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [esp + 0x18]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
mov ecx, dword [esp + 0x23c]
neg eax
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
neg eax
call fcn.1002259f
add esp, 0x23c
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10047130]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x10010ce2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x10010ce2
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10027a00
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.1001144f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10010c5f
shr eax, 4
not eax
and eax, 1
jmp 0x10010ce4
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.10010cf2
test eax, eax
je 0x10010ce2
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x10010cc4
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x10010cca
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.10010975
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x10010ce4
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1002259f
leave
ret
Function at 0x10011139
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x10011165
call fcn.10010be8
test eax, eax
jne 0x10011165
pop edi
pop esi
pop ebx
leave
ret 0xc
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x10011185
cmp esi, 0xffffffff
jne 0x1001119d
cmp dword [ebp - 8], ebx
jne 0x10011191
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.10010975
mov eax, ebx
jmp 0x1001115e
mov edi, dword [ebp + 0x10]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100111c1
cmp dword [ebp - 4], edi
jne 0x100111c1
xor ebx, ebx
inc ebx
jmp 0x10011191
cmp dword [ebp - 8], ebx
jne 0x10011191
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x100111da
cmp esi, ebx
je 0x100111da
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x1001118b

Function at 0x100113d5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x10047130]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.10027a00
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
call fcn.1001133e
mov eax, 0x179b06cc
xor ecx, ecx
push esi
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10049008]
inc ecx
cmp ecx, 0x24
jl 0x1001141d
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.1002259f
add ebp, 0x88
leave
ret