Function at 0x4b7950
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fdba
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5abcc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], ecx
lea ecx, [ebp - 0x24]
call fcn.004096a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004096a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xe0]
add ecx, 0x1ec
call fcn.004a7b60
push eax
call fcn.004bae60
add esp, 4
movzx eax, al
test eax, eax
jne 0x4b7a82
lea ecx, [ebp - 0x2c]
call fcn.004096a0
mov byte [ebp - 4], 2
push str.The_destination_folder_does_not_exist__do_you_want_to_create_it_
push str.TransmitCreateFolder
lea ecx, [ebp - 0xb8]
push ecx
call fcn.00408ca0
add esp, 0xc
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409760
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.00408fa0
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004a7b60
push eax
call fcn.004f8f0b
cmp eax, 1
jne 0x4b7a4a
mov ecx, dword [ebp - 0xe0]
add ecx, 0x1ec
call fcn.004a7b60
push eax
call fcn.004bb0c0
add esp, 4
jmp 0x4b7a76
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00408fa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00408fa0
jmp 0x4b7f6d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00408fa0
lea ecx, [ebp - 0x18]
call fcn.00408880
mov byte [ebp - 4], 4
push 0
push 0
push 0x2001f
push 0
push 0
push str.OptionTransmit
push 0x5b3edc
lea ecx, [ebp - 0xc0]
push ecx
call fcn.00408ed0
add esp, 0xc
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
call fcn.004a7b60
push eax
push SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.00408a80
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xb9], al
lea ecx, [ebp - 0xc0]
call fcn.00408fa0
movzx edx, byte [ebp - 0xb9]
test edx, edx
je 0x4b7b1f
push 1
mov ecx, dword [ebp - 0xe0]
add ecx, 0x1ec
call fcn.004a7b60
push eax
push str.DestFolder
lea ecx, [ebp - 0x18]
call fcn.00408af0
lea ecx, [ebp - 0x18]
call fcn.00408900
mov eax, dword [ebp - 0xe0]
add eax, 0x1ec
push eax
lea ecx, [ebp - 0x20]
call fcn.004096c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00456160
sub eax, 1
push eax
lea ecx, [ebp - 0x20]
call fcn.0043cf60
movsx ecx, al
cmp ecx, 0x5c
je 0x4b7b5d
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00437c30
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0xe0]
call fcn.004f7c96
lea ecx, [ebp - 0x1c]
call fcn.004096a0
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], 0
jmp 0x4b7b8d
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp + 8]
call fcn.00456080
cmp dword [ebp - 0x30], eax
jge 0x4b7e17
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00452c20
push eax
lea ecx, [ebp - 0x24]
call fcn.00409760
lea ecx, [ebp - 0x24]
call fcn.004a7b60
push eax
lea ecx, [ebp - 0xc4]
push ecx
call fcn.004baa30
add esp, 8
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.00408e20
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xfc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00409760
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc8]
call fcn.00408fa0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc4]
call fcn.00408fa0
lea ecx, [ebp - 0x10]
call fcn.004a7b60
push eax
call fcn.004bac40
add esp, 4
movzx edx, al
test edx, edx
je 0x4b7dd7
cmp dword [ebp - 0x28], 1
je 0x4b7dcf
cmp dword [ebp - 0x28], 2
jne 0x4b7c77
lea ecx, [ebp - 0x10]
call fcn.00409d40
jmp 0x4b7dcf
push 0
lea ecx, [ebp - 0xb4]
call fcn.0046a390
mov byte [ebp - 4], 9
push 0x579460
push 0x57949c
lea eax, [ebp - 0xcc]
push eax
call fcn.00408ca0
add esp, 0xc
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x104]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00409760
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xcc]
call fcn.00408fa0
push 0x5794b4
lea ecx, [ebp - 0x1c]
call fcn.00408d80
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408d60
push str.Overwrite
push str.TransmitOverwriteInquireDlgCaption
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00408ca0
add esp, 0xc
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00409760
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd0]
call fcn.00408fa0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00409760
lea ecx, [ebp - 0xb4]
call fcn.004fb548
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0x43c
jg 0x4b7d87
cmp dword [ebp - 0x110], 0x43c
je 0x4b7d9e
cmp dword [ebp - 0x110], 2
je 0x4b7db9
cmp dword [ebp - 0x110], 0x43b
je 0x4b7d95
jmp 0x4b7dc0
cmp dword [ebp - 0x110], 0x43d
je 0x4b7da8
jmp 0x4b7dc0
mov dword [ebp - 0x28], 1
jmp 0x4b7dc0
lea ecx, [ebp - 0x10]
call fcn.00409d40
jmp 0x4b7dc0
lea ecx, [ebp - 0x10]
call fcn.00409d40
mov dword [ebp - 0x28], 2
jmp 0x4b7dc0
mov dword [ebp - 0x28], 3
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.0046a6a0
cmp dword [ebp - 0x28], 3
jne 0x4b7dd7
jmp 0x4b7e17
lea ecx, [ebp - 0x10]
call fcn.00408f80
movzx edx, al
test edx, edx
jne 0x4b7e00
push 0
lea ecx, [ebp - 0x10]
call fcn.004a7b60
push eax
lea ecx, [ebp - 0x24]
call fcn.004a7b60
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xe0]
add ecx, 0x74
call fcn.00437be0
jmp 0x4b7b84
mov ecx, dword [ebp - 0xe0]
call fcn.004f7cab
cmp dword [ebp - 0x28], 3
jne 0x4b7e7a
push str.User_cancel.
push str.PackInFolderCancel
lea ecx, [ebp - 0xd4]
push ecx
call fcn.00408ca0
add esp, 0xc
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x24]
call fcn.00409760
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.00408fa0
jmp 0x4b7f1c
push str.Pack_in_the_following_folder_successfully:
push str.PackInFolderSuccess
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00408ca0
add esp, 0xc
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x24]
call fcn.00409760
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd8]
call fcn.00408fa0
mov ecx, dword [ebp - 0xe0]
add ecx, 0x1ec
push ecx
push 0x57954c
lea edx, [ebp - 0xdc]
push edx
call fcn.0043ceb0
add esp, 0xc
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00408d60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xdc]
call fcn.00408fa0
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.004a7b60
push eax
call fcn.004f8f0b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.00408fa0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00408fa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004088b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00408fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00408fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4