Function at 0x452950
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4e3118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [0x52251c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push 8
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 3
call fcn.004bd709
mov eax, dword [eax]
mov esi, str.file:___
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4529cb
test cl, cl
je 0x4529c7
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4529cb
add eax, 2
add esi, 2
test cl, cl
jne 0x4529a3
xor eax, eax
jmp 0x4529d0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call fcn.004c5787
test bl, bl
je 0x452a2c
lea eax, [esp + 0x24]
push 8
push eax
lea ecx, [esp + 0x48]
call fcn.004bd5d4
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 4
call fcn.004c58c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 3
call fcn.004c5787
push 0x5c
push 0x2f
lea ecx, [esp + 0x48]
call fcn.004bd3e3
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [0x52790c]
call fcn.00454fe0
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
call fcn.004c58c0
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004bd781
inc eax
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004bd5d4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call fcn.004c58c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 3
call fcn.004c5787
push 0x5b
lea ecx, [esp + 0x14]
call fcn.004bd781
push 0x5d
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004bd781
mov ecx, dword [0x52251c]
mov dword [esp + 0x18], ecx
test esi, esi
mov byte [esp + 0x38], 6
jl 0x452af7
test eax, eax
jl 0x452af7
inc eax
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004bd5d4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 9
call fcn.004c58c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 6
call fcn.004c5787
lea eax, [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.004bd709
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0xa
call fcn.004c58c0
mov byte [esp + 0x38], 6
lea ecx, [esp + 0x24]
jmp 0x452b57
push 0x2e
lea ecx, [esp + 0x14]
call fcn.004bd781
mov esi, eax
lea ecx, [esp + 0x24]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.004bd5d4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 7
call fcn.004c58c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 6
call fcn.004c5787
lea edx, [esp + 0x24]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.004bd709
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 8
call fcn.004c58c0
mov byte [esp + 0x38], 6
lea ecx, [esp + 0x24]
call fcn.004c5787
call fcn.004d72f1
mov eax, dword [eax + 4]
lea ecx, [esp + 0x20]
add eax, 0xf0
push eax
call fcn.004c54fc
mov ecx, dword [0x52790c]
mov bl, 0xb
mov byte [esp + 0x38], bl
mov eax, dword [ecx + 0x554]
test eax, eax
je 0x452c29
mov eax, dword [0x52251c]
mov dword [esp + 0x24], eax
push 0
mov byte [esp + 0x3c], 0xc
call fcn.004d0b16
mov ecx, dword [eax + 0xf8]
add ecx, 0x200
push ecx
lea ecx, [esp + 0x28]
call fcn.004c58c0
mov ecx, dword [0x52790c]
lea edx, [esp + 0x24]
push edx
call fcn.004686a0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004c59b6
push 0x51c594
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x40], 0xd
push eax
call fcn.004c5a1c
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0xe
call fcn.004c58c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 0xd
call fcn.004c5787
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 0xc
call fcn.004c5787
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call fcn.004c5787
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00415840
add esp, 4
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.004c59b6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0xf
call fcn.004c58c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], bl
call fcn.004c5787
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004c54fc
call fcn.00452900
mov esi, eax
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.004c59b6
call fcn.00452900
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004c59b6
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0x10
call fcn.004c58c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], bl
call fcn.004c5787
test esi, esi
jne 0x452ce8
push 0xffffffffffffffff
push 0
push 0xb3
call fcn.004194a0
add esp, 0xc
jmp 0x452e3b
cmp esi, edi
jne 0x452d34
mov eax, dword [0x52700c]
push 0x69
test eax, eax
je 0x452d06
lea eax, [esp + 0x18]
push eax
call fcn.00417b10
add esp, 8
jmp 0x452d0f
lea ecx, [esp + 0x18]
call fcn.004c681c
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.004c5b9f
mov edx, dword [esp + 0x14]
mov ecx, dword [0x52790c]
push 1
push edx
call fcn.0046cf50
jmp 0x452e3b
test edi, edi
je 0x452d8c
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004c54fc
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x44], 0x11
call fcn.004c54fc
lea eax, [esp + 0x34]
mov byte [esp + 0x40], bl
push eax
call fcn.00415760
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0x12
call fcn.004c58c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], bl
call fcn.004c5787
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x452db6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x452e3b
jmp 0x452cd2
mov eax, dword [0x52700c]
push 0x6a
test eax, eax
je 0x452dd0
lea eax, [esp + 0x18]
push eax
call fcn.00417b10
add esp, 8
jmp 0x452dd9
lea ecx, [esp + 0x18]
call fcn.004c681c
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.004c5b9f
mov ecx, dword [0x52790c]
push 0
call fcn.004d0b16
push 0x51c420
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.004c5b63
mov edx, dword [esi + 0xf8]
lea ecx, [esp + 0x14]
add edx, 0x200
push edx
call fcn.004c5b9f
push 0xd
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004c54fc
mov ecx, dword [ebp + 0x520]
add ecx, 0x60
call fcn.00407a60
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 6
call fcn.004c5787
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call fcn.004c5787
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call fcn.004c5787
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.004c5787
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.004c5787
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4