Function at 0x40d0e0
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b9cb
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x43800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b0], edx
mov edi, ecx
mov dword [ebp - 0x2d8], edi
mov dword [ebp - 0x200], edi
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x278]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2d4], eax
xor eax, eax
push eax
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x2d0], edi
push 0x4335d8
mov dword [ebp - 0x2d0], esi
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.00409f20
lea eax, [ebp - 0x200]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
jne 0x40d22a
cmp dword [ebp - 0x264], 8
lea edx, [ebp - 0x278]
mov dword [edi], eax
cmovae edx, dword [ebp - 0x278]
mov ecx, edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d1b5
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00409f20
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x40d20d
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d203
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0dc
push edx
push ecx
call fcn.004165af
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004165a1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1fc]
push eax
push 0xf6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40e054
cmp eax, 0xf6
ja 0x40e054
mov ecx, esi
mov dword [ebp - 0x2cc], 0
xor eax, eax
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 7
mov word [ebp - 0x2cc], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d280
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2cc]
call fcn.00409f20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1fc]
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d2d0
sub ecx, edx
lea eax, [ebp - 0x1fc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00409f20
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x260]
call fcn.00409320
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40d359
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d34f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0dc
push edx
push ecx
call fcn.004165af
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2b8]
cmp edx, 8
jb 0x40d39d
mov ecx, dword [ebp - 0x2cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0dc
push edx
push ecx
call fcn.004165af
add esp, 8
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d3d7
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x24c], 8
lea esi, [ebp - 0x260]
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x230]
cmovae esi, dword [ebp - 0x260]
xor eax, eax
push eax
push 0x4335d8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00409f20
mov byte [ebp - 4], 6
cmp esi, 0x4335d8
je 0x40d4c4
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x2b0]
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x2ac], eax
lea eax, [ecx + 2]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov dword [ebp - 0x2b4], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d480
sub ecx, dword [ebp - 0x2b4]
sar ecx, 1
push ecx
push dword [ebp - 0x2b0]
mov ecx, edx
call fcn.00409f20
mov ecx, dword [ebp - 0x2ac]
lea edx, [ebp - 0x230]
call fcn.0040c590
add esp, 0x18
test eax, eax
js 0x40d4bd
xor esi, esi
jmp 0x40d4c9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 0x80004005
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40d50d
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d503
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0e1
push edx
push ecx
call fcn.004165af
add esp, 8
test esi, esi
js 0x40e008
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x2ac]
push 0
push ecx
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2ac], 0
push ecx
push 0
push 0
push 0
push 0
push 0xe
lea eax, [ebp - 0x260]
mov dword [ebp - 0x2b0], 0
cmovae eax, dword [ebp - 0x260]
mov esi, 0x80004005
push 0x400
push eax
push 1
mov dword [ebp - 0x200], eax
call dword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
je 0x40d5fa
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x40d5e3
cmp dword [ebp - 0x2b0], 0
je 0x40d5d8
push 0
lea ecx, [ebp - 0x2b4]
push ecx
push 2
push 0
push 0
push eax
call dword [sym.imp.CRYPT32.dll_CryptMsgGetAndVerifySigner]
test eax, eax
je 0x40d5d2
push dword [ebp - 0x2ac]
mov edx, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2b4]
call fcn.00416160
add esp, 4
xor ecx, ecx
test eax, eax
cmovne esi, ecx
push dword [ebp - 0x2b4]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x40d5e3
push eax
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
mov eax, dword [ebp - 0x2b0]
test eax, eax
je 0x40d5f6
push 0
push eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
test esi, esi
je 0x40d608
push dword [ebp - 0x200]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
js 0x40e008
mov esi, dword [ebp - 0x2d4]
cmp esi, 0x4335d8
je 0x40dfe2
mov ecx, esi
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d650
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x248]
call fcn.00409f20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
mov eax, dword [ebp - 0x238]
cmovae ecx, dword [ebp - 0x248]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
cmp eax, ecx
je 0x40d7c8
cmp word [eax - 2], 0x5c
je 0x40d7c8
push 1
xor eax, eax
mov dword [ebp - 0x2cc], 0
push 0x433214
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 7
mov word [ebp - 0x2cc], ax
call fcn.00409f20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2cc]
cmp dword [ebp - 0x2b8], 8
mov esi, dword [ebp - 0x238]
cmovae ecx, dword [ebp - 0x2cc]
mov eax, dword [ebp - 0x234]
mov edx, dword [ebp - 0x2bc]
sub eax, esi
mov dword [ebp - 0x200], ecx
mov dword [ebp - 0x2d4], esi
cmp edx, eax
ja 0x40d769
cmp dword [ebp - 0x234], 8
lea edi, [edx + esi]
mov eax, dword [ebp - 0x2d4]
lea esi, [ebp - 0x248]
cmovae esi, dword [ebp - 0x248]
mov dword [ebp - 0x238], edi
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x200]
push ecx
call fcn.00418010
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x2d8]
jmp 0x40d784
push edx
push ecx
mov byte [ebp - 0x2d8], 0
lea ecx, [ebp - 0x248]
push dword [ebp - 0x2d8]
push edx
call fcn.00409190
mov ecx, dword [ebp - 0x2cc]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2b8]
cmp eax, 8
jb 0x40d7c8
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d7be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0f0
push edx
push ecx
call fcn.004165af
add esp, 8
mov esi, dword [ebp - 0x2d0]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 7
mov word [ebp - 0x2cc], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d800
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2cc]
call fcn.00409f20
mov byte [ebp - 4], 9
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
push eax
push ecx
lea ecx, [ebp - 0x2cc]
call fcn.00409640
mov dword [ebp - 0x218], 0
xor ecx, ecx
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x218], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x208], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x2b8]
cmp edx, 8
jb 0x40d8d3
mov ecx, dword [ebp - 0x2cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d8c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0e6
push edx
push ecx
call fcn.004165af
add esp, 8
xor eax, eax
mov dword [ebp - 0x2bc], 0
mov ecx, esi
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2b8], 7
mov word [ebp - 0x2cc], ax
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], 7
lea edx, [ecx + 2]
mov word [ebp - 0x2f0], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d912
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2f0]
call fcn.00409f20
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x230]
push 7
xor eax, eax
mov dword [ebp - 0x230], 0
push str.Backup_
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00409f20
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
push eax
push ecx
lea ecx, [ebp - 0x230]
call fcn.00409640
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2cc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2bc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x2cc]
push eax
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x290]
call fcn.00409320
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x2b8]
cmp edx, 8
jb 0x40da27
mov ecx, dword [ebp - 0x2cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40da1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0eb
push edx
push ecx
call fcn.004165af
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40da6b
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40da61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0eb
push edx
push ecx
call fcn.004165af
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x2dc]
cmp edx, 8
jb 0x40dacc
mov ecx, dword [ebp - 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dac2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0eb
push edx
push ecx
call fcn.004165af
add esp, 8
mov ecx, esi
mov dword [ebp - 0x2cc], 0
xor eax, eax
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 7
mov word [ebp - 0x2cc], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40db00
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2cc]
call fcn.00409f20
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x230]
push 7
xor eax, eax
mov dword [ebp - 0x230], 0
push str.Backup_
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00409f20
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1fc]
xor eax, eax
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2e0], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40db90
sub ecx, edx
lea eax, [ebp - 0x1fc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00409f20
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x308]
call fcn.00409320
lea eax, [ebp - 0x2cc]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2a8]
call fcn.00409320
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x2f4]
cmp edx, 8
jb 0x40dc3c
mov ecx, dword [ebp - 0x308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0f0
push edx
push ecx
call fcn.004165af
add esp, 8
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x2dc]
cmp edx, 8
jb 0x40dc80
mov ecx, dword [ebp - 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0f0
push edx
push ecx
call fcn.004165af
add esp, 8
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40dcc4
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dcba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0f0
push edx
push ecx
call fcn.004165af
add esp, 8
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x2b8]
cmp edx, 8
jb 0x40dd08
mov ecx, dword [ebp - 0x2cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dcfe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0f0
push edx
push ecx
call fcn.004165af
add esp, 8
cmp dword [ebp - 0x204], 8
lea eax, [ebp - 0x218]
cmovae eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
test eax, eax
je 0x40de2f
cmp dword [ebp - 0x27c], 8
lea ecx, [ebp - 0x290]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x290]
cmp dword [ebp - 0x204], 8
push ecx
cmovae eax, dword [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x40de89
cmp dword [ebp - 0x204], 8
lea eax, [ebp - 0x218]
cmovae eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40de12
cmp dword [ebp - 0x204], 8
lea ecx, [ebp - 0x218]
push 0
cmovae ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
push ecx
cmovae eax, dword [ebp - 0x260]
push eax
call esi
test eax, eax
jne 0x40ddec
cmp dword [ebp - 0x204], 8
lea ecx, [ebp - 0x218]
push 0
cmovae ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x290]
cmp dword [ebp - 0x27c], 8
push ecx
cmovae eax, dword [ebp - 0x290]
push eax
call esi
jmp 0x40de12
cmp dword [ebp - 0x204], 8
lea eax, [ebp - 0x218]
push dword [ebp - 0x208]
cmovae eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x278]
push eax
call fcn.00409f20
cmp dword [ebp - 0x27c], 8
lea eax, [ebp - 0x290]
cmovae eax, dword [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40de89
cmp dword [ebp - 0x204], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x260]
cmovae ecx, dword [ebp - 0x218]
cmp dword [ebp - 0x24c], 8
push ecx
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40de89
cmp dword [ebp - 0x204], 8
lea eax, [ebp - 0x218]
push dword [ebp - 0x208]
cmovae eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x278]
push eax
call fcn.00409f20
mov edx, dword [ebp - 0x294]
cmp edx, 8
jb 0x40dec9
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40debf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0f0
push edx
push ecx
call fcn.004165af
add esp, 8
mov edx, dword [ebp - 0x27c]
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
cmp edx, 8
jb 0x40df26
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40df1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0f0
push edx
push ecx
call fcn.004165af
add esp, 8
mov edx, dword [ebp - 0x204]
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
cmp edx, 8
jb 0x40df83
mov ecx, dword [ebp - 0x218]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40df79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0f0
push edx
push ecx
call fcn.004165af
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 7
mov word [ebp - 0x218], ax
cmp edx, 8
jb 0x40e008
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dfd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e0f0
push edx
push ecx
call fcn.004165af
add esp, 8
jmp 0x40e008
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push dword [ebp - 0x250]
cmovae eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x278]
push eax
call fcn.00409f20
movups xmm0, xmmword [ebp - 0x278]
mov edx, dword [ebp - 0x24c]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x268]
movq qword [edi + 0x10], xmm0
cmp edx, 8
jb 0x40d20d
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
jmp 0x40d1e5
cmp dword [ebp - 0x264], 8
lea edx, [ebp - 0x278]
mov dword [edi], 0
cmovae edx, dword [ebp - 0x278]
xor eax, eax
mov ecx, edx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e086
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00409f20
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x40d20d
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d203
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d203
call fcn.00419a7c
call fcn.00419a7c
call fcn.00419a7c
call fcn.00419a7c
call fcn.00419a7c
int3