Function at 0x4358a0
Capabilities:
Copy file

Disassembly:
sub esp, 0x288
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x15a]
mov word [esp + 0x158], bp
mov word [esp + 0x18], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x1a]
push 0x465cc8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [esp + 0x15c]
push eax
mov dword [esp + 0x18], ebp
call edi
mov ebx, dword [esp + 0x2a4]
lea ecx, [esp + 0x1a0]
push ebx
push ecx
call edi
lea edx, [esp + 0x28]
push 0x465d08
push edx
call edi
lea eax, [esp + 0x170]
push 0x46b454
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00404d60
mov esi, eax
add esp, 0x24
cmp esi, 0xffffffff
jne 0x4359c6
push 0x46b24c
call fcn.00439b70
add esp, 4
cmp word [0x46b24c], bp
je 0x435982
push ebp
push 0x46b454
push 0x46b24c
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x435982
lea edx, [esp + 0x158]
push 0x46b454
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00404d60
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x4359ae
push ebp
push ebp
push 0x46b454
push ebp
push 0xffffffffffffffff
push ebp
push 0x2f0
call fcn.00426440
add esp, 0x1c
mov dword [esp + 0x10], 1
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push ebp
jmp 0x435ba4
push ebp
push ebp
push 0x46b454
push ebp
push 0xffffffffffffffff
push ebp
push 0x2ee
call fcn.00426440
add esp, 0x1c
cmp esi, ebp
jne 0x435a0e
mov esi, dword [esp + 0x2a0]
push 0x20
push ebx
push esi
mov dword [esi + 0x50], ebp
call fcn.00438940
push str.TestDB
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 0x14
test eax, eax
je 0x435b9c
push esi
call fcn.00435780
add esp, 4
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [esp + 0x10], ecx
jmp 0x435b8d
mov esi, dword [esp + 0x2a0]
push ebx
push esi
call edi
push 0xa
lea edx, [esp + 0x64]
push ebp
push edx
call dword [sym.imp.MSVCRT.dll_wcstol]
mov dword [esi + 0x50], eax
lea eax, [esp + 0x2c]
push 0x465d48
mov dword [esi + 0x40], ebp
push eax
mov dword [esi + 0x44], ebp
call edi
lea ecx, [esp + 0x174]
push 0x46b454
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00404d60
add esp, 0x28
cmp eax, 0xffffffff
jne 0x435a65
mov dword [esp + 0x10], 1
jmp 0x435a77
lea eax, [esp + 0x58]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_wcstod]
fstp qword [esi + 0x40]
add esp, 8
fld qword [esi + 0x40]
fmul qword [0x44e478]
sub esp, 8
fadd qword [0x44e450]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
fmul qword [0x44e4b0]
lea ecx, [esp + 0x20]
push 0x465d88
mov dword [esi + 0x48], ebp
push ecx
mov dword [esi + 0x4c], ebp
fstp qword [esi + 0x40]
call edi
lea edx, [esp + 0x168]
push 0x46b454
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00404d60
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x435ad2
inc dword [esp + 0x10]
jmp 0x435ae4
lea ecx, [esp + 0x58]
push ebp
push ecx
call dword [sym.imp.MSVCRT.dll_wcstod]
fstp qword [esi + 0x48]
add esp, 8
fld qword [esi + 0x48]
fmul qword [0x44e478]
sub esp, 8
fadd qword [0x44e450]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
fmul qword [0x44e4b0]
lea edx, [esp + 0x20]
push 0x466088
mov dword [esi + 0x58], ebp
push edx
mov dword [esi + 0x5c], ebp
fstp qword [esi + 0x48]
call edi
mov eax, dword [0x476338]
add esp, 0x10
cmp eax, ebp
jle 0x435b8d
lea eax, [esp + 0x158]
push 0x46b454
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00404d60
add esp, 0xc
cmp eax, 1
jne 0x435b8d
lea edx, [esp + 0x58]
xor ebx, ebx
push edx
mov dword [esp + 0x18], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, dword [0x476338]
add esp, 4
xor ecx, ecx
cmp edi, ebp
jle 0x435b80
lea edx, [esp + eax*2 + 0x56]
cmp ecx, eax
jge 0x435b7c
cmp word [edx], 0x31
jne 0x435b74
inc ebx
inc ecx
sub edx, 2
cmp ecx, edi
jl 0x435b69
mov dword [esp + 0x14], ebx
fild dword [esp + 0x14]
fidiv dword [0x476338]
fstp qword [esi + 0x58]
cmp dword [esp + 0x10], ebp
je 0x435b9c
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push ebp
jmp 0x435ba4
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push 7
push 0x21e
call fcn.00426440
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
xor eax, eax
cmp ecx, ebp
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 0x288
ret