Function at 0x4030b0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42138b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x770
mov eax, dword [0x42a984]
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x774], eax
call fcn.00402f80
xor eax, eax
mov byte [esp + 0x248], 0
mov ecx, 0x40
lea edi, [esp + 0x249]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x140], 0
mov ecx, 0x40
lea edi, [esp + 0x141]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x458], 0
mov ecx, 0x40
lea edi, [esp + 0x459]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x38], 0
mov ecx, 0x40
lea edi, [esp + 0x39]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x668], 0
mov ecx, 0x40
lea edi, [esp + 0x669]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x560], 0
mov ecx, 0x40
lea edi, [esp + 0x561]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x350], 0
mov ecx, 0x40
lea edi, [esp + 0x351]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x84]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x88]
push eax
push ecx
push str.Update
push str.Captiv8
lea esi, [ebx + 0x1fc8]
push esi
push str._s_s_s_d__d_
lea edx, [esp + 0x260]
push 0x104
push edx
mov dword [esp + 0x7a4], 0
call fcn.004088fa
push str.C8HookGame.dat
push esi
push str._s_s
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.004088fa
push str.C8HookGame.dat
lea ecx, [esp + 0x280]
push ecx
push str._s_s
lea edx, [esp + 0x390]
push 0x104
push edx
call fcn.004088fa
add esp, 0x48
push str.c8HObject.dll
lea eax, [esp + 0x24c]
push eax
push str._s_s
lea ecx, [esp + 0x14c]
push 0x104
push ecx
call fcn.004088fa
push str.c8HEngine.dll
lea edx, [esp + 0x260]
push edx
push str._s_s
lea eax, [esp + 0x478]
push 0x104
push eax
call fcn.004088fa
push str.c8HObject.dll
push esi
push str._s_s
lea ecx, [esp + 0x69c]
push 0x104
push ecx
call fcn.004088fa
push str.c8HEngine.dll
push esi
push str._s_s
lea edx, [esp + 0x5a8]
push 0x104
push edx
call fcn.004088fa
add esp, 0x50
lea eax, [esp + 0x140]
push 0
push eax
call fcn.00408ca2
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
add esp, 8
cmp eax, 0xffffffff
je 0x4032ee
push 0
lea ecx, [esp + 0x564]
push ecx
lea edx, [esp + 0x460]
push edx
call esi
test eax, eax
je 0x4032ee
lea eax, [esp + 0x458]
push eax
call edi
lea ecx, [esp + 0x140]
push 0
push ecx
call fcn.00408ca2
add esp, 8
cmp eax, 0xffffffff
je 0x403327
push 0
lea edx, [esp + 0x66c]
push edx
lea eax, [esp + 0x148]
push eax
call esi
test eax, eax
je 0x403327
lea ecx, [esp + 0x140]
push ecx
call edi
lea edx, [esp + 0x38]
push 0
push edx
call fcn.00408ca2
add esp, 8
cmp eax, 0xffffffff
je 0x4033bb
lea eax, [esp + 0x350]
push 0
push eax
call fcn.00408ca2
add esp, 8
cmp eax, 0xffffffff
je 0x4033bb
lea eax, [esp + 0x38]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403360
sub eax, edx
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.004022f0
push 1
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x14]
call fcn.00406760
test al, al
je 0x4033bb
push 0
lea eax, [esp + 0x354]
push eax
lea ecx, [esp + 0x14]
call fcn.00406760
test al, al
je 0x4033bb
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x10]
call fcn.00405ee0
lea edx, [esp + 0x350]
push edx
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x784], 0xffffffff
call fcn.00402ff0
mov ecx, dword [esp + 0x77c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x774]
mov eax, 1
call fcn.00407f7f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret