Function at 0x426d00
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2a74
call fcn.0044cc00
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x960
xor eax, eax
lea edi, [esp + 0x502]
mov word [esp + 0x500], bp
push 0x28
rep stosd dword es:[edi], eax
push 0x46a7d4
push 0x46ccb4
push ebp
mov dword [esp + 0x20], 0xffffffff
stosw word es:[edi], ax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
call fcn.00417c80
add esp, 0x10
test eax, eax
jne 0x426d9b
mov esi, dword [sym.imp.MSVCRT.dll_swprintf]
push 0x46ccb4
lea eax, [esp + 0x24]
push str.ERROR:_VersionXXX.ini_file_not_found_in__s
push eax
call esi
mov edx, dword [0x694cac]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00437650
mov eax, dword [0x694ca8]
add esp, 0x14
push str.Server_VX.X
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x426dca
push 0x46a7d4
lea ecx, [esp + 0x24]
push str.Server__s
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
mov eax, dword [0x694ca8]
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [sym.imp.MSVCRT.dll_swprintf]
mov edi, dword [0x458724]
mov edx, dword [0x694ca8]
xor ecx, ecx
cmp edi, ebp
push 0x4737b0
push 0x46c69c
sete cl
push ecx
push 0x46cec0
push 0x46aa2c
push 1
push edx
call fcn.004090d0
call fcn.004267c0
mov edi, dword [0x458724]
mov ecx, dword [0x694ca8]
xor eax, eax
cmp edi, ebp
push ebp
push 0x46c69c
sete al
push eax
push 0x472218
push 0x46ae3c
push 2
push ecx
call fcn.004090d0
mov ecx, 0xa
xor eax, eax
mov edi, 0x476c14
push 0x46a824
rep stosd dword es:[edi], eax
push 0x46bc74
call fcn.00404560
fstp qword [0x694cd8]
add esp, 0x40
push 0x46c084
call fcn.00424ca0
add esp, 4
test eax, eax
jne 0x426e7a
push ebp
push ebp
push 0x46c084
push ebp
push 0xffffffffffffffff
push ebp
push 0x226
call fcn.00426440
add esp, 0x1c
mov edx, dword [0x694cbc]
mov eax, dword [0x694cb8]
push edx
push eax
push 0x46a7d4
lea ecx, [esp + 0x3ac]
push str._s__BuildDate_14.0f_
push ecx
call esi
mov edx, dword [0x694cdc]
mov eax, dword [0x694cd8]
push edx
push eax
lea ecx, [esp + 0x3c]
push str.OnTime_0.2fs
push ecx
call esi
push ebp
lea edx, [esp + 0x3c8]
push ebp
lea eax, [esp + 0x4c]
push edx
push eax
push 0xffffffffffffffff
push ebp
push 0x2bc
call fcn.00426440
add esp, 0x40
push 0x465cc8
call fcn.00435640
mov ebx, dword [sym.imp.MSVCRT.dll__waccess]
push ebp
push 0x46b454
call ebx
add esp, 0xc
cmp eax, 0xffffffff
push 0x46b454
jne 0x426f13
call fcn.00439b70
push 0x15
push 0x46b454
push 0x465cc8
call fcn.004049f0
add esp, 0x10
jmp 0x426f62
lea ecx, [esp + 0x504]
push ecx
call fcn.00404470
lea edx, [esp + 0x508]
push 0x15
push edx
push 0x465cc8
call fcn.00404a40
add esp, 0x14
test eax, eax
je 0x426f4d
push 0x46b454
push 0x465cc8
call fcn.00403e50
add esp, 8
lea eax, [esp + 0x4a0]
push eax
push str.TestDB
call fcn.004358a0
add esp, 8
push 0
push 0
push 0x468250
call fcn.00433500
push 0
push 0x46bc74
call ebx
add esp, 0x14
cmp eax, 0xffffffff
push 0x46bc74
jne 0x426fab
call fcn.00439b70
mov ecx, dword [0x694cec]
push 0xffffffffffffffff
push 0x66ec18
push ecx
push 0x468250
call fcn.00434470
add esp, 0x14
jmp 0x4272f6
lea edx, [esp + 0x504]
push edx
call fcn.00404470
lea eax, [esp + 0x508]
push 0x94
push eax
push 0x468250
call fcn.00404a40
mov edx, eax
add esp, 0x14
test edx, edx
je 0x42706d
cmp word [0x46ba6c], 0
je 0x4270c1
lea ecx, [esp + 0x500]
push 0x46ba6c
push ecx
call fcn.00404470
lea edx, [esp + 0x508]
push 0x94
push edx
push 0x468250
call fcn.00404a40
mov edx, eax
add esp, 0x14
test edx, edx
jne 0x4270c1
push eax
lea eax, [esp + 0x24]
push str.format_corrupt:_using_back_up
push eax
call esi
push 0
lea ecx, [esp + 0x30]
push 0
push ecx
push 0
push 0xffffffffffffffff
push 0
push 0x221
call fcn.00426440
lea edx, [esp + 0x3c8]
push 0x46bc74
push edx
call fcn.00439960
add esp, 0x30
push 0
push 0x46bc74
push 0x46ba6c
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0xbb80
push 0x40
call dword [sym.imp.MSVCRT.dll_calloc]
mov esi, eax
push 0x40
push 0x46bc74
push esi
call fcn.004040d0
add esp, 0x14
cmp word [0x46ba6c], 0
mov ebp, eax
je 0x427270
test ebp, ebp
jl 0x42721e
push 0x40
push 0x46ba6c
push esi
call fcn.004040d0
add esp, 0xc
cmp ebp, eax
jge 0x427270
jmp 0x42722c
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x262]
mov word [esp + 0x260], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x122]
mov word [esp + 0x120], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x24]
push str.massmatch_at_column:_d
push eax
call esi
push 0
lea ecx, [esp + 0x30]
push 0
push ecx
push 0
push 0xffffffffffffffff
push 0
push 0x220
call fcn.00426440
add esp, 0x28
lea edx, [esp + 0x260]
push 0x20
push edx
push 0
call fcn.00405020
add esp, 4
push eax
call fcn.0043a760
lea eax, [esp + 0x26c]
push 0x46bc74
push eax
call fcn.00404240
add esp, 0x14
test eax, eax
jle 0x427214
mov esi, dword [sym.imp.MSVCRT.dll_wcstol]
push 0xa
lea ecx, [esp + 0x2a4]
push 0
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x120]
mov dword [esp + 0x18], eax
push 0x20
push edx
push 0x14
call fcn.00405020
add esp, 4
push eax
call fcn.0043a760
lea eax, [esp + 0x26c]
push 0x46bc74
lea ecx, [esp + 0x130]
push eax
push ecx
call fcn.00404d60
add esp, 0x18
test eax, eax
je 0x4271c4
push 0xa
lea edx, [esp + 0x164]
push 0
push edx
call esi
add esp, 0xc
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x120]
push 0x20
push eax
push 0x13
call fcn.00405020
add esp, 4
push eax
call fcn.0043a760
lea ecx, [esp + 0x26c]
push 0x46bc74
lea edx, [esp + 0x130]
push ecx
push edx
call fcn.00404d60
add esp, 0x18
test eax, eax
je 0x427214
push 0xa
lea eax, [esp + 0x164]
push 0
push eax
call esi
add esp, 0xc
mov dword [esp + 0x14], eax
call fcn.00435470
jmp 0x4272f6
push 0
lea ecx, [esp + 0x24]
push str.data_corrupt:_using_back_up
push ecx
jmp 0x427238
push 0
lea edx, [esp + 0x24]
push str.data_missing:_using_back_up
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
lea eax, [esp + 0x20]
push 0
push 0
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x221
call fcn.00426440
push 0x40
push 0x46ba6c
push esi
call fcn.004040d0
mov ebp, eax
add esp, 0x28
test ebp, ebp
jle 0x4272cc
test ebp, ebp
jl 0x4272cc
push esi
push ebp
push 0x468250
call fcn.00433500
add esp, 0xc
test eax, eax
jne 0x4272cc
push ebp
lea ecx, [esp + 0x24]
push str._d_samples_retrieved
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
push 0
lea edx, [esp + 0x30]
push 0
push edx
push 0
push 0xffffffffffffffff
push 0
push 0x2c9
call fcn.00426440
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 7
push 0x221
call fcn.00426440
add esp, 0x44
jmp 0x4272ec
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0x221
call fcn.00426440
add esp, 0x1c
call fcn.00435470
xor ebp, ebp
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0
push 0x46b864
call ebx
add esp, 8
cmp eax, 0xffffffff
push 0x46b864
jne 0x42732a
call fcn.00439b70
push 0x94
push 0x46b864
push 0x468250
call fcn.004049f0
add esp, 0x10
jmp 0x42736c
lea eax, [esp + 0x504]
push eax
call fcn.00404470
lea ecx, [esp + 0x508]
push 0x94
push ecx
push 0x468250
call fcn.00404a40
add esp, 0x14
test eax, eax
je 0x42736c
push 0x94
push 0x46b864
push 0x468250
call fcn.004049f0
add esp, 0xc
mov edi, dword [sym.imp.MSVCRT.dll_wcscpy]
xor esi, esi
lea edx, [esi + 0x694e50]
push 0x4532fc
push edx
call edi
lea eax, [esi + 0x698b90]
push 0x4532fc
push eax
call edi
add esi, 0x80
add esp, 0x10
cmp esi, 0x2800
jl 0x427374
xor eax, eax
test ebp, ebp
jle 0x4273bc
mov ecx, 0x66ec18
cmp dword [ecx], 0
jg 0x427424
inc eax
add ecx, 0x980
cmp eax, ebp
jl 0x4273ac
mov ecx, dword [esp + 0x10]
xor ebx, ebx
xor eax, eax
test ecx, ecx
mov dword [0x66e294], eax
jl 0x42742c
lea edx, [ecx + ecx*8]
lea ecx, [ecx + edx*2]
shl ecx, 7
cmp word [ecx + 0x66f0cc], ax
lea esi, [ecx + 0x66f0cc]
je 0x42742c
mov ecx, dword [0x4737a8]
mov dword [0x66e294], eax
test ecx, ecx
jle 0x427434
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
shl eax, 6
add eax, 0x4727a8
push esi
push eax
call edi
add esp, 8
test eax, eax
mov eax, dword [0x66e294]
je 0x42742c
mov ecx, dword [0x4737a8]
inc eax
cmp eax, ecx
mov dword [0x66e294], eax
jl 0x4273fa
jmp 0x427434
mov ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x4273c0
cmp eax, dword [0x4737a8]
jl 0x42743b
xor eax, eax
mov dword [0x66e294], eax
shl eax, 6
add eax, 0x4727a8
push str..ini
push eax
push 0x46c8a4
push str._s_s_s
push 0x46ac34
call dword [sym.imp.MSVCRT.dll_swprintf]
push 1
push 1
call fcn.00426b20
add esp, 0x1c
test eax, eax
je 0x427473
mov ebx, 1
push 0x66e298
call fcn.004378c0
push 0x28
push 0x46a7d4
push 0x66e3fc
call fcn.00438940
mov edx, dword [0x694c80]
mov eax, dword [0x694c84]
mov dword [0x66e938], edx
mov ecx, edx
mov dword [0x66e93c], eax
mov edx, eax
mov dword [0x66e930], ecx
mov eax, ecx
mov dword [0x66e934], edx
mov ecx, edx
mov edx, dword [0x66e294]
push 0x20
shl edx, 6
add edx, 0x4727a8
mov dword [0x66e920], eax
push edx
push 0x66e74c
mov dword [0x66e924], ecx
call fcn.00438940
add esp, 0x1c
mov esi, 0x66e280
xor edi, edi
lea eax, [edi + 0x66edcc]
push 0x80
lea ecx, [edi + 0x66e44c]
push eax
push ecx
mov dword [esi], 0xffffffff
call fcn.00438940
add esi, 4
add esp, 0xc
add edi, 0x80
cmp esi, 0x66e294
jl 0x4274e9
mov eax, dword [0x47279c]
test eax, eax
je 0x427543
mov edx, dword [0x4727a0]
push 0x40
shl edx, 7
add edx, 0x66e3cc
push 0x4532fc
push edx
call fcn.00438940
add esp, 0xc
push 0x64
call fcn.0042d120
mov esi, dword [0x476274]
xor eax, eax
cmp esi, 0xffffffff
setne al
push eax
call fcn.0042d010
add esp, 8
mov dword [0x4762b8], 0
test ebx, ebx
je 0x42759c
push 0x46f8f0
push 0x472218
push 1
push 0x66e298
call fcn.00423d40
add esp, 0x10
mov dword [0x66ebc0], 0
mov dword [0x66ebc4], 0xbff00000
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4275d6
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
shl eax, 7
mov edx, dword [eax + 0x66ec18]
mov ecx, dword [eax + 0x66ec34]
inc edx
inc ecx
mov dword [0x66e298], edx
mov edx, dword [eax + 0x66ec38]
inc edx
mov dword [0x66e2b4], ecx
mov dword [0x66e2b8], edx
jmp 0x4275f9
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4275f9
mov ecx, dword [esp + 0x14]
inc eax
mov dword [0x66e298], eax
mov eax, dword [esp + 0x1c]
inc eax
inc ecx
mov dword [0x66e2b4], eax
mov dword [0x66e2b8], ecx
fld qword [0x476328]
fcomp qword [0x44e438]
fnstsw ax
test ah, 0x41
jne 0x427672
fld qword [0x476328]
fcomp qword [0x44e430]
fnstsw ax
test ah, 1
je 0x427672
push 0x66e848
push str.FixedCorr
call fcn.004358a0
mov edx, dword [0x476328]
mov eax, dword [0x47632c]
push 0
push 0
push 1
push 0x66e848
push 0x66e848
mov dword [0x66e888], edx
mov dword [0x66e88c], eax
mov dword [0x66e890], 0
mov dword [0x66e894], 0
call fcn.00435bd0
add esp, 0x1c
jmp 0x427695
push 0x20
push str.Adjustable
push 0x66e848
call fcn.00438940
push 0x66e848
push str.Adjustable
call fcn.004358a0
add esp, 0x14
test ebx, ebx
je 0x427711
test ebp, ebp
jle 0x4276db
mov ecx, dword [0x66e294]
shl ecx, 6
add ecx, 0x4727a8
push ecx
call fcn.00423910
add esp, 4
test eax, eax
jne 0x4276c2
call fcn.004236f0
test eax, eax
je 0x4276db
push 0x66e298
push 0x46f8f0
push eax
push 0x46f8f0
push 0x472218
push 2
jmp 0x4276f0
push 0x66e298
push 0x46f8f0
push 0
push 0
push 0x472218
push 1
call section..text
mov eax, dword [0x66eb20]
add esp, 0x18
cmp eax, 1
jne 0x427711
push 0x66e298
push 2
call fcn.004308d0
add esp, 8
mov edi, dword [0x458728]
mov edx, dword [0x694ca8]
push 0
push 0x493e0
add edi, 0xa
push 0xb
push edx
mov dword [0x458728], edi
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret