Function at 0x48ea28
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff34
push ebx
push esi
push edi
mov dword [ebp - 0xbc], eax
lea ebx, [ebp - 0xb8]
mov eax, 0x4ca780
call fcn.004aad94
mov word [ebx + 0x10], 8
mov edx, 0x4c7184
lea eax, [ebp - 4]
call fcn.004b4e10
inc dword [ebx + 0x1c]
xor ecx, ecx
mov edx, dword [eax]
lea eax, [ebp - 8]
push edx
mov dword [ebp - 8], ecx
push eax
inc dword [ebx + 0x1c]
call fcn.0040a178
add esp, 8
lea eax, [ebp - 8]
mov eax, dword [eax]
call fcn.00473c34
xor edx, edx
mov dl, al
lea eax, [ebp - 8]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebx + 0x1c]
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004b4f38
pop ecx
test cl, cl
je 0x48ec85
push 0
mov edx, 0x4c7184
mov word [ebx + 0x10], 0x14
lea eax, [ebp - 0xc]
call fcn.004b4e10
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
xor eax, eax
push ecx
mov dword [ebp - 0x10], eax
push edx
inc dword [ebx + 0x1c]
call fcn.0040a178
add esp, 8
cmp dword [ebp - 0x10], 0
je 0x48eaf0
mov ecx, dword [ebp - 0x10]
jmp 0x48eaf5
mov ecx, 0x4c5f87
push ecx
mov edx, 0x4c717c
lea eax, [ebp - 0x14]
call fcn.004b4e10
inc dword [ebx + 0x1c]
xor edx, edx
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], edx
push ecx
inc dword [ebx + 0x1c]
call fcn.0040a178
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x48eb28
mov eax, dword [ebp - 0x18]
jmp 0x48eb2d
mov eax, 0x4c5f86
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
lea eax, [ebp - 0x18]
sete dl
and edx, 1
push edx
mov edx, 2
dec dword [ebx + 0x1c]
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b4f38
pop ecx
test cl, cl
je 0x48ec25
mov word [ebx + 0x10], 0x20
mov edx, 0x4c7184
lea eax, [ebp - 0x1c]
call fcn.004b4e10
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
xor eax, eax
push ecx
mov dword [ebp - 0x20], eax
push edx
inc dword [ebx + 0x1c]
call fcn.0040a178
xor eax, eax
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, 0x4c5f88
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.004b5578
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xbc]
mov ecx, 2
mov eax, dword [eax + 0x3f8]
mov edx, dword [edx]
call fcn.0049ff1c
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004b4f38
xor eax, eax
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x48f239
mov word [ebx + 0x10], 0x2c
mov edx, 0x4c717c
lea eax, [ebp - 0x28]
call fcn.004b4e10
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
call fcn.00483ef0
xor ecx, ecx
mov edx, 2
mov cl, al
cmp ecx, 1
sbb eax, eax
neg eax
push eax
lea eax, [ebp - 0x28]
dec dword [ebx + 0x1c]
call fcn.004b4f38
pop ecx
test cl, cl
je 0x48ec85
mov eax, dword [0x4d72e4]
mov eax, dword [eax]
call fcn.0043fa00
xor eax, eax
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x48f239
mov eax, dword [ebp - 0xbc]
call fcn.0048e92c
mov word [ebx + 0x10], 0x44
mov edx, 0x4c7184
lea eax, [ebp - 0x2c]
call fcn.004b4e10
inc dword [ebx + 0x1c]
xor ecx, ecx
mov edx, dword [eax]
lea eax, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], ecx
push eax
inc dword [ebx + 0x1c]
call fcn.0040a178
lea ecx, [ebp - 0x30]
add esp, 8
mov dl, 1
mov eax, dword [0x42a0b8]
mov ecx, dword [ecx]
call fcn.00407fe0
mov dword [ebp - 0xc0], eax
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004b4f38
mov word [ebx + 0x10], 0x38
xor ecx, ecx
mov dword [ebp - 0xc4], ecx
jmp 0x48f1c8
mov word [ebx + 0x10], 0x5c
xor eax, eax
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], eax
inc dword [ebx + 0x1c]
mov ecx, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xc4]
shl esi, 2
mov eax, dword [ecx + 0x390]
add eax, esi
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
call fcn.004739c4
lea edx, [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
inc dword [ebx + 0x1c]
mov eax, 0x4c5fa2
call fcn.004b5578
lea edx, [ebp - 0x3c]
push edx
mov edx, 0x4c5fa4
lea eax, [ebp - 0x40]
call fcn.004b4dd8
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x40]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x34]
pop eax
call fcn.004b4f90
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004b4f38
mov word [ebx + 0x10], 0x50
mov edx, 0x4c5fb4
lea eax, [ebp - 0x50]
call fcn.004b4dd8
inc dword [ebx + 0x1c]
mov edx, 0x4c5fa6
mov ecx, dword [eax]
lea eax, [ebp - 0x44]
push ecx
mov word [ebx + 0x10], 0x68
call fcn.004b4dd8
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x34]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x48]
call fcn.004b4f90
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x4c]
mov ecx, dword [edx]
mov edx, 0x4c5faf
push ecx
call fcn.004b4dd8
inc dword [ebx + 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc0]
pop edx
mov esi, dword [eax]
call dword [esi + 4]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004b4f38
mov word [ebx + 0x10], 0x74
mov edx, 0x4c5fb6
lea eax, [ebp - 0x54]
call fcn.004b4dd8
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xc4]
shl esi, 2
mov ecx, dword [eax + 0x390]
add ecx, esi
mov eax, dword [ecx]
add eax, 0x54
call fcn.004b4f68
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004b4f38
mov word [ebx + 0x10], 0x50
mov esi, 1
jmp 0x48f178
mov word [ebx + 0x10], 0x8c
xor eax, eax
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
mov eax, esi
inc dword [ebx + 0x1c]
call fcn.0048aa84
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x60]
inc dword [ebx + 0x1c]
mov eax, 0x4c5fb8
call fcn.004b5578
lea edx, [ebp - 0x60]
push edx
mov edx, 0x4c5fba
lea eax, [ebp - 0x64]
call fcn.004b4dd8
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x64]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x58]
pop eax
call fcn.004b4f90
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004b4f38
mov word [ebx + 0x10], 0x80
mov edx, 0x4c5fd3
lea eax, [ebp - 0x78]
call fcn.004b4dd8
inc dword [ebx + 0x1c]
mov edx, 0x4c5fc5
mov ecx, dword [eax]
lea eax, [ebp - 0x70]
push ecx
call fcn.004b4dd8
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x58]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x74]
call fcn.004b4f90
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x68]
mov ecx, dword [edx]
mov edx, 0x4c5fbc
push ecx
mov word [ebx + 0x10], 0x98
call fcn.004b4dd8
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x34]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x6c]
call fcn.004b4f90
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x6c]
pop ecx
mov edi, dword [eax]
mov edx, dword [edx]
call dword [edi + 4]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004b4f38
mov edx, 0x4c5fed
lea eax, [ebp - 0x8c]
call fcn.004b4dd8
inc dword [ebx + 0x1c]
mov edx, 0x4c5fde
mov ecx, dword [eax]
lea eax, [ebp - 0x84]
push ecx
call fcn.004b4dd8
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x58]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x88]
call fcn.004b4f90
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x7c]
mov ecx, dword [edx]
mov edx, 0x4c5fd5
push ecx
mov word [ebx + 0x10], 0xa4
call fcn.004b4dd8
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x34]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x80]
call fcn.004b4f90
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x80]
pop ecx
mov edi, dword [eax]
mov edx, dword [edx]
call dword [edi + 4]
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004b4f38
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004b4f38
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc4]
shl edx, 2
mov eax, esi
mov ecx, dword [ecx + 0x390]
dec eax
add ecx, edx
shl eax, 2
mov edx, dword [ecx]
add edx, 0x60
mov dword [ebp - 0xc8], edx
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 4]
xor edx, edx
add ecx, eax
mov eax, dword [ecx]
mov dword [eax + 0x30], edx
mov eax, esi
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc4]
shl edx, 2
dec eax
mov ecx, dword [ecx + 0x390]
add ecx, edx
shl eax, 2
mov edx, dword [ecx]
add edx, 0x60
mov dword [ebp - 0xcc], edx
mov edx, dword [ebp - 0xcc]
mov ecx, dword [edx + 4]
xor edx, edx
add ecx, eax
mov eax, dword [ecx]
mov dword [eax + 0x34], edx
lea eax, [ebp - 0x58]
dec dword [ebx + 0x1c]
mov edx, 2
call fcn.004b4f38
mov word [ebx + 0x10], 0x50
inc esi
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc4]
shl edx, 2
mov ecx, dword [eax + 0x390]
add ecx, edx
mov eax, dword [ecx]
add eax, 0x60
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
test edx, edx
jns 0x48f1a1
add edx, 3
sar edx, 2
cmp esi, edx
jbe 0x48eeac
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004b4f38
mov word [ebx + 0x10], 0x38
inc dword [ebp - 0xc4]
mov eax, dword [ebp - 0xbc]
add eax, 0x38c
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
test edx, edx
jns 0x48f1e0
add edx, 3
sar edx, 2
cmp edx, dword [ebp - 0xc4]
ja 0x48ed07
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0
je 0x48f22e
mov eax, dword [ebp - 0x94]
mov edx, dword [eax]
mov dword [ebp - 0x90], edx
mov word [ebx + 0x10], 0xbc
mov edx, 3
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebx + 0x10], 0xb0
mov al, 1
mov edx, dword [ebx]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret