joyce8/EMBER2024-capa huggingface dataset:
Function at 0x561c60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x64e6a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00561a20
lea edi, [esi + 0x10]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004eead0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00507040
mov ecx, dword [esp + 0x10]
mov dword [edi], vtable.AsyncProgressEvent.1.0
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x54], ebx
mov dword [esi], vtable.AsyncProgressEvent.0
mov byte [esi + 0x48], 1
mov byte [esi + 0xc], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x568fb0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov byte [ebp], 0
test esi, esi
mov ebx, ecx
mov dword [edi], 0
je 0x56909b
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x56909b
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x56903d
push 0
push edi
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x56902b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
jne 0x569010
pop edi
mov byte [ebp], 1
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x14
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5690ad
push eax
call fcn.004f0280
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x14
cmp dword [edi], 0
jne 0x569034
mov byte [ebp], 1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x14
mov eax, dword [ebx + 4]
test eax, eax
je 0x569080
push eax
push esi
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, esi
mov dword [edi], eax
jne 0x569061
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x14
mov eax, dword [ebx + 4]
test byte [eax + 0xc], 0x20
je 0x569003
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5690ad
call fcn.004f01e0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x14
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5690ad
mov edx, dword [ecx]
push str.No_file_is_open.
call dword [edx + 0x14]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x14
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5690ad
mov eax, dword [ecx]
push str.NULL_buf_or_bufSize
call dword [eax + 0x14]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x14
Function at 0x5690c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
call fcn.005689f0
test al, al
jne 0x5690f2
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x5690e6
mov eax, dword [ecx]
push str.Failed_to_write_because_file_is_not_open.
call dword [eax + 0x14]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0x14
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
test edi, edi
je 0x56910b
mov dword [edi], 0
mov dword [edi + 4], 0
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, ebp
or ecx, eax
je 0x5691c1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
test eax, eax
jl 0x56913a
jg 0x569133
cmp ebp, 0x989680
jbe 0x56913a
mov esi, 0x989680
jmp 0x56913c
mov esi, ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
je 0x56916e
lea edx, [esp + 0x10]
push 0
push edx
push esi
push ebx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5691cd
mov edx, dword [esp + 0x10]
cmp edx, esi
jne 0x5691cd
jmp 0x56918e
mov eax, dword [ecx + 4]
test eax, eax
je 0x56918e
push eax
push 1
push esi
push ebx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x5691fd
mov edx, esi
mov dword [esp + 0x10], edx
add ebx, esi
sub ebp, esi
mov esi, dword [esp + 0x24]
mov eax, 0
sbb esi, eax
cmp edi, eax
mov dword [esp + 0x24], esi
je 0x5691b3
mov esi, dword [edi]
add esi, edx
mov dword [edi], esi
mov ecx, dword [edi + 4]
adc ecx, eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x24]
mov eax, ebp
or eax, ecx
jne 0x569121
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 0x14
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x5691f1
mov edx, dword [esi]
push 1
push str.WriteFileError
mov ecx, esi
call dword [edx + 0x24]
mov ecx, esi
call fcn.004f01e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x56920f
mov edx, dword [ecx]
push str.fwrite_failed.
call dword [edx + 0x14]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0x14
Function at 0x569220
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64ec38
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 8]
sub esp, 0x74
cmp eax, 0xffffffff
je 0x5692c5
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5692ad
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x5692ad
push ebx
lea ecx, [esp + 0xc]
call fcn.004e57f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x88], 0
call fcn.004e90e0
mov ebx, dword [esi]
lea ecx, [esp + 0xc]
call fcn.004dda00
push eax
mov ecx, esi
call dword [ebx + 0x14]
mov eax, dword [esi]
push str.Failed_to_get_file_size__32_
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x88], edi
call fcn.004e58d0
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
add esp, 0x80
ret 4
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x5692f0
push ecx
call fcn.00568cb0
push eax
call dword [sym.imp.MSVCRT.dll__filelength]
add esp, 8
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
add esp, 0x80
ret 4
mov ecx, dword [esp + 0x74]
or eax, 0xffffffff
mov dword fs:[0], ecx
add esp, 0x80
ret 4

Function at 0x569310
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64ec58
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x5693df
lea ecx, [esp + 8]
xor edi, edi
push ecx
push eax
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5693cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x5693cf
mov esi, dword [esp + 0x90]
cmp esi, edi
je 0x5693b0
lea ecx, [esp + 0xc]
call fcn.004e57f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x88], edi
call fcn.004e90e0
mov edi, dword [esi]
lea ecx, [esp + 0xc]
call fcn.004dda00
push eax
mov ecx, esi
call dword [edi + 0x14]
mov edx, dword [esi]
push str.Failed_to_get_file_size__64_
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x88], 0xffffffff
call fcn.004e58d0
or eax, 0xffffffff
or edx, 0xffffffff
mov ecx, dword [esp + 0x80]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret 4
mov eax, dword [esp + 8]
push eax
push esi
call fcn.00569420
add esp, 8
jmp 0x5693b6
mov eax, dword [esi + 4]
test eax, eax
je 0x5693b0
push eax
call dword [sym.imp.MSVCRT.dll_fflush]
mov ecx, dword [esi + 4]
push ecx
call fcn.00568cb0
push eax
call dword [sym.imp.MSVCRT.dll__filelengthi64]
add esp, 0xc
jmp 0x5693b6

Function at 0x569870
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0x6119a407
je 0x56988c
push 0
call fcn.004ee350
add esp, 4
xor eax, eax
pop esi
ret 4
mov ecx, dword [esp + 8]
call fcn.004dda00
mov edx, eax
mov eax, 0x1505
movsx ecx, byte [edx]
inc edx
test ecx, ecx
je 0x5698b7
push edi
mov edi, eax
shl edi, 5
add ecx, edi
add eax, ecx
movsx ecx, byte [edx]
inc edx
test ecx, ecx
jne 0x5698a5
pop edi
xor edx, edx
div dword [esi + 0xc]
pop esi
mov eax, edx
ret 4
Function at 0x56a230
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret

Function at 0x56bee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64eef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x24]
push ebx
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0xc]
call fcn.00532c00
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.0056bf80
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x1c], 0xffffffff
call fcn.00532c40
mov ecx, dword [esp + 0x14]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x56d980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64f098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x40]
push str.cng_exportPrivateKey
push eax
lea ecx, [esp + 8]
call fcn.004f0370
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], 0
mov dword [ecx], 0
mov ecx, dword [esp + 0x30]
mov dword [edx], 0
call fcn.004dd9e0
mov eax, dword [esp + 0x34]
lea ecx, [esp]
mov dword [esp + 0x14], 0xffffffff
mov byte [eax], 0
call fcn.004f03e0
mov ecx, dword [esp + 0xc]
xor al, al
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x57de40
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [str.expand_32_byte_k]
xor ecx, ecx
xor edx, edx
push esi
mov ch, byte [eax + 3]
mov dl, byte [eax + 1]
mov cl, byte [eax + 2]
mov esi, dword [esp + 8]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [esi], ecx
mov eax, dword [str.expand_32_byte_k]
xor ecx, ecx
mov ch, byte [eax + 7]
mov dl, byte [eax + 5]
mov cl, byte [eax + 6]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 4]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [esi + 4], ecx
mov eax, dword [str.expand_32_byte_k]
xor ecx, ecx
mov ch, byte [eax + 0xb]
mov dl, byte [eax + 9]
mov cl, byte [eax + 0xa]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 8]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [esi + 8], ecx
mov eax, dword [str.expand_32_byte_k]
xor ecx, ecx
mov ch, byte [eax + 0xf]
mov dl, byte [eax + 0xd]
mov cl, byte [eax + 0xe]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0xc]
mov eax, dword [esp + 0xc]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [esi + 0xc], ecx
mov dl, byte [eax + 1]
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 2]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [esi + 0x10], ecx
mov dl, byte [eax + 5]
xor ecx, ecx
mov ch, byte [eax + 7]
mov cl, byte [eax + 6]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 4]
shl ecx, 8
or ecx, edx
mov dword [esi + 0x14], ecx
xor ecx, ecx
mov ch, byte [eax + 0xb]
mov cl, byte [eax + 0xa]
xor edx, edx
mov dl, byte [eax + 9]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 8]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [esi + 0x18], ecx
mov dl, byte [eax + 0xd]
xor ecx, ecx
mov ch, byte [eax + 0xf]
mov cl, byte [eax + 0xe]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0xc]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [esi + 0x1c], ecx
mov dl, byte [eax + 0x11]
xor ecx, ecx
mov ch, byte [eax + 0x13]
mov cl, byte [eax + 0x12]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x10]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [esi + 0x20], ecx
mov dl, byte [eax + 0x15]
xor ecx, ecx
mov ch, byte [eax + 0x17]
mov cl, byte [eax + 0x16]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x14]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [esi + 0x24], ecx
mov dl, byte [eax + 0x19]
xor ecx, ecx
mov ch, byte [eax + 0x1b]
mov cl, byte [eax + 0x1a]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x18]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [esi + 0x28], ecx
mov dl, byte [eax + 0x1d]
xor ecx, ecx
mov ch, byte [eax + 0x1f]
mov cl, byte [eax + 0x1e]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x1c]
mov dword [esi + 0x40], 0x40
shl ecx, 8
or ecx, edx
mov dword [esi + 0x2c], ecx
pop esi
ret
Function at 0x57e0b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6504a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [eax + 0xa0]
lea ecx, [esp + 0xc]
call fcn.004dfe70
mov bl, byte [esp + 0x38]
mov dword [esp + 0x30], 0
test bl, bl
sete cl
add ecx, 0x63
push ecx
lea ecx, [esp + 0x10]
call fcn.004e0da0
lea edx, [esp + 0xc]
push edx
push edi
call fcn.005da3a0
add esp, 8
mov eax, str.CHANNEL_SUCCESS
test bl, bl
jne 0x57e11a
mov eax, str.CHANNEL_FAILURE
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edi
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push eax
mov ecx, esi
call fcn.00577f40
mov bl, al
test bl, bl
jne 0x57e145
mov eax, dword [edi]
push str.Error_sending_channel_reply_message
mov ecx, edi
call dword [eax + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004e0890
mov ecx, dword [esp + 0x28]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10

Function at 0x57e4a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x57e4f4
mov eax, dword [esi + 4]
test eax, eax
jne 0x57e4bb
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 4], eax
cmp dword [esi + 0x10], 0x3e8
jae 0x57e4cb
mov dword [esi + 0x10], 0x7530
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe 0x57e4f4
sub eax, ecx
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jbe 0x57e4f4
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.00514cb0
mov al, 1
mov byte [esi + 0x14], al
pop esi
ret 0xc
xor al, al
pop esi
ret 0xc
Function at 0x582300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x650831
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push esi
mov esi, dword [esp + 0x15c]
push edi
mov edi, ecx
push str.userAuthNonSuccess
push esi
lea ecx, [esp + 0x30]
call fcn.004f0370
lea ecx, [esp + 0xc]
mov dword [esp + 0x154], 0
call fcn.00506f60
mov edx, dword [esp + 0x15c]
lea eax, [esp + 8]
push esi
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
mov byte [esp + 0x164], 1
mov byte [esp + 0x34], 1
mov byte [esp + 0x18], 0
call fcn.00584d70
add esp, 0x10
test al, al
je 0x582412
mov eax, dword [esp + 8]
mov ecx, esi
and eax, 0xff
push eax
push str.partialSuccess
call fcn.004effe0
lea ecx, [esp + 0x34]
call fcn.004d91b0
lea ecx, [esp + 0x34]
mov byte [esp + 0x154], 2
push ecx
push 0x6ec6e8
lea ecx, [esp + 0x14]
call fcn.00507180
lea edx, [esp + 0x34]
mov ecx, esi
push edx
push str.authList
call fcn.004efc60
mov eax, dword [esp + 8]
push 0x6b5dfc
and eax, 0xff
mov ecx, edi
push eax
push str.TRAN_Partial_success:
call fcn.00579fc0
push 0x6b5dfc
lea ecx, [esp + 0x38]
call fcn.004dbab0
push eax
push str.TRAN_Auth_list:
mov ecx, edi
call fcn.00579ee0
lea ecx, [esp + 0x34]
mov byte [esp + 0x154], 1
call fcn.004d9240
jmp 0x58241e
mov edx, dword [esi]
push str.Failed_to_parse_failed_userauth_response.
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 0xc]
mov byte [esp + 0x154], 0
call fcn.00506fa0
lea ecx, [esp + 0x28]
mov dword [esp + 0x154], 0xffffffff
call fcn.004f03e0
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x150
ret 8
Function at 0x586570
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x650cb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, dword [esp + 0x90]
push edi
mov ebx, ecx
push str.readUntilRcvWindowAdjust
push esi
lea ecx, [esp + 0x18]
call fcn.004f0370
mov dword [esp + 0x80], 0
call sub.KERNEL32.dll_GetTickCount
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
jne 0x586690
mov ebp, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
lea ecx, [esp + 0x1c]
call fcn.0057e400
mov ecx, dword [ebp + 0x10]
mov byte [esp + 0x80], 1
mov dword [esp + 0x2c], ecx
mov ecx, edi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x28], 0
call fcn.00514cb0
push esi
push edi
push ebp
mov ecx, ebx
call fcn.0057fec0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x58662c
push esi
call fcn.00535ec0
test al, al
jne 0x5866bb
mov ecx, edi
call fcn.00514c20
test al, al
jne 0x5866c9
mov al, byte [esp + 0x4b]
test al, al
jne 0x5866d8
mov al, byte [esp + 0x49]
test al, al
jne 0x5866e1
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [esp + 0x94]
cmp eax, 0xea60
ja 0x5866ef
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 0
call fcn.0057e480
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 0xb0]
test eax, eax
je 0x5865de
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.004f03e0
mov al, 1
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0x10
mov eax, dword [esi]
push str.aborted_by_user_application.
mov ecx, esi
call dword [eax + 0x14]
jmp 0x586704
push esi
push str.sshWindowAdjust1
mov ecx, edi
call fcn.00514d20
jmp 0x586704
mov edx, dword [esi]
push str.Received_DISCONNECT
jmp 0x5866ff
mov eax, dword [esi]
push str.Received_CHANNEL_CLOSE
mov ecx, esi
call dword [eax + 0x14]
jmp 0x586704
push esi
push edi
mov ecx, ebx
call fcn.00584ea0
mov edx, dword [esi]
push str.No_WINDOW_ADJUST_seems_to_be_coming...
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 0
call fcn.0057e480
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0xffffffff
call fcn.004f03e0
xor al, al
jmp 0x5866a6
Function at 0x5883c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x650f9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d4
push esi
mov esi, dword [esp + 0x2e8]
push edi
push 1
mov ecx, esi
call fcn.004d9160
mov eax, dword [esp + 0x2fc]
push str.NTOWFv2
push eax
lea ecx, [esp + 0x4c]
call fcn.004f0370
mov edi, dword [esp + 0x2f8]
mov dword [esp + 0x2e4], 0
mov ecx, edi
call fcn.004dd9e0
lea ecx, [esp + 0x1c4]
call fcn.004d91b0
lea ecx, [esp + 0xac]
mov byte [esp + 0x2e4], 1
call fcn.004d91b0
mov ecx, dword [esp + 0x2f0]
mov byte [esp + 0x2e4], 2
push ecx
lea ecx, [esp + 0x1c8]
call fcn.004d99c0
lea ecx, [esp + 0x1c4]
call fcn.004dc860
lea edx, [esp + 0x1c4]
lea ecx, [esp + 0xac]
push edx
call fcn.004dbe60
mov eax, dword [esp + 0x2f4]
lea ecx, [esp + 0xac]
push eax
call fcn.004dbe60
lea ecx, [esp + 0xc]
call fcn.004dfe70
lea ecx, [esp + 0xc]
mov byte [esp + 0x2e4], 3
push ecx
push 0
lea ecx, [esp + 0xb4]
call fcn.004d9b20
lea ecx, [esp + 0x50]
call fcn.00616b30
lea ecx, [esp + 0x28]
mov byte [esp + 0x2e4], 4
call fcn.004dfe70
lea edx, [esp + 0x28]
lea ecx, [esp + 0x50]
push edx
push esi
mov byte [esp + 0x2ec], 5
call fcn.00616b80
lea ecx, [esp + 8]
call fcn.005dd080
push edi
push 5
lea ecx, [esp + 0x30]
mov byte [esp + 0x2ec], 6
call fcn.005a8750
push eax
lea ecx, [esp + 0x34]
call fcn.004dda10
push eax
lea ecx, [esp + 0x1c]
call fcn.005a8750
push eax
lea ecx, [esp + 0x20]
call fcn.004dda10
push eax
call fcn.005dd180
add esp, 0x18
mov byte [esp + 0x2e4], 5
lea ecx, [esp + 8]
call fcn.005dd0b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x2e4], 4
call fcn.004e0890
lea ecx, [esp + 0x50]
mov byte [esp + 0x2e4], 3
call fcn.00616b70
lea ecx, [esp + 0xc]
mov byte [esp + 0x2e4], 2
call fcn.004e0890
lea ecx, [esp + 0xac]
mov byte [esp + 0x2e4], 1
call fcn.004d9240
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x2e4], 0
call fcn.004d9240
lea ecx, [esp + 0x44]
mov dword [esp + 0x2e4], 0xffffffff
call fcn.004f03e0
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2e0
ret 0x14
Function at 0x58b050
Capabilities:
Initialize winsock library

Disassembly:
mov al, byte [0x704310]
sub esp, 0x220
test al, al
jne 0x58b068
mov al, 1
add esp, 0x220
ret
push ebp
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAStartup]
push edi
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x9c]
mov dword [esp + 0x10], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x9c]
push eax
push 0x909
call esi
mov ebp, dword [esp + 0x230]
cmp eax, 0x276c
mov dword [esp + 0x10], eax
jne 0x58b14c
mov ecx, 5
mov dword [esp + 0xc], 2
mov dword [esp + 0x14], ecx
jmp 0x58b0c5
mov ecx, dword [esp + 0x14]
cmp ecx, 1
jl 0x58b114
mov edx, dword [esp + 0xc]
dec edx
mov dword [esp + 0xc], edx
jns 0x58b0e2
dec ecx
mov dword [esp + 0xc], 9
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x58b114
xor edx, edx
xor eax, eax
mov dh, byte [esp + 0xc]
lea edi, [esp + 0x9c]
mov dl, cl
mov ecx, 0x64
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x9c]
push ecx
push edx
call esi
cmp eax, 0x276c
mov dword [esp + 0x10], eax
je 0x58b0c1
test eax, eax
jne 0x58b154
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push str.Using_ws2_32.dll_version__d__d
lea ecx, [esp + 0x58]
push 0x50
push ecx
call fcn.004edc50
mov edx, dword [ebp]
add esp, 0x14
lea eax, [esp + 0x4c]
mov ecx, ebp
push eax
push str.ws2_32_DLL_Version
call dword [edx + 0x2c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x58b1d9
cmp eax, 0x276b
jne 0x58b165
mov edx, dword [ebp]
push str.The_underlying_network_subsystem_is_not_ready_for_network_communication.
jmp 0x58b1d4
cmp eax, 0x276c
jne 0x58b17b
mov eax, dword [ebp]
push str.The_version_of_Windows_Sockets_support_requested_is_not_provided_by_this_particular_Windows_Sockets_implementation.
mov ecx, ebp
call dword [eax + 0x14]
jmp 0x58b1d9
cmp eax, 0x2734
jne 0x58b18c
mov edx, dword [ebp]
push str.A_blocking_Windows_Sockets_1.1_operation_is_in_progress.
jmp 0x58b1d4
cmp eax, 0x2753
jne 0x58b1a2
mov eax, dword [ebp]
push str.Limit_on_the_number_of_tasks_supported_by_the_Windows_Sockets_implementation_has_been_reached.
mov ecx, ebp
call dword [eax + 0x14]
jmp 0x58b1d9
cmp eax, 0x271e
jne 0x58b1b3
mov edx, dword [ebp]
push str.The_lpWSAData_is_not_a_valid_pointer.
jmp 0x58b1d4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push str.WSAStartup_error:_0x_x
push 0x32
push ecx
call fcn.004edc30
mov edx, dword [ebp]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call dword [edx + 0x14]
push ebp
mov byte [0x704310], 0
call fcn.0058b200
mov ecx, dword [esp + 0x14]
add esp, 4
xor eax, eax
test ecx, ecx
pop edi
pop esi
sete al
pop ebp
add esp, 0x220
ret