Function at 0x412b60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3cb9
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4ff12c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
movzx edi, word [ebp + 0x1c]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xd0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc8], eax
cmp esi, eax
je 0x412dab
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0xc0]
call fcn.00405ba0
lea eax, [esi + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xa8]
call fcn.00405ba0
movzx eax, word [esi + 0x30]
mov word [ebp - 0x90], ax
cmp ax, di
jne 0x412d8d
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 3
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x412c25
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x412c31
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00406ee0
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x5c]
call fcn.0041aef0
lea edx, [ebp - 0xc0]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.0041aef0
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
mov ebx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x7c]
mov edi, dword [ebp - 0x5c]
cmovae eax, ebx
cmp dword [ebp - 0x48], 8
mov edx, dword [ebp - 0x4c]
cmovae ecx, edi
push eax
call fcn.0041bd00
add esp, 8
test eax, eax
je 0x412dd8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x412cdf
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x412cd2
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130b9
push ecx
push ebx
call fcn.0048ab28
mov edi, dword [ebp - 0x5c]
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
cmp eax, 8
jb 0x412d31
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x412d27
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130b9
push ecx
push edi
call fcn.0048ab28
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x412d83
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412d79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130b9
push edx
push ecx
call fcn.0048ab28
add esp, 8
movzx edi, word [ebp + 0x1c]
mov ebx, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0
call fcn.00412380
add esi, 0x34
cmp esi, dword [ebp - 0xc8]
jne 0x412bd0
mov esi, 1
lea ecx, [ebp + 8]
call fcn.0041a600
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048aaf4
mov esp, ebp
pop ebp
ret 0x1c
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov ebx, dword [ebp - 0xcc]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x412e21
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x412e15
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x44]
push eax
call fcn.00406ee0
mov esi, dword [ebp - 0xd0]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x412e51
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x412e38
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.0041e570
push 1
push 0x4eb494
lea ecx, [ebp - 0x44]
call fcn.0041e570
cmp dword [ebp - 0x60], 8
lea edx, [ebp - 0x74]
cmovae edx, dword [ebp - 0x74]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412e61
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.0041e570
lea eax, [ebp - 0x2c]
cmp eax, ebx
je 0x412e97
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x412e8b
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00406ee0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x412ebf
cmp dword [esi + 0x14], 8
jb 0x412ea6
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0041e570
push 1
push 0x4eb494
lea ecx, [ebp - 0x2c]
call fcn.0041e570
cmp dword [ebp - 0x94], 8
lea edx, [ebp - 0xa8]
cmovae edx, dword [ebp - 0xa8]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412ee0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0041e570
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push 0
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x18]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp edx, 8
jb 0x412f5b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412f51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130b9
push edx
push ecx
call fcn.0048ab28
add esp, 8
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x412fa9
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412f9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130be
push edx
push ecx
call fcn.0048ab28
add esp, 8
mov edx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x412ffa
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412ff0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130c3
push edx
push ecx
call fcn.0048ab28
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp edx, 8
jb 0x41304b
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413041
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130c8
push edx
push ecx
call fcn.0048ab28
add esp, 8
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x413095
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41308b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130cd
push edx
push ecx
call fcn.0048ab28
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.00412380
jmp 0x412db0
call fcn.004a6c47
call fcn.004a6c47
call fcn.004a6c47
call fcn.004a6c47
call fcn.004a6c47
int3