Function at 0x460750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push 0x104
push 0
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x518]
push 0
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e69c0
add esp, 0x30
call fcn.0040e960
test eax, eax
je 0x4607c8
mov esi, 0x3e
jmp 0x4607d7
call fcn.0040e900
neg eax
sbb esi, esi
and esi, 0x1e
add esi, 0x16
call fcn.004d9850
mov ebx, dword [ebp + 8]
mov ecx, eax
sub ecx, dword [0x66ac34]
mov dword [ebp - 0x52c], eax
cmp ecx, 0x1388
jae 0x4608c2
cmp ebx, 0x400
je 0x4608c2
push 0x104
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.004e69c0
mov ecx, dword [0x66ac3c]
add esp, 0xc
inc dword [0x66ac38]
inc ecx
mov dword [0x66ac3c], ecx
mov edx, ecx
cmp ecx, 0x16
jl 0x460843
xor ecx, ecx
mov dword [0x66ac3c], 0
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [edx*4 + 0x66ac40], eax
test edi, edi
je 0x460897
push 0x104
lea eax, [ebp - 0x310]
push edi
push eax
call fcn.004a9a20
lea eax, [ebp - 0x310]
push eax
call fcn.004a85d0
push 7
lea eax, [ebp - 0x310]
push eax
mov eax, dword [0x66ac3c]
lea ecx, [eax*8]
sub ecx, eax
add ecx, 0x66aca0
push ecx
call fcn.004a9a20
add esp, 0x1c
jmp 0x4608ae
lea eax, [ecx*8]
sub eax, ecx
add eax, 0x66aca0
push eax
call fcn.004a55e0
add esp, 4
call fcn.004d9850
mov ecx, dword [0x66ac3c]
mov dword [ecx*4 + 0x66ad48], eax
jmp 0x46093e
mov eax, dword [0x66ac38]
cmp eax, esi
jl 0x460928
push edi
push dword [ebp + 0x10]
push ecx
push eax
push str.:5:LogonToTAMS___is_being_called_too_often:__d:__u:_Line__d___s_
call fcn.00424fd0
add esp, 0x14
cmp dword [0x5817cc], 0
je 0x460928
mov dword [0x5817cc], 0
mov esi, 0x66aca0
xor edi, edi
nop dword [eax + eax]
push esi
push dword [edi + 0x66ac40]
push dword [edi + 0x66ad48]
push str.:0:LogonToTAMS___continuation...:_Logon_made_at__u_Line__d___s_
call fcn.00424fd0
add esi, 7
lea edi, [edi + 4]
add esp, 0x10
cmp esi, 0x66ad3a
jl 0x460900
cmp ebx, 0x400
je 0x461476
mov dword [0x66ac38], 0
mov eax, dword [ebp - 0x52c]
mov esi, ebx
mov dword [0x66ac34], eax
and esi, 0x80
jne 0x46095d
mov dword [0x66ac18], 1
push 0x6696c8
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x46144b
push 0x6698d8
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x46144b
inc dword [0x66ac20]
call fcn.0040e900
test eax, eax
jne 0x460b7b
cmp dword [0x5817d0], eax
je 0x460b7b
cmp dword [0x66ac28], eax
jbe 0x460b7b
push 0x215d
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push 0x50a5d0
xorps xmm0, xmm0
mov dword [0x5817d0], eax
push str.addrchng.flg
push eax
movups xmmword [ebp - 0x528], xmm0
mov dword [ebp - 0x52c], eax
call fcn.0047dbc0
add esp, 8
push eax
call fcn.0042c170
mov edi, eax
add esp, 0x10
test edi, edi
je 0x460b7b
push edi
push 1
lea eax, [ebp - 0x52c]
push 4
push eax
call fcn.004e91b7
push edi
push 1
lea eax, [ebp - 0x528]
push 0x10
push eax
call fcn.004e91b7
push edi
call fcn.0042bfc0
add esp, 0x24
call fcn.0040e900
test eax, eax
jne 0x460a82
push 0x2166
lea eax, [ebp - 0x53c]
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push eax
call fcn.004d7a00
movups xmm0, xmmword [ebp - 0x528]
push ecx
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.004d96a0
cdq
add esp, 0x20
xor eax, edx
sub eax, edx
cmp eax, 0x6ddd000
jle 0x460a82
push str.addrchng.flg
push 0
call fcn.0047dbc0
push eax
call fcn.00429a50
add esp, 0xc
push 0x216a
lea eax, [ebp - 0x53c]
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push eax
call fcn.004d7a00
movups xmm0, xmmword [ebp - 0x528]
push ecx
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.004d96a0
cdq
add esp, 0x20
xor eax, edx
sub eax, edx
cmp eax, 0x240c8400
jle 0x460ade
push str.addrchng.flg
push 0
call fcn.0047dbc0
push eax
call fcn.00429a50
add esp, 0xc
jmp 0x460b7b
call fcn.0040e900
test eax, eax
je 0x460b2b
push 0x2170
lea eax, [ebp - 0x53c]
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push eax
call fcn.004d7a00
movups xmm0, xmmword [ebp - 0x528]
push ecx
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.004d96a0
cdq
add esp, 0x20
xor eax, edx
sub eax, edx
cmp eax, 0x5cb2780
jle 0x460b76
jmp 0x460b7b
cmp dword [ebp - 0x52c], 0
jne 0x460b76
push 0x2178
lea eax, [ebp - 0x53c]
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push eax
call fcn.004d7a00
movups xmm0, xmmword [ebp - 0x528]
push ecx
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.004d96a0
cdq
add esp, 0x20
xor eax, edx
sub eax, edx
cmp eax, 0x4b87f00
jge 0x460b7b
call fcn.0045adb0
push 0x6698d8
push 0x6696c8
lea eax, [ebp - 0x108]
push 0x52fff0
push eax
call fcn.00404200
add esp, 0x10
test ebx, 0x200
je 0x460bc0
cmp dword [0x66ac28], 0
je 0x460bc0
call fcn.004d9850
sub eax, dword [0x66ac28]
cmp eax, 0x1b7740
jb 0x461438
test esi, esi
je 0x460bf4
call fcn.0040e900
test eax, eax
je 0x460bf4
call fcn.00424590
call fcn.004245b0
push 0x669ae0
lea eax, [ebp - 0x108]
push 0x6699e0
push eax
call fcn.0045fd60
add esp, 0xc
mov edi, eax
jmp 0x460c13
push 0x669ae0
lea eax, [ebp - 0x108]
push 0x6699e0
push eax
call fcn.0045fd60
add esp, 0xc
mov edi, eax
test esi, esi
je 0x460c39
call fcn.0040e900
test eax, eax
je 0x460c26
call fcn.004245c0
call fcn.00424600
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x461165
cmp dword [0x66ac24], 0
jbe 0x460c66
call fcn.004d9850
sub eax, dword [0x66ac24]
cmp eax, 0xea60
jbe 0x461476
call fcn.0045e5a0
test eax, eax
jne 0x460de9
call fcn.0040e900
test eax, eax
jne 0x461476
cmp dword [0x66ac1c], eax
jne 0x461476
push str.FAILED___
call fcn.00466970
push str._n_nLogon_to_TAMS_failed:_No_network_connection_exists__
call fcn.00466970
push str._nError:_This_terminal_is_not_connected_to_a_network_
call fcn.00466970
push 0
push 0
call fcn.0047d960
push eax
lea eax, [ebp - 0x414]
push str._sSoundsNoNetworkConnection.wav
push eax
call fcn.00404200
add esp, 0x20
cmp dword [0x66ac2c], 0
jne 0x460d18
call fcn.0040e900
test eax, eax
jne 0x460d18
lea eax, [ebp - 0x414]
push eax
call fcn.004289f0
add esp, 4
test eax, eax
je 0x460d18
push str._nPlease_wait...
call fcn.00466970
add esp, 4
lea eax, [ebp - 0x414]
push 0x20000
push 0
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov dword [0x66ac2c], 1
push str._n_nPlease_check_your_network_connection_and
call fcn.00466970
push str._npress_any_key_to_try_again...
call fcn.00466970
push 0x36ee80
call fcn.00436990
add esp, 0xc
call fcn.0045e5a0
test eax, eax
jne 0x460db1
push str._n_nThere_is_still_no_network_connection_available.
call fcn.00466970
push str._nEnsure_that_the_network_cable_for_this_computer_is_securely_connected_to_your
call fcn.00466970
push str._nnetwork_hub_by_disconnecting_and_firmly_reconnecting_both_ends_of_the_cable.
call fcn.00466970
push str._nPress_C_to_cancel...
call fcn.00466970
push str._nPress__SPACE_BAR__to_try_again....
call fcn.00466970
add esp, 0x14
nop word [eax + eax]
push 0x927c0
call fcn.00436990
add esp, 4
cmp eax, 0x43
je 0x461476
cmp eax, 0x63
je 0x461476
cmp eax, 0x20
je 0x460da8
test eax, eax
jne 0x460d80
call fcn.0045e5a0
test eax, eax
je 0x460d42
push str._nConnection_has_been_established__
call fcn.00466970
push str._nAttempting_server_login...
call fcn.00466970
push 0x1ed9
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push ebx
call fcn.004606f0
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
push str._n_nLogon_to_TAMS_failed._Trying_again...
call fcn.00466970
add esp, 4
mov ebx, 3
nop dword [eax + eax]
call fcn.0040e900
test eax, eax
je 0x460e19
cmp dword [0x66ac20], 7
jbe 0x460e19
push 0x2bf20
jmp 0x460e1e
push 0x3e8
call esi
push 0x50b02c
call fcn.00466970
add esp, 4
sub ebx, 1
jne 0x460e00
push str.Please_Wait...
call fcn.00466970
add esp, 4
test edi, edi
jns 0x460e4f
mov edi, str.dellclient
call fcn.0047d860
jmp 0x460e59
mov edi, 0x6699e0
mov eax, 0x669ae0
push eax
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0045fd60
add esp, 0xc
test eax, eax
je 0x461153
push str._n_nConnection_to_TAMS_could_not_be_established._Trying_again...
call fcn.00466970
add esp, 4
mov edi, 3
push 0x3e8
call esi
push 0x50b02c
call fcn.00466970
add esp, 4
sub edi, 1
jne 0x460e84
push str.Please_Wait..
call fcn.00466970
add esp, 4
mov ecx, 0x581408
mov eax, 0x6698d8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x460ed4
test dl, dl
je 0x460ed0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x460ed4
add eax, 2
add ecx, 2
test dl, dl
jne 0x460eb4
xor eax, eax
jmp 0x460ed9
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x108]
je 0x460f74
push 0x581408
push 0x6696c8
push 0x52fff0
push eax
call fcn.00404200
push 0x669ae0
lea eax, [ebp - 0x108]
push 0x6699e0
push eax
call fcn.0045fd60
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x460f54
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x581408]
lea ecx, [ecx + 1]
mov byte [ecx + 0x6698d7], al
test al, al
jne 0x460f20
mov dword [0x6696c0], 1
call fcn.00465af0
push str.SUCCESS_
call fcn.00466970
add esp, 4
jmp 0x461162
push 0x6698d8
push 0x6696c8
lea eax, [ebp - 0x108]
push 0x52fff0
push eax
call fcn.00404200
add esp, 0x10
jmp 0x460f8d
push 0x669ae0
push 0x6699e0
push eax
call fcn.0045fd60
mov edi, eax
add esp, 0xc
test edi, edi
je 0x460f42
call fcn.0040e900
test eax, eax
je 0x460fb1
push str._n_nWaiting_five_minutes...
call fcn.00466970
add esp, 4
push 0x493e0
call esi
mov eax, 0x52ddec
jmp 0x460fe1
push str._n_nStill_cannot_logon_to_TAMS_server._Trying_one_more_time...
call fcn.00466970
add esp, 4
mov edi, 3
push 0x3e8
call esi
push 0x50b02c
call fcn.00466970
add esp, 4
sub edi, 1
jne 0x460fc3
mov eax, str.Please_Wait..
push eax
call fcn.00466970
push 0x669ae0
lea eax, [ebp - 0x108]
push 0x6699e0
push eax
call fcn.0045fd60
mov edi, eax
add esp, 0x10
test edi, edi
je 0x460f42
push 0x104
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.004e69c0
add esp, 0xc
call fcn.0040e900
test eax, eax
je 0x461036
call fcn.00497e40
test eax, eax
jne 0x461476
push str._n...FAILED_AGAIN_
call fcn.00466970
lea eax, [ebp - 0x108]
push eax
push str._n_nCould_not_connect_to:__s
call fcn.00466970
push str._nPlease_check_PAULAs_configuration_and_network_connections.
call fcn.00466970
add esp, 0x10
call fcn.0040e900
test eax, eax
jne 0x4610a3
push str._n_nHello...
call fcn.00466970
push 0
push 0
call fcn.0047d960
push eax
lea eax, [ebp - 0x310]
push str._sSoundsTAMSShouldDetectServer.wav
push eax
call fcn.00404200
add esp, 0x18
lea eax, [ebp - 0x310]
push 0x20000
push 0
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
push str._n_nYour_TAMS_server_cannot_be_found...
call fcn.00466970
add esp, 4
call fcn.0040e900
test eax, eax
je 0x4610ed
lea eax, [ebp - 0x528]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x528], xmm0
call fcn.004d7a40
mov ax, word [ebp - 0x520]
add esp, 4
cmp ax, 0x14
jae 0x461476
cmp ax, 0xa
jbe 0x461476
call fcn.0045adb0
mov edi, eax
test edi, edi
je 0x461115
call fcn.004d9850
mov dword [0x66ac24], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
mov dword [0x66ac24], 0
call fcn.004d9850
push 0x6698d8
push 0x6696c8
mov dword [0x66ac28], eax
lea eax, [ebp - 0x108]
push 0x52fff0
push eax
call fcn.00404200
push str._n_nOK..._Please_Wait..._n
call fcn.00466970
add esp, 0x14
jmp 0x461162
push str.SUCCESS.
call fcn.00466970
add esp, 4
xor edi, edi
mov ebx, dword [ebp + 8]
push str.P2_DC001
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.00404200
lea eax, [ebp - 0x20c]
push 0x1e61
push eax
call fcn.00428ae0
add esp, 0x18
test eax, eax
jne 0x461335
push str._nThe_server_public_path_is_missing.
call fcn.00466970
push str._nCreating_directory...
call fcn.00466970
lea eax, [ebp - 0x20c]
push 0x1e61
push eax
call fcn.00427800
add esp, 0x10
test eax, eax
je 0x461250
push 0x104
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.004e69c0
push str.Branches
lea eax, [ebp - 0x20c]
push eax
push 0x50d2e0
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.004a94b0
lea eax, [ebp - 0x20c]
push 0x1e61
push eax
call fcn.00427800
add esp, 0x28
test eax, eax
jne 0x461250
cmp dword [0x66ada8], eax
jne 0x461250
push 0x1e61
lea eax, [ebp - 0x20c]
mov dword [0x66ada8], 1
push eax
push str.:4:LogonToTAMS___encountered_a_problem:_CreateDirectorySuper___s____ld__FAILED_
call fcn.00424fd0
add esp, 0xc
mov dword [0x66ada8], 0
push 0x52ddec
call fcn.00466970
add esp, 4
push 0xc8
call esi
push 0x1e61
lea eax, [ebp - 0x20c]
push eax
push str._n_nDoesFileExistTimeOut__s___ld_2...
call fcn.00466970
lea eax, [ebp - 0x20c]
push 0x1e61
push eax
call fcn.00428ae0
add esp, 0x14
test eax, eax
jne 0x4612a4
push 0x5304dc
call fcn.00466970
add esp, 4
jmp 0x461476
push str.YES_
call fcn.00466970
push str._nCreating_dir_recreation_flags...
call fcn.00466970
push 1
call fcn.00466290
test eax, eax
mov edx, 0x52ddec
mov ecx, 0x53050c
cmovne ecx, edx
push ecx
call fcn.00466970
push str._nSetting_folder_permissions...
call fcn.00466970
push str.P2_DC001
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.00404200
add esp, 0x24
cmp dword [0x66adac], 0
jne 0x461328
push str.:7:LogonToTAMS___encountered_a_problem:_SetFileUserRights___FAILED_
mov dword [0x66adac], 1
call fcn.00424fd0
add esp, 4
mov dword [0x66adac], 0
push 0x53050c
call fcn.00466970
add esp, 4
push edi
push ebx
push str._ndwSyncFlags___ld__iLogonResults___d
call fcn.00466970
add esp, 0xc
mov dword [0x66ac24], 0
call fcn.004d9850
cmp dword [0x66ac30], 0
mov dword [0x66ac28], eax
jne 0x4613b1
xorps xmm0, xmm0
mov dword [0x66ac30], 1
push str._nInitializing_PAULA_Time...
movups xmmword [ebp - 0x528], xmm0
call fcn.00466970
push 0x1fb9
lea eax, [ebp - 0x528]
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push eax
call fcn.004d7dc0
add esp, 0x10
test eax, eax
jne 0x4613a9
mov dword [0x66ac30], eax
mov eax, str.FAILED_
push eax
jmp 0x4613b6
mov eax, 0x52ddec
push eax
jmp 0x4613b6
push str....Logon_OK.
call fcn.00466970
add esp, 4
test ebx, ebx
je 0x460c26
push str.ServerSync_
push 0
push 0
call fcn.0047d960
add esp, 8
push eax
lea eax, [ebp - 0x518]
push 0x50d2e0
push eax
call fcn.00404200
push str._nChecking_for_backup_folder...
call fcn.00466970
lea eax, [ebp - 0x518]
push eax
call fcn.004289f0
add esp, 0x18
test eax, eax
jne 0x46141e
lea eax, [ebp - 0x518]
push 0x1e61
push eax
call fcn.00427800
add esp, 8
push 0x64
call esi
push str.OK.
call fcn.00466970
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00464260
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
cmp dword [0x66ada4], 0
jne 0x461476
push ebx
push str.:8:LogonToTAMS__ld__FAILED:_Function_was_called_before_network_settings_have_been_set.
mov dword [0x66ada4], 1
call fcn.00424fd0
add esp, 8
mov dword [0x66ada4], 0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret