joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d029
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x47d048
cmp dword [ebp + 0xc], esi
je 0x47d048
cmp dword [ebp + 0xc], 0xffffffff
je 0x47d048
call fcn.0047cff0
mov esi, eax
mov ebx, 0x686db8
push ebx
call fcn.0049f486
mov edi, 0x104
pop ecx
test eax, eax
je 0x47d08c
push edi
push ebx
push str.SystemDrive
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x47d08c
push str._GetLastError_
push str.:5:GetSystemDRIVE___EAP:_GetEnvironmentVariable__SystemDrive___FAILED:__s
call fcn.00425c08
push edi
push 0x54c79c
push ebx
call fcn.004a11a5
add esp, 0x14
push edi
push ebx
mov ebx, 0x686ec0
push ebx
call fcn.004a11a5
add esp, 0xc
test esi, esi
jne 0x47d0ba
cmp dword [ebp + 0xc], esi
je 0x47d0b6
cmp dword [ebp + 0xc], 0xffffffff
je 0x47d0b6
push str.:8:GetSystemDRIVE___was_called_with_an_INVALID_pszAppend___
call fcn.004255b9
pop ecx
mov eax, ebx
jmp 0x47d107
push ebx
push esi
call fcn.004ee4d0
push ebx
call fcn.004ee800
mov ecx, dword [ebp + 0xc]
add esp, 0xc
test ecx, ecx
je 0x47d105
cmp ecx, 0xffffffff
je 0x47d105
lea edx, [ebp + 0x10]
sub edi, eax
push edx
push 0
push ecx
add eax, esi
push edi
push eax
call fcn.00404edd
add esp, 0x14
test eax, eax
jns 0x47d105
push dword [ebp + 0xc]
push str.:8:GetSystemDRIVE___EAP:_MAX_PATH_has_been_exceeded:___s_
call fcn.004255b9
pop ecx
pop ecx
mov byte [esi + 0x103], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x47d10c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x47d12b
cmp dword [ebp + 0xc], esi
je 0x47d12b
cmp dword [ebp + 0xc], 0xffffffff
je 0x47d12b
call fcn.0047cff0
mov esi, eax
mov ebx, 0x687b40
push ebx
call fcn.0049f486
mov edi, 0x104
pop ecx
test eax, eax
jne 0x47d148
cmp dword [0x686db4], eax
je 0x47d1ad
push edi
push 0
push ebx
call fcn.004e4da0
and dword [0x686db4], 0
add esp, 0xc
push ebx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x47d19a
push str._GetLastError_
push str.:5:GetWindowsTempDir___FAILED:_GetTempPath___FAILED:__s
call fcn.004255b9
push 0
push 0
call fcn.0047cdb0
push eax
push str._sTEMP_
push edi
push ebx
call fcn.004a0ddb
add esp, 0x20
xor eax, eax
jmp 0x47d25a
push ebx
call fcn.0049d915
push ebx
call fcn.004ee800
pop ecx
pop ecx
mov dword [0x6871f4], eax
push edi
push ebx
push 0x687c48
call fcn.004a11a5
push dword [0x6871f4]
push ebx
mov ebx, 0x687d50
push ebx
call fcn.004a11a5
add esp, 0x18
test esi, esi
jne 0x47d1f4
cmp dword [ebp + 0xc], 0xffffffff
jne 0x47d1dc
mov eax, ebx
jmp 0x47d25a
cmp dword [ebp + 0xc], 0
je 0x47d1ed
push str.:8:GetWindowsTempDir___was_called_with_an_INVALID_pszAppend___
call fcn.004255b9
pop ecx
mov eax, 0x687c48
jmp 0x47d25a
cmp dword [ebp + 0xc], 0xffffffff
jne 0x47d20c
push ebx
push esi
call fcn.004ee4d0
push ebx
call fcn.004ee800
add esp, 0xc
jmp 0x47d258
mov ebx, 0x687c48
push ebx
push esi
call fcn.004ee4d0
push ebx
call fcn.004ee800
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x47d258
lea ecx, [ebp + 0x10]
sub edi, eax
push ecx
push 0
push dword [ebp + 0xc]
add eax, esi
push edi
push eax
call fcn.00404edd
add esp, 0x14
test eax, eax
jns 0x47d258
push dword [ebp + 0xc]
push str.:8:GetWindowsTempDir___EAP:_MAX_PATH_has_been_exceeded:___s_
call fcn.004255b9
pop ecx
pop ecx
mov byte [esi + 0x103], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x493887
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x104
push 0
push eax
call fcn.004e4da0
xor eax, eax
lea edi, [ebp - 0x118]
stosd dword es:[edi], eax
push str.S7.tim
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
call fcn.0046379e
add esp, 0x14
lea eax, [ebp - 0x118]
test esi, esi
cmovne eax, esi
test ebx, ebx
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x118]
cmovne eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x11c], eax
xor edi, edi
push 0x6a2
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ServerPAULA.c
lea eax, [ebp - 0x108]
push 0x50965c
push eax
call fcn.0042d2de
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4939a8
lea eax, [ebp - 0x108]
push eax
call fcn.0042916f
pop ecx
test eax, eax
je 0x49397c
call fcn.004ee499
mov ecx, 0x15e
cdq
idiv ecx
lea esi, [ecx - 0x64]
add edx, esi
js 0x493972
call fcn.004ee499
cdq
lea ecx, [esi + 0x64]
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x493972
call fcn.004ee499
cdq
lea ecx, [esi + 0x64]
idiv ecx
add edx, esi
push edx
jmp 0x493974
push 0xa
call ebx
inc edi
cmp edi, 3
jl 0x493900
lea eax, [ebp - 0x108]
push eax
call fcn.0042916f
pop ecx
test eax, eax
je 0x493a49
lea eax, [ebp - 0x108]
push eax
push str.:4:GetLastSA7TimeStamp___FAILED:_fopen___s___FAILED.
call fcn.004255b9
pop ecx
jmp 0x493a48
mov edi, dword [ebp - 0x120]
xor ebx, ebx
push esi
inc ebx
push ebx
push 0x10
push edi
call fcn.004e8bc6
add esp, 0x10
cmp eax, ebx
jne 0x4939d8
push esi
push ebx
push 0x10
push dword [ebp - 0x11c]
call fcn.004e8bc6
add esp, 0x10
cmp eax, ebx
je 0x4939da
xor ebx, ebx
push esi
call fcn.0042d153
pop ecx
mov esi, edi
push 1
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.004c95b5
add esp, 0x14
test eax, eax
je 0x493a3e
mov esi, dword [ebp - 0x11c]
push 1
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.004c95b5
add esp, 0x14
test eax, eax
je 0x493a3e
test ebx, ebx
jne 0x493a39
push ebx
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0042aa40
push eax
push str.:3:GetLastSA7TimeStamp___FAILED:_fread___FAILED:_File_size___u
call fcn.004255b9
add esp, 0x14
jmp 0x493a49
xor eax, eax
inc eax
jmp 0x493a4b
push str.:3:GetLastSA7TimeStamp___FAILED:_One_of_the_time_stamps_read_is_invalid.
call fcn.004255b9
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
Function at 0x4943da
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x105
push 0
push eax
call fcn.004e4da0
add esp, 0xc
test edi, edi
je 0x4944e2
push 0x188
push 0
push edi
call fcn.004e4da0
lea eax, [ebp - 0x10c]
push str.eod.tim
push eax
call fcn.0046379e
add esp, 0x14
xor ebx, ebx
push 0x6ef
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ServerPAULA.c
lea eax, [ebp - 0x10c]
push 0x50965c
push eax
call fcn.0042d2de
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4944f3
lea eax, [ebp - 0x10c]
push eax
call fcn.0042916f
pop ecx
test eax, eax
je 0x4944be
call fcn.004ee499
cdq
mov ecx, 0x226
idiv ecx
mov esi, 0xfa
add edx, esi
js 0x4944ac
call fcn.004ee499
cdq
mov ecx, 0x226
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x4944ac
call fcn.004ee499
cdq
mov ecx, 0x226
idiv ecx
add edx, esi
push edx
jmp 0x4944ae
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x494434
lea eax, [ebp - 0x10c]
push eax
call fcn.0042916f
pop ecx
test eax, eax
je 0x4944e2
lea eax, [ebp - 0x10c]
push eax
push str.:4:LoadEODTimeStampDB___FAILED:_fopen___s___FAILED.
call fcn.004255b9
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
push esi
push 1
mov ebx, 0x188
push ebx
push edi
call fcn.004e8bc6
add esp, 0x10
push esi
cmp eax, 1
je 0x49453d
call fcn.0042d153
pop ecx
push ebx
xor esi, esi
lea eax, [ebp - 0x10c]
push esi
push esi
push eax
call fcn.0042aa40
add esp, 0xc
push eax
push str.:6:LoadEODTimeStampDB___FAILED:_fread___FAILED:_File_size___u__s_b__u
call fcn.004255b9
push ebx
push esi
push edi
call fcn.004e4da0
add esp, 0x18
jmp 0x4944e2
call fcn.0042d153
xor eax, eax
pop ecx
inc eax
jmp 0x4944e4
Function at 0x494587
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x587c40
push 0x4e51b0
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x3515c
call fcn.004e3640
mov eax, dword [0x59a240]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x49479b
cmp dword [eax + 0xd90], 0x1dcd69b2
jne 0x49479b
push str.C:TamsInvDB_
call fcn.00429152
pop ecx
test eax, eax
je 0x49479b
call fcn.004ca9ca
sub eax, dword [0x692aa8]
cmp eax, 0x6ddd00
jbe 0x49479b
and dword [ebp - 4], 0
push str.10.119.168.10
call fcn.0046d734
pop ecx
mov ebx, eax
mov dword [ebp - 0x35174], ebx
test ebx, ebx
je 0x494771
call fcn.004c8f47
push 7
pop edi
mov dword [ebp - 0x35170], edi
mov esi, eax
test edi, edi
jle 0x494769
push 0
push 0
push 1
push esi
push ebx
call fcn.00471d9d
add esp, 0x14
mov ebx, eax
test ebx, ebx
je 0x494748
push 0x35148
push 0
lea eax, [ebp - 0x35164]
push eax
call fcn.004e4da0
push ebx
call fcn.0045a8a9
lea eax, [ebp - 0x35164]
push eax
push ebx
call fcn.00476464
add esp, 0x18
mov dword [ebp - 0x35168], eax
test eax, eax
jle 0x494722
xor edx, edx
mov dword [ebp - 0x3516c], edx
cmp edx, dword [ebp - 0x35160]
jge 0x4946b8
imul ecx, edx, 0x90
mov eax, dword [ebp - 0x35164]
mov dword [ebp + ecx - 0x35106], eax
inc edx
jmp 0x494694
push str.C:TamsInvDB_
call fcn.00429152
pop ecx
test eax, eax
je 0x4946ce
mov eax, str.C:TamsInvDBDEN203.dat
jmp 0x4946dc
push str.BranchStore1.tmp
push 0
call fcn.0047ced0
pop ecx
pop ecx
mov dword [ebp - 0x35168], eax
push 0
push 0xc80
push 0
push eax
push 9
push 0x1dcd69b3
lea eax, [ebp - 0x35164]
push eax
call fcn.00473e86
add esp, 0x1c
test eax, eax
jle 0x494740
push dword [ebp - 0x35168]
push eax
push dword [ebp - 0x35160]
push str.:2:DEND203_INV:LogInvoiceData___logged__d_invoices_to_archive_total_size__d_at__s
call fcn.00425c08
add esp, 0x10
jmp 0x494740
push 0
push 0
push ebx
call fcn.0045a4ac
push eax
push dword [ebp - 0x35168]
push str.:5:DEND203_INV:GetInvDescSA12___FAILED2___d:_ParseSybaseSA12___FAILED:___s_
call fcn.004255b9
add esp, 0x18
push ebx
call fcn.00459cd4
jmp 0x494752
push str.:7:DEND203_INV:GetSybaseSA12___FAILED_
call fcn.004255b9
pop ecx
push 0xffffffffffffffff
push esi
call fcn.004c7ea1
pop ecx
pop ecx
dec edi
mov ebx, dword [ebp - 0x35174]
jmp 0x494631
push ebx
call fcn.0046dac7
jmp 0x494789
push str.:7:DEND203_INV:CreateTAMSiiODBC__10.119.168.10____FAILED_
jmp 0x494784
call fcn.004255b9
pop ecx
mov dword [ebp - 4], 0xfffffffe
call fcn.004ca9ca
mov dword [0x692aa8], eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004e3632
leave
ret
Function at 0x499ded
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x695b18], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
jne 0x499f4b
cmp dword [0x695c2c], 0
jne 0x499f4b
xor eax, eax
mov dword [ebp - 0x40], 0x46464952
push 0x104
push eax
lea eax, [ebp - 0x144]
mov dword [ebp - 0x3c], 0x32
push eax
mov dword [ebp - 0x38], 0x45564157
mov dword [ebp - 0x34], 0x20746d66
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], 0x10001
mov dword [ebp - 0x28], 0x5622
mov dword [ebp - 0x24], 0xac44
mov dword [ebp - 0x20], 0x100002
mov dword [ebp - 0x1c], 0x61746164
mov dword [ebp - 0x18], 0xe
mov dword [ebp - 0x14], 0xfe00fe01
mov dword [ebp - 0x10], 0xff00
mov dword [ebp - 0xc], 0xffff
mov word [ebp - 8], 1
call fcn.004e4da0
xor edi, edi
lea eax, [ebp - 0x144]
inc edi
push eax
mov dword [0x695c2c], edi
call fcn.00428b0c
add esp, 0x10
test eax, eax
jne 0x499ecb
lea eax, [ebp - 0x144]
push str.TempDummySound.wav
push eax
call fcn.004ee4d0
pop ecx
pop ecx
push 0x52
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_Sound.c
lea eax, [ebp - 0x144]
push 0x509c18
push eax
call fcn.0042d2de
mov esi, eax
add esp, 0x10
test esi, esi
je 0x499f02
push esi
push 0x3a
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.004e9927
push esi
call fcn.0042d153
add esp, 0x14
lea eax, [ebp - 0x144]
push eax
call fcn.00499ded
pop ecx
test eax, eax
jne 0x499f44
lea eax, [ebp - 0x144]
push str.SoundsNotifyWinIllegalKey.wav
push eax
call fcn.0047cdb0
push eax
call fcn.00499ded
add esp, 0xc
test eax, eax
jne 0x499f44
lea eax, [ebp - 0x144]
push eax
push str.:7:CreateSound___FAILED_to_create_the_dummy_protection_sound___s_.
call fcn.004255b9
pop ecx
pop ecx
and dword [0x695c2c], 0
push 1
push 0x724
call fcn.004ee464
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x499f66
xor eax, eax
jmp 0x499ff6
mov eax, dword [0x695b18]
test eax, eax
jne 0x499f79
call fcn.0048e640
mov dword [0x695b18], eax
push esi
push eax
call fcn.0048eaf2
cmp dword [0x695b18], 0
pop ecx
pop ecx
jne 0x499f94
push esi
call fcn.004ee46f
pop ecx
jmp 0x499f5f
lea edi, [esi + 0x564]
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_Sound.c
push edi
call fcn.00430fc2
pop ecx
pop ecx
test eax, eax
jne 0x499fb6
push str.:5:CreateSound___EAP:_InitializeLock___FAILED.
call fcn.004255b9
pop ecx
push str.A_Sound_handle_had_to_be_forced_to_unlock___
push edi
call fcn.004312f8
push 0xdac
push edi
call fcn.004312c5
push esi
call fcn.0049c16f
push ebx
call fcn.0049f486
add esp, 0x18
test eax, eax
jne 0x499ff4
push ebx
push esi
call fcn.0049a503
pop ecx
pop ecx
test eax, eax
jne 0x499ff4
push esi
call fcn.0049a09b
jmp 0x499f91
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
Function at 0x4a494a
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x20]
push dword [ebp + 8]
call fcn.004a4052
pop ecx
pop ecx
test eax, eax
jne 0x4a4963
push 2
pop eax
pop ebp
ret
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
push dword [ebp + 8]
mov esi, eax
call fcn.004a7dd3
pop ecx
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4a4ae5
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x198]
push esi
push 0x191
push 0
push eax
call fcn.004e4da0
push 0x190
xor esi, esi
lea eax, [ebp - 0x198]
push esi
push eax
call fcn.004e4da0
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_TelNet.c
push 0x17ef
push 1
push ebx
call fcn.004a3fce
add esp, 0x28
test eax, eax
je 0x4a4bcf
push edi
mov edi, dword [ebx + 0xacc]
lea eax, [ebp - 0x19c]
and dword [ebp - 0x19c], 0
push eax
push 0x4004667f
push edi
call sub.WSOCK32.dll_ioctlsocket
cmp dword [ebp - 0x19c], 0
jbe 0x4a4bcc
push 0
push 0x50
lea eax, [ebp - 0x198]
push eax
push edi
call sub.WSOCK32.dll_recv
mov dword [ebp - 0x19c], eax
test eax, eax
jle 0x4a4bcc
xor edi, edi
add esi, eax
mov dword [ebp - 0x1a0], esi
mov esi, eax
movzx eax, byte [ebp + edi - 0x198]
push eax
push ebx
call fcn.004a6ab9
pop ecx
pop ecx
test eax, eax
je 0x4a4bb7
movzx eax, byte [ebp + edi - 0x198]
push eax
push ebx
call fcn.004a453c
pop ecx
pop ecx
inc edi
cmp edi, esi
jl 0x4a4b91
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 0x1a0]
jne 0x4a4b42
mov eax, esi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
Function at 0x4a7386
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
push edi
je 0x4a7474
cmp dword [ebp + 0x10], 0
jle 0x4a7474
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_TelNet.c
mov edi, 0x288
push edi
push 1
push esi
call fcn.004a3fce
add esp, 0x10
test eax, eax
je 0x4a7474
push edi
push esi
call fcn.004a407a
pop ecx
pop ecx
test eax, eax
je 0x4a7474
lea edi, [esi + 0xd28]
inc dword [edi]
cmp dword [esi + 0xd30], 0
push ebx
mov ebx, edi
jne 0x4a742f
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x1388
push eax
push 0x1005
push 0xffff
push dword [esi + 0xacc]
call sub.WSOCK32.dll_setsockopt
test eax, eax
je 0x4a7425
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.004255b9
add esp, 0xc
lea ebx, [esi + 0xd28]
mov dword [esi + 0xd30], 1
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0xacc]
call sub.WSOCK32.dll_send
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4a7465
cmp dword [ebp + 0x10], 0x19
mov edi, ebx
jle 0x4a7465
call sub.WSOCK32.dll_WSAGetLastError
push eax
push esi
push str.:5:TelNetSendBinary__s__FAILED:_send___FAILED:_WSAGetLastError___d
call fcn.004255b9
add esp, 0xc
dec dword [edi]
push esi
call fcn.004a7db3
mov eax, dword [ebp + 0xc]
pop ecx
pop ebx
jmp 0x4a7476
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x4a747a
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x204]
mov ebx, 0x200
push ebx
push 0
push eax
call fcn.004e4da0
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x4a75ab
cmp byte [eax], 0
je 0x4a75ab
lea ecx, [ebp + 0x14]
push ecx
push 0
push eax
lea esi, [ebp - 0x204]
push 0x1ff
mov eax, esi
push eax
jmp 0x4a750d
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x4a74e6
push esi
call fcn.004ee46f
pop ecx
add ebx, ebx
lea eax, [ebx + 0xa]
push eax
push 1
call fcn.004ee464
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4a75ab
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
lea ecx, [ebx - 1]
push ecx
push esi
call fcn.00404edd
add esp, 0x14
cmp eax, 0xffffffff
je 0x4a74d5
push esi
call fcn.004a3cb3
push esi
call fcn.004ee800
mov ebx, eax
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
test eax, eax
je 0x4a7543
cmp eax, 0x7ffffffe
ja 0x4a753b
push eax
jmp 0x4a753d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_TelNet.c
push 0x2ca
push 1
push edi
call fcn.004a3fce
add esp, 0x10
test eax, eax
je 0x4a759a
push 0x2ca
push edi
call fcn.004a407a
pop ecx
pop ecx
test eax, eax
je 0x4a759a
push 0
push ebx
push esi
push dword [edi + 0xacc]
call sub.WSOCK32.dll_send
push edi
mov ebx, eax
call fcn.004a7db3
lea eax, [ebp - 0x204]
pop ecx
cmp esi, eax
je 0x4a7596
push esi
call fcn.004ee46f
pop ecx
mov eax, ebx
jmp 0x4a75ad
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x4a75ab
push esi
call fcn.004ee46f
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
Function at 0x4c82c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.004e4da0
push 0x140
lea eax, [ebp - 0x268]
push ebx
push eax
call fcn.004e4da0
xor eax, eax
lea edi, [ebp - 0x128]
stosd dword es:[edi], eax
add esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x118]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004ca9ca
sub eax, dword [0x69dbf8]
cmp eax, 0x493e0
jb 0x4c8472
call fcn.004ca9ca
mov dword [0x69dbf8], eax
call fcn.004c92dc
test eax, eax
je 0x4c8472
push esi
lea eax, [ebp - 0x108]
push 0x69d3b0
push eax
call fcn.004a11a5
lea eax, [ebp - 0x108]
push eax
call fcn.004a0109
push str.PAULATempTimeDetectionFile
lea eax, [ebp - 0x108]
push 0x526fc0
push eax
call fcn.004a0e1b
add esp, 0x1c
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x26c], esi
cmp esi, 0xffffffff
je 0x4c8472
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x264]
jg 0x4c83dd
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
sub esp, 0x10
lea esi, [ebp - 0x118]
mov edi, esp
sub esp, 0x10
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 edi, esp
lea esi, [ebp - 0x128]
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.004ca88e
add esp, 0x20
cmp eax, 0xdbba0
jle 0x4c844b
lea eax, [ebp - 0x108]
push eax
call fcn.004a0109
lea eax, [ebp - 0x23c]
mov dword [esp], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004a10b8
lea eax, [ebp - 0x108]
push eax
call fcn.00429e69
add esp, 0x10
test eax, eax
je 0x4c844b
inc ebx
mov esi, dword [ebp - 0x26c]
lea eax, [ebp - 0x268]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4c83b2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x4c8474
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
Function at 0x4c9773
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ecx, ecx
je 0x4c97a8
push 0x10
push 0
push ecx
call fcn.004e4da0
add esp, 0xc
push esi
call fcn.0049f486
pop ecx
test eax, eax
jne 0x4c9811
push 0xbba
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_Time.c
push 0x50965c
push esi
call fcn.0042d2de
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4c9811
push ebx
push 0x10
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004e4da0
push esi
push 1
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.004e8bc6
push esi
lea ebx, [eax - 1]
neg ebx
sbb ebx, ebx
call fcn.0042d153
mov edi, dword [ebp - 0x18]
add esp, 0x20
test edi, edi
je 0x4c980b
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 1]
pop ebx
jmp 0x4c9813
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e3632
leave
ret