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

Disassembly:
jmp 0x45d52b
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x6294a0]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push 0x103
xor ebx, ebx
lea eax, [ebp - 0x7f]
push ebx
push eax
mov byte [ebp - 0x80], 0
call fcn.00508d00
push 5
call fcn.00401528
add esp, 0x10
call fcn.004021ee
test eax, eax
je 0x45d722
mov eax, dword [ebp + 0x94]
dec eax
je 0x45d682
dec eax
dec eax
je 0x45d601
dec eax
je 0x45d722
dec eax
je 0x45d722
push ebx
push ebx
call fcn.004031fc
push eax
lea eax, [ebp - 0x80]
push str._sSoundsPaulaLeft.wav
push eax
call fcn.0050dd60
lea eax, [ebp - 0x80]
push eax
call fcn.00402b5d
add esp, 0x18
test eax, eax
je 0x45d5df
push 1
call fcn.00401230
test eax, eax
pop ecx
je 0x45d5cf
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20001
push ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0x5aba30
call fcn.00401528
mov dword [esp], str._n___Paula_has_left_the_building.__She_is_no_longer_here.
call fcn.00401528
mov dword [esp], str._n___Please_press_any_key_to_terminate_this_window...
jmp 0x45d6f8
push esi
push edi
push ebx
push ebx
call fcn.004031fc
push eax
lea eax, [ebp - 0x80]
push str._sSoundsPaulaLeft.wav
push eax
call fcn.0050dd60
lea eax, [ebp - 0x80]
push eax
call fcn.00402b5d
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x18
test eax, eax
mov edi, 0x3e8
je 0x45d653
push 1
call fcn.00401230
test eax, eax
pop ecx
je 0x45d643
push edi
call esi
push 0x20001
push ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
call fcn.004017df
push str._n_nPAULA_has_left..._n
call fcn.0040205e
pop ecx
push 3
pop ebx
push ebx
push str._rThis_screen_will_terminate_in__d_seconds.
call fcn.0040205e
pop ecx
pop ecx
push edi
call esi
dec ebx
test ebx, ebx
jg 0x45d666
pop edi
pop esi
jmp 0x45d722
push ebx
push ebx
call fcn.004031fc
push eax
lea eax, [ebp - 0x80]
push str._sSoundsPaulaLeft.wav
push eax
call fcn.0050dd60
lea eax, [ebp - 0x80]
push eax
call fcn.00402b5d
add esp, 0x18
test eax, eax
je 0x45d6cf
push 1
call fcn.00401230
test eax, eax
pop ecx
je 0x45d6bf
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20001
push ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0x5aba30
call fcn.00401528
mov dword [esp], str._n___Paula_has_left_the_building.__She_is_no_longer_here.
call fcn.00401528
mov dword [esp], str._n___You_will_have_to_reclick_Paula_to_get_her_to_come_back.
call fcn.00401528
mov dword [esp], str._n___Press_any_key_to_close_this_window...
call fcn.00401528
mov dword [esp], str._n_n_n_n
call fcn.00401528
mov dword [esp], str.Press_any_key_to_exit..._n_n_n_n_n_n_n
call fcn.00401528
mov dword [esp], 0xea60
call fcn.004026f3
pop ecx
call fcn.00402d0b
cmp dword [ebp + 0x94], 5
pop ebx
je 0x45d73c
push dword [ebp + 0x94]
call fcn.00515860
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.00508cf0
add ebp, 0x88
leave
ret
Function at 0x4684c8
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x6294a0]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x194], 0
push esi
mov esi, dword [ebp + 8]
push edi
push 0x18e
lea eax, [ebp - 0x192]
push 0
push eax
call fcn.00508d00
mov edi, dword [ebp + 0xc]
add esp, 0xc
test edi, edi
jge 0x46850a
mov edi, 0x104
test esi, esi
je 0x46854b
test edi, edi
jle 0x46854b
lea eax, [ebp - 0x194]
push eax
push 0x101
mov byte [esi], 0
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x468547
push edi
push esi
call sub.WSOCK32.dll_gethostname
mov edi, eax
call sub.WSOCK32.dll_WSACleanup
test edi, edi
jne 0x468547
push esi
call fcn.00508320
test eax, eax
pop ecx
ja 0x46854b
xor eax, eax
jmp 0x46854d
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00508cf0
leave
ret
Function at 0x46c1d7
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x46c1d7
push ebp
lea ebp, [esp - 0x2ac]
sub esp, 0x32c
mov eax, dword [0x6294a0]
xor eax, ebp
mov dword [ebp + 0x2a8], eax
push ebx
push esi
mov esi, dword [ebp + 0x2b4]
push edi
mov edi, dword [ebp + 0x2b8]
xor ebx, ebx
push 0x18e
lea eax, [ebp - 0x6a]
push ebx
push eax
mov dword [ebp - 0x80], esi
mov word [ebp - 0x6c], bx
call fcn.00508d00
push 0x7f
lea eax, [ebp + 0x229]
push ebx
push eax
mov byte [ebp + 0x228], bl
call fcn.00508d00
push 0x103
lea eax, [ebp + 0x125]
push ebx
push eax
mov byte [ebp + 0x124], bl
call fcn.00508d00
add esp, 0x24
cmp dword [ebp + 0x2bc], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
jge 0x46c261
mov dword [ebp + 0x2bc], 0x104
cmp esi, ebx
je 0x46c3d6
cmp edi, ebx
je 0x46c3d6
cmp dword [ebp + 0x2bc], ebx
jle 0x46c3d6
call fcn.00401e97
push 0x7e
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x228]
push esi
push eax
mov byte [edi], bl
call fcn.00402abd
lea eax, [ebp + 0x124]
push eax
call fcn.00401ff5
lea eax, [ebp - 0x78]
push eax
mov esi, 0x5a0354
lea eax, [ebp + 0x228]
push esi
push eax
call fcn.004019d3
add esp, 0x1c
cmp eax, ebx
mov dword [ebp - 0x70], eax
je 0x46c2d3
lea eax, [ebp - 0x78]
push eax
push esi
push ebx
call fcn.004019d3
add esp, 0xc
mov dword [ebp - 0x70], eax
push dword [ebp - 0x70]
call fcn.004010dc
test eax, eax
pop ecx
jne 0x46c306
push 0x104
push dword [ebp - 0x70]
lea eax, [ebp + 0x124]
push eax
call fcn.00402abd
push ebx
lea eax, [ebp + 0x124]
push 0x3a
push eax
call fcn.004025ea
add esp, 0x18
lea eax, [ebp + 0x228]
push eax
call fcn.00402ac2
test eax, eax
pop ecx
je 0x46c3d6
lea eax, [ebp - 0x6c]
push eax
push 0x101
mov byte [edi], bl
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x46c3d6
lea eax, [ebp + 0x228]
push eax
call fcn.004017d5
pop ecx
push 2
mov dword [ebp - 0x7c], eax
push 4
lea eax, [ebp - 0x7c]
push eax
call sub.WSOCK32.dll_gethostbyaddr
mov esi, eax
cmp esi, ebx
je 0x46c37c
mov eax, dword [esi]
cmp eax, ebx
je 0x46c37c
push eax
call fcn.00508320
test eax, eax
pop ecx
jbe 0x46c37c
push dword [ebp + 0x2bc]
push dword [esi]
push edi
call fcn.00402abd
add esp, 0xc
xor esi, esi
jmp 0x46c37f
or esi, 0xffffffff
call sub.WSOCK32.dll_WSACleanup
cmp esi, ebx
jne 0x46c3d6
push edi
call fcn.00508320
test eax, eax
pop ecx
jbe 0x46c3d6
push dword [ebp + 0x2bc]
lea eax, [ebp + 0x124]
push eax
push edi
call fcn.00402365
add esp, 0xc
call fcn.00401e97
sub eax, dword [ebp - 0x74]
cmp eax, 0x1388
jbe 0x46c3d2
call fcn.00401e97
sub eax, dword [ebp - 0x74]
push eax
push edi
push dword [ebp - 0x80]
push str.:4:ResolveIPToHostName___took_too_long_to_resolve__s_to__s:__ums
call fcn.004020c2
add esp, 0x10
mov eax, edi
jmp 0x46c3d8
xor eax, eax
mov ecx, dword [ebp + 0x2a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00508cf0
add ebp, 0x2ac
leave
ret
Function at 0x47df67
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, edx
test esi, esi
push edi
mov ebx, eax
mov edi, ecx
jne 0x47df81
mov esi, 0x746540
mov edi, 0x200
test edi, edi
jge 0x47df8a
mov edi, closesocket
mov eax, dword [ebp + 0x14]
dec eax
dec eax
je 0x47e10d
dec eax
je 0x47e021
push dword [ebp + 8]
mov eax, dword [ebp + 0x14]
call fcn.0047d1f0
push eax
push str.DRIVER_s_SERVER_s_OPTION3_
push edi
push esi
call fcn.00402dbf
push ebx
call fcn.004010dc
add esp, 0x18
test eax, eax
jne 0x47dfd1
push ebx
push str.DATABASE_s_
push edi
push esi
call fcn.0040231f
add esp, 0x10
push dword [ebp + 0xc]
call fcn.004010dc
test eax, eax
pop ecx
jne 0x47dff0
push dword [ebp + 0xc]
push str.USER_s_
push edi
push esi
call fcn.0040231f
add esp, 0x10
push dword [ebp + 0x10]
call fcn.004010dc
test eax, eax
pop ecx
jne 0x47e19e
push dword [ebp + 0x10]
push eax
push str.t0uzu_r__RS
call fcn.00401465
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.0040231f
add esp, 0x10
jmp 0x47e19e
push 3
pop eax
call fcn.0047d1f0
push eax
push str.DRIVER_s_
push edi
push esi
call fcn.00402dbf
push dword [ebp + 8]
push str.HOST_s_
push edi
push esi
call fcn.0040231f
push dword [ebp + 8]
push str.SERVERtms_server_
push edi
push esi
call fcn.0040231f
push str.SERVICE1525_
push edi
push esi
call fcn.0040231f
push str.PROTOCOLontlitcp_
push edi
push esi
call fcn.0040231f
add esp, 0x48
push ebx
call fcn.004010dc
test eax, eax
pop ecx
jne 0x47e08a
push ebx
push str.DATABASE_s_
push edi
push esi
call fcn.0040231f
add esp, 0x10
push dword [ebp + 0xc]
call fcn.004010dc
test eax, eax
pop ecx
jne 0x47e0a9
push dword [ebp + 0xc]
push str.UID_s_
push edi
push esi
call fcn.0040231f
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x47e0cb
push dword [ebp + 0x10]
push 0
push str.zt_1BX0
call fcn.00401465
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.0040231f
add esp, 0x10
mov ebx, str.informix_
push ebx
push 0
call fcn.004031fc
push eax
push str.TDLL_sbinigo4n304.dll_
push edi
push esi
call fcn.0040231f
push str.TRANSLATIONOPTION0_
push edi
push esi
call fcn.0040231f
push ebx
push 0
call fcn.004031fc
add esp, 0x2c
push eax
push str.INFORMIXDIR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x47e19e
push 2
pop eax
call fcn.0047d1f0
push eax
push str.Driver_s_
push edi
push esi
call fcn.00402dbf
push dword [ebp + 0xc]
call fcn.004010dc
add esp, 0x14
test eax, eax
jne 0x47e143
push dword [ebp + 0xc]
push str.UID_s_
push edi
push esi
call fcn.0040231f
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x47e165
push dword [ebp + 0x10]
push 0
push str.zt_1BX0
call fcn.00401465
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.0040231f
add esp, 0x10
push ebx
call fcn.004010dc
test eax, eax
pop ecx
jne 0x47e180
push ebx
push str.DBN_s_
push edi
push esi
call fcn.0040231f
add esp, 0x10
push str.ENGdefault_
push edi
push esi
call fcn.0040231f
push dword [ebp + 8]
push str.Linkstcpip_HOST_s_PORT2638_verifyno_dobroadcastnone__
push edi
push esi
call fcn.0040231f
add esp, 0x1c
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x48013b
Capabilities:
Reference sql statements

Disassembly:
jmp 0x48013b
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x6294a0]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
mov ebx, dword [ebp + 0xa0]
push esi
push edi
mov edi, dword [ebp + 0x9c]
mov esi, 0xff
push esi
lea eax, [ebp - 0x6f]
push 0
push eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x70], 0
call fcn.00508d00
add esp, 0xc
test ebx, ebx
je 0x48018b
push ebx
call fcn.00401ff5
pop ecx
test edi, edi
jne 0x4801a1
push edi
call fcn.00402527
pop ecx
mov edi, eax
mov dword [ebp - 0x80], 1
jmp 0x4801a5
and dword [ebp - 0x80], 0
test edi, edi
jne 0x4801b0
xor eax, eax
jmp 0x480296
and dword [ebp - 0x74], 0
push str.SELECT_STORE_PROFILE.STORE_NUM__COMPANY.NAME_FROM_STORE_PROFILE__COMPANY_WHERE_STORE_PROFILE.COMPANY_IDCOMPANY.ID
push edi
call fcn.0040245f
test eax, eax
pop ecx
pop ecx
je 0x480277
and dword [ebp - 0x78], 0
push 2
push 9
push esi
lea eax, [ebp - 0x70]
push eax
push edi
call fcn.00401ce4
add esp, 0x14
test eax, eax
je 0x480286
mov ebx, 0x58af30
cmp dword [ebp - 0x78], 0xde
jge 0x480286
cmp dword [ebp - 0x74], 0
jne 0x480258
lea eax, [ebp - 0x70]
push eax
call fcn.00510940
cmp dword [ebp - 0x7c], 0
pop ecx
mov dword [ebp - 0x74], eax
je 0x480258
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.0050e4b0
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x70]
je 0x48024b
push dword [ebp + 0xa4]
push ebx
push eax
call fcn.0050e4b0
pop ecx
pop ecx
inc eax
push eax
push dword [ebp - 0x7c]
call fcn.00402abd
push dword [ebp - 0x7c]
call fcn.0040290f
add esp, 0x10
jmp 0x480258
push eax
push str.:7:GetStoreNumberTAMSii___FAILED:_Store_name_field_not_found:___s_
call fcn.004020c2
pop ecx
pop ecx
inc dword [ebp - 0x78]
push 2
push 9
push esi
lea eax, [ebp - 0x70]
push eax
push edi
call fcn.00401ce4
add esp, 0x14
test eax, eax
jne 0x4801ec
jmp 0x480286
push str.:7:GetStoreNumberTAMSii___FAILED:_ExecuteODBCFormat___FAILED.
call fcn.004020c2
and dword [ebp - 0x74], 0
pop ecx
cmp dword [ebp - 0x80], 0
je 0x480293
push edi
call fcn.0040141f
pop ecx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + 0x90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00508cf0
add ebp, 0x94
leave
ret
Function at 0x480477
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x6294a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x3f
xor ebx, ebx
lea eax, [ebp - 0x43]
push ebx
push eax
mov dword [ebp - 0x48], edi
mov byte [ebp - 0x44], 0
call fcn.00508d00
add esp, 0xc
call fcn.00401e97
cmp edi, ebx
mov dword [ebp - 0x4c], eax
je 0x4804b3
mov dword [edi], ebx
push ebx
call fcn.00402527
mov esi, eax
cmp esi, ebx
pop ecx
je 0x480589
push esi
call fcn.004026c1
push eax
push str.SELECT_TENDER_TYPE_ACCEPTED_FROM_TENDER_TYPE_PROFILE_WHERE_LOC_d
push esi
call fcn.0040245f
add esp, 0x10
test eax, eax
je 0x48056d
xor edi, edi
jmp 0x480505
cmp edi, 0xde
jge 0x48051c
lea eax, [ebp - 0x44]
push eax
call fcn.00401816
test eax, eax
pop ecx
je 0x480504
xor eax, eax
inc eax
mov ecx, edi
shl eax, cl
or ebx, eax
inc edi
push 1
push 9
push 0x3f
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00401ce4
add esp, 0x14
test eax, eax
jne 0x4804e5
mov edi, dword [ebp - 0x48]
push esi
call fcn.0040141f
test edi, edi
pop ecx
je 0x48052c
mov dword [edi], ebx
call fcn.00401e97
sub eax, dword [ebp - 0x4c]
push eax
push 0
push 0xc
push ebx
call fcn.00402685
add esp, 0xc
push eax
push str.:0:TAMSii_IsTenderTypesEnabled___has_determined__s_in__ums
call fcn.00401375
add esp, 0xc
test bl, 1
je 0x48057c
test bl, 2
je 0x48057c
test bl, 8
je 0x480569
test bl, 0x10
je 0x480569
test bl, 4
jne 0x480589
xor eax, eax
jmp 0x48058c
push str.:7:TAMSii_IsTenderTypesEnabled___FAILED:_ExecuteODBCFormat___FAILED.
call fcn.004020c2
pop ecx
xor ebx, ebx
jmp 0x48051f
push ebx
push str.:7:TAMSii_IsTenderTypesEnabled___FAILED:_dwTenderTypesEnabled___d.
call fcn.004020c2
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.00508cf0
leave
ret
Function at 0x48f697
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6294a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [ebp - 0x10c], eax
jne 0x48f6d2
cmp dword [ebp + 0xc], ebx
je 0x48f6d2
cmp dword [ebp + 0xc], 0xffffffff
je 0x48f6d2
call fcn.0048f3da
mov dword [ebp - 0x10c], eax
mov edi, 0x747a88
push edi
call fcn.004010dc
test eax, eax
pop ecx
mov esi, 0x104
jne 0x48f6f3
cmp dword [0x747640], ebx
je 0x48f799
push esi
push ebx
push edi
call fcn.00508d00
add esp, 0xc
push esi
lea eax, [ebp - 0x108]
push eax
mov dword [0x747640], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.APPDATA
call ebx
test eax, eax
jne 0x48f767
push esi
lea eax, [ebp - 0x108]
push eax
push str.USERPROFILE
call ebx
test eax, eax
jne 0x48f767
push esi
lea eax, [ebp - 0x108]
push eax
push str.ProgramData
call ebx
test eax, eax
jne 0x48f767
push str._GetLastError_
push str.:5:GetPaulaInstallationDir___EAP:_GetEnvironmentVariable__ProgramData___FAILED:__s
call fcn.00401375
push esi
lea eax, [ebp - 0x108]
push str.C:ProgramData
push eax
call fcn.00402abd
add esp, 0x14
lea eax, [ebp - 0x108]
push 0x593bd0
push eax
call fcn.0050d670
lea eax, [ebp - 0x108]
push eax
push str._sBETTY_
push esi
push edi
call fcn.00402dbf
push edi
call fcn.00508320
add esp, 0x1c
mov dword [0x74774c], eax
push esi
push edi
mov ebx, 0x747b90
push ebx
call fcn.00402abd
push dword [0x74774c]
push edi
mov edi, 0x747c98
push edi
call fcn.00402abd
add esp, 0x18
cmp dword [ebp - 0x10c], 0
jne 0x48f7e6
cmp dword [ebp + 0xc], 0xffffffff
jne 0x48f7d1
mov eax, edi
jmp 0x48f859
cmp dword [ebp + 0xc], 0
je 0x48f7e2
push str.:8:GetPaulaInstallationDir___was_called_with_an_INVALID_pszAppend___
call fcn.004020c2
pop ecx
mov eax, ebx
jmp 0x48f859
cmp dword [ebp + 0xc], 0xffffffff
jne 0x48f803
push edi
push dword [ebp - 0x10c]
call fcn.0050d660
push edi
call fcn.00508320
add esp, 0xc
jmp 0x48f853
push ebx
push dword [ebp - 0x10c]
call fcn.0050d660
push ebx
call fcn.00508320
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x48f853
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
sub esi, eax
push esi
mov esi, dword [ebp - 0x10c]
add eax, esi
push eax
call fcn.0050f620
add esp, 0x10
test eax, eax
jge 0x48f853
push dword [ebp + 0xc]
push str.:8:GetPaulaInstallationDir___EAP:_MAX_PATH_has_been_exceeded:___s_
call fcn.004020c2
pop ecx
pop ecx
mov byte [esi + 0x103], 0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00508cf0
leave
ret
Function at 0x4c3eab
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6294a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, 0x200
lea edi, [ebx - 1]
push edi
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.00508d00
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x4c400b
cmp byte [eax], 0
je 0x4c400b
lea ecx, [ebp + 0x14]
push ecx
push eax
lea esi, [ebp - 0x204]
mov eax, esi
push edi
push eax
call fcn.0050f620
mov edi, str..TelNet.c
jmp 0x4c3f61
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x4c3f2e
push 1
push esi
call fcn.0050a6d0
pop ecx
pop ecx
push 0x2bb
push edi
add ebx, ebx
push 1
lea eax, [ebx + 0xa]
push eax
push 1
call fcn.00509d00
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4c400b
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebx - 1]
push eax
push esi
call fcn.0050f620
add esp, 0x10
cmp eax, 0xffffffff
je 0x4c3f1a
push esi
call fcn.004c2ee6
push esi
call fcn.00508320
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
mov dword [ebp - 0x208], eax
jbe 0x4c3f99
cmp dword [ebp + 0xc], 0x7ffffffe
ja 0x4c3f91
push dword [ebp + 0xc]
jmp 0x4c3f93
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0x20c]
push edi
mov edi, 0x2ca
push edi
push 1
push ebx
call fcn.00401d34
add esp, 0x10
test eax, eax
je 0x4c3ff7
push edi
mov eax, ebx
call fcn.004c36dd
test eax, eax
pop ecx
je 0x4c3ff7
push 0
push dword [ebp - 0x208]
push esi
push dword [ebx + 0xacc]
call sub.WSOCK32.dll_send
mov edi, eax
mov eax, ebx
call fcn.004c3735
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x4c3ff3
push 1
push esi
call fcn.0050a6d0
pop ecx
pop ecx
mov eax, edi
jmp 0x4c400d
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x4c400b
push 1
push esi
call fcn.0050a6d0
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00508cf0
leave
ret
Function at 0x4c6b0e
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x20]
mov eax, dword [ebp + 8]
call fcn.004c3695
test eax, eax
pop ecx
jne 0x4c6b26
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]
mov esi, eax
mov eax, dword [ebp + 8]
call fcn.004c36bf
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4c786f
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and word [ebp - 4], 0
xor eax, eax
and dword [ebp - 8], eax
test ebx, ebx
push edi
lea edi, [ebp - 2]
stosw word es:[edi], ax
je 0x4c7920
push ebx
call fcn.00508320
test eax, eax
pop ecx
mov dword [ebp - 0xc], eax
jle 0x4c7920
cmp dword [ebp + 0x10], 0
je 0x4c78cc
push str..TelNet.c
mov edi, 0xd98
push edi
push 1
push esi
call fcn.00401d34
add esp, 0x10
test eax, eax
je 0x4c7920
push edi
mov eax, esi
call fcn.004c36dd
test eax, eax
pop ecx
je 0x4c7920
mov ax, word [ebp + 8]
mov edi, dword [esi + 0x104]
mov word [ebp - 4], ax
mov ax, word [esi + 0xf0]
add ax, word [ebp + 0xc]
push 0xda0
mov word [ebp - 2], ax
mov eax, esi
call fcn.004c3695
test eax, eax
pop ecx
je 0x4c7913
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push dword [ebp - 0xc]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov eax, esi
call fcn.004c36bf
cmp dword [ebp + 0x10], 0
je 0x4c7920
mov eax, esi
call fcn.004c3735
mov eax, ebx
pop edi
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x1a4
mov eax, dword [0x6294a0]
xor eax, ebp
mov dword [ebp + 0x120], eax
push ebx
push esi
push edi
mov edi, 0x190
xor ebx, ebx
push edi
lea eax, [ebp - 0x73]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x74], bl
call fcn.00508d00
push edi
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
call fcn.00508d00
push str..TelNet.c
push 0x17ef
push 1
push esi
call fcn.00401d34
add esp, 0x28
test eax, eax
je 0x4c9d23
mov edi, dword [esi + 0xacc]
lea eax, [ebp - 0x78]
push eax
push 0x4004667f
push edi
mov dword [ebp - 0x78], ebx
call sub.WSOCK32.dll_ioctlsocket
cmp dword [ebp - 0x78], ebx
jbe 0x4c9d20
push ebx
push 0x50
lea eax, [ebp - 0x74]
push eax
push edi
call sub.WSOCK32.dll_recv
cmp eax, ebx
mov dword [ebp - 0x80], eax
jle 0x4c9d20
add dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], ebx
mov edi, dword [ebp - 0x78]
lea edi, [ebp + edi - 0x74]
movzx eax, byte [edi]
push eax
call fcn.004c34f6
test eax, eax
pop ecx
je 0x4c9d0d
movzx eax, byte [edi]
push eax
mov eax, esi
call fcn.004c9934
pop ecx
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x80]
jl 0x4c9cec
cmp dword [ebp + 0x12c], ebx
jne 0x4c9cb5
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 0x120]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00508cf0
add ebp, 0x124
leave
ret
Function at 0x4f3652
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1f0]
sub esp, 0x270
mov eax, dword [0x6294a0]
xor eax, ebp
mov dword [ebp + 0x1ec], eax
push ebx
push esi
push edi
push 0x103
xor esi, esi
lea eax, [ebp + 0xe9]
push esi
push eax
mov byte [ebp + 0xe8], 0
call fcn.00508d00
push 0x13c
lea eax, [ebp - 0x54]
push esi
push eax
mov dword [ebp - 0x58], esi
call fcn.00508d00
xor eax, eax
mov word [ebp - 0x80], si
lea edi, [ebp - 0x7e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x70], si
xor eax, eax
lea edi, [ebp - 0x6e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x18
stosw word es:[edi], ax
call fcn.00401e97
sub eax, dword [0x762c10]
cmp eax, 0x493e0
jae 0x4f36d5
xor eax, eax
jmp 0x4f37f2
call fcn.00401e97
mov dword [0x762c10], eax
call fcn.00403058
test eax, eax
je 0x4f36ce
push 0x104
lea eax, [ebp + 0xe8]
push 0x7623d0
push eax
call fcn.00402abd
lea eax, [ebp + 0xe8]
push eax
call fcn.00403224
push str.PAULATempTimeDetectionFile
lea eax, [ebp + 0xe8]
push 0x5b3960
push eax
call fcn.00402095
add esp, 0x1c
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x60], eax
je 0x4f36ce
mov ebx, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x1f8]
push eax
call ebx
mov dword [ebp - 0x5c], esi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x54]
jg 0x4f376e
lea eax, [ebp - 0x44]
push eax
call ebx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x80]
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.0040141a
add esp, 0x20
cmp eax, 0xdbba0
jle 0x4f37d1
lea eax, [ebp + 0xe8]
push eax
call fcn.00403224
lea eax, [ebp - 0x2c]
mov dword [esp], 0x104
push eax
lea eax, [ebp + 0xe8]
push eax
call fcn.00402365
lea eax, [ebp + 0xe8]
push eax
call fcn.00401825
add esp, 0x10
test eax, eax
je 0x4f37d1
inc dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4f3752
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp + 0x1ec]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00508cf0
add ebp, 0x1f0
leave
ret