Function at 0x42c190
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x47f488
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
push ebx
push esi
push edi
mov eax, dword [0x4bb27c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov bl, byte [ebp + 0x78]
test bl, bl
mov esi, dword [ebp + 0x74]
mov dword [ebp - 4], 0
mov byte [ebp - 4], 2
jne 0x42c1f2
push esi
call fcn.00429720
add esp, 4
test al, al
je 0x42c1f2
mov eax, dword [esi]
push 1
push eax
call fcn.00427280
add esp, 8
lea eax, [ebp + 0x64]
push esi
push eax
call fcn.00426160
add esp, 8
mov esi, eax
mov ecx, dword [ebp + 0x70]
push ecx
lea edx, [ebp + 0x78]
push edx
mov byte [ebp - 4], 3
call fcn.00426160
mov ecx, dword [esi]
mov eax, dword [eax]
add esp, 8
movzx edx, bl
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov eax, dword [ebp + 0x78]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c249
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x64]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c26c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42c7ab
push str.CNFileUtilities::CopyFileW
lea ecx, [ebp + 0x54]
call fcn.004031f0
push str..NFileUtilities.cpp
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 4
call fcn.004031f0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 4], 5
call edi
test eax, eax
jg 0x42c2a8
call edi
mov esi, eax
jmp 0x42c2b8
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
push 0
call edi
push eax
lea ecx, [ebp + 0x60]
push ecx
call fcn.00435510
add esp, 0xc
lea edx, [ebp + 0x54]
push edx
push 0x4ed
lea ecx, [ebp + 0x78]
push ecx
push esi
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.0041fce0
mov eax, dword [ebp + 0x60]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c307
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x78]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c32a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x54]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c34d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.CNFileUtilities::CopyFileW
lea ecx, [ebp + 0x64]
call fcn.004031f0
push str..NFileUtilities.cpp
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0xb
call fcn.004031f0
mov bl, 0xc
push str.Failed_to_copy_file.
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], bl
call fcn.004031f0
lea ecx, [ebp + 0x64]
push ecx
push 0x4ee
lea edx, [ebp + 0x5c]
push edx
push 0x7d9
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0xd
call fcn.0041fbe0
mov eax, dword [ebp + 0x58]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c3c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c3e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x64]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c407
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.SrcFile
lea ecx, [ebp + 0x64]
call fcn.004031f0
mov ecx, dword [ebp + 0x70]
push ecx
lea edx, [ebp + 0x64]
push edx
lea ecx, [ebp]
mov byte [ebp - 4], 0xe
call fcn.0041e440
mov eax, dword [ebp + 0x64]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c44b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DstFile
lea ecx, [ebp + 0x64]
call fcn.004031f0
mov ecx, dword [ebp + 0x74]
push ecx
lea edx, [ebp + 0x64]
push edx
lea ecx, [ebp]
mov byte [ebp - 4], 0xf
call fcn.0041e440
mov eax, dword [ebp + 0x64]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c48f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0041f780
push 0x4b1c2c
lea edx, [ebp - 0x48]
push edx
call fcn.00466ffb
push str.CNFileUtilities::CopyFileW
lea ecx, [ebp + 0x78]
call fcn.004031f0
push str..NFileUtilities.cpp
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x11
call fcn.004031f0
push 0x497188
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0x12
call fcn.004031f0
mov eax, dword [ebp + 0x44]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0x13
call fcn.0041f900
lea ecx, [ebp + 0x78]
push ecx
push 0x4f3
lea edx, [ebp + 0x60]
push edx
push 0x3ed
lea ecx, [ebp + 0x64]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.0041fbe0
push eax
lea ecx, [ebp - 0x160]
call fcn.0041f780
push 0x4b1c2c
lea edx, [ebp - 0x160]
push edx
call fcn.00466ffb
push str.CNFileUtilities::CopyFileW
lea ecx, [ebp + 0x5c]
call fcn.004031f0
push str..NFileUtilities.cpp
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0x15
call fcn.004031f0
push str.Stacktrace.
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 0x16
call fcn.004031f0
mov esi, dword [ebp + 0x48]
lea eax, [ebp + 0x5c]
push eax
push 0x4f3
lea ecx, [ebp + 0x64]
push ecx
push 0x3ed
lea edx, [ebp + 0x78]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.0041fbe0
lea ecx, [ebp + 0x78]
call fcn.004032a0
lea ecx, [ebp + 0x64]
call fcn.004032a0
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0x10
call fcn.004032a0
push esi
lea ecx, [ebp - 0xf0]
call fcn.0041f780
push 0x4b1c2c
lea eax, [ebp - 0xf0]
push eax
call fcn.00466ffb
push str.std_exception_caught:
lea ecx, [ebp + 0x78]
call fcn.004031f0
mov ecx, dword [ebp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov byte [ebp - 4], 0x18
call eax
push eax
lea ecx, [ebp + 0x78]
call fcn.00401ba0
push str.CNFileUtilities::CopyFileW
lea ecx, [ebp + 0x60]
call fcn.004031f0
push str..NFileUtilities.cpp
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0x19
call fcn.004031f0
lea ecx, [ebp + 0x60]
push ecx
push 0x4f3
lea edx, [ebp + 0x64]
push edx
push 0x3ea
lea eax, [ebp + 0x78]
push eax
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x1a
call fcn.0041fce0
push 0x4b1c2c
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.00466ffb
push str.char_exception_caught:
lea ecx, [ebp + 0x64]
call fcn.004031f0
mov edx, dword [ebp + 0x40]
push edx
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0x1b
call fcn.00401ba0
push str.CNFileUtilities::CopyFileW
lea ecx, [ebp + 0x60]
call fcn.004031f0
push str..NFileUtilities.cpp
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0x1c
call fcn.004031f0
lea eax, [ebp + 0x60]
push eax
push 0x4f3
lea ecx, [ebp + 0x5c]
push ecx
push 0x3eb
lea edx, [ebp + 0x64]
push edx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1d
call fcn.0041fce0
push 0x4b1c2c
lea eax, [ebp - 0x80]
push eax
call fcn.00466ffb
push str.wchar_t_exception_caught:
lea ecx, [ebp + 0x5c]
call fcn.004031f0
mov ecx, dword [ebp + 0x4c]
push ecx
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0x1e
call fcn.00401b60
push str.CNFileUtilities::CopyFileW
lea ecx, [ebp + 0x60]
call fcn.004031f0
push str..NFileUtilities.cpp
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x1f
call fcn.004031f0
lea edx, [ebp + 0x60]
push edx
push 0x4f3
lea eax, [ebp + 0x58]
push eax
push 0x3ec
lea ecx, [ebp + 0x5c]
push ecx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x20
call fcn.0041fce0
push 0x4b1c2c
lea edx, [ebp - 0xb8]
push edx
call fcn.00466ffb
push str.Unhandled_exception_caught__Possibly_caused_by_access_violation_
lea ecx, [ebp + 0x54]
call fcn.004031f0
push str.CNFileUtilities::CopyFileW
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x21
call fcn.004031f0
push str..NFileUtilities.cpp
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x22
call fcn.004031f0
lea eax, [ebp + 0x60]
push eax
push 0x4f3
lea ecx, [ebp + 0x58]
push ecx
push 0x3e9
lea edx, [ebp + 0x54]
push edx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x23
call fcn.0041fce0
push 0x4b1c2c
lea eax, [ebp - 0x128]
push eax
call fcn.00466ffb
mov ecx, dword [ebp + 0x50]
push ecx
lea ecx, [ebp - 0x198]
call fcn.0041f780
push 0x4b1c2c
lea edx, [ebp - 0x198]
push edx
call fcn.00466ffb
mov eax, dword [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x208]
call fcn.0041f780
push 0x4b1c2c
lea ecx, [ebp - 0x208]
push ecx
call fcn.00466ffb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x68
mov esp, ebp
pop ebp
ret