Function at 0x4035e0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a03d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5f31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
call fcn.0042b4c7
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x403892
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, dword [ebx]
push 1
push ecx
mov ecx, esp
mov dword [ebp - 4], 2
push str.productCode
call fcn.00401f10
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0041e850
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push str._CommonAppDataFolder__sib_s
push eax
call fcn.00404820
mov edx, dword [ebp - 0x18]
or edi, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40368d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x10]
mov ecx, 0x5f7c40
push eax
call fcn.004154d0
push 0
push dword [ebp - 0x10]
call fcn.0055f9d8
test eax, eax
je 0x4036f3
push str.D:_apreltechSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x18]
call fcn.004020a0
mov esi, dword [eax]
push 0
push dword [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0055f9d8
push 0x3d6
push esi
push eax
call fcn.004279c0
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4036f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebx]
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
push str._sib.dat
push ecx
push eax
call fcn.00402500
add esp, 0xc
mov ecx, esi
call fcn.0040f5b0
push str.SibClr.dll
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402500
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push str.SibClr.dll
push 0x5f7bb8
push eax
mov byte [ebp - 4], 5
call fcn.00402500
add esp, 0x18
push 0
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403764
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403782
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.SibCa.dll
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00402500
mov esi, dword [eax]
lea eax, [ebp - 0x1c]
push str.SibCa.dll
push 0x5f7bb8
push eax
mov byte [ebp - 4], 6
call fcn.00402500
add esp, 0x18
push 0
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4037d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4037f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx]
xor edi, edi
cmp dword [ecx + 0x3c], edi
jle 0x403860
xor ebx, ebx
nop
test ebx, ebx
js 0x40388d
cmp edi, dword [ecx + 0x3c]
jge 0x40388d
mov eax, dword [ecx + 0x38]
cmp dword [eax + ebx + 0x10], 1
jne 0x40384f
cmp dword [ecx + 0x18], 0
je 0x40382c
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00406140
jmp 0x40384f
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00403fb0
mov ecx, dword [ebp - 0x14]
add esp, 4
add eax, 0x10
mov dword [esi], eax
push edi
call fcn.00406440
mov eax, dword [ebp - 0x14]
inc edi
add ebx, 0xb8
mov ecx, dword [eax]
cmp edi, dword [ecx + 0x3c]
jl 0x403800
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40387b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042a442
push 0x80004005
call fcn.00403c70
int3