Function at 0x402c80
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46220d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x47e700]
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.0042a268
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x402f32
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.004015b0
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.0041db10
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push str._CommonAppDataFolder__sib_s
push eax
call fcn.00403ec0
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 0x402d2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x10]
mov ecx, 0x4801f0
push eax
call fcn.00414790
push 0
push dword [ebp - 0x10]
call fcn.0043982f
test eax, eax
je 0x402d93
push str.D:_apreltechSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x18]
call fcn.00401740
mov esi, dword [eax]
push 0
push dword [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0043982f
push 0x3d6
push esi
push eax
call fcn.00426c80
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 0x402d93
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.00401ba0
add esp, 0xc
mov ecx, esi
call fcn.0040ec50
push str.SibClr.dll
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401ba0
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push str.SibClr.dll
push 0x480168
push eax
mov byte [ebp - 4], 5
call fcn.00401ba0
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 0x402e04
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 0x402e22
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.00401ba0
mov esi, dword [eax]
lea eax, [ebp - 0x1c]
push str.SibCa.dll
push 0x480168
push eax
mov byte [ebp - 4], 6
call fcn.00401ba0
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 0x402e75
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 0x402e93
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 0x402f00
xor ebx, ebx
nop
test ebx, ebx
js 0x402f2d
cmp edi, dword [ecx + 0x3c]
jge 0x402f2d
mov eax, dword [ecx + 0x38]
cmp dword [eax + ebx + 0x10], 1
jne 0x402eef
cmp dword [ecx + 0x18], 0
je 0x402ecc
mov ecx, dword [ebp - 0x14]
push edi
call fcn.004057e0
jmp 0x402eef
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00403650
mov ecx, dword [ebp - 0x14]
add esp, 4
add eax, 0x10
mov dword [esi], eax
push edi
call fcn.00405ae0
mov eax, dword [ebp - 0x14]
inc edi
add ebx, 0xb8
mov ecx, dword [eax]
cmp edi, dword [ecx + 0x3c]
jl 0x402ea0
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402f1b
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.00429c0d
push 0x80004005
call fcn.00403310
int3