Function at 0x48fe30
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, 0x4cd06c
call fcn.004ad4bc
mov word [ebx + 0x10], 8
mov edx, 0x4cae88
lea eax, [ebp - 4]
call fcn.004b7538
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.0040b85c
add esp, 8
lea eax, [ebp - 8]
mov eax, dword [eax]
call fcn.0047a73c
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.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004b7660
pop ecx
test cl, cl
je 0x49008d
push 0
mov edx, 0x4cae88
mov word [ebx + 0x10], 0x14
lea eax, [ebp - 0xc]
call fcn.004b7538
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.0040b85c
add esp, 8
cmp dword [ebp - 0x10], 0
je 0x48fef8
mov ecx, dword [ebp - 0x10]
jmp 0x48fefd
mov ecx, 0x4c9c1e
push ecx
mov edx, 0x4cae80
lea eax, [ebp - 0x14]
call fcn.004b7538
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.0040b85c
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x48ff30
mov eax, dword [ebp - 0x18]
jmp 0x48ff35
mov eax, 0x4c9c1d
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.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b7660
pop ecx
test cl, cl
je 0x49002d
mov word [ebx + 0x10], 0x20
mov edx, 0x4cae88
lea eax, [ebp - 0x1c]
call fcn.004b7538
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.0040b85c
xor eax, eax
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, 0x4c9c1f
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.004b7ca0
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xbc]
mov ecx, 2
mov eax, dword [eax + 0x3f8]
mov edx, dword [edx]
call fcn.004a14b8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004b7660
xor eax, eax
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x490641
mov word [ebx + 0x10], 0x2c
mov edx, 0x4cae80
lea eax, [ebp - 0x28]
call fcn.004b7538
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
call fcn.0048a26c
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.004b7660
pop ecx
test cl, cl
je 0x49008d
mov eax, dword [0x4da0ec]
mov eax, dword [eax]
call fcn.00446508
xor eax, eax
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x490641
mov eax, dword [ebp - 0xbc]
call fcn.0048fd34
mov word [ebx + 0x10], 0x44
mov edx, 0x4cae88
lea eax, [ebp - 0x2c]
call fcn.004b7538
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.0040b85c
lea ecx, [ebp - 0x30]
add esp, 8
mov dl, 1
mov eax, dword [0x430bc0]
mov ecx, dword [ecx]
call fcn.00408520
mov dword [ebp - 0xc0], eax
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004b7660
mov word [ebx + 0x10], 0x38
xor ecx, ecx
mov dword [ebp - 0xc4], ecx
jmp 0x4905d0
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.0047a4cc
lea edx, [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
inc dword [ebx + 0x1c]
mov eax, 0x4c9c39
call fcn.004b7ca0
lea edx, [ebp - 0x3c]
push edx
mov edx, 0x4c9c3b
lea eax, [ebp - 0x40]
call fcn.004b7500
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.004b76b8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004b7660
mov word [ebx + 0x10], 0x50
mov edx, 0x4c9c4b
lea eax, [ebp - 0x50]
call fcn.004b7500
inc dword [ebx + 0x1c]
mov edx, 0x4c9c3d
mov ecx, dword [eax]
lea eax, [ebp - 0x44]
push ecx
mov word [ebx + 0x10], 0x68
call fcn.004b7500
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.004b76b8
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x4c]
mov ecx, dword [edx]
mov edx, 0x4c9c46
push ecx
call fcn.004b7500
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.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004b7660
mov word [ebx + 0x10], 0x74
mov edx, 0x4c9c4d
lea eax, [ebp - 0x54]
call fcn.004b7500
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, 0x5c
call fcn.004b7690
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004b7660
mov word [ebx + 0x10], 0x50
mov esi, 1
jmp 0x490580
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.00422520
lea edx, [ebp - 0x5c]
xor ecx, ecx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x60]
inc dword [ebx + 0x1c]
mov eax, 0x4c9c4f
call fcn.004b7ca0
lea edx, [ebp - 0x60]
push edx
mov edx, 0x4c9c51
lea eax, [ebp - 0x64]
call fcn.004b7500
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.004b76b8
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004b7660
mov word [ebx + 0x10], 0x80
mov edx, 0x4c9c6a
lea eax, [ebp - 0x78]
call fcn.004b7500
inc dword [ebx + 0x1c]
mov edx, 0x4c9c5c
mov ecx, dword [eax]
lea eax, [ebp - 0x70]
push ecx
call fcn.004b7500
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.004b76b8
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x68]
mov ecx, dword [edx]
mov edx, 0x4c9c53
push ecx
mov word [ebx + 0x10], 0x98
call fcn.004b7500
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.004b76b8
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.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004b7660
mov edx, 0x4c9c84
lea eax, [ebp - 0x8c]
call fcn.004b7500
inc dword [ebx + 0x1c]
mov edx, 0x4c9c75
mov ecx, dword [eax]
lea eax, [ebp - 0x84]
push ecx
call fcn.004b7500
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.004b76b8
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x7c]
mov ecx, dword [edx]
mov edx, 0x4c9c6c
push ecx
mov word [ebx + 0x10], 0xa4
call fcn.004b7500
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.004b76b8
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.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004b7660
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004b7660
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, 0x68
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 + 0x48], 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, 0x68
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 + 0x4c], edx
lea eax, [ebp - 0x58]
dec dword [ebx + 0x1c]
mov edx, 2
call fcn.004b7660
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, 0x68
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
test edx, edx
jns 0x4905a9
add edx, 3
sar edx, 2
cmp esi, edx
jbe 0x4902b4
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004b7660
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 0x4905e8
add edx, 3
sar edx, 2
cmp edx, dword [ebp - 0xc4]
ja 0x49010f
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0
je 0x490636
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