Function at 0x40ea80
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x476812
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov esi, ecx
push 0xc6
xor ebx, ebx
lea ecx, [esp + 0x4e]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x3c], esi
mov word [esp + 0x54], ax
call fcn.00443d20
xor eax, eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov word [esp + 0x52], ax
mov eax, dword [esi]
xor edx, edx
add esp, 0xc
mov word [esp + 0x34], dx
cmp eax, ebx
je 0x40eb05
mov eax, dword [eax]
jmp 0x40eb07
xor eax, eax
push 0xa
lea ecx, [esp + 0x38]
push ecx
push 0x64
lea edx, [esp + 0x54]
push edx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.00442682
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x148]
push eax
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x148], ebx
call fcn.00414540
add esp, 0x2c
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x24]
call fcn.004027e0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x120], 1
call fcn.004027e0
push 0x482c58
lea ecx, [esp + 0x20]
mov byte [esp + 0x120], 2
call fcn.004027e0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x124], 3
call fcn.0040a3f0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, eax
mov byte [esp + 0x124], 4
call fcn.0040a3f0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
mov byte [esp + 0x124], 5
call fcn.0040a3f0
mov eax, dword [esp + 0x2c]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
je 0x40ec1e
mov esi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x40ec12
cmp esi, ebx
je 0x40ec12
mov eax, dword [esi]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, ebx
je 0x40ebf3
push eax
call edi
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40ec03
push eax
call fcn.00422bf7
add esp, 4
push esi
call fcn.00422bf7
add esp, 4
mov dword [esp + 0x2c], ebx
jmp 0x40ec24
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x2c], ebx
jmp 0x40ec24
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x40ec60
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x40ec5c
cmp esi, ebx
je 0x40ec5c
mov eax, dword [esi]
cmp eax, ebx
je 0x40ec43
push eax
call edi
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40ec53
push eax
call fcn.00422bf7
add esp, 4
push esi
call fcn.00422bf7
add esp, 4
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x40ec94
lea ecx, [esi + 8]
push ecx
call ebp
test eax, eax
jne 0x40ec94
mov eax, dword [esi]
cmp eax, ebx
je 0x40ec7b
push eax
call edi
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40ec8b
push eax
call fcn.00422bf7
add esp, 4
push esi
call fcn.00422bf7
add esp, 4
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x40ecc8
lea edx, [esi + 8]
push edx
call ebp
test eax, eax
jne 0x40ecc8
mov eax, dword [esi]
cmp eax, ebx
je 0x40ecaf
push eax
call edi
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40ecbf
push eax
call fcn.00422bf7
add esp, 4
push esi
call fcn.00422bf7
add esp, 4
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x40ecfc
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x40ecfc
mov eax, dword [esi]
cmp eax, ebx
je 0x40ece3
push eax
call edi
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40ecf3
push eax
call fcn.00422bf7
add esp, 4
push esi
call fcn.00422bf7
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40ed08
mov ecx, dword [eax]
jmp 0x40ed0a
xor ecx, ecx
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
cmp eax, ebx
je 0x40ed18
mov eax, dword [eax]
jmp 0x40ed1a
xor eax, eax
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40ed67
mov esi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x40ed63
cmp esi, ebx
je 0x40ed63
mov eax, dword [esi]
cmp eax, ebx
je 0x40ed4a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40ed5a
push eax
call fcn.00422bf7
add esp, 4
push esi
call fcn.00422bf7
add esp, 4
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x40eda3
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x40eda3
cmp esi, ebx
je 0x40eda3
mov eax, dword [esi]
cmp eax, ebx
je 0x40ed8a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40ed9a
push eax
call fcn.00422bf7
add esp, 4
push esi
call fcn.00422bf7
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xfc]
xor ecx, esp
call fcn.004424e7
add esp, 0x10c
ret 4