joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f915
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
test esi, esi
push edi
mov ebx, eax
jge 0x46f927
call fcn.0040bf5d
mov esi, eax
test ebx, ebx
jge 0x46f932
call fcn.0040bec5
mov ebx, eax
test esi, esi
jle 0x46f979
test ebx, ebx
jle 0x46f979
push 1
push 0x1f8
call fcn.004b422c
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x46f979
mov dword [edi], esi
imul esi, ebx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + esi + 0x14]
push eax
push 4
mov dword [edi + 4], ebx
call fcn.004b422c
test eax, eax
pop ecx
pop ecx
mov dword [edi + 0x14], eax
jne 0x46f97f
push edi
call fcn.004b4080
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret
xor eax, eax
test esi, esi
push 7
pop ebx
jle 0x46f99c
mov ecx, dword [edi + 0x14]
mov byte [ecx + eax*4], 0x20
mov ecx, dword [edi + 0x14]
mov word [ecx + eax*4 + 2], bx
inc eax
cmp eax, esi
jl 0x46f988
mov eax, dword [0x633cd4]
test eax, eax
jne 0x46f9d0
call fcn.0046ed85
test eax, eax
mov dword [0x633cd4], eax
jne 0x46f9d0
push dword [edi + 0x14]
call fcn.004b4080
push edi
call fcn.004b4080
push str.:7:CreateScreenBuffer___FAILED:_CreatePtrList___FAILED____
call fcn.004178df
add esp, 0xc
jmp 0x46f979
mov ecx, dword [edi + 0x14]
lea ecx, [ecx + esi*4 + 4]
push 5
mov dword [edi + 0x24], ecx
lea ecx, [esi + 2]
pop edx
cmp ecx, edx
mov dword [edi + 0x20], ecx
jge 0x46f9ea
mov dword [edi + 0x20], edx
push edi
mov dword [edi + 0x10], ebx
mov byte [edi + 0x1c], 9
mov byte [edi + 0x1d], bl
call fcn.0046ee6e
lea ebx, [edi + 0x38]
mov dword [esp], str..ScreenBuffer.c
push ebx
call fcn.0041f4a2
test eax, eax
pop ecx
pop ecx
jne 0x46fa1b
push str.:5:CreateScreenBuffer___EAP:_InitializeLock___FAILED.
call fcn.004178df
pop ecx
mov esi, str.A_ScreenBuffer_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0041f7a1
mov eax, 0x7d0
mov ecx, ebx
call fcn.0041f7de
mov eax, edi
call fcn.0047205d
mov eax, edi
jmp 0x46f97b
Function at 0x470e12
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0x20
pop eax
jmp 0x470e22
push ebx
push esi
push edi
mov esi, ecx
mov edi, 0x693
mov ebx, eax
call fcn.00471fe5
test eax, eax
je 0x470ed2
mov eax, esi
call fcn.00472047
test eax, eax
je 0x470ed2
test ebx, ebx
jge 0x470e53
mov ebx, 0xff
mov eax, dword [esi]
imul eax, dword [esi + 4]
xor edi, edi
test eax, eax
jle 0x470ebe
mov eax, dword [esi + 0x14]
lea eax, [eax + edi*4]
cmp byte [eax], bl
jne 0x470e75
test word [eax + 2], 0x2000
jne 0x470e75
xor ecx, ecx
jmp 0x470e7a
xor ecx, ecx
mov byte [eax], bl
inc ecx
mov eax, dword [esi + 0x14]
lea eax, [eax + edi*4 + 2]
movzx edx, word [eax]
xor edx, dword [esi + 0x10]
test dl, dl
je 0x470ea3
mov dl, byte [esi + 0x10]
and dx, 0xff
cmp ebx, 0xff
je 0x470ea0
or dx, 0x200
mov word [eax], dx
test ecx, ecx
je 0x470eb3
mov eax, dword [esi + 0x14]
lea eax, [eax + edi*4 + 2]
or word [eax], 0x2000
mov eax, dword [esi]
imul eax, dword [esi + 4]
inc edi
cmp edi, eax
jl 0x470e5f
and dword [esi + 8], 0
and dword [esi + 0xc], 0
mov eax, esi
call fcn.0047205d
xor eax, eax
inc eax
jmp 0x470ed4
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x472071
Capabilities:
Write file on windows

Disassembly:
push 0x10
push 0x531a08
call fcn.004bb2fc
or dword [ebp - 0x1c], 0xffffffff
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x472137
push 1
mov esi, 0xfffc
push esi
call fcn.004b422c
mov edi, eax
push 1
push esi
call fcn.004b422c
mov esi, eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0xffdc
push edi
call fcn.004b623f
add esp, 0x24
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea eax, [edi + ecx]
mov dl, byte [eax]
cmp dl, 0xd
je 0x47211f
cmp dl, 0xa
je 0x47211f
add ecx, esi
mov byte [ecx], 0x1c
mov byte [ecx + 1], 0x1d
mov byte [ecx + 2], 0x1e
mov byte [ecx + 3], 0x1f
add ecx, 4
push ecx
call fcn.004722dc
pop ecx
push dword [ebp + 8]
push esi
call fcn.004b4450
pop ecx
push eax
push 1
push esi
call fcn.004b43ca
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp eax, 4
jle 0x472110
sub dword [ebp - 0x1c], 4
push edi
call fcn.004b4080
push esi
call fcn.004b4080
pop ecx
jmp 0x472136
mov byte [esi + ecx], dl
inc ecx
jmp 0x4720c1
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.004bb341
ret
Function at 0x473d64
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x5345d0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0x103
lea eax, [esp + 0x35]
mov ebx, ecx
mov esi, edx
push 0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x3c], 0
call fcn.004b53e0
and word [esp + 0x2c], 0
xor eax, eax
lea edi, [esp + 0x2e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
test ebx, ebx
stosw word es:[edi], ax
jne 0x473dc7
test esi, esi
jne 0x473dc7
xor eax, eax
inc eax
jmp 0x473f26
push str.S7.tim
lea edi, [esp + 0x34]
call fcn.0044286c
test ebx, ebx
pop ecx
jne 0x473de8
lea eax, [esp + 0x20]
mov dword [esp + 0x18], eax
xor edx, edx
mov ecx, eax
jmp 0x473dfa
test esi, esi
jne 0x473e07
lea eax, [esp + 0x20]
mov dword [esp + 0x10], eax
mov esi, ebx
mov edx, eax
xor ecx, ecx
lea edi, [esp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00473f3b
and dword [esp + 0x1c], 0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x190
lea esi, [edi - 0x64]
push 0x669
push str..ServerPAULA.c
mov edx, 0x4d36e8
lea ecx, [esp + 0x38]
call fcn.0041cea8
test eax, eax
pop ecx
pop ecx
mov dword [esp + 0x14], eax
jne 0x473e94
call fcn.004b586d
cdq
mov ecx, edi
idiv ecx
add edx, esi
js 0x473e6d
call fcn.004b586d
cdq
mov ecx, edi
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x473e6d
call fcn.004b586d
cdq
mov ecx, edi
idiv ecx
add edx, esi
push edx
jmp 0x473e6f
push 0xa
call ebx
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 3
jl 0x473e1a
lea eax, [esp + 0x30]
push eax
push str.:4:SetLastSA7TimeStamp___FAILED:_fopen___s___FAILED.
call fcn.004178df
pop ecx
pop ecx
xor eax, eax
jmp 0x473f26
mov esi, dword [esp + 0x18]
xor ebx, ebx
inc ebx
push ebx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a3c4c
add esp, 0x14
test eax, eax
je 0x473ecb
mov esi, dword [esp + 0x10]
push ebx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a3c4c
add esp, 0x14
test eax, eax
jne 0x473ed6
push str.:5:SetLastSA7TimeStamp___is_saving_INVALID_time_stamps_provided_by_the_caller__
call fcn.00417db7
pop ecx
push dword [esp + 0x14]
mov esi, ebx
push ebx
push 0x10
push dword [esp + 0x24]
call fcn.004b43ca
add esp, 0x10
cmp eax, ebx
jne 0x473f06
push dword [esp + 0x14]
push ebx
push 0x10
push dword [esp + 0x1c]
call fcn.004b43ca
add esp, 0x10
cmp eax, ebx
je 0x473f08
xor esi, esi
mov ecx, dword [esp + 0x14]
call fcn.0041d2f0
test esi, esi
jne 0x473f24
push str.:3:SetLastSA7TimeStamp___FAILED:_fwrite___FAILED.
call fcn.004178df
jmp 0x473e8c
mov eax, ebx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b4c95
mov esp, ebp
pop ebp
ret
Function at 0x473f3b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x5345d0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
push 0x103
lea eax, [esp + 0x2d]
mov esi, ecx
mov ebx, edx
push 0
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x34], 0
call fcn.004b53e0
and word [esp + 0x24], 0
xor eax, eax
lea edi, [esp + 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
push str.S7.tim
lea edi, [esp + 0x2c]
call fcn.0044286c
test esi, esi
pop ecx
jne 0x473fa9
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x473fb5
lea eax, [esp + 0x18]
mov dword [esp + 0x10], eax
and dword [esp + 0xc], 0
mov esi, 0x15e
lea ebx, [esi - 0x64]
push 0x6a6
push str..ServerPAULA.c
mov edx, 0x4d3128
lea ecx, [esp + 0x30]
call fcn.0041cea8
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x474057
lea edi, [esp + 0x28]
call fcn.0041b048
test eax, eax
je 0x474033
call fcn.004b586d
cdq
mov ecx, esi
idiv ecx
add edx, ebx
js 0x474020
call fcn.004b586d
cdq
mov ecx, esi
idiv ecx
add edx, ebx
cmp edx, 0x7fffffff
jge 0x474020
call fcn.004b586d
cdq
mov ecx, esi
idiv ecx
add edx, ebx
push edx
jmp 0x474022
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x473fc2
lea edi, [esp + 0x28]
call fcn.0041b048
test eax, eax
je 0x4740f2
mov eax, edi
push eax
push str.:4:GetLastSA7TimeStamp___FAILED:_fopen___s___FAILED.
call fcn.004178df
pop ecx
jmp 0x4740f1
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
inc ebx
push ebx
push 0x10
push esi
mov dword [esp + 0x1c], ebx
call fcn.004b56f6
add esp, 0x10
cmp eax, ebx
jne 0x474087
push edi
push ebx
push 0x10
push dword [esp + 0x1c]
call fcn.004b56f6
add esp, 0x10
cmp eax, ebx
je 0x47408c
and dword [esp + 0xc], 0
mov ecx, edi
call fcn.0041d2f0
push ebx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a3c4c
add esp, 0x14
test eax, eax
je 0x4740e7
mov esi, dword [esp + 0x10]
push ebx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a3c4c
add esp, 0x14
test eax, eax
je 0x4740e7
cmp dword [esp + 0xc], 0
jne 0x4740e3
push 0
xor edx, edx
lea ecx, [esp + 0x2c]
call fcn.0041b6bd
pop ecx
push eax
push str.:3:GetLastSA7TimeStamp___FAILED:_fread___FAILED:_File_size___u
jmp 0x47404c
mov eax, ebx
jmp 0x4740f4
push str.:3:GetLastSA7TimeStamp___FAILED:_One_of_the_time_stamps_read_is_invalid.
call fcn.004178df
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b4c95
mov esp, ebp
pop ebp
ret
Function at 0x474109
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x10f]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x118], edi
mov byte [ebp - 0x110], 0
call fcn.004b53e0
add esp, 0xc
cmp edi, ebx
jne 0x474150
xor eax, eax
jmp 0x47427e
mov esi, 0x188
push esi
push ebx
push edi
call fcn.004b53e0
add esp, 0xc
push str.eod.tim
lea edi, [ebp - 0x110]
call fcn.0044286c
mov dword [ebp - 0x114], ebx
pop ecx
mov ebx, 0xfa
push 0x6f3
push str..ServerPAULA.c
mov edx, 0x4d3128
lea ecx, [ebp - 0x110]
call fcn.0041cea8
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x474223
lea edi, [ebp - 0x110]
call fcn.0041b048
test eax, eax
je 0x4741fc
call fcn.004b586d
mov edi, 0x226
cdq
mov ecx, edi
idiv ecx
add edx, ebx
js 0x4741e5
call fcn.004b586d
cdq
mov ecx, edi
idiv ecx
add edx, ebx
cmp edx, 0x7fffffff
jge 0x4741e5
call fcn.004b586d
cdq
idiv edi
add edx, ebx
push edx
jmp 0x4741e7
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 3
jl 0x47417c
lea edi, [ebp - 0x110]
call fcn.0041b048
test eax, eax
je 0x474149
mov eax, edi
push eax
push str.:4:LoadEODTimeStampDB___FAILED:_fopen___s___FAILED.
call fcn.004178df
pop ecx
pop ecx
jmp 0x474149
push edi
push 1
push esi
push dword [ebp - 0x118]
call fcn.004b56f6
add esp, 0x10
cmp eax, 1
mov ecx, edi
je 0x474276
call fcn.0041d2f0
push esi
push 0
xor edx, edx
lea ecx, [ebp - 0x110]
call fcn.0041b6bd
pop ecx
push eax
push str.:6:LoadEODTimeStampDB___FAILED:_fread___FAILED:_File_size___u__s_b__u
call fcn.004178df
add esp, 0xc
push esi
push 0
push dword [ebp - 0x118]
call fcn.004b53e0
add esp, 0xc
jmp 0x474149
call fcn.0041d2f0
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret
Function at 0x47428d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x10f]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x118], esi
mov byte [ebp - 0x110], 0
call fcn.004b53e0
add esp, 0xc
test esi, esi
jne 0x4742d3
xor eax, eax
jmp 0x4743b3
push str.eod.tim
lea edi, [ebp - 0x110]
call fcn.0044286c
and dword [ebp - 0x114], 0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
mov edi, 0x226
mov esi, 0x12c
push 0x726
push str..ServerPAULA.c
mov edx, 0x4d36e8
lea ecx, [ebp - 0x110]
call fcn.0041cea8
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
jne 0x47437d
call fcn.004b586d
cdq
mov ecx, edi
idiv ecx
add edx, esi
js 0x474352
call fcn.004b586d
cdq
mov ecx, edi
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x474352
call fcn.004b586d
cdq
mov ecx, edi
idiv ecx
add edx, esi
push edx
jmp 0x474354
push 0xa
call ebx
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 3
jl 0x4742fb
lea eax, [ebp - 0x110]
push eax
push str.:4:SaveEODTimeStampDB___FAILED:_fopen___s___FAILED.
call fcn.004178df
pop ecx
pop ecx
jmp 0x4742cc
push eax
xor esi, esi
inc esi
push esi
push 0x188
push dword [ebp - 0x118]
call fcn.004b43ca
add esp, 0x10
cmp eax, esi
je 0x4743a6
push str.:6:SaveEODTimeStampDB___FAILED:_fwrite___FAILED.
call fcn.004178df
pop ecx
xor esi, esi
mov ecx, dword [ebp - 0x11c]
call fcn.0041d2f0
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret
Function at 0x47a52b
Capabilities:
Terminate process

Disassembly:
push ecx
test esi, esi
push ebx
push edi
jne 0x47a549
mov edi, dword [0x63dfa4]
test edi, edi
je 0x47a5a1
call fcn.0046ee28
and dword [0x63dfa4], esi
jmp 0x47a5a1
mov eax, dword [0x63dfa4]
test eax, eax
jne 0x47a560
call fcn.0046ed85
test eax, eax
mov dword [0x63dfa4], eax
je 0x47a5a4
lea edi, [esi + 0x130]
mov ebx, dword [edi]
call fcn.0046f1ed
test eax, eax
jne 0x47a57e
push dword [edi]
mov eax, dword [0x63dfa4]
call fcn.0046ee6e
pop ecx
xor ebx, ebx
cmp dword [esi], ebx
jle 0x47a5a1
lea edi, [esi + 4]
mov eax, dword [edi]
call fcn.0047adcf
test eax, eax
je 0x47a599
mov ecx, dword [edi]
call fcn.0047a71f
inc ebx
add edi, 4
cmp ebx, dword [esi]
jl 0x47a587
xor eax, eax
inc eax
pop edi
pop ebx
pop ecx
ret

Function at 0x47ae7a
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x248
xor esi, esi
push ebx
inc esi
push esi
call fcn.004b422c
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x47aeaa
push ebx
push esi
push str.:4:CreateSprite__d__FAILED:_calloc__d__FAILED:_could_not_allocate_memory_for_handle:_OUT_OF_MEMORY_
call fcn.004178df
add esp, 0xc
xor eax, eax
jmp 0x47af9a
push 0x30
push esi
call fcn.004b422c
test eax, eax
pop ecx
pop ecx
mov dword [edi + 0x70], eax
jne 0x47aed4
push 0x30
push esi
push esi
push str.:4:CreateSprite__d__FAILED:_calloc__d___d__FAILED:_could_not_allocation_memory_for_the_frames:_OUT_OF_MEMORY_
call fcn.004178df
push edi
call fcn.004b4080
add esp, 0x14
jmp 0x47aea3
cmp dword [0x63e1f0], 0
mov dword [edi + 0x5c], esi
jne 0x47af11
call fcn.0046ed85
test eax, eax
mov dword [0x63e1f0], eax
jne 0x47af11
mov eax, dword [edi + 0x70]
test eax, eax
je 0x47aefc
push eax
call fcn.004b4080
pop ecx
push edi
call fcn.004b4080
mov dword [esp], str.:7:CreateSprite___FAILED:_CreatePtrList___FAILED____
call fcn.004178df
pop ecx
jmp 0x47aea3
fld1
or dword [edi + 0x68], 0xffffffff
and dword [edi + 0x40], 0
fstp dword [edi + 0x44]
mov eax, 0xffff8000
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
call fcn.0040bff5
cmp eax, 0xffffffff
mov dword [edi + 0x7c], eax
je 0x47af3a
test eax, eax
jne 0x47af4b
push str._GetLastError_
push str.:7:CreateSprite___encountered_an_exception:_GetStdHandle_STD_OUTPUT_HANDLE__FAILED:__s
call fcn.004178df
pop ecx
pop ecx
lea ebx, [edi + 0x88]
push str..Sprite.c
push ebx
call fcn.0041f4a2
test eax, eax
pop ecx
pop ecx
jne 0x47af6d
push str.:5:CreateSprite___EAP:_InitializeLock___FAILED.
call fcn.004178df
pop ecx
mov esi, str.A_sprite_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0041f7a1
mov eax, 0x7d0
mov ecx, ebx
call fcn.0041f7de
mov eax, dword [0x63e1f0]
push edi
call fcn.0046ee6e
pop ecx
mov eax, edi
call fcn.0047c237
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x47f04d
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
mov esi, ecx
push 1
push 0x1f4
mov dword [ebp - 0x80], esi
call fcn.004b422c
mov edi, eax
xor ebx, ebx
cmp edi, ebx
pop ecx
pop ecx
jne 0x47f08d
xor eax, eax
jmp 0x47f171
push 5
pop eax
push eax
push 0x10
mov dword [edi + 8], eax
call fcn.004b422c
cmp eax, ebx
pop ecx
pop ecx
mov dword [edi], eax
jne 0x47f0ac
push edi
call fcn.004b4080
pop ecx
jmp 0x47f086
mov eax, dword [0x642a8c]
cmp eax, ebx
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
jne 0x47f0c5
call fcn.0046ed85
mov dword [0x642a8c], eax
push edi
call fcn.0046ee6e
cmp dword [0x642a8c], ebx
pop ecx
jne 0x47f0e4
push dword [edi]
call fcn.004b4080
push edi
call fcn.004b4080
pop ecx
jmp 0x47f0a9
cmp esi, ebx
je 0x47f120
mov esi, 0x103
push esi
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.004b53e0
push dword [ebp - 0x80]
mov ecx, esi
lea eax, [ebp - 0x7c]
call fcn.0047c3fc
mov esi, eax
call fcn.0047c6f9
mov eax, esi
push eax
push 0x18
lea eax, [edi + 0x10]
pop ecx
call fcn.0047c3fc
add esp, 0x14
mov eax, dword [ebp + 0x94]
mov dword [edi + 0x2c], eax
call fcn.004a4ba8
lea ebx, [edi + 0x34]
push str..StringList.c
push ebx
mov dword [edi + 0x30], eax
call fcn.0041f4a2
test eax, eax
pop ecx
pop ecx
jne 0x47f150
push str.:5:CreateStringList___EAP:_InitializeLock___FAILED.
call fcn.004178df
pop ecx
mov esi, str.A_String_List_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0041f7a1
mov eax, 0x7d0
mov ecx, ebx
call fcn.0041f7de
mov eax, edi
call fcn.00480e11
mov eax, edi
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
add ebp, 0x8c
leave
ret
Function at 0x480f3b
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push edi
je 0x48101b
cmp dword [ebp + 0xc], 0
jle 0x48101b
push str..TelNet.c
mov edi, 0x288
push edi
push 1
mov eax, esi
call fcn.004819b5
add esp, 0xc
test eax, eax
je 0x48101b
push edi
mov eax, esi
call fcn.00485265
test eax, eax
pop ecx
je 0x48101b
inc dword [esi + 0xd28]
cmp dword [esi + 0xd30], 0
jne 0x480fd7
push 4
lea eax, [ebp - 4]
push eax
push 0x1005
push 0xffff
push dword [esi + 0xacc]
mov dword [ebp - 4], 0x1388
call sub.WSOCK32.dll_setsockopt
test eax, eax
je 0x480fcd
call sub.WSOCK32.dll_WSAGetLastError
push eax
push esi
push str.:4:TelNetSendBinary__s__EAP:_Failed_to_set_the_send_time_out:_WSAGetLastError___d
call fcn.004178df
add esp, 0xc
mov dword [esi + 0xd30], 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0xacc]
call sub.WSOCK32.dll_send
mov edi, eax
test edi, edi
jg 0x48100a
cmp dword [ebp + 0xc], 0x19
jle 0x48100a
call sub.WSOCK32.dll_WSAGetLastError
push eax
push esi
push str.:5:TelNetSendBinary__s__FAILED:_send___FAILED:_WSAGetLastError___d
call fcn.004178df
add esp, 0xc
dec dword [esi + 0xd28]
mov eax, esi
call fcn.004852a9
mov eax, edi
jmp 0x48101d
xor eax, eax
pop edi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, 0x200
lea esi, [ebx - 1]
push esi
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.004b53e0
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x481169
cmp byte [eax], 0
je 0x481169
lea ecx, [ebp + 0x14]
push ecx
push eax
lea edi, [ebp - 0x204]
push esi
mov eax, edi
push eax
jmp 0x4810bb
lea eax, [ebp - 0x204]
cmp edi, eax
je 0x481096
push edi
call fcn.004b4080
pop ecx
add ebx, ebx
lea eax, [ebx + 0xa]
push eax
push 1
call fcn.004b422c
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x481169
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebx - 1]
push eax
push edi
call fcn.004b630e
add esp, 0x10
cmp eax, 0xffffffff
je 0x481085
mov eax, edi
call fcn.00482f66
push edi
call fcn.004b4450
cmp dword [ebp + 0xc], 0
pop ecx
mov dword [ebp - 0x208], eax
jbe 0x4810f8
cmp dword [ebp + 0xc], 0x7ffffffe
ja 0x4810f0
push dword [ebp + 0xc]
jmp 0x4810f2
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x20c]
push str..TelNet.c
mov ebx, 0x2ca
push ebx
push 1
mov eax, esi
call fcn.004819b5
add esp, 0xc
test eax, eax
je 0x481158
push ebx
mov eax, esi
call fcn.00485265
test eax, eax
pop ecx
je 0x481158
push 0
push dword [ebp - 0x208]
push edi
push dword [esi + 0xacc]
call sub.WSOCK32.dll_send
mov ebx, eax
mov eax, esi
call fcn.004852a9
lea eax, [ebp - 0x204]
cmp edi, eax
je 0x481154
push edi
call fcn.004b4080
pop ecx
mov eax, ebx
jmp 0x48116b
lea eax, [ebp - 0x204]
cmp edi, eax
je 0x481169
push edi
call fcn.004b4080
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret
Function at 0x481a8e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push esi
mov ebx, str..TelNet.c
push ebx
push 0x862
push 1
mov eax, edi
call fcn.004819b5
add esp, 0xc
test eax, eax
je 0x481c6b
mov eax, dword [ebp + 8]
test eax, eax
je 0x481c6b
cmp byte [eax], 0
je 0x481c6b
mov eax, dword [edi + 0xa8c]
push 1
push 0x2c
mov dword [esp + 0x14], eax
call fcn.004b422c
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x481af5
push str.TelNetCreateSearchString___FAILED:_Could_not_create_search_string_handle:__OUT_OF_MEMORY__
call fcn.004178df
jmp 0x481c6a
push 0x2c
push 0
push esi
call fcn.004b53e0
add esp, 0xc
push 2
push dword [ebp + 8]
call fcn.004b4450
pop ecx
add eax, 0xa
push eax
call fcn.004b422c
test eax, eax
pop ecx
pop ecx
mov dword [esi + 4], eax
jne 0x481b42
push dword [ebp + 8]
call fcn.004b4450
add eax, eax
push eax
push str.TelNetCreateSearchString___FAILED:_Could_not_allocate_memory_for_search_string_of_length__ld_
call fcn.004178df
push esi
call fcn.004b4080
add esp, 0x10
jmp 0x481c6b
push ebx
mov ebx, 0x881
push ebx
push 1
mov eax, edi
call fcn.004819b5
add esp, 0xc
test eax, eax
je 0x481c64
push ebx
mov eax, edi
call fcn.00485265
test eax, eax
pop ecx
je 0x481c64
mov ecx, dword [edi + 0xa88]
mov eax, dword [esp + 0xc]
xor edx, edx
div ecx
mov eax, dword [edi + 0xa84]
test edx, edx
jne 0x481b8c
mov ebx, dword [eax + ecx*4 - 4]
jmp 0x481b90
mov ebx, dword [eax + edx*4 - 4]
cmp dword [ebp + 0xc], 0
jne 0x481b99
inc ebx
jmp 0x481baa
call fcn.004a4ba8
cmp ebx, eax
jbe 0x481ba7
sub ebx, eax
add dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call fcn.004b4780
mov eax, dword [esi + 4]
pop ecx
pop ecx
call fcn.00482f66
push dword [ebp + 8]
push dword [esi + 4]
call fcn.004b4450
pop ecx
mov ecx, dword [esi + 4]
lea eax, [eax + ecx + 1]
push eax
call fcn.004b4780
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
pop ecx
xor ebx, ebx
pop ecx
mov dword [esi], edi
mov dword [esi + 0x18], ebx
jmp 0x481bf4
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xaa8], ebx
jne 0x481bec
mov dword [edi + 0xaa8], 1
mov dword [esp + 0xc], ebx
lea eax, [edi + 0xad0]
jmp 0x481c18
inc dword [esp + 0xc]
mov eax, ecx
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
jne 0x481c12
mov dword [eax + 0x28], esi
mov eax, dword [0x642cac]
cmp eax, ebx
jne 0x481c35
call fcn.0046ed85
mov dword [0x642cac], eax
push esi
call fcn.0046ee6e
pop ecx
mov eax, edi
mov dword [edi + 0xaa8], ebx
call fcn.004852a9
cmp dword [esp + 0xc], 0x34
jle 0x481c60
push dword [esp + 0xc]
push str.:4:TelNetCreateSearchString___Potential_Memory_Leak:_There_are_too_many_search_strings_for_a_single_TelNet_handle:__d
call fcn.00417db7
pop ecx
pop ecx
mov eax, esi
jmp 0x481c6d
push esi
call fcn.004b4080
pop ecx
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret