Function at 0x416ac0
Capabilities:
Copy file
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a7f9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x268], 0
mov al, byte [ecx + 0xfc]
cmp al, 4
jne 0x416e79
lea eax, [esp + 0x14]
push str.IDS_STS_READONLY_COPY
push eax
call dword [0x4e610c]
add esp, 8
lea edi, [esi + 0xbc]
push eax
mov ecx, edi
mov byte [esp + 0x26c], 1
call fcn.004a5776
lea ecx, [esp + 0x14]
mov byte [esp + 0x268], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 4]
mov edx, dword [0x4e60fc]
push 0
push ecx
push 0x40c
push edx
call ebx
lea eax, [esp + 0x60]
mov ecx, dword [esi + 0x1c]
push eax
push 0x200
push 0
push 0
push 8
push 0
push 0x80
push 0xfa
push ecx
call fcn.0048fc90
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x84]
push edx
push 0x9a
push eax
call fcn.0048fab0
add esp, 0x30
test eax, eax
jne 0x416bb9
lea ecx, [esp + 0x14]
push 0x4d8340
push ecx
mov dword [esp + 0x1c], 0x20300
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], 1
jne 0x416bf7
push edi
push ecx
add eax, 0x124
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00417e90
test eax, eax
jne 0x416bf7
lea edx, [esp + 0x14]
push 0x4d8340
push edx
mov dword [esp + 0x1c], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x416c36
push edi
push ecx
add eax, 0x124
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00418110
test eax, eax
jne 0x416c36
lea eax, [esp + 0x14]
push 0x4d8340
push eax
mov dword [esp + 0x1c], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.00417df0
lea ecx, [esp + 0x60]
mov edx, dword [esi + 0x1c]
push ecx
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push edx
call fcn.0048fc90
mov eax, dword [esi + 0x1c]
push eax
call fcn.0048f710
add esp, 0x28
mov eax, dword [esi + 8]
mov cl, byte [eax + 0xfc]
cmp cl, 1
jne 0x416c86
mov edx, dword [eax + 0x100]
test edx, edx
jne 0x416c9d
cmp cl, 0x10
jne 0x41742c
mov ecx, dword [eax + 0x198]
test ecx, ecx
je 0x41742c
lea ecx, [esp + 0x20]
push str.IDS_STS_AP_COPY
push ecx
call dword [0x4e610c]
add esp, 8
lea ebx, [esi + 0xbc]
push eax
mov ecx, ebx
mov byte [esp + 0x26c], 3
call fcn.004a5776
lea ecx, [esp + 0x20]
mov byte [esp + 0x268], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 4]
mov eax, dword [0x4e60fc]
push 0
push edx
push 0x40c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x268], 4
call sub.MFC42.DLL_CString::CString_1
movsx ecx, byte [esi + 0x18]
push ecx
lea edx, [esp + 0x18]
push 0x4e063c
push edx
mov byte [esp + 0x274], 5
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x4e60d8]
lea ecx, [esp + 0x34]
push eax
push str._sAP
push ecx
call sub.MFC42.DLL_CString::Format
lea edx, [esp + 0x78]
mov eax, dword [esi + 0x1c]
push edx
push 0x200
push 0
push 0
push 0x10
push 0
push 0x80
push 0xfa
push eax
call fcn.0048fc90
mov dx, word [0x4e0630]
mov al, byte [0x4e0632]
mov ecx, dword [str.._a:]
mov word [esp + 0x78], dx
lea edx, [esp + 0x9c]
mov byte [esp + 0x7a], al
xor eax, eax
push edx
push 0x200
mov dword [esp + 0x7c], ecx
push eax
mov ecx, 0x80
lea edi, [esp + 0xa8]
push eax
push eax
push 0xff
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x1c]
mov cl, byte [esi + 0x18]
push 0x51
push pe_nt_image_headers32
push eax
mov byte [esp + 0x9c], cl
call fcn.0048fc90
add esp, 0x60
push 0x1f4
call ebp
push 0
push 0x80
push 3
push 0
push 3
lea ecx, [esp + 0x4c]
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x416df6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call ebp
mov edx, dword [esi + 0x1c]
push edx
call fcn.0048f710
add esp, 4
cmp eax, 1
je 0x416e1a
push 0x1f4
call ebp
mov eax, dword [esi + 0x1c]
push eax
call fcn.0048f710
add esp, 4
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x60]
push ecx
push 0x9a
push edx
call fcn.0048fab0
mov eax, dword [esi + 8]
add esp, 0xc
mov ecx, dword [eax + 0x144]
test ecx, ecx
je 0x417032
push ebx
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004a57ee
mov ecx, esi
call fcn.00417e90
test eax, eax
jne 0x4173c5
lea eax, [esp + 0x20]
push 0x4d8340
push eax
mov dword [esp + 0x28], 0x90400
call sub.MSVCRT.dll__CxxThrowException
cmp al, 1
jne 0x416c6e
mov eax, dword [ecx + 0x130]
test eax, eax
je 0x416c6e
lea ecx, [esp + 0x14]
push str.IDS_STS_READONLY_COPY
push ecx
call dword [0x4e610c]
add esp, 8
lea edi, [esi + 0xbc]
push eax
mov ecx, edi
mov byte [esp + 0x26c], 2
call fcn.004a5776
lea ecx, [esp + 0x14]
mov byte [esp + 0x268], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 4]
mov eax, dword [0x4e60fc]
push 0
push edx
push 0x40c
push eax
call ebx
lea ecx, [esp + 0x60]
mov edx, dword [esi + 0x1c]
push ecx
push 0x200
push 0
push 0
push 0x80
push 0
push 0x80
push 0xfa
push edx
call fcn.0048fc90
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x84]
push eax
push 0x9a
push ecx
call fcn.0048fab0
mov eax, dword [esi + 8]
add esp, 0x30
cmp dword [eax + 0x30], 1
jne 0x416f5b
push edi
push ecx
add eax, 0x124
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00417e90
test eax, eax
jne 0x416f5b
lea edx, [esp + 0x14]
push 0x4d8340
push edx
mov dword [esp + 0x1c], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x416f9a
push edi
push ecx
add eax, 0x124
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00418110
test eax, eax
jne 0x416f9a
lea eax, [esp + 0x14]
push 0x4d8340
push eax
mov dword [esp + 0x1c], 0x90400
call sub.MSVCRT.dll__CxxThrowException
push 0x3e8
call ebp
mov ecx, esi
call fcn.00417df0
lea ecx, [esp + 0x60]
mov edx, dword [esi + 0x1c]
push ecx
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push edx
call fcn.0048fc90
mov eax, dword [esi + 0x1c]
push eax
call fcn.0048f710
mov edx, dword [esi + 0x1c]
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x89], 0x40
push ecx
push 0x200
push 0x9b
push edx
call fcn.0048fba0
add esp, 0x38
mov ecx, esi
call fcn.0041ba60
test eax, eax
jne 0x416c6e
lea eax, [esp + 0x14]
push 0x4d8340
push eax
mov dword [esp + 0x1c], 0x92100
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x20]
mov byte [esp + 0x268], 6
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x20]
push ecx
push str._s.
push edx
mov byte [esp + 0x274], 7
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x44]
push 0
push eax
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x1c]
mov edi, eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x268], 8
call sub.MFC42.DLL_CString::CString_1
test edi, edi
mov byte [esp + 0x268], 9
je 0x417381
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x44]
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x417375
push 0x9c4
call ebp
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], 0xa
push ecx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], 0xb
call fcn.004a5776
lea ecx, [esp + 0x30]
mov byte [esp + 0x268], 0xa
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x24]
push str._s_s
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x44]
push str._s_s
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esi + 8]
add esp, 0x20
cmp byte [edx + 0x1b9], 0x14
je 0x41725d
mov ebp, dword [esp + 0x24]
mov edi, str.Super_USB.exe
mov ecx, ebp
mov al, byte [ecx]
mov dl, al
cmp al, byte [edi]
jne 0x417182
test dl, dl
je 0x41717e
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [edi + 1]
jne 0x417182
add ecx, 2
add edi, 2
test dl, dl
jne 0x41715e
xor ecx, ecx
jmp 0x417187
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x41735e
mov edi, str.securelock.exe
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4171ba
test cl, cl
je 0x4171b6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4171ba
add eax, 2
add edi, 2
test cl, cl
jne 0x417196
xor eax, eax
jmp 0x4171bf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41735e
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call edi
cmp eax, 0x10
jne 0x41722e
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x30], 1
jne 0x417203
push ebx
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004a57ee
mov ecx, esi
call fcn.00417e90
test eax, eax
je 0x4175ba
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x41722e
push ebx
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004a57ee
mov ecx, esi
call fcn.00418110
test eax, eax
je 0x4175d1
mov eax, dword [esp + 0x1c]
push eax
call edi
cmp eax, 0x10
je 0x41735e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4175e8
jmp 0x41735e
mov ebp, dword [esp + 0x24]
mov edi, 0x4e05f8
mov ecx, ebp
mov al, byte [ecx]
mov dl, al
cmp al, byte [edi]
jne 0x41728c
test dl, dl
je 0x417288
mov al, byte [ecx + 1]
mov dl, al
cmp al, byte [edi + 1]
jne 0x41728c
add ecx, 2
add edi, 2
test dl, dl
jne 0x417268
xor ecx, ecx
jmp 0x417291
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x41735e
mov edi, str.securelock.exe
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4172c4
test cl, cl
je 0x4172c0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4172c4
add eax, 2
add edi, 2
test cl, cl
jne 0x4172a0
xor eax, eax
jmp 0x4172c9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41735e
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call edi
cmp eax, 0x10
jne 0x417338
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x30], 1
jne 0x41730d
push ebx
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004a57ee
mov ecx, esi
call fcn.00417e90
test eax, eax
je 0x417605
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x417338
push ebx
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004a57ee
mov ecx, esi
call fcn.00418110
test eax, eax
je 0x41761c
mov eax, dword [esp + 0x1c]
push eax
call edi
cmp eax, 0x10
je 0x41735e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x417633
lea ecx, [esp + 0x24]
mov byte [esp + 0x268], 9
call sub.MFC42.DLL_CString::CString
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4170a7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x268], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x268], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x268], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x268], 5
call fcn.004a5a8e
push 0x3e8
call ebp
mov ecx, esi
call fcn.00417df0
lea eax, [esp + 0x60]
mov ecx, dword [esi + 0x1c]
push eax
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push ecx
call fcn.0048fc90
mov edx, dword [esi + 0x1c]
push edx
call fcn.0048f710
add esp, 0x28
lea ecx, [esp + 0x14]
mov byte [esp + 0x268], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x268], 0
call sub.MFC42.DLL_CString::CString
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 8]
cmp byte [eax + 0xfc], 0x40
jne 0x4177f3
mov ecx, dword [eax + 0x3bc]
test ecx, ecx
je 0x4177f3
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [str.._a:]
mov cx, word [0x4e0630]
mov dl, byte [0x4e0632]
mov dword [esp + 0x30], eax
mov word [esp + 0x34], cx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov al, byte [esi + 0x18]
lea ecx, [esp + 0x10]
mov bl, 0xc
push str.IDS_STS_READONLY_COPY
push ecx
mov byte [esp + 0x270], bl
mov byte [esp + 0x3e], dl
mov byte [esp + 0x3c], al
call dword [0x4e610c]
add esp, 8
lea ebp, [esi + 0xbc]
push eax
mov ecx, ebp
mov byte [esp + 0x26c], 0xd
call fcn.004a5776
lea ecx, [esp + 0x10]
mov byte [esp + 0x268], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 4]
mov eax, dword [0x4e60fc]
push 0
push edx
push 0x40c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x60]
mov edx, dword [esi + 0x1c]
push ecx
push 0x200
push 0
push 0
push 8
push 0
push 0x80
push 0xfa
push edx
call fcn.0048fc90
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x84]
mov edx, dword [esi + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x84]
mov al, byte [esi + 0x18]
push ecx
push 0x200
push 0
push 0
push 0
push 0xff
push 0x51
push pe_nt_image_headers32
push edx
mov byte [esp + 0x7c], al
call fcn.0048fc90
add esp, 0x48
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x80
push 3
push 0
push 3
lea eax, [esp + 0x44]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x417585
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x60]
push ecx
push 0x9a
push edx
call fcn.0048fab0
add esp, 0xc
test eax, eax
jne 0x417650
lea eax, [esp + 0x10]
push 0x4d8340
push eax
mov dword [esp + 0x18], 0x20300
call sub.MSVCRT.dll__CxxThrowException
lea eax, [esp + 0x10]
push 0x4d8340
push eax
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x10]
push 0x4d8340
push ecx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x10]
push 0x4d8340
push edx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
lea eax, [esp + 0x10]
push 0x4d8340
push eax
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [esp + 0x10]
push 0x4d8340
push ecx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x10]
push 0x4d8340
push edx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.0048f710
add esp, 4
cmp eax, 1
je 0x417678
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 0x1c]
push edx
call fcn.0048f710
add esp, 4
mov eax, dword [esi + 8]
mov edx, dword [0x4e60d8]
mov ecx, dword [eax + 0x3c0]
lea eax, [esp + 0x20]
push ecx
push edx
push str._sAP_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 8]
mov byte [esp + 0x268], 0xe
movsx eax, byte [esi + 0x18]
mov edx, dword [ecx + 0x3c0]
lea ecx, [esp + 0x14]
push edx
push eax
push str._c:_s
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esi + 8]
add esp, 0x10
add edx, 0x124
mov edi, 0x4e5a9c
mov eax, dword [edx]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x417701
test cl, cl
je 0x4176fd
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x417701
add eax, 2
add edi, 2
test cl, cl
jne 0x4176dd
xor eax, eax
jmp 0x417706
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x417782
mov eax, dword [esi + 8]
cmp dword [eax + 0x30], 1
jne 0x417743
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004a57ee
mov ecx, esi
call fcn.00417e90
test eax, eax
jne 0x417743
lea edx, [esp + 0x10]
push 0x4d8340
push edx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x417782
push ebp
push ecx
add eax, 0x124
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00418110
test eax, eax
jne 0x417782
lea eax, [esp + 0x10]
push 0x4d8340
push eax
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00417df0
lea ecx, [esp + 0x60]
mov edx, dword [esi + 0x1c]
push ecx
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push edx
call fcn.0048fc90
mov eax, dword [esi + 0x1c]
push eax
call fcn.0048f710
add esp, 0x28
lea ecx, [esp + 0x14]
mov byte [esp + 0x268], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x268], 0
call sub.MFC42.DLL_CString::CString
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x134]
test cl, cl
je 0x417db1
mov edx, dword [eax + 0x130]
test edx, edx
jne 0x417a6e
cmp byte [eax + 0xfd], 1
jne 0x417a6e
lea ecx, [esp + 0x10]
push str.IDS_STS_PRE_COPY_FILE
push ecx
call dword [0x4e610c]
add esp, 8
lea edi, [esi + 0xbc]
push eax
mov ecx, edi
mov byte [esp + 0x26c], 0xf
call fcn.004a5776
lea ecx, [esp + 0x10]
mov byte [esp + 0x268], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 4]
mov eax, dword [0x4e60fc]
push 0
push edx
push 0x40c
push eax
call ebx
mov ecx, dword [esi + 8]
mov al, byte [ecx + 0x134]
test al, al
je 0x417db1
lea edx, [esp + 0x60]
mov eax, dword [esi + 0x1c]
push edx
push 0x200
push 0
push 0
push 0x80
push 0
push 0x80
push 0xfa
push eax
call fcn.0048fc90
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x84]
push ecx
push 0x9a
push edx
call fcn.0048fab0
lea eax, [esp + 0x90]
mov ecx, dword [esi + 0x1c]
push eax
push 0x200
push 0
push 0
push 0
push 0xff
push 0x51
push pe_nt_image_headers32
push ecx
call fcn.0048fc90
add esp, 0x54
push 0x1f4
call ebp
mov edx, dword [esi + 0x1c]
push edx
call fcn.0048f710
mov ebx, 1
add esp, 4
cmp eax, ebx
je 0x417915
push 0x1f4
call ebp
mov eax, dword [esi + 0x1c]
push eax
call fcn.0048f710
add esp, 4
mov eax, dword [esi + 8]
test byte [eax + 0x134], 1
je 0x4179a7
mov byte [esi + 0x117], 1
mov ecx, dword [eax + 0x30]
cmp ecx, ebx
jne 0x417968
push edi
push ecx
add eax, 0x138
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00417e90
test eax, eax
jne 0x417968
lea ecx, [esp + 0x10]
push 0x4d8340
push ecx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x4179a7
push edi
push ecx
add eax, 0x138
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00418110
test eax, eax
jne 0x4179a7
lea edx, [esp + 0x10]
push 0x4d8340
push edx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
test byte [eax + 0x134], 2
je 0x417a39
mov byte [esi + 0x117], 2
mov ecx, dword [eax + 0x30]
cmp ecx, ebx
jne 0x4179fa
push edi
push ecx
add eax, 0x13c
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00417e90
test eax, eax
jne 0x4179fa
lea eax, [esp + 0x10]
push 0x4d8340
push eax
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x417a39
push edi
push ecx
add eax, 0x13c
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00418110
test eax, eax
jne 0x417a39
lea ecx, [esp + 0x10]
push 0x4d8340
push ecx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.00417df0
lea edx, [esp + 0x60]
mov eax, dword [esi + 0x1c]
push edx
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push eax
call fcn.0048fc90
mov ecx, dword [esi + 0x1c]
push ecx
jmp 0x417da9
test cl, cl
je 0x417db1
mov cl, byte [eax + 0xfc]
cmp cl, 4
je 0x417db1
mov edx, dword [eax + 0x130]
test edx, edx
jne 0x417db1
cmp byte [eax + 0xfd], 2
jne 0x417db1
cmp cl, 0x40
je 0x417db1
lea edx, [esp + 0x10]
push str.IDS_STS_PRE_COPY_FILE
push edx
call dword [0x4e610c]
add esp, 8
lea edi, [esi + 0xbc]
push eax
mov ecx, edi
mov byte [esp + 0x26c], 0x10
call fcn.004a5776
lea ecx, [esp + 0x10]
mov byte [esp + 0x268], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 4]
mov ecx, dword [0x4e60fc]
push 0
push eax
push 0x40c
push ecx
call ebx
mov edx, dword [esi + 8]
test byte [edx + 0x134], 1
je 0x417c54
lea eax, [esp + 0x60]
mov ecx, dword [esi + 0x1c]
push eax
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push ecx
call fcn.0048fc90
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x84]
push edx
push 0x9a
push eax
call fcn.0048fab0
lea ecx, [esp + 0x90]
mov edx, dword [esi + 0x1c]
push ecx
push 0x200
push 0
push 0
push 0
push 0xff
push 0x51
push pe_nt_image_headers32
push edx
call fcn.0048fc90
add esp, 0x54
push 0x1f4
call ebp
mov eax, dword [esi + 0x1c]
push eax
call fcn.0048f710
add esp, 4
cmp eax, 1
je 0x417b98
push 0x1f4
call ebp
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.0048f710
add esp, 4
mov eax, dword [esi + 8]
mov byte [esi + 0x117], 1
cmp dword [eax + 0x30], 1
jne 0x417bdd
push edi
push ecx
add eax, 0x138
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00417e90
test eax, eax
jne 0x417bdd
lea edx, [esp + 0x10]
push 0x4d8340
push edx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x417c1c
push edi
push ecx
add eax, 0x138
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00418110
test eax, eax
jne 0x417c1c
lea eax, [esp + 0x10]
push 0x4d8340
push eax
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.00417df0
lea ecx, [esp + 0x60]
mov edx, dword [esi + 0x1c]
push ecx
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push edx
call fcn.0048fc90
mov eax, dword [esi + 0x1c]
push eax
call fcn.0048f710
add esp, 0x28
mov ecx, dword [esi + 8]
test byte [ecx + 0x134], 2
je 0x417db1
lea edx, [esp + 0x60]
mov eax, dword [esi + 0x1c]
push edx
push 0x200
push 0
push 0
push 0x40
push 0
push 0x80
push 0xfa
push eax
call fcn.0048fc90
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x84]
push ecx
push 0x9a
push edx
call fcn.0048fab0
lea eax, [esp + 0x90]
mov ecx, dword [esi + 0x1c]
push eax
push 0x200
push 0
push 0
push 0
push 0xff
push 0x51
push pe_nt_image_headers32
push ecx
call fcn.0048fc90
add esp, 0x54
push 0x1f4
call ebp
mov edx, dword [esi + 0x1c]
push edx
call fcn.0048f710
add esp, 4
cmp eax, 1
je 0x417cf5
push 0x1f4
call ebp
mov eax, dword [esi + 0x1c]
push eax
call fcn.0048f710
add esp, 4
mov eax, dword [esi + 8]
mov byte [esi + 0x117], 2
cmp dword [eax + 0x30], 1
jne 0x417d3a
push edi
push ecx
add eax, 0x13c
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00417e90
test eax, eax
jne 0x417d3a
lea ecx, [esp + 0x10]
push 0x4d8340
push ecx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x417d79
push edi
push ecx
add eax, 0x13c
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004a57ee
mov ecx, esi
call fcn.00418110
test eax, eax
jne 0x417d79
lea edx, [esp + 0x10]
push 0x4d8340
push edx
mov dword [esp + 0x18], 0x90400
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.00417df0
lea eax, [esp + 0x60]
mov ecx, dword [esi + 0x1c]
push eax
push 0x200
push 0
push 0
push 0x20
push 0
push 0x80
push 0xfa
push ecx
call fcn.0048fc90
mov edx, dword [esi + 0x1c]
push edx
call fcn.0048f710
add esp, 0x28
mov ecx, esi
call fcn.00417df0
lea ecx, [esp + 0x40]
mov dword [esp + 0x268], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x25c
ret