joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b041
Capabilities:
Reference absolute stream path on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x104
lea eax, [ebp - 0x414]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.004c37f0
push edi
lea eax, [ebp - 0x518]
push ebx
push eax
call fcn.004c37f0
push 0xf0
lea eax, [ebp - 0xf4]
push ebx
push eax
call fcn.004c37f0
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004c37f0
lea eax, [ebp - 0x518]
push str.sibs.ark
push eax
call fcn.004ccf60
push str.sybsInst.ark
push ebx
call fcn.0046a855
add esp, 0x40
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004ccf60
movaps xmm0, xmmword [str.C:HCTCPAULA_si:2:AbbrInvGetFull__d__FAILED:_A_reference_invoice_has_not_yet_been_set.]
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0xf8], 0x5c7362
push eax
movups xmmword [ebp - 0x108], xmm0
call fcn.00451c70
push ebx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004209b8
push ebx
mov esi, eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004209b8
add esp, 0x28
test eax, eax
je 0x45b11e
test esi, esi
je 0x45b194
cmp esi, eax
je 0x45b194
push edi
lea eax, [ebp - 0x310]
push ebx
push eax
call fcn.004c37f0
lea eax, [ebp - 0x20c]
push eax
push str._s.temp
lea eax, [ebp - 0x310]
push edi
push eax
call fcn.0048d960
push ebx
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0042078a
add esp, 0x28
test eax, eax
jne 0x45b171
push str._GetLastError_
push str.:7:CloneDatabaseFilesToOldFolder___EAP:_Could_not_copy_the_tams_archive_locally:__s
call fcn.0041c80a
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.0042078a
lea eax, [ebp - 0x310]
push eax
call fcn.004208fc
add esp, 0x10
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0041edcd
pop ecx
pop ecx
test eax, eax
jne 0x45b1c0
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:8:CloneDatabaseFilesToOldFolder___FAILED:_CreateDirectorySuper___s___FAILED:__s
call fcn.0041c80a
add esp, 0xc
push 1
call fcn.004026ed
push ebx
push 1
push ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004026cf
add esp, 0x18
pop edi
pop esi
pop ebx
test eax, eax
jg 0x45b22f
lea eax, [ebp - 0x414]
push eax
call fcn.0041fc00
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fc00
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.:7:CloneDatabaseFilesToOldFolder___FAILED:_DB_Install_Archive_is_CORRUPT_:_ExpandArchive__s___s__FAILED:_bLocalExist_d__bServerExist_d
call fcn.0041c80a
lea eax, [ebp - 0x20c]
push eax
call fcn.004208fc
add esp, 0x18
xor eax, eax
jmp 0x45b237
push 2
call fcn.0045cf62
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c2120
leave
ret
Function at 0x45c981
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x100
push esi
push eax
call fcn.004c37f0
add esp, 0xc
test ebx, ebx
je 0x45c9bf
push ebx
call fcn.0048b21b
pop ecx
test edi, edi
jne 0x45c9df
push esi
call fcn.0045b86c
mov edi, eax
mov dword [ebp - 0x10c], 1
pop ecx
test edi, edi
jne 0x45c9e5
jmp 0x45cac7
mov dword [ebp - 0x10c], esi
push str.SELECT_STORE_PROFILE.STORE_NUM__COMPANY.NAME_FROM_STORE_PROFILE__COMPANY_WHERE_STORE_PROFILE.COMPANY_IDCOMPANY.ID
push edi
call fcn.0045bf37
pop ecx
pop ecx
test eax, eax
je 0x45caaa
mov dword [ebp - 0x108], esi
jmp 0x45ca87
mov eax, dword [ebp - 0x108]
cmp eax, 0xde
jge 0x45cab5
test esi, esi
jne 0x45ca80
lea eax, [ebp - 0x104]
push eax
call fcn.004ce43f
mov esi, eax
pop ecx
test ebx, ebx
je 0x45ca7a
lea eax, [ebp - 0x104]
push 0x4ee0d0
push eax
call fcn.004c3950
pop ecx
test eax, eax
lea eax, [ebp - 0x104]
pop ecx
je 0x45ca6d
push dword [ebp + 0x10]
push 0x4ee0d0
push eax
call fcn.004c3950
pop ecx
pop ecx
inc eax
push eax
push ebx
call fcn.0048dd2a
push ebx
call fcn.0048d721
add esp, 0x10
jmp 0x45ca7a
push eax
push str.:7:GetStoreNumberTAMSii___FAILED:_Store_name_field_not_found:___s_
call fcn.0041c80a
pop ecx
pop ecx
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
push 2
push 9
push 0xff
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.0045c028
add esp, 0x14
test eax, eax
jne 0x45ca05
jmp 0x45cab5
push str.:7:GetStoreNumberTAMSii___FAILED:_ExecuteODBCFormat___FAILED.
call fcn.0041c80a
pop ecx
cmp dword [ebp - 0x10c], 0
je 0x45cac5
push edi
call fcn.0045bba5
pop ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
Function at 0x45dd48
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push 0x40
xor ebx, ebx
push ebx
push eax
call fcn.004c37f0
add esp, 0xc
call fcn.004b729a
mov dword [ebp - 0x4c], eax
test edi, edi
je 0x45dd7d
mov dword [edi], ebx
push ebx
call fcn.0045b86c
mov esi, eax
pop ecx
test esi, esi
je 0x45de47
push esi
call fcn.0045c8d0
push eax
push str.SELECT_TENDER_TYPE_ACCEPTED_FROM_TENDER_TYPE_PROFILE_WHERE_LOC_d
push esi
call fcn.0045bf37
add esp, 0x10
test eax, eax
je 0x45dde6
and dword [ebp - 0x48], ebx
jmp 0x45ddcd
cmp dword [ebp - 0x48], 0xde
jge 0x45ddf3
lea eax, [ebp - 0x44]
push eax
call fcn.0048c646
test eax, eax
mov eax, dword [ebp - 0x48]
pop ecx
je 0x45ddc9
bts ebx, eax
inc eax
mov dword [ebp - 0x48], eax
push 1
push 9
push 0x3f
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0045c028
add esp, 0x14
test eax, eax
jne 0x45ddac
jmp 0x45ddf3
push str.:7:TAMSii_IsTenderTypesEnabled___FAILED:_ExecuteODBCFormat___FAILED.
call fcn.0041c80a
pop ecx
xor ebx, ebx
push esi
call fcn.0045bba5
pop ecx
test edi, edi
je 0x45de00
mov dword [edi], ebx
call fcn.004b729a
sub eax, dword [ebp - 0x4c]
push eax
push 0
push 0xc
push ebx
call fcn.00448b33
add esp, 0xc
push eax
push str.:0:TAMSii_IsTenderTypesEnabled___has_determined__s_in__ums
call fcn.0041cce9
mov eax, ebx
add esp, 0xc
and eax, 3
cmp al, 3
jne 0x45de3a
and ebx, 0x1c
xor eax, eax
cmp bl, 0x1c
sete al
jmp 0x45de4a
push ebx
push str.:7:TAMSii_IsTenderTypesEnabled___FAILED:_dwTenderTypesEnabled___d.
call fcn.0041c80a
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
Function at 0x46a855
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x46a884
cmp dword [ebp + 0xc], esi
je 0x46a884
cmp dword [ebp + 0xc], 0xffffffff
je 0x46a884
call fcn.0046ab2e
mov esi, eax
mov ebx, 0x64b818
push ebx
call fcn.0048c30a
mov edi, 0x104
pop ecx
test eax, eax
jne 0x46a8a5
cmp dword [0x64b3d0], eax
je 0x46a952
push edi
push 0
push ebx
call fcn.004c37f0
and dword [0x64b3d0], 0
lea eax, [ebp - 0x108]
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
add esp, 0xc
push edi
push eax
push 0x51bf2c
call ebx
test eax, eax
jne 0x46a91b
push edi
lea eax, [ebp - 0x108]
push eax
push str.USERPROFILE
call ebx
test eax, eax
jne 0x46a91b
push edi
lea eax, [ebp - 0x108]
push eax
push str.ProgramData
call ebx
test eax, eax
jne 0x46a91b
push str._GetLastError_
push str.:5:GetPaulaInstallationDir___EAP:_GetEnvironmentVariable__ProgramData___FAILED:__s
call fcn.0041cce9
push edi
lea eax, [ebp - 0x108]
push str.C:ProgramData
push eax
call fcn.0048dd2a
add esp, 0x14
lea eax, [ebp - 0x108]
push 0x4f571c
push eax
call fcn.004ccf70
lea eax, [ebp - 0x108]
mov ebx, 0x64b818
push eax
push str._sBETTY_
push edi
push ebx
call fcn.0048d960
push ebx
call fcn.004cd280
add esp, 0x1c
mov dword [0x64b4dc], eax
push edi
push ebx
push 0x64b920
call fcn.0048dd2a
push dword [0x64b4dc]
push ebx
mov ebx, 0x64ba28
push ebx
call fcn.0048dd2a
add esp, 0x18
test esi, esi
jne 0x46a999
cmp dword [ebp + 0xc], 0xffffffff
jne 0x46a981
mov eax, ebx
jmp 0x46a9ff
cmp dword [ebp + 0xc], 0
je 0x46a992
push str.:8:GetPaulaInstallationDir___was_called_with_an_INVALID_pszAppend___
call fcn.0041c80a
pop ecx
mov eax, 0x64b920
jmp 0x46a9ff
cmp dword [ebp + 0xc], 0xffffffff
jne 0x46a9b1
push ebx
push esi
call fcn.004ccf60
push ebx
call fcn.004cd280
add esp, 0xc
jmp 0x46a9fd
mov ebx, 0x64b920
push ebx
push esi
call fcn.004ccf60
push ebx
call fcn.004cd280
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x46a9fd
lea ecx, [ebp + 0x10]
sub edi, eax
push ecx
push 0
push dword [ebp + 0xc]
add eax, esi
push edi
push eax
call fcn.00403d86
add esp, 0x14
test eax, eax
jns 0x46a9fd
push dword [ebp + 0xc]
push str.:8:GetPaulaInstallationDir___EAP:_MAX_PATH_has_been_exceeded:___s_
call fcn.0041c80a
pop ecx
pop ecx
mov byte [esi + 0x103], 0
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
Function at 0x480bb9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x55f900]
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.004c37f0
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.00451c70
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 0x6aa
push str.C:UsersOfficeDocumentsVisual_StudioPAULAServerPAULA.c
lea eax, [ebp - 0x108]
push 0x4e75e0
push eax
call fcn.00422a3e
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x480cda
lea eax, [ebp - 0x108]
push eax
call fcn.0041fc00
pop ecx
test eax, eax
je 0x480cae
call fcn.004ccf29
mov ecx, 0x15e
cdq
idiv ecx
lea esi, [ecx - 0x64]
add edx, esi
js 0x480ca4
call fcn.004ccf29
cdq
lea ecx, [esi + 0x64]
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x480ca4
call fcn.004ccf29
cdq
lea ecx, [esi + 0x64]
idiv ecx
add edx, esi
push edx
jmp 0x480ca6
push 0xa
call ebx
inc edi
cmp edi, 3
jl 0x480c32
lea eax, [ebp - 0x108]
push eax
call fcn.0041fc00
pop ecx
test eax, eax
je 0x480d7b
lea eax, [ebp - 0x108]
push eax
push str.:4:GetLastSA7TimeStamp___FAILED:_fopen___s___FAILED.
call fcn.0041c80a
pop ecx
jmp 0x480d7a
mov edi, dword [ebp - 0x120]
xor ebx, ebx
push esi
inc ebx
push ebx
push 0x10
push edi
call fcn.004c7617
add esp, 0x10
cmp eax, ebx
jne 0x480d0a
push esi
push ebx
push 0x10
push dword [ebp - 0x11c]
call fcn.004c7617
add esp, 0x10
cmp eax, ebx
je 0x480d0c
xor ebx, ebx
push esi
call fcn.004228b3
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.004b5f47
add esp, 0x14
test eax, eax
je 0x480d70
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.004b5f47
add esp, 0x14
test eax, eax
je 0x480d70
test ebx, ebx
jne 0x480d6b
push ebx
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.004209b8
push eax
push str.:3:GetLastSA7TimeStamp___FAILED:_fread___FAILED:_File_size___u
call fcn.0041c80a
add esp, 0x14
jmp 0x480d7b
xor eax, eax
inc eax
jmp 0x480d7d
push str.:3:GetLastSA7TimeStamp___FAILED:_One_of_the_time_stamps_read_is_invalid.
call fcn.0041c80a
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
Function at 0x48170c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x55f900]
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.004c37f0
add esp, 0xc
test edi, edi
je 0x481814
push 0x188
push 0
push edi
call fcn.004c37f0
lea eax, [ebp - 0x10c]
push str.eod.tim
push eax
call fcn.00451c70
add esp, 0x14
xor ebx, ebx
push 0x6f7
push str.C:UsersOfficeDocumentsVisual_StudioPAULAServerPAULA.c
lea eax, [ebp - 0x10c]
push 0x4e75e0
push eax
call fcn.00422a3e
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x481825
lea eax, [ebp - 0x10c]
push eax
call fcn.0041fc00
pop ecx
test eax, eax
je 0x4817f0
call fcn.004ccf29
cdq
mov ecx, 0x226
idiv ecx
mov esi, 0xfa
add edx, esi
js 0x4817de
call fcn.004ccf29
cdq
mov ecx, 0x226
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x4817de
call fcn.004ccf29
cdq
mov ecx, 0x226
idiv ecx
add edx, esi
push edx
jmp 0x4817e0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x481766
lea eax, [ebp - 0x10c]
push eax
call fcn.0041fc00
pop ecx
test eax, eax
je 0x481814
lea eax, [ebp - 0x10c]
push eax
push str.:4:LoadEODTimeStampDB___FAILED:_fopen___s___FAILED.
call fcn.0041c80a
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
push esi
push 1
mov ebx, 0x188
push ebx
push edi
call fcn.004c7617
add esp, 0x10
push esi
cmp eax, 1
je 0x48186f
call fcn.004228b3
pop ecx
push ebx
xor esi, esi
lea eax, [ebp - 0x10c]
push esi
push esi
push eax
call fcn.004209b8
add esp, 0xc
push eax
push str.:6:LoadEODTimeStampDB___FAILED:_fread___FAILED:_File_size___u__s_b__u
call fcn.0041c80a
push ebx
push esi
push edi
call fcn.004c37f0
add esp, 0x18
jmp 0x481814
call fcn.004228b3
xor eax, eax
pop ecx
inc eax
jmp 0x481816
Function at 0x4818b9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x54f0e8
push 0x4c3c00
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x3515c
call fcn.004c2130
mov eax, dword [0x55f900]
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 0x481acd
cmp dword [eax + 0xd90], 0x1dcd69b2
jne 0x481acd
push str.C:TamsInvDB_
call fcn.0041fbe3
pop ecx
test eax, eax
je 0x481acd
call fcn.004b729a
sub eax, dword [0x656930]
cmp eax, 0x6ddd00
jbe 0x481acd
and dword [ebp - 4], 0
push str.10.119.168.10
call fcn.0045b86c
pop ecx
mov ebx, eax
mov dword [ebp - 0x35174], ebx
test ebx, ebx
je 0x481aa3
call fcn.004b5927
push 7
pop edi
mov dword [ebp - 0x35170], edi
mov esi, eax
test edi, edi
jle 0x481a9b
push 0
push 0
push 1
push esi
push ebx
call fcn.0045fe41
add esp, 0x14
mov ebx, eax
test ebx, ebx
je 0x481a7a
push 0x35148
push 0
lea eax, [ebp - 0x35164]
push eax
call fcn.004c37f0
push ebx
call fcn.00449f61
lea eax, [ebp - 0x35164]
push eax
push ebx
call fcn.0046444d
add esp, 0x18
mov dword [ebp - 0x35168], eax
test eax, eax
jle 0x481a54
xor edx, edx
mov dword [ebp - 0x3516c], edx
cmp edx, dword [ebp - 0x35160]
jge 0x4819ea
imul ecx, edx, 0x90
mov eax, dword [ebp - 0x35164]
mov dword [ebp + ecx - 0x35106], eax
inc edx
jmp 0x4819c6
push str.C:TamsInvDB_
call fcn.0041fbe3
pop ecx
test eax, eax
je 0x481a00
mov eax, str.C:TamsInvDBDEN203.dat
jmp 0x481a0e
push str.BranchStore1.tmp
push 0
call fcn.0046aa0e
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.00461edf
add esp, 0x1c
test eax, eax
jle 0x481a72
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.0041cce9
add esp, 0x10
jmp 0x481a72
push 0
push 0
push ebx
call fcn.00449b81
push eax
push dword [ebp - 0x35168]
push str.:5:DEND203_INV:GetInvDescSA12___FAILED2___d:_ParseSybaseSA12___FAILED:___s_
call fcn.0041c80a
add esp, 0x18
push ebx
call fcn.004496b6
jmp 0x481a84
push str.:7:DEND203_INV:GetSybaseSA12___FAILED_
call fcn.0041c80a
pop ecx
push 0xffffffffffffffff
push esi
call fcn.004b48e9
pop ecx
pop ecx
dec edi
mov ebx, dword [ebp - 0x35174]
jmp 0x481963
push ebx
call fcn.0045bba5
jmp 0x481abb
push str.:7:DEND203_INV:CreateTAMSiiODBC__10.119.168.10____FAILED_
jmp 0x481ab6
call fcn.0041c80a
pop ecx
mov dword [ebp - 4], 0xfffffffe
call fcn.004b729a
mov dword [0x656930], 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.004c2120
leave
ret
Function at 0x486d1a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6599a0], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
jne 0x486e78
cmp dword [0x659ab4], 0
jne 0x486e78
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.004c37f0
xor edi, edi
lea eax, [ebp - 0x144]
inc edi
push eax
mov dword [0x659ab4], edi
call fcn.0041f59d
add esp, 0x10
test eax, eax
jne 0x486df8
lea eax, [ebp - 0x144]
push str.TempDummySound.wav
push eax
call fcn.004ccf60
pop ecx
pop ecx
push 0x52
push str.C:UsersOfficeDocumentsVisual_StudioPAULASound.c
lea eax, [ebp - 0x144]
push 0x4e7ba0
push eax
call fcn.00422a3e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x486e2f
push esi
push 0x3a
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.004c838f
push esi
call fcn.004228b3
add esp, 0x14
lea eax, [ebp - 0x144]
push eax
call fcn.00486d1a
pop ecx
test eax, eax
jne 0x486e71
lea eax, [ebp - 0x144]
push str.SoundsNotifyWinIllegalKey.wav
push eax
call fcn.0046a855
push eax
call fcn.00486d1a
add esp, 0xc
test eax, eax
jne 0x486e71
lea eax, [ebp - 0x144]
push eax
push str.:7:CreateSound___FAILED_to_create_the_dummy_protection_sound___s_.
call fcn.0041c80a
pop ecx
pop ecx
and dword [0x659ab4], 0
push 1
push 0x724
call fcn.004ccef4
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x486e93
xor eax, eax
jmp 0x486f23
mov eax, dword [0x6599a0]
test eax, eax
jne 0x486ea6
call fcn.0047bcca
mov dword [0x6599a0], eax
push esi
push eax
call fcn.0047c17c
cmp dword [0x6599a0], 0
pop ecx
pop ecx
jne 0x486ec1
push esi
call fcn.004cceff
pop ecx
jmp 0x486e8c
lea edi, [esi + 0x564]
push str.C:UsersOfficeDocumentsVisual_StudioPAULASound.c
push edi
call fcn.00428e58
pop ecx
pop ecx
test eax, eax
jne 0x486ee3
push str.:5:CreateSound___EAP:_InitializeLock___FAILED.
call fcn.0041c80a
pop ecx
push str.A_Sound_handle_had_to_be_forced_to_unlock___
push edi
call fcn.0042918e
push 0xdac
push edi
call fcn.0042915b
push esi
call fcn.00488e9f
push ebx
call fcn.0048c30a
add esp, 0x18
test eax, eax
jne 0x486f21
push ebx
push esi
call fcn.00487430
pop ecx
pop ecx
test eax, eax
jne 0x486f21
push esi
call fcn.00486fc8
jmp 0x486ebe
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
Function at 0x491350
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x20]
push dword [ebp + 8]
call fcn.00490a65
pop ecx
pop ecx
test eax, eax
jne 0x491369
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.004947c6
pop ecx
mov eax, esi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x55f900]
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.004c37f0
push 0x190
xor esi, esi
lea eax, [ebp - 0x198]
push esi
push eax
call fcn.004c37f0
push str.C:UsersOfficeDocumentsVisual_StudioPAULATelNet.c
push 0x17ef
push 1
push ebx
call fcn.004909e1
add esp, 0x28
test eax, eax
je 0x4915d5
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 0x4915d2
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 0x4915d2
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.004934ac
pop ecx
pop ecx
test eax, eax
je 0x4915bd
movzx eax, byte [ebp + edi - 0x198]
push eax
push ebx
call fcn.00490f42
pop ecx
pop ecx
inc edi
cmp edi, esi
jl 0x491597
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 0x1a0]
jne 0x491548
mov eax, esi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
Function at 0x493d79
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 0x493e67
cmp dword [ebp + 0x10], 0
jle 0x493e67
push str.C:UsersOfficeDocumentsVisual_StudioPAULATelNet.c
mov edi, 0x288
push edi
push 1
push esi
call fcn.004909e1
add esp, 0x10
test eax, eax
je 0x493e67
push edi
push esi
call fcn.00490a8d
pop ecx
pop ecx
test eax, eax
je 0x493e67
lea edi, [esi + 0xd28]
inc dword [edi]
cmp dword [esi + 0xd30], 0
push ebx
mov ebx, edi
jne 0x493e22
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 0x493e18
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.0041c80a
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 0x493e58
cmp dword [ebp + 0x10], 0x19
mov edi, ebx
jle 0x493e58
call sub.WSOCK32.dll_WSAGetLastError
push eax
push esi
push str.:5:TelNetSendBinary__s__FAILED:_send___FAILED:_WSAGetLastError___d
call fcn.0041c80a
add esp, 0xc
dec dword [edi]
push esi
call fcn.004947a6
mov eax, dword [ebp + 0xc]
pop ecx
pop ebx
jmp 0x493e69
xor eax, eax
pop edi
pop esi
pop ebp
ret