joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008dc29
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1008dc64
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1008dc4b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1008dc5c
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1008dc66
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1008dc41
xor eax, eax
pop edi
pop esi
ret

Function at 0x100908e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x220
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x218], eax
push edi
mov edi, ecx
mov eax, dword [edi + 0x1c]
mul dword [edi + 0xc]
push 0
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], edx
mov edx, dword [edi + 8]
push eax
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [edi + 8]
push 0
lea eax, [esp + 0x18]
push eax
push 0x200
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10090952
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.1010d699
add esp, 0x220
ret
cmp dword [esp + 0x1b], 0x5346544e
jne 0x100909e7
movzx eax, word [esp + 0x23]
movzx ecx, byte [esp + 0x25]
imul eax, ecx
mov dword [edi + 0x18], eax
imul eax, dword [esp + 0x58]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x30]
test eax, eax
je 0x1009098f
push eax
call fcn.1010d9f8
add esp, 4
mov dword [edi + 0x30], 0
mov edx, dword [edi + 0x34]
push edx
call fcn.1010ccc2
mov ecx, dword [esp + 0x4c]
add esp, 4
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
mov byte [edi + 0x10], 1
call fcn.10090a10
test eax, eax
je 0x100909cf
mov byte [edi + 0x10], 0
pop edi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.1010d699
add esp, 0x220
ret
xor eax, eax
pop edi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.1010d699
add esp, 0x220
ret
mov ecx, dword [esp + 0x21c]
pop edi
xor ecx, esp
mov eax, 0xf
call fcn.1010d699
add esp, 0x220
ret
Function at 0x10090a10
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10134c6b
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x4cc], eax
push ebx
push ebp
push esi
mov eax, dword [0x1017455c]
xor eax, esp
push eax
lea eax, [esp + 0x4e0]
mov dword fs:[0], eax
cmp byte [edi + 0x10], 0
mov ebp, dword [esp + 0x4f0]
mov ebx, dword [esp + 0x4f4]
mov dword [edi + 0x20], ebp
mov dword [edi + 0x24], ebx
jne 0x10090a6e
mov eax, 0xc
jmp 0x10090bff
lea esi, [esp + 0x24]
call fcn.10086c80
push 0xa
lea eax, [esp + 0x4cc]
push str._MFT
push eax
mov dword [esp + 0x4f4], 0
call fcn.1010fd66
mov eax, dword [edi + 0x1c]
mul dword [edi + 0xc]
mov ecx, dword [edi + 0x18]
add esp, 0xc
push ebx
push ebp
xor ebx, ebx
mov esi, eax
push ebx
mov eax, edx
push ecx
mov dword [esp + 0x24], eax
call fcn.1011e420
add esi, eax
mov eax, dword [esp + 0x14]
adc eax, edx
push ebx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
push esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10090afe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x4b8]
cmp eax, ebx
je 0x10090af7
push eax
call fcn.1010e8a3
add esp, 4
mov eax, esi
jmp 0x10090bff
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x30]
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [edi + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10090b32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [esp + 0x24]
call fcn.10086d40
mov eax, esi
jmp 0x10090bff
mov edx, dword [edi + 8]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x2c], edx
mul dword [edi + 0xc]
push edx
mov edx, dword [edi + 0x18]
push eax
lea eax, [esp + 0x2c]
call fcn.10086d70
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 0x30]
cmp ecx, dword [esp + 0x18]
jbe 0x10090b72
lea ecx, [esp + 0x24]
mov esi, 0x57
call fcn.10086d40
mov eax, esi
jmp 0x10090bff
push ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.10086db0
mov esi, eax
cmp esi, ebx
jne 0x10090b22
mov eax, 8
xor ecx, ecx
lea ebx, [ebx]
mov edx, dword [esp + ecx + 0xb6]
cmp edx, dword [esp + ecx + 0x4c8]
jne 0x10090c28
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x10090b90
mov eax, dword [edi + 0x28]
cmp eax, ebx
je 0x10090bc2
push eax
call fcn.1010d9f8
add esp, 4
mov dword [edi + 0x28], ebx
mov esi, dword [esp + 0x4bc]
push esi
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.1010ccc2
add esp, 4
push esi
mov dword [edi + 0x2c], esi
mov esi, dword [esp + 0x4bc]
push esi
push eax
mov dword [edi + 0x28], eax
call fcn.101162d0
add esp, 0xc
cmp esi, ebx
je 0x10090bfd
push esi
call fcn.1010e8a3
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x4e0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4cc]
xor ecx, esp
call fcn.1010d699
add esp, 0x4dc
ret 8
mov eax, dword [esp + 0x4b8]
cmp eax, ebx
je 0x10090c3c
push eax
call fcn.1010e8a3
add esp, 4
mov eax, 0x4b0
jmp 0x10090bff
Function at 0x10093130
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push str.GetSystemFirmwareTable
push str.kernel32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.EnumSystemFirmwareTables
push str.kernel32.dll
mov dword [0x101966cc], eax
call esi
push eax
call edi
push str.RtlInitUnicodeString
push str.ntdll.dll
mov dword [0x101967d4], eax
call esi
push eax
call edi
mov dword [0x1018f57c], eax
test eax, eax
jne 0x10093183
pop edi
xor al, al
pop esi
ret
push str.NtUnmapViewOfSection
push str.ntdll.dll
call esi
push eax
call edi
mov dword [0x1018f578], eax
test eax, eax
je 0x1009317e
push str.NtOpenSection
push str.ntdll.dll
call esi
push eax
call edi
mov dword [0x1018f570], eax
test eax, eax
je 0x1009317e
push str.NtMapViewOfSection
push str.ntdll.dll
call esi
push eax
call edi
mov dword [0x1018f580], eax
test eax, eax
je 0x1009317e
push str.RtlNtStatusToDosError
push str.ntdll.dll
call esi
push eax
call edi
test eax, eax
pop edi
mov dword [0x1018f574], eax
setne al
pop esi
ret
Function at 0x10094230
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1874
call fcn.10126240
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x1870], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x40f
lea eax, [esp + 0x105d]
push ebx
push eax
mov byte [esp + 0x1064], bl
call fcn.10116880
add esp, 0xc
push 0x40f
lea ecx, [esp + 0x83d]
push ebx
push ecx
mov byte [esp + 0x844], bl
call fcn.10116880
add esp, 0xc
push 0x40f
lea edx, [esp + 0xc4d]
push ebx
push edx
mov byte [esp + 0xc54], bl
call fcn.10116880
add esp, 0xc
push 0x40f
lea eax, [esp + 0x146d]
push ebx
push eax
mov byte [esp + 0x1474], bl
call fcn.10116880
add esp, 0xc
cmp dword [0x1018e0b4], 0xffffffff
jne 0x100942e5
call sym.EncDec.dll_isRunningAsAdministrator
mov dword [0x1018e0b4], eax
cmp eax, 0xffffffff
jne 0x100942e5
mov dword [0x1018e0b4], ebx
cmp dword [0x10191cb8], ebx
jne 0x100944a7
lea ecx, [esp + 0x838]
push str.TypeLib
push ecx
call fcn.1010d6a8
add esp, 8
lea edx, [esp + 0x14]
push edx
push 9
push ebx
lea eax, [esp + 0x844]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x100944a7
mov dword [esp + 0x10], ebx
cmp dword [0x10191cb8], ebx
jne 0x100944a7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0x410
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
mov byte [esp + 0x28], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x1009449c
cmp dword [0x10191874], ebx
je 0x1009437b
push 0x10191c8c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc dword [0x10191cbc]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x428], bl
je 0x10094477
lea edx, [esp + 0x428]
call fcn.1006e8d0
test eax, eax
je 0x10094477
lea eax, [esp + 0x18]
push eax
mov edi, edx
call fcn.10109250
add esp, 4
test eax, eax
jne 0x10094477
lea ecx, [esp + 0x18]
push str.PATH
push ecx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x10094477
xor edi, edi
lea esi, [esp + 0x18]
call fcn.10014dd0
test eax, eax
jne 0x10094477
mov edi, esi
call fcn.10014390
test eax, eax
jne 0x10094477
lea edx, [esp + 0x428]
push edx
lea eax, [esp + 0xc4c]
push str.HKCRTypeLib_s
push eax
call fcn.1010d6a8
add esp, 0xc
cmp dword [0x10191874], ebx
je 0x10094434
push 0x10191cac
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc dword [0x10191cc4]
cmp dword [0x1018e0b4], 0xffffffff
jne 0x10094458
call sym.EncDec.dll_isRunningAsAdministrator
mov dword [0x1018e0b4], eax
cmp eax, 0xffffffff
jne 0x10094458
mov dword [0x1018e0b4], ebx
lea ecx, [esp + 0x18]
push ecx
push 1
push 2
mov ecx, str.HKCRTypeLib
lea ebx, [esp + 0x434]
call fcn.10093730
add esp, 0xc
xor ebx, ebx
inc dword [esp + 0x10]
cmp dword [0x10191cb8], ebx
je 0x10094342
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1870]
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x187c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret
Function at 0x100944c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1874
call fcn.10126240
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x1870], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x40f
lea eax, [esp + 0x105d]
push ebx
push eax
mov byte [esp + 0x1064], bl
call fcn.10116880
add esp, 0xc
push 0x40f
lea ecx, [esp + 0x83d]
push ebx
push ecx
mov byte [esp + 0x844], bl
call fcn.10116880
add esp, 0xc
push 0x40f
lea edx, [esp + 0xc4d]
push ebx
push edx
mov byte [esp + 0xc54], bl
call fcn.10116880
add esp, 0xc
push 0x40f
lea eax, [esp + 0x146d]
push ebx
push eax
mov byte [esp + 0x1474], bl
call fcn.10116880
add esp, 0xc
cmp dword [0x1018e0b4], 0xffffffff
jne 0x10094575
call sym.EncDec.dll_isRunningAsAdministrator
mov dword [0x1018e0b4], eax
cmp eax, 0xffffffff
jne 0x10094575
mov dword [0x1018e0b4], ebx
cmp dword [0x10191cb8], ebx
jne 0x10094732
lea ecx, [esp + 0x838]
push str.TypeLib
push ecx
call fcn.1010d6a8
add esp, 8
lea edx, [esp + 0x14]
push edx
push 0x20119
lea eax, [esp + 0x840]
push eax
push closesocket
call fcn.10062150
test eax, eax
jne 0x10094732
mov dword [esp + 0x10], ebx
cmp dword [0x10191cb8], ebx
jne 0x10094732
lea ebx, [ebx]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0x410
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
mov byte [esp + 0x28], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x10094727
cmp dword [0x10191874], ebx
je 0x10094609
push 0x10191c8c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc dword [0x10191cbc]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x428], bl
je 0x10094702
lea edx, [esp + 0x428]
call fcn.1006e8d0
test eax, eax
je 0x10094702
lea eax, [esp + 0x18]
push eax
mov ecx, edx
push ecx
call fcn.10109450
add esp, 8
test eax, eax
jne 0x10094702
lea edx, [esp + 0x18]
push str.PATH
push edx
call fcn.1011c280
add esp, 8
test eax, eax
je 0x10094702
xor edi, edi
lea esi, [esp + 0x18]
call fcn.10014dd0
test eax, eax
jne 0x10094702
mov edi, esi
call fcn.10014390
test eax, eax
jne 0x10094702
lea eax, [esp + 0x428]
push eax
lea ecx, [esp + 0xc4c]
push str.HKCR64TypeLib_s
push ecx
call fcn.1010d6a8
add esp, 0xc
cmp dword [0x10191874], ebx
je 0x100946bf
push 0x10191cac
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc dword [0x10191cc4]
cmp dword [0x1018e0b4], 0xffffffff
jne 0x100946e3
call sym.EncDec.dll_isRunningAsAdministrator
mov dword [0x1018e0b4], eax
cmp eax, 0xffffffff
jne 0x100946e3
mov dword [0x1018e0b4], ebx
lea edx, [esp + 0x18]
push edx
push 1
push 2
mov ecx, str.HKCR64TypeLib
lea ebx, [esp + 0x434]
call fcn.10093730
add esp, 0xc
xor ebx, ebx
inc dword [esp + 0x10]
cmp dword [0x10191cb8], ebx
je 0x100945d0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1870]
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x187c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1010d699
mov esp, ebp
pop ebp
ret
Function at 0x10094880
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x808], eax
push esi
push 0x3ff
lea eax, [esp + 0x11]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x18], 0
call fcn.10116880
push str.B2D2142A_9055_4C37_B3FA_EEFDD4C1DC59
push esi
call fcn.1011c280
add esp, 0x14
test eax, eax
jne 0x100948da
mov eax, 1
pop esi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.1010d699
add esp, 0x80c
ret
push esi
lea ecx, [esp + 0x410]
push str.CLSID_s
push ecx
call fcn.1010d6a8
add esp, 0xc
lea edx, [esp + 4]
push edx
push 9
push 0
lea eax, [esp + 0x418]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x10094970
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push esi
push esi
push esi
push eax
mov dword [esp + 0x20], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, str.WPCNotification
lea ecx, [esp + 0xc]
call fcn.10031940
test eax, eax
je 0x100948bf
mov eax, str.isharemedia
lea ecx, [esp + 0xc]
call fcn.10031940
test eax, eax
je 0x100948bf
mov ecx, dword [esp + 0x80c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.1010d699
add esp, 0x80c
ret

Function at 0x10094990
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x808], eax
push 0x3ff
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.10116880
push str.B2D2142A_9055_4C37_B3FA_EEFDD4C1DC59
push esi
call fcn.1011c280
add esp, 0x14
test eax, eax
jne 0x100949e6
mov eax, 1
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.1010d699
add esp, 0x80c
ret
push esi
lea ecx, [esp + 0x40c]
push str.CLSID_s
push ecx
call fcn.1010d6a8
add esp, 0xc
lea edx, [esp]
push edx
push 0x20119
lea eax, [esp + 0x410]
push eax
push closesocket
call fcn.10062150
test eax, eax
jne 0x10094a71
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, str.WPCNotification
lea ecx, [esp + 8]
call fcn.10031940
test eax, eax
je 0x100949cc
mov eax, str.isharemedia
lea ecx, [esp + 8]
call fcn.10031940
test eax, eax
je 0x100949cc
mov ecx, dword [esp + 0x808]
xor ecx, esp
xor eax, eax
call fcn.1010d699
add esp, 0x80c
ret
Function at 0x10094a90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x408], eax
push ebp
mov ebp, dword [esp + 0x414]
push esi
push ebp
lea eax, [esp + 0x14]
push str.Interface_s
mov byte [edi], 0
push eax
mov byte [ebx], 0
call fcn.1010d6a8
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 9
push 0
lea edx, [esp + 0x1c]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x10094bc5
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push edi
push esi
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
mov dword [esp + 0x24], 0x400
call esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, str.IRoam
mov ecx, edi
call fcn.10031940
test eax, eax
je 0x10094bc5
push ebp
lea eax, [esp + 0x14]
push str.Interface_sTypeLib
push eax
call fcn.1010d6a8
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 9
push 0
lea edx, [esp + 0x1c]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebp, ebp
jne 0x10094bc5
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ebx
push ebp
push ebp
push ebp
push ecx
mov dword [esp + 0x24], 0x400
call esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebx], 0
je 0x10094bc5
mov edx, ebx
call fcn.1006e8d0
test eax, eax
je 0x10094bc5
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10152f0c
push edi
call esi
push ebx
push edi
call esi
pop esi
lea eax, [ebp + 1]
pop ebp
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.1010d699
add esp, 0x40c
ret
mov ecx, dword [esp + 0x410]
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.1010d699
add esp, 0x40c
ret
Function at 0x10094be0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
mov ebx, ecx
push ebx
lea eax, [esp + 0x10]
push str.Interface_s
mov byte [esi], 0
push eax
mov byte [edi], 0
call fcn.1010d6a8
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x20119
lea edx, [esp + 0x14]
push edx
push closesocket
call fcn.10062150
test eax, eax
jne 0x10094d1f
mov ecx, dword [esp + 4]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0
push 0
push ecx
mov dword [esp + 0x24], 0x400
call ebp
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, str.IRoam
mov ecx, esi
call fcn.10031940
test eax, eax
je 0x10094d06
push ebx
lea eax, [esp + 0x14]
push str.Interface_sTypeLib
push eax
call fcn.1010d6a8
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x20119
lea edx, [esp + 0x18]
push edx
push closesocket
call fcn.10062150
test eax, eax
jne 0x10094d06
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push edi
push 0
push 0
push 0
push ecx
mov dword [esp + 0x24], 0x400
call ebp
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [edi], 0
je 0x10094d06
mov edx, edi
call fcn.1006e8d0
test eax, eax
je 0x10094d06
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10152f0c
push esi
call ebx
push edi
push esi
call ebx
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.1010d699
add esp, 0x40c
ret
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.1010d699
add esp, 0x40c
ret
mov ecx, dword [esp + 0x40c]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1010d699
add esp, 0x40c
ret
Function at 0x10099ba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10136a20
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1017455c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], ebx
jne 0x10099c4d
cmp dword [0x10197614], ebx
je 0x10099be9
push str._ERA__SendCmd_start
push ebx
call fcn.10053700
add esp, 8
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ebx
push ebx
push ebx
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0x14]
call fcn.1009a0d0
mov esi, eax
cmp dword [0x10197614], ebx
je 0x10099c1c
push esi
push str._ERA__SendCmd_finish___rval___d
push ebx
call fcn.10053700
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x218
call fcn.1010dced
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x10099c8b
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x10099c75
push str.Failed_to_allocate_memory_for_EvtData_..
push eax
call fcn.1010d6a8
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edi, dword [ebp + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
cmp edi, ebx
je 0x10099cca
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10099ca0
sub eax, edx
inc eax
push eax
call fcn.1010dced
add esp, 4
mov dword [esi], eax
mov ecx, edi
mov edx, eax
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x10099cc0
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x10099cfa
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10099cd6
sub eax, edx
inc eax
push eax
call fcn.1010dced
add esp, 4
mov dword [esi + 4], eax
mov ecx, edi
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x10099cf0
mov eax, dword [ebp + 0x10]
mov ecx, esi
sub ecx, eax
lea edx, [ecx + 0x10c]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x10099d07
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x10099d2a
mov edx, esi
sub edx, eax
add edx, 8
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x10099d20
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
push esi
push ebx
push 0x10099d70
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], ecx
call fcn.1010d93f
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10099fc0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1016dc70
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor esi, esi
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
lea edi, [esi + 1]
mov ebx, dword [sym.imp.WS2_32.dll_select]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp + 0xc]
jge 0x1009a07a
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x130], esi
mov edx, dword [ebp + 8]
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x1c], 5
lea eax, [ebp - 0x2c]
push eax
push esi
push esi
lea ecx, [ebp - 0x130]
push ecx
push esi
call ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 7
cmp eax, esi
jne 0x1009a073
add dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0xa
jmp 0x1009a015
mov dword [ebp - 0x1c], 9
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret