Function at 0x43f190
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4a4f1c
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x4bdcf8]
xor eax, esp
mov dword [esp + 0x30c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bdcf8]
xor eax, esp
push eax
lea eax, [esp + 0x324]
mov dword fs:[0], eax
mov ebp, 1
push 0x518
mov dword [esp + 0x1c], ebp
call fcn.00476b22
add esp, 4
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x32c], ebx
cmp eax, ebx
je 0x43f1fd
mov ecx, eax
call fcn.00474980
mov edi, eax
jmp 0x43f1ff
xor edi, edi
or esi, 0xffffffff
push str.script.txt
mov ecx, edi
mov dword [esp + 0x330], esi
call fcn.004749c0
test eax, eax
jne 0x43f234
cmp edi, ebx
je 0x43f22d
mov ecx, edi
call fcn.004749a0
push edi
call fcn.00476a7f
add esp, 4
mov eax, ebp
jmp 0x43f649
push 0xff
lea eax, [esp + 0x225]
push ebx
push eax
mov byte [esp + 0x23], bl
mov byte [esp + 0x22c], bl
call fcn.0047cbe0
push 0xff
lea ecx, [esp + 0x31]
push ebx
push ecx
mov byte [esp + 0x38], bl
call fcn.0047cbe0
push 0xff
lea edx, [esp + 0x13d]
push ebx
push edx
mov byte [esp + 0x144], bl
call fcn.0047cbe0
push 0x1c
call fcn.00476b22
add esp, 0x28
mov dword [esp + 0x1c], eax
mov dword [esp + 0x32c], ebp
cmp eax, ebx
je 0x43f2a9
push 0x800
mov ecx, eax
call fcn.0046598d
mov ebp, eax
jmp 0x43f2ab
xor ebp, ebp
push ebx
mov ecx, edi
mov dword [esp + 0x330], esi
call fcn.00474b70
test eax, eax
je 0x43f610
lea esi, [edi + 0x418]
cmp byte [esi], bl
je 0x43f5d9
mov ecx, 0x4b49b0
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43f2f7
cmp dl, bl
je 0x43f2f3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43f2f7
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x43f2d7
xor eax, eax
jmp 0x43f2fc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x43f328
cmp byte [esp + 0x220], bl
je 0x43f318
lea eax, [esp + 0x220]
push eax
mov ecx, ebp
call fcn.00465f7b
mov byte [esp + 0x220], bl
mov byte [esp + 0x17], bl
jmp case.0x43f33d.1
movsx eax, byte [esp + 0x17]
cmp eax, 0x70
ja case.0x43f33d.1
movzx ecx, byte [eax + 0x43f68c]
jmp dword [ecx*4 + 0x43f674]
mov ecx, 0x4b49b4
mov eax, esi
jmp 0x43f350
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43f370
cmp dl, bl
je 0x43f36c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43f370
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x43f350
xor eax, eax
jmp 0x43f375
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x43f3d4
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x1b]
push eax
push str._c__s
push ecx
call fcn.00477aa7
add esp, 0x10
lea edx, [esp + 0x220]
push edx
mov ecx, ebp
call fcn.00465a36
test eax, eax
jne 0x43f3c8
lea eax, [esp + 0x220]
push eax
push 0x4b451c
push str.Error
call fcn.00465616
add esp, 0xc
mov dword [esp + 0x18], ebx
mov ecx, ebp
call fcn.00465e50
jmp case.0x43f33d.1
mov ecx, 0x4b49c0
mov eax, esi
jmp 0x43f3e0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43f400
cmp dl, bl
je 0x43f3fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43f400
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x43f3e0
xor eax, eax
jmp 0x43f405
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x43f42e
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0x20]
push ecx
push 0x4b1b20
push edx
call fcn.00477aa7
lea eax, [esp + 0x2c]
push eax
call fcn.00478d37
add esp, 0x10
jmp case.0x43f33d.1
mov ecx, str.copy
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43f455
cmp dl, bl
je 0x43f451
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43f455
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x43f435
xor eax, eax
jmp 0x43f45a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x43f495
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x24]
push edx
push str._s__s
push eax
call fcn.00477aa7
add esp, 0x10
push ebx
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp case.0x43f33d.1
mov ecx, str.move
mov eax, esi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43f4c0
cmp dl, bl
je 0x43f4bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43f4c0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x43f4a0
xor eax, eax
jmp 0x43f4c5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x43f51a
mov edx, dword [edi + 0x10]
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x24]
push ecx
push str._s__s
push edx
call fcn.00477aa7
lea eax, [esp + 0x130]
push eax
call fcn.00478d37
add esp, 0x14
push ebx
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [esp + 0x20]
push eax
call fcn.00478d37
add esp, 4
jmp case.0x43f33d.1
mov ecx, 0x4b49dc
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43f541
cmp dl, bl
je 0x43f53d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43f541
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x43f521
xor eax, eax
jmp 0x43f546
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne case.0x43f33d.1
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x24]
push edx
push str._s__s
push eax
call fcn.00477aa7
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00478d72
add esp, 0x18
jmp case.0x43f33d.1
push esi
mov ecx, ebp
call fcn.00465d19
test eax, eax
jne case.0x43f33d.1
push esi
push str.TarScriptInterpret:__s:_Cannot_extract
push str.Error
jmp 0x43f604
push esi
mov ecx, ebp
call fcn.00465e07
push esi
test eax, eax
je 0x43f5eb
call fcn.00478d37
add esp, 4
jmp case.0x43f33d.1
push esi
mov ecx, ebp
call fcn.00466357
push esi
test eax, eax
je 0x43f5f2
call fcn.00478d37
add esp, 4
jmp case.0x43f33d.1
push esi
mov ecx, ebp
call fcn.00465c9b
test eax, eax
je 0x43f5f9
cmp dword [esp + 0x18], ebx
je 0x43f610
push ebx
mov ecx, edi
call fcn.00474b70
test eax, eax
jne 0x43f2c8
jmp 0x43f610
push str.TarScriptInterpret:__s:_Cannot_patch
jmp 0x43f5ff
push str.TarScriptInterpret:__s:_Cannot_append
jmp 0x43f5ff
push esi
push str.TarScriptInterpret:__s:_Cannot_delete
push 0x4b4a30
call fcn.00465616
mov dword [esp + 0x24], ebx
add esp, 0xc
cmp ebp, ebx
je 0x43f624
mov ecx, ebp
call fcn.00466678
push ebp
call fcn.00476a7f
add esp, 4
cmp edi, ebx
je 0x43f638
mov ecx, edi
call fcn.004749a0
push edi
call fcn.00476a7f
add esp, 4
push str.script.txt
call fcn.00478d37
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30c]
xor ecx, esp
call fcn.004768b9
add esp, 0x31c
ret