joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424110
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43736c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call sub.MFC80U.DLL_Ordinal_356
xor ebp, ebp
mov dword [esi], vtable.CConditionalMessageBox.0
mov dword [esp + 0x20], ebp
mov dword [esi + 0x74], ebp
lea edi, [esi + 0x80]
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x84]
mov byte [esp + 0x20], 2
call fcn.004216e0
lea ecx, [esi + 0x134]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esi + 0x138]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ebx, [esi + 0x140]
mov ecx, ebx
mov byte [esp + 0x20], 5
call sub.MFC80U.DLL_Ordinal_572
mov dword [ebx], vtable.CButton.0
mov ecx, esi
mov byte [esp + 0x20], 6
call fcn.00423f50
mov ebx, dword [esp + 0x28]
push ebx
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
push ecx
push ebp
push 0x2001f
push ebp
push ebp
push ebp
push edx
push eax
mov dword [esp + 0x4c], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebp
jne 0x42423c
mov ecx, dword [esi + 0x74]
xor eax, eax
cmp ecx, ebp
je 0x4241f4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x74], ebp
cmp eax, ebp
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x74], ecx
jne 0x42423c
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esi + 0x74]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebp
push ebx
mov edi, 4
push edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0x28], edi
jne 0x42423c
cmp eax, ebp
jne 0x42423c
mov eax, dword [esp + 0x30]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x78]
cmp eax, ebp
je 0x42424f
cmp eax, 2
je 0x42424f
mov eax, 1
jmp 0x424251
xor eax, eax
mov byte [esi + 0x7c], al
mov eax, dword [esp + 0x34]
mov ecx, eax
shr ecx, 1
and cl, 1
and al, 1
mov byte [esi + 0x7d], al
mov byte [esi + 0x13c], cl
mov dword [esi + 0x194], 1
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x424290
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4373aa
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], 0
cmp byte [ebp + 0x7c], 0
jne 0x424406
cmp byte [ebp + 0x13c], 0
mov ebx, dword [esp + 0x28]
je 0x424380
lea esi, [ebp + 0x138]
push ebx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
push 0x43fce8
push 0x43e61c
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_5485]
lea edi, [ebp + 0x134]
push esi
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
push str._br_
push 0x43e61c
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_5485]
push 0x43e61c
push str._br_
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_5485]
push 0x43e61c
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
push 0
push 0x3c
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
mov edi, eax
test edi, edi
jl 0x424380
lea ecx, [ecx]
push edi
push 0x3e
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
cmp eax, edi
jle 0x42436e
sub eax, edi
add eax, 1
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_1906]
push 0
push 0x3c
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
mov edi, eax
test edi, edi
jge 0x424350
push ebp
call sub.MFC80U.DLL_Ordinal_1091
cmp byte [ebp + 0x13c], 0
je 0x424397
lea eax, [ebp + 0x138]
jmp 0x4243b2
push ebx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax]
push ecx
push edx
push eax
call sub.MFC80U.DLL_Ordinal_1118
test byte [esp + 0x14], 1
mov dword [ebp + 0x78], eax
je 0x4243d8
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp byte [ebp + 0x7c], 0
mov eax, dword [ebp + 0x78]
je 0x424409
cmp eax, 2
je 0x424409
mov ecx, dword [ebp + 0x80]
mov edx, dword [ebp + 0x74]
push 4
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp + 0x78]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x424820
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
cmp dword [0x457d64], 0
mov dword [0x457d60], 0
je 0x42483c
xor eax, eax
add esp, 0xc
ret
mov eax, 0x457d70
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424844
sub eax, edx
sar eax, 1
push esi
jne 0x4248c1
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.CLSIDc6f7158b_a330_474c_b76e_ecf14355aabaInprocServer32
push SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4248d5
lea ecx, [esp + 0xc]
push ecx
push 0x457d70
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4248b2
cmp dword [esp + 8], 1
jne 0x4248b2
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4248d5
push 0x457d70
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x457d64], eax
jne 0x4248f1
cmp dword [0x457d60], 0
jle 0x4248e7
mov word [0x457d62], 0x8007
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x4249b0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x43740b
mov eax, dword fs:[0]
push eax
mov eax, 0x2208
call fcn.00432f40
mov eax, dword [0x44fcc4]
xor eax, esp
mov dword [esp + 0x2204], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x221c]
mov dword fs:[0], eax
push 0x457d48
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 1
mov dword [esp + 0x14], esi
xor edi, edi
cmp dword [0x457d64], edi
mov dword [esp + 0x2224], edi
je 0x424a20
cmp dword [0x457d68], edi
jne 0x424b78
mov word [esp + 0x218], di
call fcn.00424820
test eax, eax
jge 0x424a56
push 0x1000
push str.This_program_requires_the_file_advrcntr3.dll__which_was_not_found_on_this_system.
lea eax, [esp + 0x220]
push 0x1000
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
jmp 0x424aee
mov ebp, dword [esp + 0x2230]
mov ebx, dword [esp + 0x222c]
push ebp
push ebx
call fcn.00424900
add esp, 8
test eax, eax
jge 0x424b78
test bl, bl
je 0x424aab
push ebp
push 0
call fcn.00424900
add esp, 8
test eax, eax
jl 0x424aab
mov ebp, dword [0x457d68]
add ebp, 0x14
push ebp
mov esi, 2
call fcn.00424960
add esp, 4
test eax, eax
je 0x424aab
mov ecx, dword [ebp]
call ecx
mov edi, eax
mov edx, dword [esp + 0x2230]
mov eax, dword [esp + 0x2238]
mov ecx, dword [esp + 0x2234]
push edx
push eax
push ecx
push edi
push 7
push 0xcf
push esi
push str.Fatal_Error:_r_nInstallation_corrupted___please_reinstall_NERO__r_n_r_nError_Code:__i____i____i____i_r_nParameters:__i____i____i_r_nSee_Doc4536
push 0x1000
lea edx, [esp + 0x23c]
push 0x1000
push edx
call dword [sym.imp.MSVCR80.dll__snwprintf_s]
add esp, 0x2c
xor edi, edi
push 0x457d48
mov dword [0x457d68], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x43fe68]
mov cx, word [0x43fe6c]
push 0x1fa
lea edx, [esp + 0x22]
push edi
push edx
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x100
lea eax, [esp + 0x1c]
push eax
push str.NeroSuppressProxyCheck
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x424b52
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.MSVCR80.dll__wtoi]
add esp, 4
test eax, eax
jne 0x424b71
test byte [0x457d6c], 1
jne 0x424b71
push 0x10
push str.Nero
lea edx, [esp + 0x220]
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0x80004005
jmp 0x424b85
push 0x457d48
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x221c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2204]
xor ecx, esp
call fcn.0041583a
add esp, 0x2214
ret
Function at 0x425a00
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4374a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DrawThemeParentBackground
push eax
mov dword [esp + 0x20], 0
mov dword [esi], vtable.CXPThemeManager.0
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
push str.OpenThemeData
push eax
call edi
mov ecx, dword [esi + 4]
push str.EnableTheming
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 4]
push str.GetWindowTheme
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.DrawThemeBackground
push eax
call edi
mov ecx, dword [esi + 4]
push str.DrawThemeText
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 4]
push str.DrawThemeIcon
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push str.DrawThemeEdge
push eax
call edi
mov ecx, dword [esi + 4]
push str.IsAppThemed
push ecx
mov dword [esi + 0x24], eax
call edi
mov edx, dword [esi + 4]
push str.IsThemeActive
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x425ad8
push 1
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x428960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x437b78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
lea edx, [edi + 0x14]
mov dword [esi + 0x10], ecx
push edx
lea ecx, [esi + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add edi, 0x4c
push edi
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x42ce50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x437b78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, dword [esp + 0x20]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x42ced0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x437bb8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esi + 0x10]
push eax
mov dword [esp + 0x18], 1
mov dword [esi], 0
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
lea ecx, [esi + 0x4c]
mov dword [esi + 0x10], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x42fb55
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x44fcc4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx], 0xffffffff
je 0x42fb95
call fcn.0042fa65
push 7
lea ecx, [ebp - 0x14]
push ecx
movzx eax, ax
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42fb95
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCR80.dll__wtoi]
pop ecx
jmp 0x42fb97
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041583a
leave
ret
Function at 0x42fd13
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x44fcc4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x42fd45
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x42fdc5
push esi
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
test esi, esi
pop ecx
jne 0x42fd5c
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x42fdc4
push esi
push dword [ebp - 0x18]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x42fd7d
push esi
call dword [sym.imp.MSVCR80.dll_free]
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x42fdc3
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x43e620
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42fd6c
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0042fc1a
push esi
call dword [sym.imp.MSVCR80.dll_free]
lea esi, [ebp - 0x10]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0041583a
leave
ret
Function at 0x431069
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44fcc4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00430ffe
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4310b8
cmp dword [ebp - 0x1c], 5
jb 0x4310d0
jmp 0x4310cc
cmp dword [ebp - 0x10], 1
jne 0x4310d0
cmp dword [ebp - 0x1c], 4
ja 0x4310cc
jne 0x4310d0
cmp dword [ebp - 0x18], 0
jbe 0x4310d0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x442e88
call fcn.00405b70
test eax, eax
jge 0x4310f1
mov byte [0x457490], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041583a
add ebp, 0x78
leave
ret
Function at 0x100c4ca
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor esi, esi
push 0x101a3a0
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
mov dword [0x101a3a0], 0x114
call fcn.0100fb61
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x10020a4
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
push 4
pop edi
jne 0x100c55d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x100208c
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x100c55d
cmp dword [ebp - 8], edi
jne 0x100c55d
cmp dword [ebp - 0xc], esi
je 0x100c55d
mov ebx, esi
jmp 0x100c5c2
cmp dword [0x101a3b0], 2
jne 0x100c57b
cmp dword [0x101a3a4], edi
jbe 0x100c57b
cmp dword [0x101a3a8], esi
jbe 0x100c57b
push 3
pop edi
jmp 0x100c5e0
push 0x1002080
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, esi
je 0x100c5c2
push 0x1002068
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
mov dword [0x101a4c4], eax
je 0x100c5c2
lea eax, [ebp - 0x10]
push eax
call fcn.0100c467
test eax, eax
jl 0x100c5bc
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x100c5bc
call fcn.0100c4b2
jmp 0x100c5cd
mov dword [0x101a4c4], esi
xor edi, edi
cmp dword [0x101a3b0], 1
jne 0x100c5d0
xor edi, edi
inc edi
cmp ebx, esi
je 0x100c5e0
cmp edi, 1
je 0x100c5e0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x101a0d8], edi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100d3ac
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 8]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push 0x1001558
push esi
push dword [ebp + 0xc]
mov dword [ebp - 8], esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x100d402
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorLength]
push eax
push dword [ebp + 0x14]
push 3
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
cmp dword [ebp - 4], esi
je 0x100d410
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret 0x10
Function at 0x101182e
Capabilities:
Obtain transmitpackets callback function via wsaioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x101a0bc]
push ebx
push 0x101b374
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
inc eax
xor ebx, ebx
cmp dword [0x101b4ac], ebx
mov dword [0x101b4d8], eax
je 0x10119a4
push esi
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
push 0x20019
push ebx
push 0x1002468
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0100f825
test eax, eax
push 4
mov esi, 0xc8000006
pop edi
jne 0x10118c7
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push 0x100243c
push dword [ebp - 0x30]
mov dword [ebp - 0x3c], edi
call fcn.0100f9d4
test eax, eax
jne 0x10118b9
cmp dword [ebp - 0x38], edi
jne 0x10118b9
cmp dword [ebp - 0x28], ebx
setne al
mov dword [ebp - 0x34], eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], ebx
je 0x10118f7
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x101b4d4
push 0x10
push 0x101a26c
push esi
push dword [ebp + 8]
call dword [0x101b4ac]
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
jne 0x10118fd
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov dword [ebp - 0x28], eax
jmp 0x10118fd
mov dword [0x101b4d4], ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x101b4cc
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0x14], 0xb5367df1
mov word [ebp - 0x10], 0xcbac
mov word [ebp - 0xe], 0x11cf
mov byte [ebp - 0xc], 0x95
mov byte [ebp - 0xb], 0xca
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], 0x80
mov byte [ebp - 8], 0x5f
mov byte [ebp - 7], 0x48
mov byte [ebp - 6], 0xa1
mov byte [ebp - 5], 0x92
call dword [0x101b4ac]
push ebx
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x101b4d0
push 0x10
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0x24], 0xb5367df2
mov word [ebp - 0x20], 0xcbac
mov word [ebp - 0x1e], 0x11cf
mov byte [ebp - 0x1c], 0x95
mov byte [ebp - 0x1b], 0xca
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], 0x80
mov byte [ebp - 0x18], 0x5f
mov byte [ebp - 0x17], 0x48
mov byte [ebp - 0x16], 0xa1
mov byte [ebp - 0x15], 0x92
call dword [0x101b4ac]
pop edi
mov dword [0x101b370], ebx
pop esi
push 0x101b374
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01007613
leave
ret 4