Function at 0x403630
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e97d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5fb1a0]
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.0042b730
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4038e2
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.00401f40
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0041df30
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push str._CommonAppDataFolder__sib_s
push eax
call fcn.00404830
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 0x4036dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x10]
mov ecx, 0x5ffc64
push eax
call fcn.004153b0
push 0
push dword [ebp - 0x10]
call fcn.0055fefe
test eax, eax
je 0x403743
push str.D:_source_aprelSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x18]
call fcn.004020d0
mov esi, dword [eax]
push 0
push dword [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0055fefe
push 0x39f
push esi
push eax
call fcn.004277f0
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 0x403743
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.00402530
add esp, 0xc
mov ecx, esi
call fcn.0040f560
push str.SibClr.dll
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402530
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push str.SibClr.dll
push 0x5ffc58
push eax
mov byte [ebp - 4], 5
call fcn.00402530
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 0x4037b4
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 0x4037d2
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.00402530
mov esi, dword [eax]
lea eax, [ebp - 0x1c]
push str.SibCa.dll
push 0x5ffc58
push eax
mov byte [ebp - 4], 6
call fcn.00402530
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 0x403825
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 0x403843
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx]
xor edi, edi
cmp dword [ecx + 0x38], edi
jle 0x4038b0
xor ebx, ebx
nop
test ebx, ebx
js 0x4038dd
cmp edi, dword [ecx + 0x38]
jge 0x4038dd
mov eax, dword [ecx + 0x34]
cmp dword [eax + ebx + 0x10], 1
jne 0x40389f
cmp dword [ecx + 0x18], 0
je 0x40387c
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00406170
jmp 0x40389f
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00404000
mov ecx, dword [ebp - 0x14]
add esp, 4
add eax, 0x10
mov dword [esi], eax
push edi
call fcn.00406470
mov eax, dword [ebp - 0x14]
inc edi
add ebx, 0xb8
mov ecx, dword [eax]
cmp edi, dword [ecx + 0x38]
jl 0x403850
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4038cb
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.0042a6ab
push 0x80004005
call fcn.00403cc0
int3