Function at 0x437c2d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3bc
mov eax, dword [0x496980]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x3a8], 0
lea eax, [ebp - 0x108]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x104
push 0
push eax
call fcn.00440bf0
mov esi, 0x14c
lea eax, [ebp - 0x3a0]
push esi
push 0
push eax
call fcn.00440bf0
push esi
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.00440bf0
add esp, 0x24
test ebx, ebx
jne 0x437c91
xor eax, eax
jmp 0x4381b2
push 0x176f
mov edi, str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateUpdatePAULA.c
push edi
push 4
call fcn.0041f7d7
push 0x1772
push edi
push 4
call fcn.0041e274
add esp, 0x18
test eax, eax
jne 0x437cdf
push 4
call fcn.00423c9b
mov dword [esp], 0x1775
push edi
push 4
call fcn.0041e274
add esp, 0xc
test eax, eax
jne 0x437cdf
push str.:4:GetLastFTPConnectTime___could_not_logon_to_TAMS:_LockTAMSServer_LTS_FTPRESULTS__FAILED_
call fcn.0040d7f3
pop ecx
mov dword [ebp - 0x3ac], 1
xor esi, esi
mov eax, esi
sub eax, 0
je 0x437d16
sub eax, 1
jne 0x4381c1
lea eax, [ebp - 0x108]
push str.FTPCRF.fat
push eax
call fcn.004208f4
pop ecx
pop ecx
lea edi, [ebp - 0x254]
jmp 0x437d41
push str.FTPCRF.fat
push 0
push 0
call fcn.00427507
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x108]
push 0x465c7c
push eax
call fcn.00404d0d
add esp, 0x10
lea edi, [ebp - 0x3a0]
push 0x14c
push 0
push edi
call fcn.00440bf0
xor eax, eax
push eax
push 0x61a8
push eax
push 0x20
push 3
push eax
push 7
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.0040f703
add esp, 0x30
mov dword [ebp - 0x3a4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x3a4]
cmp ecx, 0xffffffff
jne 0x437dc9
cmp eax, 2
je 0x437edf
cmp eax, 3
je 0x437edf
cmp eax, 0xf
je 0x437edf
cmp eax, 0x35
je 0x437edf
push eax
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:3:GetLastFTPConnectTime___FAILED:_CreateFile___s___FAILED:__s_ld
call fcn.0040d7f3
add esp, 0x10
jmp 0x437ed8
push 0
lea eax, [ebp - 0x3a8]
push eax
push 0x14c
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x437e34
cmp dword [ebp - 0x3a8], 0x14c
jb 0x437e34
push edi
call fcn.004393e3
pop ecx
test eax, eax
je 0x437e15
push edi
call fcn.004393e3
push eax
lea eax, [ebp - 0x108]
push eax
push str.:7:GetLastFTPConnectTime___read_data_from___s__and_it_seems_to_be_corrupt:_IsFtpConnectTimeInvalid___returned__ld
call fcn.0040d7f3
add esp, 0x10
push 0x17ca
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateUpdatePAULA.c
push str.GetLastFTPConnectTime_Track
push dword [ebp - 0x3a4]
call fcn.0040e841
jmp 0x437edf
push 0x17ad
mov edi, str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateUpdatePAULA.c
push edi
push str.GetLastFTPConnectTime_Track
push dword [ebp - 0x3a4]
call fcn.0040e841
mov eax, dword [0x59c8bc]
lea ecx, [eax + 1]
mov dword [0x59c8bc], ecx
cmp eax, 5
jae 0x437ed8
lea eax, [ebp - 0x108]
push str._GetLastError_
push dword [ebp - 0x3a8]
push 0x14c
push eax
push ecx
cmp ecx, 2
ja 0x437ecb
push str.:2:_d_of_5:_GetLastFTPConnectTime___FAILED:_ReadFile___s____ld__FAILED:_Could_only_read__ld_bytes:_Attempting_to_SetLastFTPConnectTime_FTP_UPDATE_FAIL__in_order_to_reset_the_correct_size_of_the_struct:__s
call fcn.0040d324
push 4
call fcn.00423c9b
push 9
call fcn.0043d4d6
add esp, 0x20
test eax, eax
jne 0x437ea9
push str.:7:SetLastFTPConnectTime_FTP_UPDATE_FAIL__FAILED_within_GetLastFTPConnectTime___while_trying_to_fix_an_invalid_file_size_on_the_server.
call fcn.0040d324
pop ecx
push 0x17b8
push edi
push 4
call fcn.0041e274
add esp, 0xc
test eax, eax
jne 0x437ec8
push str.:7:GetLastFTPConnectTime___FAILED_to_RELOCK_the_server_after_calling_SetLastFTPConnectTime_FTP_UPDATE_FAIL__inorder_to_fix_bad_file_size:_LockTAMSServer_LTS_FTPRESULTS__FAILED___
call fcn.0040d7f3
pop ecx
dec esi
jmp 0x437edf
push str.:7:_d_of_5:_GetLastFTPConnectTime___FAILED:_ReadFile___s____ld__FAILED:_Could_only_read__ld_bytes:__s
call fcn.0040d324
add esp, 0x18
and dword [ebp - 0x3ac], 0
inc esi
cmp esi, 2
jl 0x437ceb
push 4
call fcn.00423c9b
push 0x53
pop ecx
lea esi, [ebp - 0x254]
mov eax, dword [ebp - 0x254]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 4]
mov dword [ebx], eax
lea esi, [ebp - 0x250]
mov eax, dword [ebp - 0x230]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebx + 0x28], eax
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1ac]
mov dword [ebx + 0xa8], eax
lea eax, [ebp - 0x198]
push 0x19
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebx + 0xbc]
push eax
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x14]
lea esi, [ebp - 0x240]
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 edi, [ebx + 0xac]
lea esi, [ebp - 0x1a8]
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.0042f204
mov eax, dword [ebp - 0x1cc]
lea edi, [ebx + 0x68]
lea esi, [ebp - 0x1ec]
mov dword [ebx + 0x88], eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1c8]
push 0x19
push eax
lea eax, [ebx + 0x8c]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0042f204
mov eax, dword [ebp - 0x374]
lea esi, [ebp - 0x370]
mov dword [ebx + 0x2c], eax
add esp, 0x1c
lea eax, [ebx + 0x30]
mov edi, eax
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x350]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x34c]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp - 0x17c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x40]
lea esi, [ebp - 0x360]
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 edi, [ebx + 0x58]
lea esi, [ebp - 0x348]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebx + 0x10c], 0
mov dword [ebx + 0xd8], eax
jne 0x437ffe
mov eax, dword [ebp - 0x294]
mov dword [ebx + 0x10c], eax
cmp dword [ebx + 0x110], 0
jne 0x438013
mov eax, dword [ebp - 0x290]
mov dword [ebx + 0x110], eax
lea esi, [ebx + 0x114]
push esi
call fcn.0042dd5b
pop ecx
test eax, eax
je 0x438033
lea eax, [ebp - 0x28c]
push eax
push esi
call fcn.0044a360
pop ecx
pop ecx
cmp dword [0x59c72c], 0
jne 0x438047
mov eax, dword [ebx + 0x10c]
mov dword [0x59c72c], eax
cmp dword [0x59c730], 0
jne 0x43805b
mov eax, dword [ebx + 0x110]
mov dword [0x59c730], eax
push esi
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x438085
push 0x25
push esi
push 0x59c734
call fcn.0042f204
mov edi, 0x59c75c
lea esi, [ebx + 0x13a]
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x17c], 0
je 0x4381ac
call fcn.0041d7a9
push eax
call fcn.0041dc1f
pop ecx
cmp dword [ebp - 0x17c], eax
jne 0x4381ac
push 0
sub esp, 0x10
lea esi, [ebx + 4]
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.00435592
add esp, 0x14
test eax, eax
jne 0x4381ac
mov eax, dword [0x59c8c0]
inc eax
mov dword [0x59c8c0], eax
add eax, 0xfffffffe
cmp eax, 0x61
ja 0x4381ac
push dword [ebx + 0x54]
lea esi, [ebx + 0x40]
push dword [ebx + 0x50]
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.00435830
add esp, 0x14
lea esi, [ebx + 0x30]
push eax
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.00435830
add esp, 0x14
lea esi, [ebx + 0x14]
push eax
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
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.00435830
add esp, 0x14
lea esi, [ebx + 4]
push eax
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.00435830
add esp, 0x14
push eax
push dword [ebx]
push dword [ebp + 0xc]
push str.:5:Line__d:GLFTPCT___EAP:_The_global_archive_is_corrupt._Using_local_instead._Global:_bGS___d__GLST___s__GLFT___s__GLNCS___d__GLNCF___d____Local:_bLS___d__LLST___s__LLFT___s__LLNCS___d__LLNCF___d
call fcn.0040d324
mov ebx, dword [ebp - 0x3a4]
add esp, 0x30
mov esi, ebx
push 0
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.00435592
add esp, 0x14
test eax, eax
jne 0x4381ac
lea eax, [ebp - 0x3bc]
push eax
call fcn.004350f8
pop ecx
push 0xfffffffffffffff4
sub esp, 0x10
mov esi, eax
mov edi, esp
lea eax, [ebp - 0x3bc]
push eax
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.0043422c
mov esi, eax
mov edi, ebx
add esp, 0x18
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 eax, dword [ebp - 0x3ac]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f5c5
leave
ret
push esi
push str.:9:GetLastFTPConnectTime___CRITICAL_ERROR:_An_impossible_phase_has_been_run____Phase__ld__
call fcn.0040d324
push 4
call fcn.00423c9b
add esp, 0xc
jmp 0x437c8a