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

Disassembly:
push 0xffffffffffffffff
push 0x458d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
push esi
mov dword [esp + 0x18], ecx
call fcn.00427f60
cmp eax, 1
jne 0x428308
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
xor ebp, ebp
push eax
push ecx
push ebp
push 0x2001f
push ebp
push ebp
push ebp
push str.SOFTWARENovatel_WirelessVerizonNextGenCommon
push connect
mov dword [esp + 0x48], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebp
jne 0x4282fe
mov ebx, dword [esp + 0x10]
push ebp
lea edx, [esp + 0x34]
push ebp
push edx
push ebp
push esi
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp edi, ebp
jne 0x42829f
cmp dword [esp + 0x30], 4
je 0x4282a4
jmp 0x4282e5
cmp edi, 2
jne 0x4282de
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x2c]
push 4
push eax
push 4
push 0
push esi
push ebx
mov dword [esp + 0x44], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.LaunchOnStartup
push esi
mov edi, eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4282de
mov ecx, dword [esp + 0x14]
push ebp
call fcn.00428530
cmp dword [esp + 0x30], 4
je 0x4282ea
mov edi, 0x545
test ebx, ebx
je 0x4283a1
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4283a1
mov eax, 5
jmp 0x4283a3
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWARENovatel_WirelessVerizonNextGenCommon
push reloc.WS2_32.dll_bind
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4282fe
mov edi, dword [esp + 0x10]
push eax
push eax
lea eax, [esp + 0x38]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x428362
cmp dword [esp + 0x30], 4
je 0x428367
mov esi, 0x545
jmp 0x428392
cmp eax, 2
jne 0x428382
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x2c]
push 4
push edx
push 4
push 0
push esi
push edi
mov dword [esp + 0x44], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [esp + 0x30], 4
je 0x428390
mov esi, 0x545
jmp 0x428392
mov esi, eax
test edi, edi
je 0x42839d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4283a3
mov eax, edi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x4283c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
push esi
call fcn.00427f60
mov ebp, 1
cmp eax, ebp
jne 0x428488
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWARENovatel_WirelessVerizonNextGenCommon
push connect
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x428479
mov ebx, dword [esp + 0x10]
push eax
lea edx, [esp + 0x24]
push eax
push edx
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x428431
cmp dword [esp + 0x20], ebp
je 0x428436
jmp 0x428455
cmp eax, 2
jne 0x42844f
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push ebp
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [esp + 0x20], ebp
je 0x428475
mov esi, 0x545
test ebx, ebx
je 0x428518
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov esi, eax
jmp 0x42845a
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 8
ret 8
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWARENovatel_WirelessVerizonNextGenCommon
push reloc.WS2_32.dll_bind
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x428479
mov ebx, dword [esp + 0x10]
push eax
lea edx, [esp + 0x24]
push eax
push edx
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4284e0
cmp dword [esp + 0x20], ebp
je 0x4284e5
mov esi, 0x545
jmp 0x42850d
cmp eax, 2
jne 0x4284fe
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push ebp
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [esp + 0x20], ebp
je 0x42850b
mov esi, 0x545
jmp 0x42850d
mov esi, eax
test ebx, ebx
je 0x428518
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x428530
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x458d70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
xor ebp, ebp
mov dword [esp + 0xc], ebp
lea ecx, [esp + 4]
mov dword [esp + 0x1c], ebp
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 4]
mov byte [esp + 0x1c], 1
push eax
call fcn.00428e10
add esp, 4
test eax, eax
jne 0x428580
push str.MobiLink
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push connect
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4286aa
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 8]
test eax, eax
mov dword [esp + 0xc], ebp
je 0x42868d
push esi
push edi
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
mov byte [esp + 0x24], 3
push eax
call fcn.00428960
add esp, 4
lea ecx, [esp + 0x2c]
push 0x104
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
call fcn.004289e0
add esp, 4
cmp eax, 1
jne 0x428626
mov edx, dword [esp + 0x10]
push edx
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
jmp 0x428634
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.__s__noshow__AppMode
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0xc]
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push 0
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
jmp 0x428699
mov eax, dword [esp + 4]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test ebp, ebp
je 0x4286aa
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov dword [esp + 0xc], ebp
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
test ebp, ebp
je 0x4286c3
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4286e0
Capabilities:
Get file version info

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x458d90
push eax
mov eax, dword [0x4760c4]
mov dword fs:[0], esp
sub esp, 0x14
test eax, eax
jge 0x42880a
push esi
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::Empty
lea eax, [esp + 8]
push eax
call fcn.00428960
add esp, 4
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
push ecx
call fcn.004289e0
add esp, 4
cmp eax, 1
jne 0x4287e4
push 0x104
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x4287e4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
push esi
push edi
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4287da
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x469314
push esi
call sub.VERSION.dll_VerQueryValueA
cmp eax, 1
jne 0x4287da
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
mov dword [0x4760c4], ecx
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x4760c4]
pop edi
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x4288b0
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push ebx
push edi
lea edi, [esp + 8]
push 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ebx, eax
test ebx, ebx
je 0x428948
mov edi, str.Novatel_WirelessVerizon
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0x10]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
push eax
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
pop esi
pop ebp
test eax, eax
je 0x42892c
cmp eax, 0x50
je 0x42892c
cmp eax, 0xb7
jne 0x428948
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov ecx, dword [esp + 0x110]
lea edx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, ebx
pop edi
pop ebx
add esp, 0x104
ret
Function at 0x428e10
Capabilities:
Get file version info

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x458e26
push eax
mov eax, dword [0x484a3c]
mov dword fs:[0], esp
sub esp, 0x120
mov ecx, dword [eax - 8]
test ecx, ecx
push ebp
jne 0x428fc4
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 4]
mov dword [esp + 0x12c], 0
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 4]
push ecx
call fcn.00428960
add esp, 4
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 8]
mov byte [esp + 0x12c], 1
push edx
call fcn.004289e0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x428ec6
lea ecx, [esp + 8]
mov byte [esp + 0x12c], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x12c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
add esp, 0x12c
ret
push esi
push edi
push 0x104
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x10]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x428f9b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
push esi
push edi
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x428f91
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x20], 0x104
xor ecx, ecx
mov dx, word [eax + 2]
mov cx, word [eax]
push edx
push ecx
lea edx, [esp + 0x30]
push str.StringFileInfo_04x_04xProductName
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push eax
push ecx
push edx
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x18]
mov ecx, 0x484a3c
push eax
call sub.MFC42.DLL_CString::operator_1
mov ebp, 1
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x134], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
jmp 0x428fc9
mov ebp, 1
mov ecx, dword [esp + 0x134]
push 0x484a3c
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x124]
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
add esp, 0x12c
ret

Function at 0x429130
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push ecx
mov esi, 2
mov dword [ecx], 0x3c
mov dword [ecx + 4], 0x40
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], str.open
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0x4845b8
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0xf
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x42917e
xor eax, eax
pop esi
ret 4
mov eax, esi
pop esi
ret 4
Function at 0x429890
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x458f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push 1
lea ecx, [esp + 8]
lea eax, [esi + 0x20]
push eax
call sub.MFC42.DLL_CSingleLock::CSingleLock
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], 0
test ecx, ecx
je 0x42990f
mov eax, dword [esp + 0x30]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [edx + 0xc]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CSingleLock::Unlock
mov ax, si
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x10]
mov ax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x42d8c0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x20]
mov word [esp + 0xa], ax
test esi, esi
je 0x42d935
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42d941
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x42d920
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x42d941
push 0x2726
call fcn.0042d820
add esp, 4
pop edi
pop esi
add esp, 0x10
ret 8
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0xc], eax
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0042d890
pop edi
pop esi
add esp, 0x10
ret 8

Function at 0x42d980
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x42d9a1
push 0
call fcn.0042d820
pop ecx
ret 8

Function at 0x42d9b0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42da1c
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x42da0c
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
jmp 0x42da1c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0
call fcn.0042d820
add esp, 4
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0042d980
pop edi
pop esi
add esp, 0x10
ret 8

Function at 0x42da40
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push esi
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42da6b
push 0
call fcn.0042d820
add esp, 4
mov eax, esi
pop esi
ret 0xc

Function at 0x42da80
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push esi
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42daab
push 0
call fcn.0042d820
add esp, 4
mov eax, esi
pop esi
ret 0xc
Function at 0x42df00
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
push esi
mov esi, dword [esp + 0x114]
mov eax, 0x10624dd3
mov ecx, dword [ecx + 4]
mul esi
shr edx, 6
mov dword [esp + 4], edx
mov eax, esi
xor edx, edx
mov esi, 0x3e8
div esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 1
lea eax, [edx + edx*4]
lea edx, [esp + 4]
push edx
push 0
lea eax, [eax + eax*4]
push 0
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42df6d
push 0
call fcn.0042d820
add esp, 4
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x10c
ret 4
Function at 0x433af0
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea eax, [ebp + 0x188]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x433baf
mov eax, dword [ebp + 0x244]
test eax, eax
jne 0x433baf
mov edi, dword [sym.imp.MSVCRT.dll_malloc]
push 0x18
call edi
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x433baf
push 0xc
call edi
mov edx, eax
add esp, 4
test edx, edx
je 0x433b8f
mov ecx, 6
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
mov edi, ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
push eax
push eax
mov dword [ecx + 8], eax
push edx
mov ecx, 6
push 0x43c880
push eax
push eax
rep movsd dword es:[edi], dword [esi]
mov dword [edx], 1
mov dword [edx + 4], ebp
mov dword [edx + 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov eax, dword [esi]
mov edi, dword [sym.imp.MSVCRT.dll_free]
cmp eax, 0xd
jne 0x433ba9
mov eax, dword [esi + 4]
test eax, eax
je 0x433ba9
push eax
call edi
add esp, 4
push esi
call edi
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x447920
Capabilities:
Create thread

Disassembly:
sub esp, 0x28
push ebp
push esi
push edi
mov esi, ecx
call fcn.004396f0
mov ebp, eax
test bp, bp
jne 0x4479f9
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4479a1
push ebx
push 0xc
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
lea ebx, [esi + 0x188]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test edi, edi
je 0x44798d
mov eax, dword [esi + 0x244]
test eax, eax
jne 0x44798d
mov ecx, edi
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
push eax
push eax
push edi
push 0x43c880
push eax
mov dword [ecx + 8], eax
push eax
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
mov ax, bp
pop esi
pop ebp
add esp, 0x28
ret 4
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esi + 0x210], 1
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.00438f20
push 0x64
call edi
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4479be
mov eax, dword [esi + 0x214]
mov dword [esi + 0x210], 0
sub eax, 0xb
pop edi
neg eax
sbb eax, eax
pop esi
and eax, 0x1d
pop ebp
add esp, 0x28
ret 4
pop edi
mov ax, bp
pop esi
pop ebp
add esp, 0x28
ret 4

Function at 0x447a10
Capabilities:
Create thread

Disassembly:
sub esp, 0x100
xor eax, eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
lea edi, [esp + 0x10]
xor ebx, ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 2
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], ebx
call fcn.0043bf50
mov ebp, eax
cmp bp, bx
jne 0x447aa8
cmp dword [esp + 0x114], ebx
je 0x447ab8
push 0xc
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
lea ebx, [esi + 0x188]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test edi, edi
je 0x447aa1
mov eax, dword [esi + 0x244]
test eax, eax
jne 0x447aa1
mov edx, edi
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
push ecx
push ecx
push edi
push 0x43c880
push ecx
mov dword [edx + 8], ecx
push ecx
mov dword [edi], ecx
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov ax, bp
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esi + 0x210], 1
push 0x64
call edi
mov eax, dword [esi + 0x214]
push eax
push str.IOTA_Status:__d_n
push 1
push 1
call fcn.004048e0
mov eax, dword [esi + 0x214]
add esp, 0x10
cmp eax, 0xe
je 0x447af4
cmp eax, 0xf
jne 0x447ac8
mov edi, dword [esi + 0x214]
mov dword [esi + 0x210], ebx
sub edi, 0xe
lea ebx, [esi + 0x188]
neg edi
sbb edi, edi
push ebx
and edi, 0x1d
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
push ebx
mov dword [esi + 0x218], eax
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ax, di
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 4
Function at 0x450dd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x45998b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov byte [esi + 4], al
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esp + 0x10], esi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
push 0x483284
push 2
push 0x40
mov dword [esp + 0x28], edi
call fcn.004048e0
push 0xc
mov dword [esi], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 0x10
xor ecx, ecx
mov dword [esi + 0x44], eax
mov dword [eax], ecx
push edi
mov dword [eax + 4], ecx
push edi
push edi
mov dword [eax + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
push edi
push edi
push edi
mov dword [esi + 0x34], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x38], eax
call ebx
lea edx, [esi + 0x48]
mov dword [esi + 0x3c], eax
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x483270
push 2
push 0x40
call fcn.004048e0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret