Function at 0x45ffd0
Capabilities:
Check if file exists
Copy file
Get common file path
Read .ini file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d6ad
mov eax, dword fs:[0]
push eax
sub esp, 0x6f0
mov eax, dword [0x550144]
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 - 0x6dc], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6e8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6e0], eax
mov eax, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x6e4], eax
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.004e0230
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
js 0x460094
push str.TencentDeskUpdate_
lea eax, [ebp - 0x23c]
push eax
call esi
lea eax, [ebp - 0x23c]
push eax
call edi
test eax, eax
jne 0x460086
lea eax, [ebp - 0x23c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.GlobalMgr.db
lea eax, [ebp - 0x23c]
push eax
call esi
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x654]
push 0x10
call fcn.00455d30
add esp, 4
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
call edi
test eax, eax
je 0x4601a8
push 0x208
lea eax, [ebp - 0x444]
push 0
push eax
call fcn.004e0230
push 0x104
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x444]
push 0x104
push eax
call fcn.004f3925
add esp, 0x1c
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.GlobalMgrBack.db
lea eax, [ebp - 0x444]
push eax
call esi
lea eax, [ebp - 0x444]
push eax
call edi
test eax, eax
je 0x460192
lea eax, [ebp - 0x6d4]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x6d8], eax
lea ecx, [ebp - 0x6d8]
xorps xmm0, xmm0
lea eax, [ebp - 0x23c]
push 3
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.00463ab0
push dword [ebp - 0x6d8]
lea eax, [ebp - 0x34]
push 0x21
push eax
push 0
push str.config1
push str.Profile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x6d8]
lea ecx, [ebp - 0x6d4]
cmp eax, ecx
je 0x460180
push eax
call fcn.004e7ead
add esp, 4
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x654]
call fcn.00455a70
test al, al
jne 0x4601a8
push 0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
xor eax, eax
mov dword [ebp - 0x4bc], 0
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a8], 7
lea edx, [ecx + 2]
mov word [ebp - 0x4bc], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4601e0
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4bc]
call fcn.0044a760
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x6dc]
add edi, 0x8c
mov ecx, edi
call fcn.0046c5f0
sub esp, 0x18
lea eax, [ebp - 0x4bc]
mov ecx, esp
push eax
call fcn.0044ae50
mov ecx, edi
call fcn.0046c120
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0xf
mov byte [ebp - 0x4a4], 0
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c0], 0xf
mov byte [ebp - 0x4d4], 0
lea eax, [ebp - 0x4d4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x45c]
mov ecx, edi
push eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x4a4]
push eax
call fcn.0046cbf0
push dword [ebp - 0x6e4]
xor esi, esi
lea eax, [ebp - 0x4d4]
cmp dword [ebp - 0x4c0], 0x10
cmovae eax, dword [ebp - 0x4d4]
push eax
call fcn.004f561e
push dword [ebp - 0x6e8]
test eax, eax
mov ecx, 4
lea eax, [ebp - 0x474]
cmovne esi, ecx
cmp dword [ebp - 0x460], 0x10
cmovae eax, dword [ebp - 0x474]
push eax
call fcn.004f561e
add esp, 0x10
test eax, eax
je 0x460342
or esi, 1
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
push dword [ebp - 0x6e0]
cmovae eax, dword [ebp - 0x45c]
push eax
call fcn.004f561e
add esp, 8
test eax, eax
je 0x46036c
or esi, 2
sub esp, 0x18
lea eax, [ebp - 0x4d4]
mov ecx, esp
mov dword [ebp - 0x6dc], esp
push eax
call fcn.0044f070
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x6f8], esp
mov ecx, esp
push eax
call fcn.0044f070
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x474]
mov dword [ebp - 0x6f4], esp
mov ecx, esp
push eax
call fcn.0044f070
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp - 0x4a4]
mov ecx, esp
push eax
call fcn.0044f070
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0046c740
push esi
mov esi, dword [ebp - 0x6e4]
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x6ec], esp
mov ecx, esi
mov dword [edx], 0
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x6dc], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460410
sub ecx, dword [ebp - 0x6dc]
push ecx
push esi
mov ecx, edx
call fcn.0044c0b0
mov esi, dword [ebp - 0x6e0]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 4], 9
mov ecx, esi
mov dword [ebp - 0x6f4], esp
mov dword [edx], 0
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x6dc], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460460
sub ecx, dword [ebp - 0x6dc]
push ecx
push esi
mov ecx, edx
call fcn.0044c0b0
mov esi, dword [ebp - 0x6e8]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 4], 0xa
mov ecx, esi
mov dword [ebp - 0x6f8], esp
mov dword [edx], 0
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov dword [ebp - 0x6dc], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4604b0
sub ecx, dword [ebp - 0x6dc]
push ecx
push esi
mov ecx, edx
call fcn.0044c0b0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x654]
mov ecx, esp
push eax
call fcn.0044f070
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0046ca20
mov ecx, edi
call fcn.0046cd80
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x4c0]
cmp edx, 0x10
jb 0x46052b
mov ecx, dword [ebp - 0x4d4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x460521
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46158b
push edx
push ecx
call fcn.004de45a
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x448]
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c0], 0xf
mov byte [ebp - 0x4d4], 0
cmp edx, 0x10
jb 0x460584
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46057a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46158b
push edx
push ecx
call fcn.004de45a
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
cmp edx, 0x10
jb 0x4605dd
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4605d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46158b
push edx
push ecx
call fcn.004de45a
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x490]
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
cmp edx, 0x10
jb 0x460636
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46062c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46158b
push edx
push ecx
call fcn.004de45a
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x4a8]
cmp edx, 8
jb 0x46067a
mov ecx, dword [ebp - 0x4bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460670
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46158b
push edx
push ecx
call fcn.004de45a
add esp, 8
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x461538
push 0
mov dword [ebp - 0x48c], 0
lea ecx, [ebp - 0x48c]
push 0x535d00
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
call fcn.0044c0b0
mov byte [ebp - 4], 0xc
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x47c]
sub eax, ecx
cmp eax, 9
jb 0x461590
cmp dword [ebp - 0x478], 0x10
lea eax, [ebp - 0x48c]
push 9
cmovae eax, dword [ebp - 0x48c]
push str._Profile_
push ecx
push eax
push ecx
push dword [ebp - 0x6ec]
lea ecx, [ebp - 0x2c]
call fcn.00455980
push 0x536b44
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call fcn.00455910
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4a4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x494], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push str.config1
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0xe
call fcn.00455910
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4bc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4ac], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x536b4c
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 0xf
call fcn.00455910
mov dword [ebp - 0x51c], 0
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x508], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x51c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x50c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x654]
mov byte [ebp - 4], 0x10
push eax
lea edx, [ebp - 0x51c]
lea ecx, [ebp - 0x63c]
call fcn.004557e0
add esp, 4
push 0x536b44
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00455910
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x504], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4f4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x12
push str.config2
lea ecx, [ebp - 0x504]
call fcn.00455910
mov dword [ebp - 0x4ec], 0
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4ec], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4dc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x536b4c
lea ecx, [ebp - 0x4ec]
mov byte [ebp - 4], 0x13
call fcn.00455910
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x610], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x624], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x614], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x6e8]
lea ecx, [ebp - 0x624]
mov byte [ebp - 4], 0x14
call fcn.00455910
mov dword [ebp - 0x60c], 0
mov dword [ebp - 0x5fc], 0
mov dword [ebp - 0x5f8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x60c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5fc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x536b44
lea ecx, [ebp - 0x60c]
mov byte [ebp - 4], 0x15
call fcn.00455910
mov dword [ebp - 0x5f4], 0
mov dword [ebp - 0x5e4], 0
mov dword [ebp - 0x5e0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5f4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5e4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push str.config3
lea ecx, [ebp - 0x5f4]
mov byte [ebp - 4], 0x16
call fcn.00455910
mov dword [ebp - 0x5dc], 0
mov dword [ebp - 0x5cc], 0
mov dword [ebp - 0x5c8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5dc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5cc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x536b4c
lea ecx, [ebp - 0x5dc]
mov byte [ebp - 4], 0x17
call fcn.00455910
mov dword [ebp - 0x5c4], 0
mov dword [ebp - 0x5b4], 0
mov dword [ebp - 0x5b0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5b4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x6e0]
lea ecx, [ebp - 0x5c4]
mov byte [ebp - 4], 0x18
call fcn.00455910
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x59c], 0
mov dword [ebp - 0x598], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5ac], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x59c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x536b44
lea ecx, [ebp - 0x5ac]
mov byte [ebp - 4], 0x19
call fcn.00455910
mov dword [ebp - 0x594], 0
mov dword [ebp - 0x584], 0
mov dword [ebp - 0x580], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x594], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x584], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push str.config4
lea ecx, [ebp - 0x594]
mov byte [ebp - 4], 0x1a
call fcn.00455910
mov dword [ebp - 0x57c], 0
mov dword [ebp - 0x56c], 0
mov dword [ebp - 0x568], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x57c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x56c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x536b4c
lea ecx, [ebp - 0x57c]
mov byte [ebp - 4], 0x1b
call fcn.00455910
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x564], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x554], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x6e4]
lea ecx, [ebp - 0x564]
mov byte [ebp - 4], 0x1c
call fcn.00455910
mov dword [ebp - 0x54c], 0
mov dword [ebp - 0x53c], 0
mov dword [ebp - 0x538], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x53c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x536b44
lea ecx, [ebp - 0x54c]
mov byte [ebp - 4], 0x1d
call fcn.00455910
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x524], 0
mov dword [ebp - 0x520], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x534], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x524], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push str.config5
lea ecx, [ebp - 0x534]
mov byte [ebp - 4], 0x1e
call fcn.00455910
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x45c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x536b48
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 0x1f
call fcn.00455910
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x474], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x464], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x536b44
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 0x20
call fcn.00455910
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 - 0x478]
movq qword [ebp - 0x6f0], xmm1
movups xmmword [ebp - 0x4cc], xmm0
cmp edx, 0x10
jb 0x460e15
mov ecx, dword [ebp - 0x48c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x460dfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
movups xmm0, xmmword [ebp - 0x4cc]
add esp, 8
movq xmm1, qword [ebp - 0x6f0]
mov edx, dword [ebp - 0x460]
movq qword [ebp - 0x47c], xmm1
movups xmmword [ebp - 0x48c], xmm0
cmp edx, 0x10
jb 0x460e5e
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x460e54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x448]
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
cmp edx, 0x10
jb 0x460eb3
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x460ea9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x520]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
cmp edx, 0x10
jb 0x460f08
mov ecx, dword [ebp - 0x534]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x460efe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x538]
mov dword [ebp - 0x524], 0
mov dword [ebp - 0x520], 0xf
mov byte [ebp - 0x534], 0
cmp edx, 0x10
jb 0x460f5d
mov ecx, dword [ebp - 0x54c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x460f53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x550]
mov dword [ebp - 0x53c], 0
mov dword [ebp - 0x538], 0xf
mov byte [ebp - 0x54c], 0
cmp edx, 0x10
jb 0x460fb2
mov ecx, dword [ebp - 0x564]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x460fa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x568]
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], 0xf
mov byte [ebp - 0x564], 0
cmp edx, 0x10
jb 0x461007
mov ecx, dword [ebp - 0x57c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x460ffd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x580]
mov dword [ebp - 0x56c], 0
mov dword [ebp - 0x568], 0xf
mov byte [ebp - 0x57c], 0
cmp edx, 0x10
jb 0x46105c
mov ecx, dword [ebp - 0x594]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x461052
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x598]
mov dword [ebp - 0x584], 0
mov dword [ebp - 0x580], 0xf
mov byte [ebp - 0x594], 0
cmp edx, 0x10
jb 0x4610b1
mov ecx, dword [ebp - 0x5ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4610a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x5b0]
mov dword [ebp - 0x59c], 0
mov dword [ebp - 0x598], 0xf
mov byte [ebp - 0x5ac], 0
cmp edx, 0x10
jb 0x461106
mov ecx, dword [ebp - 0x5c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4610fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x5c8]
mov dword [ebp - 0x5b4], 0
mov dword [ebp - 0x5b0], 0xf
mov byte [ebp - 0x5c4], 0
cmp edx, 0x10
jb 0x46115b
mov ecx, dword [ebp - 0x5dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x461151
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x5e0]
mov dword [ebp - 0x5cc], 0
mov dword [ebp - 0x5c8], 0xf
mov byte [ebp - 0x5dc], 0
cmp edx, 0x10
jb 0x4611b0
mov ecx, dword [ebp - 0x5f4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4611a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x5f8]
mov dword [ebp - 0x5e4], 0
mov dword [ebp - 0x5e0], 0xf
mov byte [ebp - 0x5f4], 0
cmp edx, 0x10
jb 0x461205
mov ecx, dword [ebp - 0x60c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4611fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x610]
mov dword [ebp - 0x5fc], 0
mov dword [ebp - 0x5f8], 0xf
mov byte [ebp - 0x60c], 0
cmp edx, 0x10
jb 0x46125a
mov ecx, dword [ebp - 0x624]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x461250
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x4d8]
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x610], 0xf
mov byte [ebp - 0x624], 0
cmp edx, 0x10
jb 0x4612af
mov ecx, dword [ebp - 0x4ec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4612a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x4f0]
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d8], 0xf
mov byte [ebp - 0x4ec], 0
cmp edx, 0x10
jb 0x461304
mov ecx, dword [ebp - 0x504]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4612fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x628]
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 0xf
mov byte [ebp - 0x504], 0
cmp edx, 0x10
jb 0x461359
mov ecx, dword [ebp - 0x63c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46134f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x508]
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x628], 0xf
mov byte [ebp - 0x63c], 0
cmp edx, 0x10
jb 0x4613ae
mov ecx, dword [ebp - 0x51c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4613a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x4a8]
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x508], 0xf
mov byte [ebp - 0x51c], 0
cmp edx, 0x10
jb 0x461403
mov ecx, dword [ebp - 0x4bc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4613f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x490]
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a8], 0xf
mov byte [ebp - 0x4bc], 0
cmp edx, 0x10
jb 0x461458
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46144e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0xf
mov byte [ebp - 0x4a4], 0
cmp edx, 0x10
jb 0x4614a7
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46149d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461595
push edx
push ecx
call fcn.004de45a
add esp, 8
cmp dword [ebp - 0x478], 0x10
lea ecx, [ebp - 0x6fc]
push 0
push ecx
push dword [ebp - 0x47c]
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x6fc], 0
cmovae eax, dword [ebp - 0x48c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x478]
cmp edx, 0x10
jb 0x46151d
mov ecx, dword [ebp - 0x48c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x461513
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46159a
push edx
push ecx
call fcn.004de45a
add esp, 8
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
mov edx, dword [ebp - 0x640]
cmp edx, 0x10
jb 0x46156e
mov ecx, dword [ebp - 0x654]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x461564
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46159a
push edx
push ecx
call fcn.004de45a
add esp, 8
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.004de46d
mov esp, ebp
pop ebp
ret 0x14
call fcn.004e364a
call fcn.0044a5f0
call fcn.004e364a
call fcn.004e364a
int3