Function at 0x4b33d0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4ece18
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe8]
mov ebx, dword [esp + 0xe4]
mov ebp, dword [esp + 0xec]
push 1
xor edi, edi
xor ecx, ecx
push 0x4fea60
lea esi, [esp + 0xb8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], edi
mov word [esp + 0xbc], cx
call fcn.00401760
mov dword [esp + 0xdc], edi
xor edx, edx
mov eax, ebp
mov word [esp + 0x7c], dx
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b3480
sub eax, edx
sar eax, 1
push eax
push ebp
lea esi, [esp + 0x80]
call fcn.00401760
mov byte [esp + 0xdc], 1
mov eax, dword [esp + 0xb4]
mov ebp, 8
cmp dword [esp + 0xc8], ebp
jae 0x4b34c1
lea eax, [esp + 0xb4]
mov ecx, dword [esp + 0xc4]
push ecx
push eax
lea edx, [esp + 0x80]
push edx
call fcn.0043b890
lea edx, [eax + 1]
lea eax, [esp + 0x78]
push eax
or ecx, 0xffffffff
lea esi, [esp + 0x98]
call fcn.00408160
mov byte [esp + 0xdc], 2
mov eax, dword [esp + 0x98]
cmp dword [esp + 0xac], ebp
jae 0x4b350d
lea eax, [esp + 0x98]
push eax
push 0x50b534
mov esi, 0x104
push 0x5338c8
mov edx, esi
call fcn.00482330
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
add esp, 0xc
lea ecx, [esp + 0x1c]
xor edx, edx
xor eax, eax
push ecx
mov dword [esp + 0x20], 0x58
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], str.JPG_Files__.JPG_
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 0x5338c8
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0x533ad0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov word [esp + 0x58], dx
mov word [esp + 0x5a], ax
mov dword [esp + 0x5c], 0x50b52c
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x4b35f3
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], ebp
jae 0x4b35b5
lea eax, [esp + 0x7c]
mov edx, dword [esp + 0x38]
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [esp + 0x38]
mov ebp, 7
xor eax, eax
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], edi
mov word [ebx + 4], ax
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b35e0
sub eax, esi
sar eax, 1
push eax
push edx
jmp 0x4b360a
mov ebp, 7
xor eax, eax
push edi
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], edi
mov word [ebx + 4], ax
push 0x4feab8
mov esi, ebx
call fcn.00401760
mov esi, 8
cmp dword [esp + 0xac], esi
jb 0x4b362f
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004c8f17
add esp, 4
xor edx, edx
mov word [esp + 0x98], dx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ebp
cmp dword [esp + 0x90], esi
jb 0x4b365d
mov eax, dword [esp + 0x7c]
push eax
call fcn.004c8f17
add esp, 4
xor ecx, ecx
mov word [esp + 0x7c], cx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ebp
cmp dword [esp + 0xc8], esi
jb 0x4b368b
mov edx, dword [esp + 0xb4]
push edx
call fcn.004c8f17
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004c8f08
add esp, 0xcc
ret