Function at 0x462400
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x16c], ecx
lea ecx, [ebp - 0x4c]
call fcn.004219a0
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004da520
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00424f20
push eax
lea ecx, [ebp - 0x168]
call fcn.0044a2f0
mov ecx, eax
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0x174]
call fcn.004131e0
lea ecx, [ebp - 0x168]
call fcn.00421ba0
lea edx, [ebp - 0x190]
push edx
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.00418cd0
push eax
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x194]
push ecx
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.0042fc70
mov ecx, eax
call fcn.00413ae0
movzx edx, al
test edx, edx
je case.0x4624e0.3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
sub ecx, 1
mov dword [ebp - 0x178], ecx
cmp dword [ebp - 0x178], 0xc
ja case.0x4624e0.3
mov edx, dword [ebp - 0x178]
movzx eax, byte [edx + 0x4627f0]
jmp dword [eax*4 + 0x4627e4]
mov dword [ebp - 0x180], 0
lea ecx, [ebp - 0x174]
push ecx
lea edx, [ebp - 0x17c]
push edx
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.0042fc70
lea eax, [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.00418cd0
push eax
lea ecx, [ebp - 0x17c]
call fcn.00413ae0
movzx ecx, al
test ecx, ecx
je 0x46261e
sub esp, 0x18
mov esi, esp
mov ecx, 0x6fbb3c
call fcn.00422c50
push eax
mov ecx, esi
call fcn.004219c0
lea edx, [ebp - 0x1c]
push edx
call fcn.006069e5
add esp, 0x1c
lea ecx, [ebp - 0x17c]
call fcn.00413b70
mov eax, dword [eax + 8]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00606e1a
add esp, 8
mov ecx, eax
call fcn.00424f20
push eax
lea ecx, [ebp - 0x1c]
call fcn.0044de90
lea ecx, [ebp - 0x64]
call fcn.00421c30
push 0x6895d0
lea ecx, [ebp - 0x1c]
call fcn.0044de90
lea ecx, [ebp - 0x34]
call fcn.004219a0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004da540
add esp, 8
push 0
lea ecx, [ebp - 0x1c]
call fcn.00424f20
push eax
lea ecx, [ebp - 0x34]
call fcn.00424f20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x174]
push ecx
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.00451240
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.00418ca0
movzx edx, al
test edx, edx
je 0x46260e
mov dword [ebp - 0x180], 1
lea ecx, [ebp - 0x34]
call fcn.00421c30
lea ecx, [ebp - 0x1c]
call fcn.00421c30
cmp dword [ebp - 0x180], 0
je 0x462636
push 1
mov ecx, dword [ebp - 0x16c]
call fcn.00465e80
jmp case.0x4624e0.1
mov ecx, dword [ebp - 0x16c]
call fcn.00463cb0
mov dword [ebp - 0x184], 0
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.00418ca0
movzx eax, al
test eax, eax
jne case.0x4624e0.3
lea ecx, [ebp - 0x174]
push ecx
lea edx, [ebp - 0x170]
push edx
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.0042fc70
lea eax, [ebp - 0x19c]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.00418cd0
push eax
lea ecx, [ebp - 0x170]
call fcn.00413ae0
movzx ecx, al
test ecx, ecx
je 0x4626ec
mov dword [ebp - 0x184], 1
push 0
mov ecx, dword [ebp - 0x16c]
call fcn.00465e80
mov edx, dword [ebp - 0x170]
push edx
lea eax, [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.00449940
jmp case.0x4624e0.3
lea ecx, [ebp - 0x174]
call fcn.0040dd70
movzx ecx, al
test ecx, ecx
je case.0x4624e0.3
lea edx, [ebp - 0x1a4]
push edx
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.00418b90
mov eax, dword [eax]
mov dword [ebp - 0x170], eax
lea ecx, [ebp - 0x188]
push ecx
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.00418cd0
jmp 0x462747
lea ecx, [ebp - 0x170]
call fcn.00413c20
lea edx, [ebp - 0x188]
push edx
lea ecx, [ebp - 0x170]
call fcn.00413ae0
movzx eax, al
test eax, eax
je case.0x4624e0.3
lea ecx, [ebp - 0x170]
call fcn.00413b70
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 0xc]
jne 0x4627ab
mov dword [ebp - 0x184], 1
push 0
mov ecx, dword [ebp - 0x16c]
call fcn.00465e80
mov edx, dword [ebp - 0x170]
push edx
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x16c]
add ecx, 0x6ac
call fcn.00449940
jmp case.0x4624e0.3
jmp 0x46273c
mov dword [ebp - 0x18c], 0
lea ecx, [ebp - 0x174]
call fcn.00413870
lea ecx, [ebp - 0x4c]
call fcn.00421c30
mov eax, dword [ebp - 0x18c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 0x10