Function at 0x4f4748
Capabilities:
Copy file
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4f4750
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f4af1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004f4c48
xor eax, eax
push ebp
push 0x4f4acc
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebx + 4]
sub al, 1
jb 0x4f4790
je 0x4f479f
dec al
je 0x4f47ae
jmp 0x4f47bb
push 0x4f4b00
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx + 0xc], eax
jmp 0x4f47bb
push 0x4f4b0c
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx + 0xc], eax
jmp 0x4f47bb
push 0x4f4b18
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx + 0xc], eax
cmp byte [ebx + 4], 3
jne 0x4f489f
test edi, edi
je 0x4f489f
cmp byte [ebx + 5], 3
jne 0x4f488f
push 0x4f4b2c
lea eax, [ebp - 0x14]
mov dl, byte [edi]
call fcn.0040475c
push dword [ebp - 0x14]
push 0x4f4b3c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404904
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409338
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
call fcn.004f1828
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
pop ecx
call fcn.00404890
mov eax, dword [ebp - 4]
call fcn.00409fa8
test al, al
jne 0x4f4832
mov eax, dword [ebp - 4]
call fcn.00409fcc
lea eax, [ebp - 8]
mov ecx, 0x4f4b48
mov edx, dword [ebp - 4]
call fcn.00404890
mov eax, edi
call fcn.00409f98
test al, al
je 0x4f4867
push 0
mov eax, dword [ebp - 8]
call fcn.00404a44
push eax
mov eax, edi
call fcn.00404a44
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x4f487c
push 0
mov eax, dword [ebp - 8]
call fcn.00404a44
push eax
push 0x4f4b54
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 8]
call fcn.00404a44
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx + 0xc], eax
jmp 0x4f489f
mov eax, edi
call fcn.00404a44
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx + 0xc], eax
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x4f48b3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4ad6
cmp byte [ebx + 4], 3
jne 0x4f499e
push 0x4f4b60
push esi
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
lea edx, [ebp - 0x24]
mov eax, edi
call fcn.0040a354
push dword [ebp - 0x24]
push 0x4f4b70
lea ecx, [ebp - 0x28]
mov edx, 8
mov eax, esi
call fcn.00409a50
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404904
mov eax, dword [ebp - 0x20]
call fcn.00404a44
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.0040477c
mov eax, dword [ebp - 0x1c]
mov dl, 6
call fcn.004f14f4
test esi, esi
je 0x4f4a8e
push 1
call esi
pop ecx
mov dword [ebx + 0x2c], eax
push 2
call esi
pop ecx
mov dword [ebx + 0x58], eax
push 3
call esi
pop ecx
mov dword [ebx + 0x40], eax
push 4
call esi
pop ecx
mov dword [ebx + 0x48], eax
push 5
call esi
pop ecx
mov dword [ebx + 0x5c], eax
push 6
call esi
pop ecx
mov dword [ebx + 0x60], eax
push 7
call esi
pop ecx
mov dword [ebx + 0x38], eax
push 8
call esi
pop ecx
mov dword [ebx + 0x3c], eax
push 9
call esi
pop ecx
mov dword [ebx + 0x54], eax
push 0xa
call esi
pop ecx
mov dword [ebx + 0x4c], eax
push 0xb
call esi
pop ecx
mov dword [ebx + 0x44], eax
push 0xc
call esi
pop ecx
mov dword [ebx + 0x50], eax
push 0xf
call esi
pop ecx
mov dword [ebx + 0x64], eax
cmp dword [ebx + 0x64], 0
jne 0x4f4a8e
push 0xd
call esi
pop ecx
mov dword [ebx + 0x64], eax
jmp 0x4f4a8e
push 0x4f4b7c
push esi
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x2c], eax
push 0x4f4b8c
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x58], eax
push 0x4f4b9c
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x40], eax
push 0x4f4bac
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x48], eax
push 0x4f4bbc
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x5c], eax
push 0x4f4bc8
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x60], eax
push 0x4f4bd4
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x30], eax
push 0x4f4be4
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x34], eax
push 0x4f4bf4
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x38], eax
push 0x4f4bfc
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x3c], eax
push 0x4f4c04
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x54], eax
push 0x4f4c14
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x4c], eax
push 0x4f4c24
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x44], eax
push 0x4f4c30
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x64], eax
push 0
xor ecx, ecx
mov edx, 6
mov eax, 9
call fcn.004f472c
mov dword [0x658268], eax
push 0
xor ecx, ecx
mov edx, 7
mov eax, 9
call fcn.004f472c
mov dword [0x65826c], eax
mov byte [ebx + 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4ad6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4af8
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404598
ret