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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a3350]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x107]
push 0x103
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00424c50
push 0x103
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], 0
push 0
push eax
call fcn.00424c50
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push eax
push 5
lea eax, [ebp - 0x108]
push str._echo_off_nping_127.0.0.1__n__d_ndel___s__ndel___0_n
push eax
call fcn.00425315
push 0x48b5c8
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push esi
push eax
call fcn.00425d40
mov eax, dword [ebp - 0x210]
add esp, 0x1c
pop esi
test eax, eax
jne 0x41df24
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
push eax
push 1
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00423925
push dword [ebp - 0x210]
call fcn.00423755
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov eax, 1
call fcn.0042419e
mov esp, ebp
pop ebp
ret

Function at 0x41df70
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
mov eax, dword [0x4a3350]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
xor edi, edi
mov byte [ebp - 0x20c], 0
lea eax, [ebp - 0x20b]
push edi
push eax
call fcn.00424c50
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push edi
push eax
call fcn.00424c50
push 0x103
lea eax, [ebp - 0x30f]
mov byte [ebp - 0x310], 0
push edi
push eax
call fcn.00424c50
add esp, 0x24
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004275b0
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov byte [eax], 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push str._s_temp.bat
push eax
call esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push str.cmd__c_call___s_
push eax
call esi
mov eax, dword [ebp + 8]
add esp, 0x20
test eax, eax
jne 0x41e041
lea eax, [ebp - 0x108]
push eax
call fcn.0041dd70
jmp 0x41e052
cmp eax, 1
jne 0x41e0b8
lea eax, [ebp - 0x108]
push eax
call fcn.0041de70
mov edi, eax
add esp, 4
test edi, edi
je 0x41e0b8
push 0x40
lea eax, [ebp - 0x350]
push 0
push eax
call fcn.00424c50
add esp, 0xc
mov dword [ebp - 0x354], 0x44
xor eax, eax
mov dword [ebp - 0x328], 1
mov word [ebp - 0x324], ax
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41e0ca
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042419e
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x360]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x364]
call esi
push 0
call fcn.00427a86
int3
Function at 0x41e1c0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0x80
push 3
push 0
push 1
push accept
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x41e374
push ebx
push esi
push edi
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
push 0
push 0
push 4
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
mov ecx, dword [eax + 0x3c]
lea esi, [eax + 0xf8]
add esi, ecx
mov dword [ebp - 8], esi
movzx ebx, word [ecx + eax + 6]
mov dword [ebp - 4], ebx
lea edi, [ebx*4 + 0x1f]
add edi, ebx
lea edi, [ecx + edi*8]
test edi, 0x1ff
je 0x41e247
shr edi, 9
inc edi
shl edi, 9
xor edx, edx
test ebx, ebx
jle 0x41e2ff
cmp ebx, 8
jb 0x41e2ff
mov eax, ebx
and eax, reloc.WS2_32.dll_getsockopt
jns 0x41e268
dec eax
or eax, 0xfffffff8
inc eax
xorps xmm5, xmm5
sub ebx, eax
movdqa xmm4, xmm5
lea eax, [esi + 0x60]
movd xmm2, dword [eax + 0x28]
lea eax, [eax + 0x140]
movd xmm0, dword [eax - 0x140]
add edx, 8
movd xmm1, dword [eax - 0x168]
movd xmm3, dword [eax - 0x190]
punpckldq xmm3, xmm0
movd xmm0, dword [eax - 0xa0]
punpckldq xmm1, xmm2
movd xmm2, dword [eax - 0x78]
punpckldq xmm3, xmm1
movd xmm1, dword [eax - 0xc8]
paddd xmm5, xmm3
movd xmm3, dword [eax - 0xf0]
punpckldq xmm3, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
paddd xmm4, xmm3
cmp edx, ebx
jl 0x41e274
paddd xmm4, xmm5
movdqa xmm0, xmm4
psrldq xmm0, 8
paddd xmm4, xmm0
movdqa xmm0, xmm4
psrldq xmm0, 4
paddd xmm4, xmm0
movd eax, xmm4
add edi, eax
mov ecx, dword [ebp - 4]
xor esi, esi
xor ebx, ebx
cmp edx, ecx
jge 0x41e352
mov eax, ecx
sub eax, edx
cmp eax, 2
jl 0x41e33f
mov ecx, dword [ebp - 8]
lea eax, [edx*4 + 7]
add eax, edx
lea eax, [ecx + eax*8]
mov ecx, dword [ebp - 4]
sub ecx, edx
sub ecx, 2
shr ecx, 1
inc ecx
lea edx, [edx + ecx*2]
add esi, dword [eax - 0x28]
lea eax, [eax + 0x50]
add ebx, dword [eax - 0x50]
dec ecx
jne 0x41e330
mov ecx, dword [ebp - 4]
cmp edx, ecx
jge 0x41e34d
mov ecx, dword [ebp - 8]
lea eax, [edx + edx*4]
add edi, dword [ecx + eax*8 + 0x10]
lea eax, [ebx + esi]
add edi, eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41e380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41e39c
test al, 0x10
jne 0x41e39c
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x43ae6b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a3350]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004297fb
mov dword [ebp - 0x14], eax
cmp dword [0x4aa6ac], esi
jne 0x43af5e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x43aeeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43b03e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x43b03e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43b03e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4aa6ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4aa6b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4aa6b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4aa6bc], eax
test eax, eax
je 0x43af5b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4aa6b8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43af83
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43af76
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x43af98
push 4
pop eax
jmp 0x43b040
cmp dword [ebp - 0x14], esi
je 0x43af98
push dword [0x4aa6ac]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x43af7d
mov eax, dword [0x4aa6b8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x43aff6
cmp dword [0x4aa6bc], edi
je 0x43aff6
push eax
call ebx
push dword [0x4aa6bc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x43aff6
test eax, eax
je 0x43aff6
call ecx
test eax, eax
je 0x43afeb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43afeb
test byte [ebp - 8], 1
jne 0x43aff6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x43b026
mov eax, dword [0x4aa6b0]
cmp eax, edi
je 0x43b023
push eax
call ebx
test eax, eax
je 0x43b023
call eax
mov esi, eax
test esi, esi
je 0x43b023
mov eax, dword [0x4aa6b4]
cmp eax, edi
je 0x43b023
push eax
call ebx
test eax, eax
je 0x43b023
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4aa6ac]
call ebx
test eax, eax
je 0x43b03e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x43b040
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042419e
mov esp, ebp
pop ebp
ret
Function at 0x43f430
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4a3350]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x43f480
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x43f47a
shr eax, 8
cmp al, 2
jne 0x43f47a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret

Function at 0x44a6a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea ebx, [edi + 0x55c]
push 0x4000
push ebx
call fcn.0044cd90
mov eax, dword [edi + 0xf8]
add esp, 0x10
test eax, eax
je 0x44a6f4
cmp dword [edi + 0x8588], 0
jne 0x44a6f4
push ebx
push 0x48ae90
push 0x100
push eax
call fcn.0044cca0
add esp, 0x10
mov dword [edi + 0x8588], 1
cmp dword [edi + 0x2e4], 0
je 0x44a76a
push esi
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44a703
sub esi, ecx
cmp esi, 0x3fff
jae 0x44a724
mov byte [edi + esi + 0x55c], 0xa
inc esi
mov byte [edi + esi + 0x55c], al
mov eax, dword [edi + 0x164]
test eax, eax
je 0x44a743
push dword [edi + 0xf4]
push esi
push ebx
push 0
push edi
call eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [edi + 0xf0]
push 1
push 2
push 0x492ac4
call fcn.00423925
push dword [edi + 0xf0]
push 1
push esi
push ebx
call fcn.00423925
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x44a770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4a3350]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x44a827
cmp dword [edi + 0x2e4], 0
je 0x44a827
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push 0x801
push eax
call fcn.0044cd90
lea esi, [ebp - 0x808]
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44a7c1
mov eax, dword [edi + 0x164]
sub esi, ecx
test eax, eax
je 0x44a7fa
push dword [edi + 0xf4]
lea ecx, [ebp - 0x808]
push esi
push ecx
push 0
push edi
call eax
add esp, 0x14
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
push dword [edi + 0xf0]
push 1
push 2
push 0x492ac4
call fcn.00423925
push dword [edi + 0xf0]
lea eax, [ebp - 0x808]
push 1
push esi
push eax
call fcn.00423925
add esp, 0x20
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0042419e
mov esp, ebp
pop ebp
ret
Function at 0x44aa40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push edi
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ecx + eax*4 + 0x130]
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [ebp + 0x18]
mov edi, eax
mov dword [ebx], 0
cmp edi, 0xffffffff
jne 0x44aabe
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x44aa8e
pop esi
pop edi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
pop ebp
ret
push esi
push dword [ebp + 8]
call fcn.0044ee50
push eax
mov eax, dword [ebp + 8]
push str.Send_failure:__s
push dword [eax]
call fcn.0044a6a0
mov eax, dword [ebp + 8]
add esp, 0x14
mov eax, dword [eax]
mov dword [eax + 0x858c], esi
mov eax, edi
mov dword [ebx], 0x37
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44aad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4a3350]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0xb8], eax
mov ebx, dword [eax]
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
call fcn.0044cd00
mov edx, eax
add esp, 8
mov dword [ebp - 0xbc], edx
test edx, edx
jne 0x44ab1c
lea eax, [edx + 0x1b]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, edx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x44ab23
sub edi, ecx
mov dword [ebp - 0xac], edx
mov esi, edx
mov ecx, dword [ebp - 0xb8]
xor eax, eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0xb4], 0
cmp edx, dword [ecx + 0x134]
lea edx, [ebp - 0xb4]
push edx
push edi
sete al
push esi
push eax
push ecx
mov eax, dword [ecx + eax*4 + 0x148]
call eax
add esp, 0x14
mov dword [ebp - 0xb0], eax
test eax, eax
jns 0x44ab94
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x44aca3
cmp eax, 0x51
jne 0x44ac9f
mov dword [ebp - 0xb0], 0
cmp dword [ebx + 0x2e4], 0
mov dword [ebp - 0xa8], 0
je 0x44ac80
cmp dword [ebx + 0x298], 0
je 0x44ac61
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x44ac61
push eax
push 0x492b58
push str.Data
push str.__s__s__s_
lea eax, [ebp - 0xa4]
push 0xa0
push eax
call fcn.0044cca0
lea esi, [ebp - 0xa4]
add esp, 0x18
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x44ac00
mov eax, dword [ebx + 0x164]
sub esi, ecx
test eax, eax
je 0x44ac2f
push dword [ebx + 0xf4]
lea ecx, [ebp - 0xa4]
push esi
push ecx
push 0
push ebx
call eax
add esp, 0x14
test eax, eax
jne 0x44ac80
jmp 0x44ac5b
push dword [ebx + 0xf0]
push 1
push 2
push 0x492ac4
call fcn.00423925
push dword [ebx + 0xf0]
lea eax, [ebp - 0xa4]
push 1
push esi
push eax
call fcn.00423925
add esp, 0x20
mov esi, dword [ebp - 0xac]
mov eax, dword [ebx + 0x164]
test eax, eax
je 0x44ac80
push dword [ebx + 0xf4]
push dword [ebp - 0xb0]
push esi
push 4
push ebx
call eax
add esp, 0x14
mov eax, dword [ebp - 0xb0]
cmp eax, edi
je 0x44acaa
mov esi, dword [ebp - 0xac]
sub edi, eax
add esi, eax
mov dword [ebp - 0xac], esi
jmp 0x44ab34
mov esi, eax
jmp 0x44acb0
mov esi, 0x37
jmp 0x44acb0
mov esi, dword [ebp - 0xa8]
push dword [ebp - 0xbc]
call dword [0x4a4754]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0042419e
mov esp, ebp
pop ebp
ret

Function at 0x44ade0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x164]
test eax, eax
je 0x44ae09
push dword [esi + 0xf4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call eax
add esp, 0x14
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x44ae3f
push dword [esi + 0xf0]
lea eax, [eax + eax*2]
push 1
add eax, 0x492ac4
push 2
push eax
call fcn.00423925
push dword [esi + 0xf0]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00423925
add esp, 0x20
xor eax, eax
pop esi
pop ebp
ret
Function at 0x44b040
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x550]
cmp ecx, 0xffffffff
je 0x44b09b
mov eax, dword [eax + 0x544]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x44b09b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x44b069
mov dword [ecx], eax
cmp dword [eax + 0x150], 0
push esi
mov esi, dword [eax + 0x130]
je 0x44b07f
or eax, 0xffffffff
pop esi
pop ebp
ret
push 2
push 1
lea eax, [ebp + 0xb]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
or ecx, 0xffffffff
test eax, eax
cmove esi, ecx
mov eax, esi
pop esi
pop ebp
ret
or eax, 0xffffffff
pop ebp
ret

Function at 0x44b5a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4a3350]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x1a4], 0
mov ebx, dword [edi]
jne 0x44b713
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x108], 0x80
push eax
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x44b61e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push edi
call fcn.0044ee50
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.0044a6a0
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0x80
push eax
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x44b671
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push edi
call fcn.0044ee50
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.0044a6a0
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xcc]
push eax
lea eax, [edi + 0x9e]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0044bba0
add esp, 0xc
test eax, eax
jne 0x44b6c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
call fcn.0044ee50
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0044a6a0
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x100]
push eax
lea eax, [edi + 0xd0]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0044bba0
add esp, 0xc
test eax, eax
jne 0x44b713
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
call fcn.0044ee50
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0044a6a0
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042419e
mov esp, ebp
pop ebp
ret
push edi
call fcn.0044b310
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0042419e
mov esp, ebp
pop ebp
ret
Function at 0x44c020
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 4
cmp dword [esi + 0x408], eax
setne al
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 8
push 0xffff
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x44c060
push dword [ebp + 0xc]
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.0044a770
add esp, 0xc
pop esi
pop ebp
ret

Function at 0x44c070
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push 4
mov esi, dword [edi]
mov eax, dword [esi + 0x314]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 1
push 6
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x44c0ba
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.0044ee50
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.0044a770
add esp, 0x14
pop edi
pop esi
pop ebp
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.0044a770
add esp, 8
pop edi
pop esi
pop ebp
ret

Function at 0x44e1a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov bl, byte [esi]
test bl, bl
je 0x44e252
mov cl, byte [edi]
test cl, cl
je 0x44e252
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x44e1cb
jmp dword [eax*4 + 0x44e278]
mov bl, 0x41
jmp case.default.0x44e1cb
mov bl, 0x42
jmp case.default.0x44e1cb
mov bl, 0x43
jmp case.default.0x44e1cb
mov bl, 0x44
jmp case.default.0x44e1cb
mov bl, 0x45
jmp case.default.0x44e1cb
mov bl, 0x46
jmp case.default.0x44e1cb
mov bl, 0x47
jmp case.default.0x44e1cb
mov bl, 0x48
jmp case.default.0x44e1cb
mov bl, 0x49
jmp case.default.0x44e1cb
mov bl, 0x4a
jmp case.default.0x44e1cb
mov bl, 0x4b
jmp case.default.0x44e1cb
mov bl, 0x4c
jmp case.default.0x44e1cb
mov bl, 0x4d
jmp case.default.0x44e1cb
mov bl, 0x4e
jmp case.default.0x44e1cb
mov bl, 0x4f
jmp case.default.0x44e1cb
mov bl, 0x50
jmp case.default.0x44e1cb
mov bl, 0x51
jmp case.default.0x44e1cb
mov bl, 0x52
jmp case.default.0x44e1cb
mov bl, 0x53
jmp case.default.0x44e1cb
mov bl, 0x54
jmp case.default.0x44e1cb
mov bl, 0x55
jmp case.default.0x44e1cb
mov bl, 0x56
jmp case.default.0x44e1cb
mov bl, 0x57
jmp case.default.0x44e1cb
mov bl, 0x58
jmp case.default.0x44e1cb
mov bl, 0x59
jmp case.default.0x44e1cb
mov bl, 0x5a
push ecx
call fcn.0044e450
add esp, 4
cmp bl, al
jne 0x44e252
mov bl, byte [esi + 1]
inc esi
inc edi
test bl, bl
jne 0x44e1b6
movzx eax, byte [esi]
push eax
call fcn.0044e450
movzx ecx, byte [edi]
mov bl, al
push ecx
call fcn.0044e450
add esp, 8
xor ecx, ecx
cmp bl, al
sete cl
pop edi
pop esi
mov eax, ecx
pop ebx
pop ebp
ret
Function at 0x44e2e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov bl, byte [edi]
test bl, bl
je 0x44e3aa
lea esp, [esp]
mov cl, byte [eax]
test cl, cl
je 0x44e3aa
test esi, esi
je 0x44e3ae
movsx eax, bl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x44e31d
jmp dword [eax*4 + 0x44e3e0]
mov bl, 0x41
jmp case.default.0x44e31d
mov bl, 0x42
jmp case.default.0x44e31d
mov bl, 0x43
jmp case.default.0x44e31d
mov bl, 0x44
jmp case.default.0x44e31d
mov bl, 0x45
jmp case.default.0x44e31d
mov bl, 0x46
jmp case.default.0x44e31d
mov bl, 0x47
jmp case.default.0x44e31d
mov bl, 0x48
jmp case.default.0x44e31d
mov bl, 0x49
jmp case.default.0x44e31d
mov bl, 0x4a
jmp case.default.0x44e31d
mov bl, 0x4b
jmp case.default.0x44e31d
mov bl, 0x4c
jmp case.default.0x44e31d
mov bl, 0x4d
jmp case.default.0x44e31d
mov bl, 0x4e
jmp case.default.0x44e31d
mov bl, 0x4f
jmp case.default.0x44e31d
mov bl, 0x50
jmp case.default.0x44e31d
mov bl, 0x51
jmp case.default.0x44e31d
mov bl, 0x52
jmp case.default.0x44e31d
mov bl, 0x53
jmp case.default.0x44e31d
mov bl, 0x54
jmp case.default.0x44e31d
mov bl, 0x55
jmp case.default.0x44e31d
mov bl, 0x56
jmp case.default.0x44e31d
mov bl, 0x57
jmp case.default.0x44e31d
mov bl, 0x58
jmp case.default.0x44e31d
mov bl, 0x59
jmp case.default.0x44e31d
mov bl, 0x5a
push ecx
call fcn.0044e450
add esp, 4
cmp bl, al
jne 0x44e3aa
mov eax, dword [ebp + 0x10]
inc edi
inc eax
dec esi
mov dword [ebp + 0x10], eax
mov bl, byte [edi]
test bl, bl
jne 0x44e300
test esi, esi
jne 0x44e3b8
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
movzx eax, byte [edi]
push eax
call fcn.0044e450
mov bl, al
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
push ecx
call fcn.0044e450
add esp, 8
xor ecx, ecx
cmp bl, al
sete cl
pop edi
pop esi
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x44e450
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov cl, byte [ebp + 8]
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x44e461
jmp dword [eax*4 + 0x44e4d4]
mov al, 0x41
pop ebp
ret
mov al, 0x42
pop ebp
ret
mov al, 0x43
pop ebp
ret
mov al, 0x44
pop ebp
ret
mov al, 0x45
pop ebp
ret
mov al, 0x46
pop ebp
ret
mov al, 0x47
pop ebp
ret
mov al, 0x48
pop ebp
ret
mov al, 0x49
pop ebp
ret
mov al, 0x4a
pop ebp
ret
mov al, 0x4b
pop ebp
ret
mov al, 0x4c
pop ebp
ret
mov al, 0x4d
pop ebp
ret
mov al, 0x4e
pop ebp
ret
mov al, 0x4f
pop ebp
ret
mov al, 0x50
pop ebp
ret
mov al, 0x51
pop ebp
ret
mov al, 0x52
pop ebp
ret
mov al, 0x53
pop ebp
ret
mov al, 0x54
pop ebp
ret
mov al, 0x55
pop ebp
ret
mov al, 0x56
pop ebp
ret
mov al, 0x57
pop ebp
ret
mov al, 0x58
pop ebp
ret
mov al, 0x59
pop ebp
ret
mov al, 0x5a
pop ebp
ret
mov al, cl
pop ebp
ret