joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415d5b
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x563d0d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5c31c8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x5c31c8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x48]
push str.ipcSendId
call fcn.00401c4a
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x88], ebx
mov eax, dword [edi]
call dword [eax + 4]
push edx
push eax
lea edx, [esp + 0x50]
mov ecx, esi
call fcn.00413ad1
or dword [esp + 0x90], 0xffffffff
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.00401d3f
push str.stat_RecvTick
lea ecx, [esp + 0x34]
call fcn.00401c4a
mov dword [esp + 0x88], 1
lea ecx, [esp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
call fcn.0053ed40
push dword [esp + 0x20]
lea edx, [esp + 0x34]
mov dword [esp + 0x28], ebx
push dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.00413ad1
or dword [esp + 0x90], 0xffffffff
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.00401d3f
mov edx, esi
lea ecx, [esp + 0x60]
call fcn.00413fc5
mov dword [esp + 0x88], 2
cmp dword [edi + 0x14], ebx
je 0x415ec2
push 0x18
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
pop ecx
mov dword [esp + 0x14], esi
mov byte [esp + 0x88], 3
test esi, esi
je 0x415eb0
push 2
push 0x6a000c
push closesocket
mov ecx, esi
call fcn.0055bf50
lea eax, [esp + 0x60]
mov byte [esp + 0x88], 4
push eax
mov ecx, esi
mov dword [esi], 0x57f644
call fcn.0053f390
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0053f390
jmp 0x415eb2
mov esi, ebx
mov byte [esp + 0x88], 2
mov ecx, dword [edi + 0x14]
push esi
mov eax, dword [ecx]
call dword [eax]
push ebx
push 1
lea ecx, [esp + 0x68]
call fcn.00401d3f
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0055daac
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41806a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56420e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5c31c8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 1
push ecx
call fcn.0043f1b3
pop ecx
mov ecx, eax
call fcn.0043f163
push 0
push fcn.00414d38
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x14]
call fcn.0042e595
pop ecx
pop ecx
and dword [esp + 0x30], 0
push eax
call fcn.005377a0
push eax
push 0x4b0
push str.transfer_session.cpp
push str.transfer::TransferSession::OnError
lea ecx, [esp + 0x28]
call fcn.00537760
mov ecx, dword [esi + 0x70]
push eax
call fcn.0053a490
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.005382b0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43385e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, ebx
sub edx, dword [edi + 0x6c]
mov dword [ebp - 0xc], edx
cmp dword [edi + 0x6c], eax
jb 0x4338f9
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call sub.MSVCR120.dll_memcpy
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov edi, ecx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
dec edi
jne 0x4338b2
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x40]
mov edi, ebx
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
dec edi
jne 0x4338d7
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edx, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x4339b4
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x433926
xor eax, eax
jmp 0x433977
sub eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x433943
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00435a39
jmp 0x43395b
cmp eax, 2
jne 0x43395f
mov edx, dword [esi]
test edx, edx
jne 0x433952
xor eax, eax
jmp 0x43395c
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00435799
pop ecx
mov dword [esi + 0x30], eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp - 0xc]
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [esi], eax
add dword [esi + 8], eax
add dword [edi + 0x74], eax
cmp dword [edi + 0x74], 3
jb 0x43399f
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x4339b4
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x43386f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a806
Capabilities:
Read file via mapping

Disassembly:
push 0xb8
mov eax, 0x568bb1
call fcn.00561213
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc4], esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
push ecx
push 0x80
push 4
push ecx
mov byte [ebp - 4], 1
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
push 3
cmovae eax, dword [ebp + 0xc]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43a89e
cmp dword [edi + 0x10], 0
je 0x43a89e
cmp dword [edi + 0x14], 8
jb 0x43a868
mov edi, dword [edi]
push edi
push 0xb0
xor edi, edi
push edi
push 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
test eax, eax
je 0x43a895
mov ecx, 0xb0
push ecx
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43a8a0
xor edi, edi
cmp dword [esi], edi
je 0x43a947
push 0xb0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x43a8d2
mov dword [eax + 0x98], edi
mov dword [eax + 0x9c], edi
mov dword [eax + 0xa8], edi
mov dword [eax + 0xac], edi
jmp 0x43a8d4
mov eax, edi
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
test ecx, ecx
je 0x43a8e6
push ecx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
pop ecx
mov ecx, 0xb0
push ecx
push dword [esi]
push ecx
push dword [esi + 8]
call dword [sym.imp.MSVCR120.dll_memcpy_s]
mov ebx, dword [esi]
add esp, 0x10
push 9
pop eax
cmp word [ebx], ax
je 0x43a947
push 0xa0
lea eax, [ebp - 0xc0]
push edi
push eax
call sub.MSVCR120.dll_memset
mov dword [ebp - 0x28], edi
xor eax, eax
mov dword [ebp - 0x24], edi
add esp, 0xc
lea edi, [ebp - 0x20]
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc0]
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
push eax
call fcn.0043a95d
mov ecx, dword [esi]
push 9
pop eax
mov word [ecx], ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0053cce0
mov eax, esi
call fcn.005611c2
ret 0x1c
Function at 0x43b11b
Capabilities:
Get file version info

Disassembly:
push 0x224
mov eax, 0x568d28
call fcn.00561213
push 2
pop esi
push fcn.0043ae9d
mov dword [0x5cb9fc], esi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.MSVCR120.dll__set_abort_behavior]
mov esi, dword [sym.imp.MSVCR120.dll_signal]
mov edi, 0x43afb6
push edi
push 0x16
call esi
push edi
push 0xf
call esi
push 0x43b040
call dword [sym.imp.MSVCR120.dll__set_invalid_parameter_handler]
push 0x43b0cf
call dword [sym.imp.MSVCR120.dll__set_purecall_handler]
push 0x43b081
call dword [sym.imp.MSVCR120.dll_int____cdecl___unsigned_int____cdecl__set_new_handler_int____cdecl___unsigned_int__]
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call sub.MSVCR120.dll_memset
add esp, 0x30
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x43b24f
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], ebx
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x43b24f
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
push esi
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], ebx
call fcn.0043a608
push dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push esi
push ebx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43b244
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x58e758
push dword [ebp - 0x224]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43b244
mov eax, dword [ebp - 0x228]
mov ax, word [eax + 0xc]
mov word [0x5cb9f8], ax
lea ecx, [ebp - 0x224]
call fcn.00408f76
call fcn.005611c2
ret
Function at 0x43b99e
Capabilities:
Create process memory minidump
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
mov eax, dword [0x5c31c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
cmp dword [ebx + 0x14], 8
jb 0x43b9c3
mov eax, dword [ebx]
jmp 0x43b9c5
mov eax, ebx
xor edi, edi
push edi
push edi
push 2
push edi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x32c], eax
cmp eax, 0xffffffff
jne 0x43b9ec
xor al, al
jmp 0x43bab3
mov dword [ebp - 0x338], edi
mov dword [ebp - 0x334], edi
mov dword [ebp - 0x330], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x338], eax
lea edi, [ebp - 0x58]
mov eax, dword [esi]
push 0x14
pop ecx
lea esi, [eax + 0xc]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x5c]
mov ecx, 0xb3
lea edi, [ebp - 0x328]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x330], 1
mov dword [ebp - 0x340], eax
lea eax, [ebp - 0x328]
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0x340]
mov dword [ebp - 0x334], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp - 0x32c]
lea ecx, [ebp - 0x338]
push 0
push 0
push ecx
push dword [ebp + 0xc]
push edi
push eax
push esi
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
push 0
push edi
mov dword [ebp - 0x32c], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x43baa8
cmp dword [ebx + 0x14], 8
jb 0x43baa1
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
cmp dword [ebp - 0x32c], eax
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055daac
mov esp, ebp
pop ebp
ret 8
Function at 0x43bac6
Capabilities:
Enumerate process modules

Disassembly:
push 0x28
mov eax, 0x568ed1
call fcn.005611e0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.PSAPI.DLL_EnumProcessModules]
lea ecx, [ebp - 0x14]
push ecx
xor esi, esi
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push ecx
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
call edi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push 4
shr eax, 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055da37
mov ebx, eax
pop ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
push ebx
push dword [ebp - 0x18]
call edi
jmp 0x43bb70
xor ecx, ecx
shr eax, 2
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055da37
mov edi, eax
pop ecx
test ebx, ebx
je 0x43bb53
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
push ecx
push eax
push edi
push dword [ebp - 0x18]
mov ebx, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
ja 0x43bb2d
test eax, 0xfffffffc
jbe 0x43bc0d
mov eax, dword [ebx + esi*4]
lea edi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
xor eax, eax
stosd dword es:[edi], eax
push 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x34]
mov ecx, dword [eax + 4]
cmp edx, ecx
jae 0x43bbd6
cmp dword [eax], edx
ja 0x43bbd6
mov esi, edx
sub esi, dword [eax]
cmp ecx, dword [eax + 8]
jne 0x43bbc8
push ecx
mov ecx, eax
call fcn.0042d304
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
and esi, 0xfffffff0
add esi, dword [eax]
test edi, edi
je 0x43bbf4
jmp 0x43bbf0
cmp ecx, dword [eax + 8]
jne 0x43bbe6
push ecx
mov ecx, eax
call fcn.0042d304
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
test edi, edi
je 0x43bbf7
lea esi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1c]
add dword [eax + 4], 0x10
inc esi
mov eax, dword [ebp - 0x10]
shr eax, 2
mov dword [ebp - 0x1c], esi
cmp esi, eax
jb 0x43bb83
test ebx, ebx
je 0x43bc19
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
pop ecx
call fcn.005611ae
ret 4
Function at 0x43beff
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x160
mov eax, 0x568f4a
call fcn.00561213
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.0053ccc0
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0055f020
pop ecx
pop ecx
test al, al
je 0x43c082
push str.CrashReporter.exe
lea ecx, [ebp - 0x5c]
call fcn.004077bf
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0053cdb0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0053cd90
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.0053cce0
push ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.00401d84
xor eax, eax
mov dword [ebp - 0x120], ebx
lea edi, [ebp - 0x11c]
stosd dword es:[edi], eax
push 0x40
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x168]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x16c], 0x44
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x140], 0x80
push 0x58e85c
call fcn.0043cc7d
push esi
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.0043ce6c
pop ecx
mov ecx, eax
call fcn.0043ce6c
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0043ce94
lea ecx, [ebp - 0x10c]
call fcn.0043ae57
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x16c]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43c077
push 0x2710
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x43c061
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], ebx
push eax
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x43c061
mov esi, dword [ebp - 0x110]
lea ecx, [ebp - 0x44]
push ebx
push 1
call fcn.00401d84
jmp 0x43c084
push dword [ebp - 0x120]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x11c]
call esi
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00401d84
mov esi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0053cce0
mov eax, esi
call fcn.005611c2
ret 4
Function at 0x4427a1
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a0
mov eax, dword [0x5c31c8]
xor eax, esp
mov dword [esp + 0x19c], eax
push esi
push edi
xor eax, eax
mov esi, ecx
push 0x18e
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
mov edi, 0x202
push eax
push edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x442824
cmp word [esp + 0x10], di
je 0x44280e
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [esp + 0xc], str.WSAStartup___failed_with_wrong_version
lea eax, [esp + 0xc]
push 0x5be3e0
jmp 0x442835
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0055daac
mov esp, ebp
pop ebp
ret
mov dword [esp + 0xc], str.WSAStartup___failed
lea eax, [esp + 0xc]
push 0x5be3e0
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x4440d2
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x56a1e0
call fcn.005611e0
mov ebx, ecx
cmp dword [ebx + 0x94], 0
jne 0x44417a
lea ecx, [ebx + 0x70]
mov byte [ebx + 0xe8], 0
call fcn.005383c0
lea ecx, [ebx + 0x70]
mov byte [ebx + 0x88], 0
call fcn.005383d0
xor eax, eax
push eax
push eax
push ebx
push 0x449f32
push eax
push eax
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x44412a
mov dword [ebx + 0x94], eax
cmp dword [ebx + 0x350], 0
je 0x44417a
lea esi, [ebx + 0x354]
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.005383c0
and dword [ebp - 4], 0
mov edi, dword [ebx + 0x350]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 4]
push eax
push str.time:_d
push str.start
push dword [ebx + 0x350]
call fcn.00532424
or dword [ebp - 4], 0xffffffff
add esp, 0x10
mov ecx, esi
call fcn.005383d0
mov al, 1
call fcn.005611ae
ret
Function at 0x444d39
Capabilities:
Check if file exists

Disassembly:
push 0x6c
mov eax, 0x56a3df
call fcn.00561213
mov edi, ecx
lea eax, [ebp - 0x40]
push eax
call fcn.00442764
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push str.network_logqualityLog.txt
mov edx, eax
call fcn.0044f143
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401d84
xor esi, esi
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x444e98
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x444dbd
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push ecx
mov ecx, eax
call fcn.005323a4
jmp 0x444dbf
xor eax, eax
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0044df4a
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x444e98
mov eax, dword [edi + 0x36c]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x370]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x374]
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x378]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x37c]
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x380]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x384]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x388]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x38c]
mov dword [ebp - 0x54], eax
lea eax, [edi + 0x390]
push eax
call fcn.0044d43b
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x444e67
imul eax, dword [ebp - 0x70], 0x3e8
cdq
idiv ebx
mov ecx, eax
mov eax, dword [ebp - 0x64]
cdq
idiv ebx
mov dword [ebp - 0x6c], ecx
mov edi, eax
mov eax, dword [ebp - 0x60]
cdq
idiv ebx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], eax
jmp 0x444e70
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
push eax
push edi
push ecx
push dword [ebp - 0x70]
push ebx
push str.count:_dsuccess:_dpermillage:_dtime:_dtryNumber:_dtype:_dloadResult:_d
push str.quality
push esi
call fcn.00532424
add esp, 0x28
lea ecx, [ebp - 0x50]
call fcn.00408f76
mov byte [ebp - 4], 2
test esi, esi
je 0x444eaf
mov ecx, esi
call fcn.005323ea
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401d84
call fcn.005611c2
ret
Function at 0x449b67
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5c31c8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x120], eax
mov esi, edx
push 0x100
lea eax, [ebp - 0x10c]
mov edi, ecx
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x124], eax
test eax, eax
jne 0x449bba
xor al, al
jmp 0x449cde
mov eax, dword [eax + 0xc]
xor ebx, ebx
or dword [ebp - 0x11c], 0xffffffff
mov byte [ebp - 0x10d], 1
cmp dword [eax], ebx
je 0x449cdc
xor ecx, ecx
mov eax, dword [eax + ecx]
push 2
pop edx
mov word [ebp - 0x118], dx
mov ecx, dword [eax]
mov dword [ebp - 0x114], ecx
test ecx, ecx
je 0x449c74
cmp ecx, 0xffffffff
je 0x449c74
mov dl, cl
cmp dl, 0x7f
jne 0x449c1a
mov eax, ecx
shr eax, 8
test al, al
jne 0x449c52
cmp byte [ebp - 0x112], al
jne 0x449c52
mov eax, ecx
shr eax, 0x18
cmp al, 1
je 0x449c74
cmp dl, 0xa9
jne 0x449c28
mov eax, ecx
shr eax, 8
cmp al, 0xfe
je 0x449c74
cmp dl, 0xa
je 0x449c70
cmp dl, 0xac
jne 0x449c44
cmp byte [ebp - 0x113], 0x10
jb 0x449c52
mov eax, ecx
shr eax, 8
cmp al, 0x20
jb 0x449c70
cmp dl, 0xc0
jne 0x449c52
mov eax, ecx
shr eax, 8
cmp al, 0xa8
je 0x449c70
mov eax, dword [ebp - 0x118]
mov dword [esi], eax
mov eax, dword [ebp - 0x120]
mov dword [esi + 4], ecx
and dword [eax], 0
xor dl, dl
mov byte [ebp - 0x10d], dl
jmp 0x449cb0
xor eax, eax
jmp 0x449c77
or eax, 0xffffffff
cmp eax, dword [ebp - 0x11c]
jl 0x449caa
cmp byte [ebp - 0x10d], 0
mov edx, dword [ebp - 0x118]
mov dword [edi], edx
mov dword [edi + 4], ecx
je 0x449ca4
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x120]
mov dword [esi], edx
mov dword [ecx], 3
mov dword [ebp - 0x11c], eax
mov dl, byte [ebp - 0x10d]
mov eax, dword [ebp - 0x124]
inc ebx
mov ecx, ebx
shl ecx, 2
mov eax, dword [eax + 0xc]
cmp dword [eax + ecx], 0
jne 0x449bd7
cmp ebx, 1
jne 0x449cdc
test dl, dl
jne 0x449cdc
mov ecx, dword [esi]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov al, 1
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055daac
mov esp, ebp
pop ebp
ret