joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e561370
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a9636
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
jne 0x4e5613a0
mov dword [ebp - 0x20], 1
jmp 0x4e5613a7
mov dword [ebp - 0x20], 0
movzx ecx, byte [ebp - 0x20]
test ecx, ecx
je 0x4e5613c6
push 0x139
push str.d:_src.gamesecurity.org_test_libraryfactory_srcpoco_poco_1.5.2_releasepoco_poco_1.5.2_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.4e567750
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.4e525040
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.4e564800
add esp, 8
cmp dword [ebp - 0x2c], 8
jb 0x4e56140b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], edx
jmp 0x4e561411
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1c
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x4e561433
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x4e561439
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4e561475
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x74]
call fcn.4e5603e0
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x74]
call fcn.4e561260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.4e560580
jmp 0x4e561484
mov ecx, dword [ebp - 0x1c]
add ecx, 4
push ecx
call fcn.4e561820
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.4e525040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e5614b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a9648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
jne 0x4e5614e0
mov dword [ebp - 0x20], 1
jmp 0x4e5614e7
mov dword [ebp - 0x20], 0
movzx ecx, byte [ebp - 0x20]
test ecx, ecx
je 0x4e561506
push 0x148
push str.d:_src.gamesecurity.org_test_libraryfactory_srcpoco_poco_1.5.2_releasepoco_poco_1.5.2_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.4e567750
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.4e525040
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.4e564800
add esp, 8
cmp dword [ebp - 0x2c], 8
jb 0x4e56154b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], edx
jmp 0x4e561551
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1c
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x4e561573
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x4e561579
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4e56159a
mov eax, dword [ebp - 0x1c]
add eax, 4
push eax
call fcn.4e561820
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.4e525040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e5615c0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x4e5615db
mov dword [ebp - 0x18], 1
jmp 0x4e5615e2
mov dword [ebp - 0x18], 0
movzx ecx, byte [ebp - 0x18]
test ecx, ecx
je 0x4e561601
push 0x153
push str.d:_src.gamesecurity.org_test_libraryfactory_srcpoco_poco_1.5.2_releasepoco_poco_1.5.2_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.4e567750
add esp, 0xc
mov ecx, dword [ebp - 4]
call fcn.4e560a80
movzx edx, al
test edx, edx
je 0x4e561657
mov eax, dword [ebp - 4]
add eax, 0x1c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 8
jb 0x4e561632
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x4e561638
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4e561655
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call fcn.4e561820
add esp, 4
jmp 0x4e56169c
mov edx, dword [ebp - 4]
add edx, 0x1c
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 8
jb 0x4e561679
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
jmp 0x4e56167f
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4e56169c
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.4e561820
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4e561770
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x4e56178b
mov dword [ebp - 0x10], 1
jmp 0x4e561792
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4e5617b1
push 0x176
push str.d:_src.gamesecurity.org_test_libraryfactory_srcpoco_poco_1.5.2_releasepoco_poco_1.5.2_release_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.4e567750
add esp, 0xc
mov ecx, dword [ebp - 4]
call fcn.4e560740
movzx edx, al
test edx, edx
je 0x4e5617d3
mov ecx, dword [ebp - 4]
call fcn.4e560a80
movzx eax, al
test eax, eax
je 0x4e5617d3
xor al, al
jmp 0x4e56181c
mov ecx, dword [ebp - 4]
add ecx, 0x1c
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 8
jb 0x4e5617f5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
jmp 0x4e5617fb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4e56181a
mov edx, dword [ebp - 4]
add edx, 4
push edx
call fcn.4e561820
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4e571e70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a9c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.4e525040
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.4e564800
add esp, 8
cmp dword [ebp - 0x30], 8
jb 0x4e571eda
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
jmp 0x4e571ee0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], ecx
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e571f19
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xa0]
call fcn.4e54ee40
push 0x4e5ce1c4
lea ecx, [ebp - 0xa0]
push ecx
call fcn.4e58a47b
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x54]
call fcn.4e572b90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x30], 8
jb 0x4e571f43
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], edx
jmp 0x4e571f49
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.4e5144a0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.4e564d70
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.4e5144a0
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp + 8]
call fcn.4e51e120
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.4e5144a0
mov byte [ebp - 4], 0
movzx ecx, byte [ebp - 0x48]
test ecx, ecx
je 0x4e571fff
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.4e589184
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.4e525040
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e572030
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a9c7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.4e525040
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.4e564800
add esp, 8
cmp dword [ebp - 0x24], 8
jb 0x4e572090
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
jmp 0x4e572096
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], ecx
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jbe 0x4e5720b6
mov dword [ebp - 0x18], 1
jmp 0x4e5720bd
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.4e525040
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4e5720f0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a9c9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.4e525040
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.4e525040
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.4e564800
add esp, 8
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.4e564800
add esp, 8
cmp dword [ebp - 0x30], 8
jb 0x4e572181
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x14], edx
jmp 0x4e572187
lea eax, [ebp - 0x44]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 8
jb 0x4e57219b
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], edx
jmp 0x4e5721a1
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4e57220a
push 0x4e5b2d00
lea ecx, [ebp - 0x64]
call fcn.4e514340
mov byte [ebp - 4], 2
mov eax, dword [0x4e5b23ac]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x64]
call fcn.4e51e1a0
push 0
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x90]
call fcn.4e54f470
push 0x4e5d2f54
lea eax, [ebp - 0x90]
push eax
call fcn.4e58a47b
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.4e5144a0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.4e525040
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.4e525040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e5727f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [ebp - 0x2c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0xa
ja case.0x4e57281b.4
mov edx, dword [ebp - 8]
jmp dword [edx*4 + 0x4e572908]
push str.IA32
mov ecx, dword [ebp + 8]
call fcn.4e514340
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x4e572901
push str.MIPS
mov ecx, dword [ebp + 8]
call fcn.4e514340
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
jmp 0x4e572901
push str.ALPHA
mov ecx, dword [ebp + 8]
call fcn.4e514340
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x4e572901
push 0x4e5b2e64
mov ecx, dword [ebp + 8]
call fcn.4e514340
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x4e572901
push str.IA64
mov ecx, dword [ebp + 8]
call fcn.4e514340
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
jmp 0x4e572901
push str.IA64_32
mov ecx, dword [ebp + 8]
call fcn.4e514340
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x4e572901
push str.AMD64
mov ecx, dword [ebp + 8]
call fcn.4e514340
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x4e572901
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.4e514340
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x4e572940
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a9cff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4e5729c7
push str.Cannot_get_computer_name
lea ecx, [ebp - 0x44]
call fcn.4e514340
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x90]
call fcn.4e54f470
push 0x4e5d2f54
lea eax, [ebp - 0x90]
push eax
call fcn.4e58a47b
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.4e5144a0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.4e5144a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.4e564ee0
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.4e5144a0
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.4e51e120
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.4e5144a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e572a60
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov word [ecx + 4], ax
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0x288
mov edx, dword [ebp - 0x10]
push edx
call fcn.4e54c560
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6f
jne 0x4e572ad3
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.4e589184
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call fcn.4e54c560
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
jmp 0x4e572ade
cmp dword [ebp - 0x14], 0
je 0x4e572ade
jmp 0x4e572b5e
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4e572b4c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov byte [ebp - 1], 0
cmp dword [ebp - 8], 0
je 0x4e572b4c
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x4e572b4c
mov edx, dword [ebp - 8]
cmp dword [edx + 0x1a0], 6
jne 0x4e572b42
mov eax, dword [ebp - 8]
cmp dword [eax + 0x190], 6
jne 0x4e572b42
mov byte [ebp - 1], 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x190]
push edx
mov eax, dword [ebp - 8]
add eax, 0x194
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.4e589da0
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x4e572af9
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.4e589184
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4e574280
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5a9da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.4e571b20
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.Poco::PipeImpl.0
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4e574326
push 0x4e5b2f20
lea ecx, [ebp - 0x34]
call fcn.4e514340
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x60]
call fcn.4e5521d0
push 0x4e5ce808
lea edx, [ebp - 0x60]
push edx
call fcn.4e58a47b
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.4e5144a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e57a930
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5aa312
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
call fcn.4e5201b0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x150]
push ecx
push 0x7f
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x150]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x1c], 0x100
jbe 0x4e57a99b
mov dword [ebp - 0x18], 0x100
jmp 0x4e57a9a1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
lea edx, [ebp + ecx*2 - 0x150]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jae 0x4e57aa7c
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.4e525040
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x20]
jae 0x4e57aa11
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
test eax, eax
je 0x4e57aa11
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
mov word [ebp - 0x12], dx
movzx eax, word [ebp - 0x12]
push eax
push 1
lea ecx, [ebp - 0x50]
call fcn.4e5252a0
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
jmp 0x4e57a9db
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.4e5144a0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.4e564b70
add esp, 8
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 8]
call fcn.4e51c5b0
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.4e5144a0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.4e525040
jmp 0x4e57a9ae
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e5868d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5aabc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.4e587710
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.4e525040
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.4e564800
add esp, 8
cmp dword [ebp - 0x20], 8
jb 0x4e586941
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], ecx
jmp 0x4e586947
lea edx, [ebp - 0x34]
mov dword [ebp - 0x10], edx
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4e586972
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.4e587dc0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.4e525040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4e587480
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5aacc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.4e587710
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x4e5874e7
jmp 0x4e5875b3
mov dword [ebp - 0x18], 0x100
mov dword [ebp - 0x10], 0
jmp 0x4e587500
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x1c]
jae 0x4e5875b3
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4e5875a7
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x50]
call fcn.4e54c88f
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.4e5144a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.4e564b70
add esp, 8
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp + 8]
call fcn.4e51c5b0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.4e5144a0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.4e525040
mov dword [ebp - 0x18], 0x100
jmp 0x4e5874f7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4