Function at 0x435bd0
Capabilities:
Copy file

Disassembly:
sub esp, 0x280
push ebx
push ebp
push esi
push edi
xor esi, esi
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x152]
mov word [esp + 0x150], si
mov word [esp + 0x10], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x12]
mov ebx, dword [sym.imp.MSVCRT.dll_wcscpy]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x150]
push 0x465cc8
push eax
call ebx
mov eax, dword [esp + 0x2a4]
mov ebp, dword [esp + 0x29c]
add esp, 8
cmp eax, esi
je 0x435cdf
mov ecx, 0x28
xor eax, eax
mov edi, 0x6aa8a0
push ebp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x194]
push ecx
call ebx
lea edx, [esp + 0x18]
push 0x465d08
push edx
call ebx
lea eax, [esp + 0x160]
push 0x46b454
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00404d60
add esp, 0x1c
cmp eax, 1
jne 0x435cdf
push 0xa
lea edx, [esp + 0x54]
push esi
push edx
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0xc
test eax, eax
jle 0x435cdf
mov edi, 1
push edi
push ebp
lea eax, [esp + 0x198]
push str._s__d
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
lea ecx, [esp + 0x160]
push 0x46b454
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00404d60
add esp, 0x1c
cmp eax, 0xffffffff
je 0x435ea6
test eax, eax
je 0x435ecc
inc edi
cmp edi, 0x2710
jl 0x435c96
mov edi, dword [esp + 0x298]
lea eax, [esp + 0x190]
push ebp
push eax
call ebx
lea ecx, [esp + 0x18]
push 0x465d08
push ecx
call ebx
mov edx, dword [edi + 0x50]
mov ebp, dword [sym.imp.MSVCRT.dll_swprintf]
push edx
lea eax, [esp + 0x64]
push 0x454ed8
push eax
call ebp
lea ecx, [esp + 0x16c]
push 0x46b454
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.00404a90
dec eax
push 0x465d48
neg eax
sbb eax, eax
neg eax
add esi, eax
lea eax, [esp + 0x3c]
push eax
call ebx
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x40]
push ecx
push edx
lea eax, [esp + 0x88]
push str._.1f
push eax
call ebp
add esp, 0x40
lea ecx, [esp + 0x150]
lea edx, [esp + 0x10]
push 0x46b454
push ecx
push edx
call fcn.00404a90
dec eax
push 0x465d88
neg eax
sbb eax, eax
neg eax
add esi, eax
lea eax, [esp + 0x20]
push eax
call ebx
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x48]
push ecx
push edx
lea eax, [esp + 0x6c]
push str._.1f
push eax
call ebp
lea ecx, [esp + 0x174]
push 0x46b454
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00404a90
fld qword [esp + 0x2d0]
fcomp qword [0x44e440]
add esp, 0x30
dec eax
neg eax
sbb eax, eax
neg eax
add esi, eax
fnstsw ax
test ah, 0x41
jne 0x435e73
mov edi, dword [edi + 0x50]
test edi, edi
jle 0x435e73
cmp edi, 1
mov edi, dword [esp + 0x2a4]
jne 0x435e2f
lea eax, [esp + 0x10]
push 0x465dc8
push eax
call ebx
mov ecx, dword [esp + 0x2a8]
push edi
push ecx
lea edx, [esp + 0x60]
push str._.0f
push edx
call ebp
lea eax, [esp + 0x168]
push 0x46b454
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00404a90
add esp, 0x24
dec eax
neg eax
sbb eax, eax
neg eax
add esi, eax
lea edx, [esp + 0x10]
push 0x465e08
push edx
call ebx
mov eax, dword [esp + 0x2a8]
push edi
push eax
lea ecx, [esp + 0x60]
push str._.0f
push ecx
call ebp
lea edx, [esp + 0x168]
push 0x46b454
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00404a90
add esp, 0x24
dec eax
neg eax
sbb eax, eax
neg eax
add esi, eax
push 0
push 0
push 0
push 0
test esi, esi
push 0xffffffffffffffff
je 0x435f67
push 0
push 0x21f
call fcn.00426440
add esp, 0x1c
xor eax, eax
test esi, esi
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 0x280
ret
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0x21f
call fcn.00426440
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x280
ret
cmp edi, 0x2710
jge 0x435cdf
lea eax, [esp + 0x190]
push ebp
push eax
call ebx
lea ecx, [esp + 0x18]
push 0x465cc8
push ecx
call ebx
push edi
push ebp
lea edx, [esp + 0x68]
push str._s__d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [esp + 0x170]
push 0x46b454
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00404a90
mov edi, dword [esp + 0x2c4]
mov esi, eax
dec esi
push 0x20
neg esi
sbb esi, esi
push ebp
push edi
mov dword [edi + 0x50], 0
neg esi
call fcn.00438940
push str.TestDB
push ebp
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 0x40
test eax, eax
je 0x435ce6
push edi
call fcn.00435780
add esp, 4
xor edx, edx
cmp eax, 0xffffffff
sete dl
add esi, edx
jmp 0x435ce6
push 7
push 0x21f
call fcn.00426440
push 0x46b24c
call fcn.00439b70
add esp, 0x20
cmp word [0x46b24c], 0
je 0x435fce
push 0
push 0x46b24c
push 0x46b454
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x435fce
push eax
push eax
push 0x46b24c
push eax
push 0xffffffffffffffff
push eax
push 0x22c
call fcn.00426440
mov ecx, dword [0x694ca8]
add esp, 0x1c
push 0
push 0xea60
push 0x16
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
sete al
pop ebx
add esp, 0x280
ret