Function at 0x463d00
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x519220]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
push edi
push 0x208
push 0
lea ebx, [eax + 4]
mov dword [ebp - 0x620], eax
push ebx
call fcn.00491400
add esp, 0xc
push 0x206
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push ebx
call fcn.0049c8df
add esp, 8
cmp byte [eax], 0
je 0x463d53
mov byte [eax + 1], 0
mov ecx, ebx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + 0x207], al
test al, al
jne 0x463d55
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00491400
lea edx, [ebp - 0x61c]
add esp, 0xc
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x463d84
lea ecx, [ebp - 0x61c]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x463d98
mov eax, dword [str.crash_]
mov dword [ecx], eax
mov ax, word [0x4eda30]
mov word [ecx + 4], ax
mov al, byte [0x4eda32]
mov byte [ecx + 6], al
lea eax, [ebp - 0x61c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00491400
lea edx, [ebp - 0x414]
add esp, 0xc
mov ecx, ebx
sub edx, ebx
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x463df0
mov edx, dword [0x52e410]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x463e05
lea edi, [ebp - 0x414]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x463e15
mov ecx, edx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x208
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00491400
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx - 0x61c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x20d], al
test al, al
jne 0x463e43
lea ecx, [ebp - 0x20c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x463e60
mov eax, dword [str.crash.dmp]
mov dword [ecx], eax
mov eax, dword [0x4eda38]
mov dword [ecx + 4], eax
mov ax, word [0x4eda3c]
mov word [ecx + 8], ax
lea eax, [ebp - 0x20c]
push 0
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00491400
lea ecx, [ebp - 0x20c]
add esp, 0xc
sub ecx, ebx
mov al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [ecx + ebx - 1], al
test al, al
jne 0x463eb7
mov edx, dword [0x52e414]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x463ed0
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x463ee0
mov ecx, edx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x208
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00491400
add esp, 0xc
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x61c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x415], al
test al, al
jne 0x463f10
lea ecx, [ebp - 0x414]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x463f30
mov eax, dword [str.errorlog.txt]
mov dword [ecx], eax
mov eax, dword [0x4eda44]
mov dword [ecx + 4], eax
mov eax, dword [0x4eda48]
mov dword [ecx + 8], eax
mov al, byte [0x4eda4c]
mov byte [ecx + 0xc], al
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00463fa0
mov esi, dword [ebp - 0x620]
lea eax, [ebp - 0x61c]
add esp, 8
mov ecx, esi
push eax
call fcn.004649c0
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x61c], eax
xor ecx, ebp
pop esi
pop ebx
call fcn.0048f1b0
mov esp, ebp
pop ebp
ret