Function at 0x475b20
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5870bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x140]
mov dword [esp + 0x130], 1
call fcn.00568c20
mov eax, dword [0x5f9f88]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x13c]
mov ebx, 2
or ebp, 0xffffffff
mov byte [esp + 0x130], bl
test eax, eax
je 0x475ba2
lea edi, [eax + 0x5168]
mov ecx, ebp
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x475bf2
push 0x104
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5fe7d8
call fcn.0056877a
lea ecx, [esp + 0x20]
push ecx
call fcn.00441aa0
add esp, 8
mov ecx, eax
mov byte [esp + 0x134], 3
call fcn.0040d0c0
lea edx, [esp + 0x28]
push eax
push edx
call fcn.0043a0b0
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], bl
call fcn.0056870c
push 1
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0056877a
call fcn.004416c0
mov ecx, dword [0x5f9f88]
add esp, 8
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x144]
mov byte [esp + 0x130], 4
test eax, eax
jne 0x475c31
push 0x5ea198
jmp 0x475c4a
cmp eax, 1
jne 0x475c3d
push 0x5e9bdc
jmp 0x475c4a
cmp eax, ebx
jne 0x475df8
push 0x5e9be8
lea ecx, [esp + 0x18]
call fcn.00568895
mov edx, dword [esp + 0x140]
push 0x5e9234
push edx
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x475d0c
mov eax, dword [esp + 0x148]
test eax, eax
je 0x475d0c
push 0x5e9230
lea ecx, [esp + 0x144]
call fcn.00568895
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s_feiq_s_08x._s
push ecx
call fcn.00563eb4
mov edx, dword [esp + 0x28]
push edx
call fcn.0043ea50
add esp, 0x1c
test al, al
jne 0x475d46
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00568481
push ecx
lea edx, [esp + 0x140]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x13c], 5
call fcn.00568481
mov byte [esp + 0x138], 4
call fcn.0046e220
add esp, 8
jmp 0x475daa
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s_feiq_s_08x._s
push ecx
call fcn.00563eb4
mov edx, dword [esp + 0x28]
push edx
call fcn.0043ea50
add esp, 0x1c
test al, al
je 0x475d95
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], bl
call fcn.0056870c
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.0056870c
lea ecx, [esp + 0x138]
mov byte [esp + 0x130], 0
call fcn.0056870c
lea ecx, [esp + 0x140]
mov dword [esp + 0x130], ebp
call fcn.0056870c
mov eax, ebx
jmp 0x475e42
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x138]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x130], bl
call fcn.0056870c
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.0056870c
lea ecx, [esp + 0x138]
mov byte [esp + 0x130], 0
call fcn.0056870c
lea ecx, [esp + 0x140]
mov dword [esp + 0x130], ebp
call fcn.0056870c
mov eax, esi
jmp 0x475e42
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], bl
call fcn.0056870c
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.0056870c
lea ecx, [esp + 0x138]
mov byte [esp + 0x130], 0
call fcn.0056870c
lea ecx, [esp + 0x140]
mov dword [esp + 0x130], ebp
call fcn.0056870c
xor eax, eax
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x124
ret 0x14