Function at 0x463aa8
Capabilities:
Copy file
Get disk information
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x463ab0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, 0x46acc8
mov ebx, 0x46acb4
xor eax, eax
push ebp
push 0x464458
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x46acd8
mov ecx, 0x464470
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [0x46acd8]
call fcn.00408aa0
test al, al
je 0x463b0e
mov edx, 0x80
mov eax, dword [0x46acd8]
call fcn.00408ad4
mov eax, dword [0x46acd8]
call fcn.00408afc
mov eax, 0x46acd4
mov ecx, 0x464484
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [0x46acd4]
call fcn.00408aa0
test al, al
je 0x463b63
mov edx, 0x80
mov eax, dword [0x46acd4]
call fcn.00408ad4
push 0
mov eax, dword [0x46acd8]
call fcn.004049a4
push eax
mov eax, dword [0x46acd4]
call fcn.004049a4
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x46acd4]
call fcn.00408afc
lea eax, [ebp - 0x10]
mov ecx, 0x464494
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [ebp - 0x10]
call fcn.00408ab0
test al, al
je 0x463b95
lea eax, [ebp - 0x14]
mov ecx, 0x464494
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [ebp - 0x14]
call fcn.00461b64
mov eax, dword [0x468804]
mov eax, dword [eax]
call fcn.0045a5cc
lea eax, [ebp - 0x18]
mov ecx, 0x464494
mov edx, dword [esi]
call fcn.004047f0
mov edx, dword [ebp - 0x18]
mov eax, dword [0x46acc4]
call fcn.00461cd4
test al, al
jne 0x463c0e
mov eax, 0x4644a4
call fcn.004282e8
lea eax, [ebp - 0x1c]
mov ecx, 0x464494
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [ebp - 0x1c]
call fcn.00408ab0
test al, al
je 0x463bfd
lea eax, [ebp - 0x20]
mov ecx, 0x464494
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [ebp - 0x20]
call fcn.00461b64
mov eax, dword [0x468804]
mov eax, dword [eax]
call fcn.0045ad90
jmp 0x4643f0
lea eax, [ebp - 0x24]
mov ecx, 0x4644b8
mov edx, dword [esi]
call fcn.004047f0
mov edx, dword [ebp - 0x24]
mov eax, 0x4644d0
call fcn.00461944
lea edx, [ebp - 0x28]
mov eax, dword [esi]
call fcn.00408100
mov edx, dword [ebp - 0x28]
mov eax, esi
call fcn.00404538
mov eax, 0x46acc0
mov edx, 0x4644e0
call fcn.00404538
lea eax, [ebp - 0x2c]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [0x46acc4]
call fcn.00404a04
lea eax, [ebp - 0x2c]
mov edx, 0x464504
call fcn.004047ac
mov eax, dword [ebp - 0x2c]
call fcn.00408ab0
test al, al
je 0x463fa9
lea eax, [ebp - 0x30]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [esi]
call fcn.00404a04
mov eax, dword [ebp - 0x30]
call fcn.004049a4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
je 0x463d77
mov dword [ebx], 1
lea eax, [ebp - 0x34]
mov edx, dword [0x46acc0]
mov ecx, dword [ebx]
mov dl, byte [edx + ecx - 1]
call fcn.004046cc
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [esi]
call fcn.00404a04
mov edx, dword [ebp - 0x38]
pop eax
call fcn.004048f0
jne 0x463d54
mov al, byte [ebx]
call fcn.00408e10
cmp edx, 0
jne 0x463d01
cmp eax, 0xc800000
jbe 0x463d54
jmp 0x463d03
jle 0x463d54
lea eax, [ebp - 0x3c]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [0x46acc4]
call fcn.00404a04
lea eax, [ebp - 0x3c]
mov edx, 0x464504
call fcn.004047ac
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x464504
mov edx, dword [esi]
call fcn.004047f0
mov edx, dword [ebp - 0x40]
pop eax
call fcn.00461cd4
test al, al
jne 0x463d5f
mov eax, 0x464514
call fcn.004282e8
jmp 0x463d5f
inc dword [ebx]
cmp dword [ebx], 0x1b
jne 0x463cb4
cmp dword [ebx], 0x1a
jne 0x463fa9
mov eax, 0x464514
call fcn.004282e8
jmp 0x463fa9
lea eax, [ebp - 0x44]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [0x46acc4]
call fcn.00404a04
mov eax, dword [ebp - 0x44]
call fcn.004049a4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
je 0x463fa9
mov byte [ebp - 9], 0
mov eax, dword [0x46acc0]
call fcn.004047a4
mov edi, eax
test edi, edi
jle 0x463eaa
mov dword [ebx], 1
mov eax, dword [0x46acc0]
mov edx, dword [ebx]
mov al, byte [eax + edx - 1]
call fcn.00461da4
test al, al
je 0x463ea1
lea eax, [ebp - 0x48]
mov edx, dword [0x46acc0]
mov ecx, dword [ebx]
mov dl, byte [edx + ecx - 1]
call fcn.004046cc
lea eax, [ebp - 0x48]
mov edx, 0x464530
call fcn.004047ac
mov eax, dword [ebp - 0x48]
call fcn.004049a4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x463ea1
lea eax, [ebp - 0x4c]
mov edx, dword [0x46acc0]
mov ecx, dword [ebx]
mov dl, byte [edx + ecx - 1]
call fcn.004046cc
lea eax, [ebp - 0x4c]
mov edx, 0x46453c
call fcn.004047ac
mov eax, dword [ebp - 0x4c]
call fcn.00408ab0
test al, al
je 0x463ea1
lea eax, [ebp - 0x50]
mov edx, dword [0x46acc0]
mov ecx, dword [ebx]
mov dl, byte [edx + ecx - 1]
call fcn.004046cc
lea eax, [ebp - 0x50]
mov edx, 0x464550
call fcn.004047ac
mov eax, dword [ebp - 0x50]
call fcn.00408ab0
test al, al
je 0x463ea1
lea eax, [ebp - 0x54]
mov edx, dword [0x46acc0]
mov ecx, dword [ebx]
mov dl, byte [edx + ecx - 1]
call fcn.004046cc
lea eax, [ebp - 0x54]
mov edx, 0x464568
call fcn.004047ac
mov eax, dword [ebp - 0x54]
call fcn.00408aa0
test al, al
je 0x463ea1
mov byte [ebp - 9], 1
jmp 0x463eaa
inc dword [ebx]
dec edi
jne 0x463dc4
cmp byte [ebp - 9], 0
jne 0x463fa9
mov eax, dword [0x46acc0]
call fcn.004047a4
mov dword [ebx], eax
cmp dword [ebx], 0
jle 0x463f9a
mov eax, dword [0x46acc0]
mov edx, dword [ebx]
mov al, byte [eax + edx - 1]
call fcn.00461da4
test al, al
je 0x463f8f
lea eax, [ebp - 0x58]
mov edx, dword [0x46acc0]
mov ecx, dword [ebx]
mov dl, byte [edx + ecx - 1]
call fcn.004046cc
lea eax, [ebp - 0x58]
mov edx, 0x464530
call fcn.004047ac
mov eax, dword [ebp - 0x58]
call fcn.004049a4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x463f8f
mov al, byte [ebx]
call fcn.00408e10
cmp edx, 0
jne 0x463f2a
cmp eax, 0xc800000
jbe 0x463f8f
jmp 0x463f2c
jle 0x463f8f
lea eax, [ebp - 0x5c]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [0x46acc4]
call fcn.00404a04
lea eax, [ebp - 0x5c]
mov edx, 0x464504
call fcn.004047ac
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
mov edx, dword [0x46acc0]
mov ecx, dword [ebx]
mov dl, byte [edx + ecx - 1]
call fcn.004046cc
lea eax, [ebp - 0x60]
mov edx, 0x464584
call fcn.004047ac
mov edx, dword [ebp - 0x60]
pop eax
call fcn.00461cd4
test al, al
jne 0x463f9a
mov eax, 0x464514
call fcn.004282e8
jmp 0x463f9a
dec dword [ebx]
cmp dword [ebx], 0
jg 0x463ec9
cmp dword [ebx], 0
jne 0x463fa9
mov eax, 0x464514
call fcn.004282e8
mov eax, dword [0x468804]
mov eax, dword [eax]
call fcn.0045a67c
mov eax, 0x46acd8
mov ecx, 0x464598
mov edx, dword [esi]
call fcn.004047f0
push 0x4645ac
push 0xa
mov ecx, dword [0x469664]
mov dl, 1
mov eax, dword [0x412a58]
call fcn.00416bcc
mov ebx, eax
push 0
push 0
mov eax, ebx
call fcn.00416298
lea edx, [ebp - 8]
mov ecx, 4
mov eax, ebx
call fcn.004164a4
mov dl, 1
mov eax, dword [0x4129dc]
call fcn.00403744
mov dword [0x46ade0], eax
mov edx, dword [ebp - 8]
mov eax, dword [0x46ade0]
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45d2c0]
call fcn.0045d5a8
mov ebx, eax
mov eax, dword [0x46ade0]
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, ebx
call fcn.00403774
mov eax, dword [0x46ade0]
mov eax, dword [eax + 4]
mov dword [0x46acb0], eax
mov eax, dword [0x46acd0]
mov edx, 0x4645bc
call fcn.004048f0
jne 0x46428f
mov eax, dword [0x46accc]
mov edx, 0x4645c8
call fcn.004048f0
je 0x4640a1
mov eax, dword [0x46accc]
mov edx, 0x4645d4
call fcn.004048f0
jne 0x4640da
lea eax, [ebp - 0x64]
mov ecx, 0x4645e4
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [ebp - 0x64]
call fcn.00408aa0
test al, al
je 0x4640da
mov al, byte [0x4645ec]
push eax
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x320]
mov eax, ebx
call fcn.0043b4c0
mov eax, dword [ebp - 0x6c]
mov ecx, 0x4645f8
mov edx, 0x46460c
call fcn.0040d350
mov edx, dword [ebp - 0x68]
mov eax, ebx
call fcn.0043b4f0
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.0043b4c0
mov edx, dword [ebp - 0x70]
mov eax, 0x464620
call fcn.00404ae8
test eax, eax
jle 0x46413a
mov al, byte [0x4645ec]
push eax
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x320]
mov eax, ebx
call fcn.0043b4c0
mov eax, dword [ebp - 0x78]
mov ecx, 0x464634
mov edx, 0x464640
call fcn.0040d350
mov edx, dword [ebp - 0x74]
mov eax, ebx
call fcn.0043b4f0
jmp 0x4641bb
mov al, byte [0x4645ec]
push eax
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.0043b4c0
mov eax, dword [ebp - 0x88]
call fcn.004049a4
lea ecx, [ebp - 0x84]
mov edx, 0x46464c
call fcn.0045cd1c
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, 0x464658
call fcn.004047f0
mov eax, dword [ebp - 0x80]
push eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x320]
mov eax, ebx
call fcn.0043b4c0
mov eax, dword [ebp - 0x8c]
mov edx, 0x464640
pop ecx
call fcn.0040d350
mov edx, dword [ebp - 0x7c]
mov eax, ebx
call fcn.0043b4f0
push 0
push 0
mov eax, dword [0x46ade0]
call fcn.00416298
mov dl, 1
mov eax, dword [0x4129dc]
call fcn.00403744
mov dword [0x46ade4], eax
push 0
push 0x39593
mov edx, dword [0x46ade0]
mov eax, dword [0x46ade4]
call fcn.00416514
mov dl, 1
mov eax, dword [0x4129dc]
call fcn.00403744
mov dword [0x46ade0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov eax, dword [eax + 0x220]
mov edx, dword [0x46ade0]
mov ecx, dword [eax]
call dword [ecx + 0x78]
push 0
push 0
mov edx, dword [0x46ade0]
mov eax, dword [0x46ade4]
call fcn.00416514
mov edx, dword [0x46acd4]
mov eax, dword [0x46ade4]
call fcn.00416974
mov eax, dword [0x46ade0]
call fcn.00403774
mov eax, dword [0x46ade4]
call fcn.00403774
mov edx, 7
mov eax, dword [0x46acd4]
call fcn.00408ad4
mov eax, 0x46acd8
mov ecx, 0x464670
mov edx, dword [esi]
call fcn.004047f0
mov edx, 0x80
mov eax, dword [0x46acd8]
call fcn.00408ad4
mov eax, dword [0x46acd8]
call fcn.00408afc
jmp 0x4642ac
push 0
mov eax, dword [0x46acd4]
call fcn.004049a4
push eax
mov eax, dword [0x46acd8]
call fcn.004049a4
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [0x46acd0]
mov edx, 0x4645bc
call fcn.004048f0
jne 0x4643ce
mov eax, dword [0x46accc]
mov edx, 0x4645c8
call fcn.004048f0
jne 0x4642f4
lea eax, [ebp - 0x90]
mov ecx, 0x464688
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [ebp - 0x90]
call fcn.00408afc
jmp 0x4643ce
mov eax, 0x46acd4
mov ecx, 0x4646a0
mov edx, dword [esi]
call fcn.004047f0
mov eax, 0x46acd8
mov ecx, 0x4646a0
mov edx, dword [0x46acc4]
call fcn.004047f0
mov eax, dword [0x46acd4]
call fcn.00408aa0
test al, al
jne 0x464345
push 0
mov eax, dword [0x46acd4]
call fcn.004049a4
push eax
mov eax, dword [0x46acd8]
call fcn.004049a4
push eax
call sub.kernel32.dll_CopyFileA
mov edx, 7
mov eax, dword [0x46acd4]
call fcn.00408ad4
lea eax, [ebp - 0x94]
mov ecx, 0x4646b8
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [ebp - 0x94]
call fcn.00408aa0
test al, al
je 0x4643ce
lea eax, [ebp - 0x98]
mov ecx, 0x4646cc
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [ebp - 0x98]
push eax
lea eax, [ebp - 0x9c]
mov ecx, 0x464688
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [ebp - 0x9c]
pop edx
call fcn.00461c08
lea eax, [ebp - 0xa0]
mov ecx, 0x4646cc
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [ebp - 0xa0]
mov edx, 7
call fcn.00408ad4
lea eax, [ebp - 0xa4]
mov ecx, 0x464494
mov edx, dword [esi]
call fcn.004047f0
mov eax, dword [ebp - 0xa4]
mov edx, 7
call fcn.00408ad4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46445f
lea eax, [ebp - 0xa4]
mov edx, 6
call fcn.00404508
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.00404508
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.00404508
lea eax, [ebp - 0x78]
call fcn.004044e4
lea eax, [ebp - 0x74]
call fcn.004044e4
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.00404508
lea eax, [ebp - 0x68]
mov edx, 0x17
call fcn.00404508
ret