Function at 0x403990
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5976fd
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x6031c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x10]
call fcn.00402220
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x5aaa50
call fcn.00401f50
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00427530
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push edx
push str._CommonAppDataFolder__sib_s
lea eax, [ebp - 0x10]
push eax
call fcn.004056d0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004023e0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, 0x607c40
call fcn.004150c0
push 0
lea ecx, [ebp - 0x10]
call fcn.00402790
push eax
call fcn.0056bd68
test eax, eax
je 0x403a9e
push str.D:_apreltechSibSiblSibInstallerInstall.cpp
lea ecx, [ebp - 0x3c]
call fcn.00402040
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
call fcn.00402790
mov dword [ebp - 0x34], eax
push 0
lea ecx, [ebp - 0x10]
call fcn.00402790
push eax
call fcn.0056bd68
mov dword [ebp - 0x38], eax
push 0x42d
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00433d50
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004023e0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x40], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push str._sib.dat
lea edx, [ebp - 0x10]
push edx
push ecx
call fcn.00402870
add esp, 0xc
mov ecx, dword [ebp - 0x40]
call fcn.0040e900
push 0x5aaadc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00402870
add esp, 0xc
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x48]
call fcn.00402790
mov dword [ebp - 0x50], eax
push str.SibClr.dll
push 0x607bb8
lea eax, [ebp - 0x58]
push eax
call fcn.00402870
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.00402790
mov dword [ebp - 0x54], eax
push 0
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x58]
call fcn.004023e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004023e0
push 0x5aab0c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.00402870
add esp, 0xc
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
call fcn.00402790
mov dword [ebp - 0x6c], eax
push str.SibCa.dll
push 0x607bb8
lea eax, [ebp - 0x74]
push eax
call fcn.00402870
add esp, 0xc
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.00402790
mov dword [ebp - 0x70], eax
push 0
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x74]
call fcn.004023e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004023e0
mov dword [ebp - 0x18], 0
jmp 0x403bc5
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, 0x34
call fcn.00405e60
cmp dword [ebp - 0x18], eax
jge 0x403c35
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
add eax, 0x34
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.00402750
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
cmp dword [edx + 0x10], 1
je 0x403bfc
jmp 0x403bbc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
cmp dword [ecx + 0x18], 0
je 0x403c15
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00406ed0
jmp 0x403c33
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea eax, [ebp - 0x10]
push eax
call fcn.00401fd0
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00407320
jmp 0x403bbc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret