joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a0e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x40a1c8
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x40a1b7
jg 0x40a120
test edx, edx
je 0x40a1b7
nop dword [eax]
call fcn.00404e20
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40a174
jg 0x40a137
test esi, esi
je 0x40a174
cmp ebx, eax
jg 0x40a147
jl 0x40a141
cmp edi, esi
jae 0x40a147
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.00614e90
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x40a19b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x40a1b1
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x40a120
jl 0x40a1b1
test edi, edi
jne 0x40a120
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x40a1ea
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x40a1ec
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x40a26a
jg 0x40a1ff
test esi, esi
je 0x40a26a
test eax, eax
jl 0x40a24e
jg 0x40a209
test ebx, ebx
je 0x40a24e
cmp edi, eax
jg 0x40a219
jl 0x40a213
cmp esi, ebx
jae 0x40a219
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.00614e90
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x40a26a
jg 0x40a251
test esi, esi
je 0x40a26a
jmp 0x40a251
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x40a26a
push eax
push esi
push 1
push edx
call fcn.00629d40
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40a800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40a830
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40a86c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40a86c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x40a956
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x40a894
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40a8c7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.00629e90
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40a929
sub eax, 1
je 0x40a929
sub eax, 2
jne 0x40a956
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.00629e90
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40a946
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00629d40
add esp, 0x10
cmp edi, eax
jne 0x40a956
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x40a857
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00610840
mov esp, ebp
pop ebp
ret 4
Function at 0x40a990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40aa4c
cmp byte [esi + 0x3d], 0
je 0x40aa4c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40aa3a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40aa02
sub eax, 1
je 0x40aa06
sub eax, 2
jne 0x40aa3a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40aa23
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00629d40
add esp, 0x10
cmp edi, eax
jne 0x40aa3a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00610840
mov esp, ebp
pop ebp
ret

Function at 0x40afc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x40b002
push str.___HRESULT__hRes_____0_
push 0x70d8fc
push 0
push 0xe
push str.C:EasyConnectInstaller_srcEasyConnectInstaller.cpp
push 2
call fcn.00619920
add esp, 0x18
cmp eax, 1
jne 0x40b002
int3
sub esp, 0xc
call fcn.0040b0c0
test eax, eax
jns 0x40b031
push str.___HRESULT__hRes_____0_
push 0x70d8fc
push 0
push 0x11
push str.C:EasyConnectInstaller_srcEasyConnectInstaller.cpp
push 2
call fcn.00619920
add esp, 0x18
cmp eax, 1
jne 0x40b031
int3
lea eax, [ebp - 0x210]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b09d
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0xc
call fcn.00406360
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40cf40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push ebx
push dword [ecx]
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call fcn.0040cdc0
mov esi, eax
test esi, esi
je 0x40cff8
cmp esi, 2
je 0x40cfd2
cmp esi, 3
je 0x40cfd2
push esi
push ebx
push str.CRegKey::RecurseDeleteKey_:_Failed_to_Open_Key__Ts_Error___d__n
push 0
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x70d120
push 2
push eax
mov dword [ebp - 0x220], 0x18c9
call fcn.0040af50
add esp, 0x18
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x40cfe3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x100
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x218]
call edi
test eax, eax
jne 0x40d078
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x218]
call fcn.0040cf40
mov esi, eax
test esi, esi
jne 0x40cfd2
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x21c], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x218]
call edi
test eax, eax
je 0x40d031
mov eax, dword [ebp - 0x218]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x40d095
push eax
call esi
mov dword [ebp - 0x218], 0
mov ecx, dword [ebp - 0x220]
push ebx
mov dword [ebp - 0x214], 0
call fcn.0040d180
mov ecx, dword [ebp - 0x218]
mov edi, eax
test ecx, ecx
je 0x40d0ba
push ecx
call esi
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00610840
mov esp, ebp
pop ebp
ret 4
Function at 0x40d180
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673530
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x730b1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
jne 0x40d1d1
push str.m_hKey___0
push 0x70d8fc
push 0
push 0x167c
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30037_atlmfcinclude_atlbase.h
push 2
call fcn.00619920
add esp, 0x18
cmp eax, 1
jne 0x40d1d1
int3
mov edi, dword [esi + 8]
test edi, edi
je 0x40d26c
cmp dword [edi], 0
mov esi, dword [esi]
je 0x40d260
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x40d22f
push str.hAdvAPI32___0
push 0x70d8fc
push eax
push 0x29c
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30037_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.00619920
add esp, 0x18
cmp eax, 1
jne 0x40d217
int3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d217
push 0
push dword [edi]
push 0
push 0
push dword [ebp + 8]
push esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 4], 0
je 0x40d217
push dword [ebp + 8]
push esi
jmp 0x40d2d9
cmp byte [0x73acd4], 0
jne 0x40d2ac
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40d29e
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x73acd0], eax
mov byte [0x73acd4], 1
jmp 0x40d2b1
mov eax, dword [0x73acd0]
mov byte [0x73acd4], 1
jmp 0x40d2b1
mov eax, dword [0x73acd0]
test eax, eax
je 0x40d2d4
push 0
push dword [esi + 4]
push dword [ebp + 8]
push dword [esi]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x413f90
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673f8b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38], edi
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
push eax
mov dword [ebp - 0x3c], edi
push dword [ebx + 0x14]
mov dword [ebp - 0x34], esi
push dword [ebx + 0x10]
call fcn.00403dd0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
push esi
mov dword [edi], vtable.std::filesystem::filesystem_error.0
call fcn.00414420
lea esi, [edi + 0x30]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov byte [ebp - 4], 2
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.00405370
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 4], 4
push 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00405370
lea ecx, [ebp - 0x30]
mov dword [eax + 4], 0
mov dword [ebp - 0x30], eax
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 5
mov eax, str.Unknown_exception
mov ecx, dword [edi + 4]
test ecx, ecx
push ecx
cmovne eax, ecx
mov edx, esp
mov dword [edx], eax
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4140c0
sub eax, esi
lea ecx, [edi + 0x4c]
mov dword [edx + 4], eax
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x34]
push eax
call fcn.00413db0
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00415890
mov ecx, dword [ebp - 0x30]
push 8
push ecx
mov dword [ebp - 0x30], 0
call fcn.00405410
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
Function at 0x421ca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x675100
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x730b1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.Json::StyledWriter.0
lea esi, [edi + 4]
mov dword [ebp - 4], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00405370
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea esi, [edi + 0x14]
mov dword [ebp - 4], 1
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.00405370
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
lea esi, [edi + 0x30]
mov dword [ebp - 4], 2
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.00405370
add esp, 0xc
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov eax, edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov dword [edi + 0x4c], 0x4a
mov dword [edi + 0x50], 3
mov byte [edi + 0x54], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
xorps xmm0, xmm0
mov dword [esp + 0x14], edi
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x34], 2
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov esi, dword [eax + 0xe08]
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
xor eax, eax
cmp dword [edi + 0x2f8], 3
setne al
inc eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
push eax
call fcn.0045e520
add esp, 4
movups xmm0, xmmword [eax]
push 0x58
push 1
movups xmmword [esi], xmm0
call dword [0x731678]
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0xc
mov dword [edi + 0x5ec], eax
test eax, eax
je 0x42639c
mov esi, dword [ebp + 8]
mov dword [edi + 0x5e0], esi
mov byte [edi + 0x5f0], 0
mov dword [edi + 0x5e8], 0
mov dword [edi + 0x5e4], 0
lea edi, [eax + 0x10]
push 0x48
push 0
push edi
mov dword [eax], 0
call fcn.00614d30
movups xmm0, xmmword [esp + 0x3c]
mov eax, dword [esp + 0x18]
add esp, 0xc
mov dword [edi + 0x44], eax
movups xmmword [edi + 0x24], xmm0
mov dword [edi + 0xc], esi
xorps xmm0, xmm0
mov dword [edi + 4], 1
push 0x18
movups xmmword [edi + 0x34], xmm0
call dword [0x73166c]
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x42637a
push 1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
lea esi, [edi + 0x14]
push esi
push ecx
call fcn.00457e20
add esp, 8
test eax, eax
jns 0x4263c0
mov dword [esi], 0xffffffff
mov dword [edi + 0x18], 0xffffffff
mov ecx, edi
call fcn.00425db0
mov eax, dword [esp + 0x14]
push dword [esp + 0xc]
mov dword [eax + 0x5ec], 0
call dword [0x731670]
add esp, 4
call fcn.00628f40
mov ecx, dword [esp + 0x18]
push str.getaddrinfo___thread_failed_to_start_n
push dword [esp + 0x20]
mov dword [eax], ecx
call fcn.004512d0
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
mov dword [edi + 0x1c], 0
call dword [0x731674]
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x42637a
mov esi, dword [esp + 0x14]
add esi, 0x5dc
mov dword [esp + 0x14], esi
push dword [esi]
call dword [0x731670]
add esp, 4
push dword [esp + 0x10]
call dword [0x731674]
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x426460
mov esi, dword [esp + 0xc]
push 0
push 0
push edi
push 0x425f00
push 0
push 0
mov dword [esi + 0x14], 0
call fcn.0063c500
add esp, 0x18
test eax, eax
je 0x426444
cmp eax, 0xffffffff
je 0x426444
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [esi], 0
mov dword [esi + 0x14], 1
call fcn.00628f40
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00425fe0
jmp 0x42639c
Function at 0x427a80
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
cmp dword [ebx + 0x2f8], 3
jne 0x427bb6
cmp byte [ebx + 0x51e], 0
jne 0x427bb6
cmp byte [ebx + 0x532], 0
jne 0x427bb6
call fcn.00427930
push 0x80
lea eax, [ebp - 0x188]
mov dword [ebp - 0x18c], 0x80
push 0
push eax
call fcn.00614d30
add esp, 0xc
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x188]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x427b28
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea edx, [ebp - 0x108]
push 0x100
mov ecx, esi
call fcn.0045a2e0
add esp, 4
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x427bac
movzx eax, word [ebp - 0x188]
lea esi, [ebx + 0x3a4]
sub eax, 2
jne 0x427b69
push 0x2e
push esi
lea edx, [ebp - 0x184]
lea ecx, [eax + 2]
call fcn.004430d0
add esp, 8
test eax, eax
je 0x427b69
push dword [ebp - 0x186]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [ebx + 0x3d4], eax
jmp 0x427bb6
mov byte [esi], 0
mov dword [ebx + 0x3d4], 0
call fcn.00628f40
mov dword [eax], 0x273f
call fcn.00628f40
mov esi, dword [eax]
call fcn.00628f40
push 0x100
lea edx, [ebp - 0x108]
mov ecx, esi
mov edi, eax
call fcn.0045a2e0
add esp, 4
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push dword [ebx]
call fcn.004512d0
add esp, 0x10
mov ecx, ebx
call fcn.00427850
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00610840
mov esp, ebp
pop ebp
ret
Function at 0x428dc0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x730b1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
lea esi, [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
cmovne esi, eax
mov eax, dword [edx + 4]
push edi
mov edi, dword [ecx]
mov dword [esi], eax
xor eax, eax
cmp dword [ecx + 0x2f8], 3
setne al
inc eax
mov dword [esi + 4], eax
mov eax, 0x11
cmp dword [ecx + 0x2f8], 3
jne 0x428e15
mov eax, dword [edx + 0xc]
mov dword [esi + 8], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0xc], eax
cmp eax, 0x80
jbe 0x428e31
mov dword [esi + 0xc], 0x80
mov eax, 0x80
push eax
push dword [edx + 0x18]
lea eax, [esi + 0x10]
push eax
call fcn.00614e90
add esp, 0xc
cmp dword [edi + 0x610], 0
je 0x428e95
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x428e58
mov eax, dword [edi + 0x78]
test eax, eax
je 0x428e5f
mov byte [eax + 0xe6], 1
mov eax, dword [edi + 0x610]
push esi
push 0
push dword [edi + 0x614]
call eax
mov dword [ebx], eax
add esp, 0xc
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x428e85
mov byte [eax + 0xe6], 0
jmp 0x428ea5
mov eax, dword [edi + 0x78]
test eax, eax
je 0x428ea5
mov byte [eax + 0xe6], 0
jmp 0x428ea5
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx], eax
mov eax, dword [ebx]
cmp eax, 0xffffffff
jne 0x428ec2
mov eax, 7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00610840
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x9c]
cmp dword [ecx + 0x2f8], 5
jne 0x428eee
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 1
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00610840
mov esp, ebp
pop ebp
ret

Function at 0x4293d0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test esi, esi
je 0x429490
lea eax, [ebp - 4]
mov edx, esi
push eax
call fcn.00443190
add esp, 4
test eax, eax
jne 0x429490
mov edx, esi
push edi
xor edi, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x429400
sub edx, ecx
je 0x42943c
lea ecx, [esi - 1]
add ecx, edx
cmp ecx, esi
jb 0x42943c
cmp byte [ecx], 0x2e
je 0x429420
dec ecx
cmp ecx, esi
jae 0x429414
jmp 0x42943c
mov eax, ecx
sub eax, esi
je 0x42943a
lea eax, [ecx - 1]
cmp eax, esi
jb 0x42943a
nop dword [eax]
cmp byte [eax], 0x2e
je 0x429485
dec eax
cmp eax, esi
jae 0x429430
xor edi, edi
test edi, edi
mov ecx, 0x1505
cmovne esi, edi
lea edi, [esi + edx]
cmp esi, edi
jae 0x42947c
push ebx
nop
mov bl, byte [esi]
mov eax, ecx
shl ecx, 5
add ecx, eax
mov dword [ebp - 4], ecx
lea eax, [ebx - 0x20]
lea edx, [ebx - 0x61]
movzx ecx, al
cmp dl, 0x19
movzx eax, bl
cmova ecx, eax
inc esi
movsx eax, cl
mov ecx, dword [ebp - 4]
xor ecx, eax
cmp esi, edi
jb 0x429450
pop ebx
pop edi
movzx eax, cl
pop esi
mov esp, ebp
pop ebp
ret
lea edi, [eax + 1]
mov eax, esi
sub eax, edi
add edx, eax
jmp 0x42943c
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret