Function at 0x10078ed0
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 0x100c2e4e
mov eax, dword fs:[0]
push eax
sub esp, 0x6ec
mov eax, dword [0x1010b070]
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 - 0x6e0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6e8], eax
mov eax, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x6e4], eax
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.1008dc90
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 0x10078f94
push str.TencentDeskUpdate_
lea eax, [ebp - 0x23c]
push eax
call esi
lea eax, [ebp - 0x23c]
push eax
call edi
test eax, eax
jne 0x10078f86
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 - 0x5f4]
push 0x10
call fcn.10073710
add esp, 4
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
call edi
test eax, eax
je 0x100790a9
push 0x208
lea eax, [ebp - 0x444]
push 0
push eax
call fcn.1008dc90
push 0x104
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x444]
push 0x104
push eax
call fcn.100907ee
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 0x10079093
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.10025cb9
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 0x10079080
push eax
call fcn.100956fc
add esp, 4
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x5f4]
call fcn.100732e0
test eax, eax
je 0x100790a9
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 - 0x4c0], 7
mov dword [ebp - 0x4c4], 0
mov word [ebp - 0x4d4], ax
cmp word [ebp - 0x23c], ax
jne 0x100790d3
xor ecx, ecx
jmp 0x100790ef
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100790e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x4d4]
call fcn.10001ddf
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x6dc]
add edi, 0x8c
mov ecx, edi
call fcn.10082a60
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x10079144
mov eax, dword [ecx]
jmp 0x10079146
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x4d4]
push edx
push eax
call fcn.10001b8f
mov ecx, edi
call fcn.10082470
mov dword [ebp - 0x4a8], 0xf
mov dword [ebp - 0x4ac], 0
mov byte [ebp - 0x4bc], 0
mov dword [ebp - 0x478], 0xf
mov dword [ebp - 0x47c], 0
mov byte [ebp - 0x48c], 0
mov dword [ebp - 0x460], 0xf
mov dword [ebp - 0x464], 0
mov byte [ebp - 0x474], 0
mov dword [ebp - 0x448], 0xf
mov dword [ebp - 0x44c], 0
mov byte [ebp - 0x45c], 0
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x474]
mov ecx, edi
push eax
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x4bc]
push eax
call fcn.10083080
push dword [ebp - 0x6e4]
xor esi, esi
lea eax, [ebp - 0x45c]
cmp dword [ebp - 0x448], 0x10
cmovae eax, dword [ebp - 0x45c]
push eax
call fcn.100a04e4
push dword [ebp - 0x6e0]
test eax, eax
mov ecx, 4
lea eax, [ebp - 0x48c]
cmovne esi, ecx
cmp dword [ebp - 0x478], 0x10
cmovae eax, dword [ebp - 0x48c]
push eax
call fcn.100a04e4
add esp, 0x10
test eax, eax
je 0x1007924a
or esi, 1
cmp dword [ebp - 0x460], 0x10
lea eax, [ebp - 0x474]
push dword [ebp - 0x6e8]
cmovae eax, dword [ebp - 0x474]
push eax
call fcn.100a04e4
add esp, 8
test eax, eax
je 0x10079274
or esi, 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6dc], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x100792a5
mov eax, dword [ecx]
jmp 0x100792a7
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x45c]
push 0
push eax
call fcn.100058d2
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x6f0], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x100792ef
mov eax, dword [ecx]
jmp 0x100792f1
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x474]
push 0
push eax
call fcn.100058d2
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x6f8], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x10079339
mov eax, dword [ecx]
jmp 0x1007933b
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x48c]
push 0
push eax
call fcn.100058d2
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1007937d
mov eax, dword [ecx]
jmp 0x1007937f
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x4bc]
push 0
push eax
call fcn.100058d2
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.10082b50
push esi
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x6f4], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100793cf
mov eax, dword [edx]
jmp 0x100793d1
mov eax, edx
mov esi, dword [ebp - 0x6e4]
mov byte [eax], 0
cmp byte [esi], 0
jne 0x100793e3
xor ecx, ecx
jmp 0x100793fd
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x6dc], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100793f0
sub ecx, dword [ebp - 0x6dc]
push ecx
push esi
mov ecx, edx
call fcn.10005859
sub esp, 0x18
mov byte [ebp - 4], 9
mov edx, esp
mov dword [ebp - 0x6f8], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1007943b
mov eax, dword [edx]
jmp 0x1007943d
mov eax, edx
mov esi, dword [ebp - 0x6e8]
mov byte [eax], 0
cmp byte [esi], 0
jne 0x1007944f
xor ecx, ecx
jmp 0x1007946d
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x6dc], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079460
sub ecx, dword [ebp - 0x6dc]
push ecx
push esi
mov ecx, edx
call fcn.10005859
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov edx, esp
mov dword [ebp - 0x6f0], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100794ab
mov eax, dword [edx]
jmp 0x100794ad
mov eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x6e0]
cmp byte [eax], 0
jne 0x100794bf
xor ecx, ecx
jmp 0x100794e3
mov ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x6dc], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100794d0
sub ecx, dword [ebp - 0x6dc]
mov eax, dword [ebp - 0x6e0]
push ecx
push eax
mov ecx, edx
call fcn.10005859
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1007951b
mov eax, dword [ecx]
jmp 0x1007951d
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x5f4]
push 0
push eax
call fcn.100058d2
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.10082e70
mov ecx, edi
call fcn.10083240
mov eax, dword [ebp - 0x448]
cmp eax, 0x10
jb 0x1007955f
inc eax
push 1
push eax
push dword [ebp - 0x45c]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x448], 0xf
mov dword [ebp - 0x44c], 0
mov byte [ebp - 0x45c], 0
cmp eax, 0x10
jb 0x10079597
inc eax
push 1
push eax
push dword [ebp - 0x474]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x460], 0xf
mov dword [ebp - 0x464], 0
mov byte [ebp - 0x474], 0
cmp eax, 0x10
jb 0x100795cf
inc eax
push 1
push eax
push dword [ebp - 0x48c]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x4a8]
mov dword [ebp - 0x478], 0xf
mov dword [ebp - 0x47c], 0
mov byte [ebp - 0x48c], 0
cmp eax, 0x10
jb 0x10079607
inc eax
push 1
push eax
push dword [ebp - 0x4bc]
call fcn.10001f08
add esp, 0xc
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x4c0]
mov dword [ebp - 0x4a8], 0xf
mov dword [ebp - 0x4ac], 0
mov byte [ebp - 0x4bc], 0
cmp eax, 8
jb 0x10079643
inc eax
push 2
push eax
push dword [ebp - 0x4d4]
call fcn.10001f08
add esp, 0xc
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 edi, eax
cmp edi, 0xffffffff
je 0x10079cd2
push 0
push 0x100d1e22
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x490], 0xf
mov dword [ebp - 0x494], 0
mov byte [ebp - 0x4a4], 0
call fcn.10005859
push str._Profile_
lea edx, [ebp - 0x4a4]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.100785e0
push 0x100f0a0c
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x654]
call fcn.10072f30
push str.config1
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x63c]
call fcn.10072f30
push 0x100f7f34
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x624]
call fcn.10072f30
lea ecx, [ebp - 0x5f4]
mov byte [ebp - 4], 0x10
push ecx
mov edx, eax
lea ecx, [ebp - 0x60c]
call fcn.10072e90
push 0x100f0a0c
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x54c]
call fcn.10072f30
push str.config2
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x534]
call fcn.10072f30
push 0x100f7f34
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x51c]
call fcn.10072f30
push dword [ebp - 0x6e0]
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x504]
call fcn.10072f30
push 0x100f0a0c
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x4ec]
call fcn.10072f30
push str.config3
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x5dc]
call fcn.10072f30
push 0x100f7f34
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x5c4]
call fcn.10072f30
push esi
mov edx, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x5ac]
call fcn.10072f30
push 0x100f0a0c
mov edx, eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x594]
call fcn.10072f30
push str.config4
mov edx, eax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x57c]
call fcn.10072f30
push 0x100f7f34
mov edx, eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x564]
call fcn.10072f30
add esp, 0x40
push dword [ebp - 0x6e4]
mov edx, eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x45c]
call fcn.10072f30
push 0x100f0a0c
mov edx, eax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x474]
call fcn.10072f30
push str.config5
mov edx, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x48c]
call fcn.10072f30
push 0x100f7f38
mov edx, eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x4bc]
call fcn.10072f30
push 0x100f0a0c
mov edx, eax
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x4d4]
call fcn.10072f30
add esp, 0x14
mov esi, eax
lea eax, [ebp - 0x4a4]
cmp eax, esi
je 0x100798bf
mov eax, dword [ebp - 0x490]
cmp eax, 0x10
jb 0x10079898
push 1
inc eax
push eax
push dword [ebp - 0x4a4]
call fcn.10001f08
add esp, 0xc
push esi
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x490], 0xf
mov dword [ebp - 0x494], 0
mov byte [ebp - 0x4a4], 0
call fcn.10007941
mov eax, dword [ebp - 0x4c0]
cmp eax, 0x10
jb 0x100798dc
push 1
inc eax
push eax
push dword [ebp - 0x4d4]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x4a8]
mov dword [ebp - 0x4c0], 0xf
mov dword [ebp - 0x4c4], 0
mov byte [ebp - 0x4d4], 0
cmp eax, 0x10
jb 0x10079914
push 1
inc eax
push eax
push dword [ebp - 0x4bc]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x4a8], 0xf
mov dword [ebp - 0x4ac], 0
mov byte [ebp - 0x4bc], 0
cmp eax, 0x10
jb 0x1007994c
push 1
inc eax
push eax
push dword [ebp - 0x48c]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x478], 0xf
mov dword [ebp - 0x47c], 0
mov byte [ebp - 0x48c], 0
cmp eax, 0x10
jb 0x10079984
push 1
inc eax
push eax
push dword [ebp - 0x474]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x460], 0xf
mov dword [ebp - 0x464], 0
mov byte [ebp - 0x474], 0
cmp eax, 0x10
jb 0x100799bc
push 1
inc eax
push eax
push dword [ebp - 0x45c]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x550]
mov dword [ebp - 0x448], 0xf
mov dword [ebp - 0x44c], 0
mov byte [ebp - 0x45c], 0
cmp eax, 0x10
jb 0x100799f4
push 1
inc eax
push eax
push dword [ebp - 0x564]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x568]
mov dword [ebp - 0x550], 0xf
mov dword [ebp - 0x554], 0
mov byte [ebp - 0x564], 0
cmp eax, 0x10
jb 0x10079a2c
push 1
inc eax
push eax
push dword [ebp - 0x57c]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x580]
mov dword [ebp - 0x568], 0xf
mov dword [ebp - 0x56c], 0
mov byte [ebp - 0x57c], 0
cmp eax, 0x10
jb 0x10079a64
push 1
inc eax
push eax
push dword [ebp - 0x594]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x580], 0xf
mov dword [ebp - 0x584], 0
mov byte [ebp - 0x594], 0
cmp eax, 0x10
jb 0x10079a9c
push 1
inc eax
push eax
push dword [ebp - 0x5ac]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x5b0]
mov dword [ebp - 0x598], 0xf
mov dword [ebp - 0x59c], 0
mov byte [ebp - 0x5ac], 0
cmp eax, 0x10
jb 0x10079ad4
push 1
inc eax
push eax
push dword [ebp - 0x5c4]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x5c8]
mov dword [ebp - 0x5b0], 0xf
mov dword [ebp - 0x5b4], 0
mov byte [ebp - 0x5c4], 0
cmp eax, 0x10
jb 0x10079b0c
push 1
inc eax
push eax
push dword [ebp - 0x5dc]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x4d8]
mov dword [ebp - 0x5c8], 0xf
mov dword [ebp - 0x5cc], 0
mov byte [ebp - 0x5dc], 0
cmp eax, 0x10
jb 0x10079b44
push 1
inc eax
push eax
push dword [ebp - 0x4ec]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x4d8], 0xf
mov dword [ebp - 0x4dc], 0
mov byte [ebp - 0x4ec], 0
cmp eax, 0x10
jb 0x10079b7c
push 1
inc eax
push eax
push dword [ebp - 0x504]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x508]
mov dword [ebp - 0x4f0], 0xf
mov dword [ebp - 0x4f4], 0
mov byte [ebp - 0x504], 0
cmp eax, 0x10
jb 0x10079bb4
push 1
inc eax
push eax
push dword [ebp - 0x51c]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x520]
mov dword [ebp - 0x508], 0xf
mov dword [ebp - 0x50c], 0
mov byte [ebp - 0x51c], 0
cmp eax, 0x10
jb 0x10079bec
push 1
inc eax
push eax
push dword [ebp - 0x534]
call fcn.10001f08
add esp, 0xc
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x520], 0xf
mov dword [ebp - 0x524], 0
mov byte [ebp - 0x534], 0
cmp eax, 0x10
jb 0x10079c24
push 1
inc eax
push eax
push dword [ebp - 0x54c]
call fcn.10001f08
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x60c]
mov dword [ebp - 0x538], 0xf
mov dword [ebp - 0x53c], 0
mov byte [ebp - 0x54c], 0
call fcn.10005804
push 0
push 1
lea ecx, [ebp - 0x624]
call fcn.10005804
push 0
push 1
lea ecx, [ebp - 0x63c]
call fcn.10005804
push 0
push 1
lea ecx, [ebp - 0x654]
call fcn.10005804
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10005804
cmp dword [ebp - 0x490], 0x10
lea ecx, [ebp - 0x6ec]
push 0
push ecx
push dword [ebp - 0x494]
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x6ec], 0
cmovae eax, dword [ebp - 0x4a4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x4a4]
call fcn.10005804
push 0
push 1
lea ecx, [ebp - 0x5f4]
call fcn.10005804
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.1008a777
mov esp, ebp
pop ebp
ret 0x14