Function at 0x40b450
Capabilities:
Copy file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d56b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x47b06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
lea ecx, [ebp - 0xa4]
call fcn.00424400
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0
call fcn.00401b10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
push ecx
cmovae eax, dword [ebp - 0x74]
lea ecx, [ebp - 0xa4]
push eax
call fcn.004245c0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0xc1], al
call fcn.00424e00
cmp byte [ebp - 0xc1], 0
jne 0x40b4f2
mov byte [ebp - 0xc1], 0
jmp 0x40b7a6
mov eax, 0xf
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x2c], 0
mov ecx, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x78], 0
je 0x40b70a
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00424ed0
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x40b5a6
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x40b572
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b568
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b81b
push edx
push ecx
call fcn.0042736a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0xac]
cmp edx, 0x10
jb 0x40b5e0
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b5d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b81b
push edx
push ecx
call fcn.0042736a
add esp, 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.00412450
mov byte [ebp - 4], 5
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x40b5f9
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
push 0
mov ecx, eax
call fcn.00401e00
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x30]
movq qword [ebp - 0xd0], xmm1
movups xmmword [ebp - 0xb8], xmm0
cmp edx, 0x10
jb 0x40b671
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b658
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b81b
push edx
push ecx
call fcn.0042736a
movups xmm0, xmmword [ebp - 0xb8]
add esp, 8
movq xmm1, qword [ebp - 0xd0]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x48]
movq qword [ebp - 0x34], xmm1
movups xmmword [ebp - 0x44], xmm0
cmp edx, 0x10
jb 0x40b6b2
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b6a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b81b
push edx
push ecx
call fcn.0042736a
add esp, 8
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
push 0
cmovae ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0xa4]
call fcn.00424840
lea ecx, [ebp - 0xa4]
call fcn.00424e00
cmp dword [ebp - 0x78], 0
jne 0x40b523
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0xc1], 1
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x40b74b
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x44]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b73e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b81b
push edx
push ecx
call fcn.0042736a
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x40b794
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b78a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b820
push edx
push ecx
call fcn.0042736a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x40b7da
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b7d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b825
push edx
push ecx
call fcn.0042736a
add esp, 8
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 6
call fcn.00424760
lea ecx, [ebp - 0xa4]
call fcn.004244a0
mov al, byte [ebp - 0xc1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00427329
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004421bc
call fcn.004421bc
call fcn.004421bc
int3