Function at 0x689690
Capabilities:
Delete file
Get file size
Read file on windows
Resolve function by parsing pe exports
Set file attributes
Timestomp file
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x887c56
push eax
mov dword fs:[0], esp
sub esp, 0x874
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
xor edi, edi
mov dword [0x9dd478], edi
call ebp
mov esi, dword [esp + 0x894]
mov dword [0x9dd480], eax
cmp esi, edi
je 0x68a8ac
cmp word [esi], di
je 0x68a8ac
mov ebx, dword [esp + 0x898]
cmp ebx, edi
je 0x68a8ac
cmp word [ebx], di
je 0x68a8ac
cmp dword [0x9dd484], edi
jne 0x689715
mov dword [0x9dd478], 2
mov dword [0x9dd47c], 0x3086
jmp 0x68a8c0
push esi
call fcn.006a31f0
add esp, 4
mov dword [esp + 0x94], eax
test al, 0x10
je 0x689742
mov dword [0x9dd478], 0x1d
mov dword [0x9dd47c], 0x308e
jmp 0x68a8c0
push ebx
call fcn.006a31f0
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x689770
test bl, 0x10
je 0x689770
mov dword [0x9dd478], 0x1e
mov dword [0x9dd47c], 0x3098
jmp 0x68a8c0
push edi
push edi
push 3
push edi
push 5
push SysReAllocString
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x38], edi
mov dword [esp + 0x84], edi
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x68a46f
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf7
xor eax, eax
lea edi, [esp + 0x4a5]
mov byte [esp + 0x4a4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x4a4]
mov dword [esp + 0x58], 0
test eax, eax
je 0x689965
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x68984f
mov ecx, 0xf8
xor eax, eax
lea edi, [esp + 0x4a4]
lea edx, [esp + 0x5c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
push eax
push edx
lea eax, [esp + 0x4ac]
push 0x3e0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x68997e
mov dword [0x9dd478], 0xd
mov dword [0x9dd47c], 0x2809
call ebp
mov dword [0x9dd480], eax
mov dword [0x9dd478], 0xf
mov dword [0x9dd47c], 0x30ba
call ebp
mov dword [0x9dd480], eax
mov edi, dword [esp + 0x898]
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push edi
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x6898c1
test bl, 1
je 0x68989f
and ebx, 0xfffffffe
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push edi
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x68a4ac
lea eax, [esp + 0x84]
lea ecx, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x80]
push ecx
xor edi, edi
push edx
push eax
mov dword [esp + 0x78], 1
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea ecx, [esp + 0x10]
call fcn.00636b60
mov esi, dword [esp + 0x89c]
xor ecx, ecx
cmp esi, edi
mov dword [esp + 0x88c], edi
sete cl
mov ebp, ecx
push 0xffffffffffffffff
test ebp, ebp
jne 0x689a98
mov eax, dword [esi + 0x238]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + 0x23c]
shl edx, 4
lea ecx, [edx + eax + 0x240]
push ecx
jmp 0x689a9d
mov dword [0x9dd478], 1
mov dword [0x9dd47c], 0x27fc
jmp 0x689848
lea edx, [esp + 0x4a4]
push edx
call fcn.00685f00
add esp, 4
cmp eax, 3
mov dword [esp + 0x58], eax
jne 0x68986a
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x4a4]
push eax
push ecx
call fcn.006855a0
add esp, 8
test eax, eax
je 0x68a493
mov dword [0x9dd478], 0
call ebp
lea edx, [esp + 0x11c]
mov dword [0x9dd480], eax
test edx, edx
jne 0x689a0b
mov dword [0x9dd478], 1
mov dword [0x9dd47c], 0x3506
call ebp
mov dword [0x9dd480], eax
mov dword [0x9dd478], 0x1f
mov dword [0x9dd47c], 0x30cb
jmp 0x68a8c0
mov eax, dword [0x9dd484]
test eax, eax
jne 0x689a2a
mov dword [0x9dd478], 2
mov dword [0x9dd47c], 0x350c
jmp 0x6899eb
mov eax, dword [0x9dda34]
test eax, eax
jne 0x68986a
mov eax, dword [esp + 0x308]
mov edx, dword [esp + 0x310]
mov ecx, dword [0x9dd494]
cmp eax, 0x2710
ja 0x689a67
cmp ecx, 0x2710
ja 0x68986a
cmp ecx, eax
jne 0x689a81
jmp 0x68986a
cmp eax, ecx
jne 0x689a81
mov ecx, dword [0x9dd49c]
test ecx, ecx
ja 0x68986a
test edx, edx
je 0x68986a
push edx
push eax
call fcn.0068baf0
add esp, 8
test eax, eax
je 0x6899f2
jmp 0x68986a
push 0x240
lea ecx, [esp + 0x18]
call fcn.00636d40
lea ecx, [esp + 0x10]
call fcn.00637470
mov ebx, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], ebx
call fcn.00636d30
mov ecx, eax
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebp, ebp
rep stosb byte es:[edi], al
jne 0x689aef
lea ecx, [esp + 0x10]
call fcn.00636d30
mov ecx, eax
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
push ebx
call fcn.00685bf0
add esp, 8
test eax, eax
je 0x68a4cc
lea ecx, [esp + 0x9c]
test ecx, ecx
jne 0x689b4d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd478], 1
mov dword [0x9dd47c], 0x27e7
call esi
mov dword [0x9dd480], eax
mov dword [0x9dd478], 9
mov dword [0x9dd47c], 0x311e
call esi
mov dword [0x9dd480], eax
jmp 0x68a835
push 0
push 0
push 2
call fcn.00680440
push eax
call fcn.0067ea20
add esp, 0x10
test eax, eax
jne 0x689b89
mov dword [0x9dd478], 0xc
mov dword [0x9dd47c], 0x35f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
jmp 0x68a835
test ebx, ebx
mov ecx, 0x240
je 0x689baf
mov ecx, dword [ebx + 0x238]
mov edx, ecx
shl edx, 4
add edx, ecx
mov ecx, dword [ebx + 0x23c]
shl edx, 4
lea ecx, [edx + ecx + 0x240]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 8]
test eax, eax
je 0x68a835
add eax, 0x38
mov dword [esp + 0x70], eax
je 0x68a835
mov esi, dword [esp + 0x20]
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [ebx + 0x20]
mov esi, dword [ebx + 0x54]
mov ebp, dword [ebx + 0x5c]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x9d]
mov byte [esp + 0x9c], 0
push 0x3f
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xa0]
push eax
push ebp
push esi
push edx
call fcn.0068b8a0
mov edi, eax
add esp, 0x14
test edi, edi
mov dword [esp + 0x40], edi
je 0x68a4f0
push edi
call fcn.0067ea20
xor ebp, ebp
add esp, 4
cmp eax, ebp
mov dword [esp + 0x60], eax
je 0x68a514
mov eax, dword [esp + 0x58]
cmp eax, 3
jne 0x689c70
mov ecx, dword [esp + 0x12c]
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x10], ecx
mov edx, dword [esp + 0x134]
mov dword [ebx + 0x18], edx
mov eax, dword [esp + 0x138]
lea esi, [ebx + 0x1c]
mov dword [esi], eax
jmp 0x689cb3
cmp eax, 1
je 0x689c94
cmp eax, 2
je 0x689c94
mov ecx, dword [esp + 0x14]
lea esi, [ebx + 0x1c]
push esi
push ecx
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx + 0x18], eax
jmp 0x689cb3
mov edx, dword [esp + 0x14]
push ebp
push edx
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea esi, [ebx + 0x1c]
sub eax, 0x100
mov dword [ebx + 0x18], eax
mov dword [esi], ebp
lea eax, [ebx + 0x28]
mov dword [ebx + 0x24], edi
push eax
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xa4]
push ecx
call fcn.006a3320
mov ecx, dword [ebx + 0x18]
mov ebp, dword [esp + 0x7c]
xor eax, eax
add esp, 0xc
cmp ecx, eax
mov dword [ebx + 0x38], ebp
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
jne 0x689d03
mov eax, dword [esi]
xor edx, edx
cmp eax, edx
je 0x68a538
jmp 0x689d05
xor edx, edx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xdd]
mov byte [esp + 0xdc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], edx
cmp eax, 3
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], edx
jne 0x689def
mov edx, dword [esp + 0x140]
push edx
call fcn.0067ea20
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
je 0x68a66e
lea eax, [esp + 0x50]
lea ecx, [esp + 0xdc]
push eax
push 0x40
lea edx, [esp + 0xa0]
push ecx
lea eax, [esp + 0x128]
push edx
push eax
mov dword [esp + 0xac], 0
call fcn.0068c4d0
add esp, 0x14
test eax, eax
je 0x68a692
mov eax, dword [esp + 0x158]
mov esi, dword [esp + 0x15c]
cmp eax, 1
mov dword [esp + 0x38], esi
jne 0x689db1
mov esi, dword [esp + 0x160]
mov dword [esp + 0x38], esi
push esi
call fcn.008325b4
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x28], edi
je 0x68a6b6
mov ecx, esi
xor eax, eax
mov edx, ecx
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
mov dword [esp + 0x4c], esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x15c]
push eax
jmp 0x689e9e
cmp eax, 1
je 0x689e1a
cmp eax, 2
je 0x689e1e
mov edx, dword [esp + 0x14]
push 0
mov esi, 0x10000
push 0
push 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x50], esi
push edx
jmp 0x689ea3
push 1
jmp 0x689e5e
mov edi, 0x992b38
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xdc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 2
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x54], ecx
call fcn.0067ea20
add esp, 4
mov esi, 0x10000
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], esi
push esi
call fcn.008325b4
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x28], edi
je 0x68a6da
xor eax, eax
mov ecx, 0x4000
push eax
push eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x4c], esi
push 0x100
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call fcn.008325b4
mov ecx, dword [esp + 0x64]
add esp, 4
mov dword [esp + 0x2c], eax
mov edx, dword [ecx]
push esi
call dword [edx + 8]
mov ebp, eax
add ebp, 4
push ebp
call fcn.008325b4
mov ecx, dword [esp + 0x24]
add esp, 4
xor esi, esi
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x38]
push esi
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x78], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x34]
mov ecx, ebp
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], 0
cmp eax, 3
jne 0x689fe7
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x158]
mov ebx, dword [esp + 0x15c]
inc eax
cmp eax, ecx
mov dword [esp + 0x78], eax
jne 0x689f60
mov ebx, dword [esp + 0x160]
mov dword [esp + 0x3c], 1
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x68a32b
mov eax, dword [esp + 0x28]
add ebx, 0xfffffffc
lea edi, [eax + 4]
mov eax, dword [eax]
push eax
push ebx
push edi
call fcn.006a32b0
add esp, 0xc
test eax, eax
je 0x68a341
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [esp + 0x5c]
push ebx
push edi
push eax
lea eax, [esp + 0xf4]
push eax
call dword [edx + 0x14]
test eax, eax
je 0x68a357
jmp 0x68a0ae
mov edi, 1
cmp eax, edi
je 0x68a02f
cmp eax, 2
je 0x68a02f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x68a36d
mov eax, dword [esp + 0x18]
cmp eax, esi
jae 0x68a0ae
test eax, eax
mov dword [esp + 0x3c], edi
je 0x68a41f
jmp 0x68a0ae
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov edx, ecx
xor eax, eax
mov edi, ebx
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x1c]
mov ecx, edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x68a395
mov eax, dword [esp + 0x18]
cmp eax, esi
jae 0x68a083
test eax, eax
mov dword [esp + 0x3c], 1
je 0x68a41f
mov esi, dword [esp + 0x44]
lea edi, [esp + 0x18]
mov ecx, dword [esp + 0x60]
push edi
push esi
mov esi, dword [esp + 0x34]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [esp + 0x60]
push ebx
push eax
lea eax, [esp + 0xf4]
push eax
call dword [edx + 0x14]
test eax, eax
je 0x68a3ab
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x24]
lea eax, [ebp - 4]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
add ebx, 4
push eax
mov eax, dword [esp + 0x20]
push ebx
push eax
push ecx
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [esp + 0x74]
repne scasb al, byte es:[edi]
mov edx, dword [esi]
lea eax, [esp + 0xb0]
not ecx
dec ecx
mov dword [esp + 0x38], 0
push ecx
push eax
mov ecx, esi
call dword [edx + 0x10]
mov edi, eax
test edi, edi
mov dword [esp + 0x74], edi
jne 0x68a19c
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jbe 0x68a3d4
mov edx, dword [esp + 0x34]
push edx
call fcn.008325dd
mov eax, dword [esp + 0x28]
lea ebp, [eax + 4]
push ebp
call fcn.008325b4
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x68a3d4
mov ebx, dword [esp + 0x34]
mov ecx, ebp
mov edx, ecx
xor eax, eax
mov edi, ebx
add ebx, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x24]
lea ecx, [ebp - 4]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
push ebx
push eax
push ecx
lea edi, [esp + 0xb0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi]
lea eax, [esp + 0xb0]
not ecx
dec ecx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x10]
mov edi, eax
test edi, edi
mov dword [esp + 0x74], edi
je 0x68a3d4
push ebp
call fcn.008325b4
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
je 0x68a2a8
mov edi, dword [esp + 0x48]
mov ecx, ebp
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x54], 0
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x28]
push ebp
push ecx
push eax
lea edi, [esp + 0xac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi]
push ebx
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xb4]
push ecx
mov ecx, esi
call dword [edx + 0x14]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
cmp ecx, eax
jne 0x68a224
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x48]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x68a220
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x68a297
push 0x9b5220
lea ecx, [esp + 0x68]
call fcn.00617650
lea edi, [esp + 0x9c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x18]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x40]
push 0x3255
not ecx
dec ecx
mov byte [esp + 0x890], 1
push ecx
mov ecx, dword [esp + 0x89c]
push edx
push eax
push ecx
lea edx, [esp + 0x78]
push str.Error:_Encrypt_Data_Failed__File_s__Algrithm_d__DataLen_lu_KeyLen_lu__LINE_d
push edx
call fcn.0061aed0
mov eax, dword [esp + 0x80]
push eax
call fcn.006a5ed0
add esp, 0x20
lea ecx, [esp + 0x64]
xor edi, edi
mov byte [esp + 0x88c], 0
call fcn.00617ec0
jmp 0x68a29b
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x48]
push ecx
call fcn.008325dd
add esp, 4
test edi, edi
je 0x68a3d4
mov edx, dword [esp + 0x24]
push edx
push ebx
call fcn.006a3300
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x6c]
push 0
add edx, 4
push eax
mov eax, dword [esp + 0x28]
push edx
push ecx
push eax
mov dword [esp + 0x80], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x68a3ea
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
lea edx, [ecx + 4]
cmp eax, edx
jb 0x68a400
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jne 0x68a313
mov dword [eax + 0x40], edx
inc ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x3c], ecx
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x689ef1
jmp 0x68a41f
mov dword [0x9dd478], 0xd
mov dword [0x9dd47c], 0x31f7
jmp 0x68a3bf
mov dword [0x9dd478], 0x1c
mov dword [0x9dd47c], 0x31ff
jmp 0x68a3bf
mov dword [0x9dd478], 0x12
mov dword [0x9dd47c], 0x3207
jmp 0x68a3bf
mov dword [0x9dd478], 0xd
mov dword [0x9dd47c], 0x3229
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
mov dword [esp + 0x30], edi
jmp 0x68a41f
mov dword [0x9dd478], 0xd
mov dword [0x9dd47c], 0x3211
jmp 0x68a3bf
mov dword [0x9dd478], 0x12
mov dword [0x9dd47c], 0x3220
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
mov dword [esp + 0x30], 1
jmp 0x68a41f
mov dword [0x9dd478], 0x11
mov dword [0x9dd47c], 0x3261
jmp 0x68a414
mov dword [0x9dd478], 0xe
mov dword [0x9dd47c], 0x326a
jmp 0x68a414
mov dword [0x9dd478], 0xe
mov dword [0x9dd47c], 0x3270
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x68a430
push eax
call fcn.008325dd
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x68a441
push eax
call fcn.008325dd
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x68a452
push eax
call fcn.008325dd
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x68a835
mov eax, dword [esp + 0x30]
test eax, eax
je 0x68a6fe
jmp 0x68a835
mov dword [0x9dd478], 3
mov dword [0x9dd47c], 0x30af
call ebp
mov dword [0x9dd480], eax
mov eax, dword [esp + 0x1c]
jmp 0x68a8c9
mov dword [0x9dd478], 0x14
mov dword [0x9dd47c], 0x30c4
jmp 0x68a8c0
mov dword [0x9dd478], 4
mov dword [0x9dd47c], 0x30ec
call ebp
mov dword [0x9dd480], eax
jmp 0x68a849
mov dword [0x9dd478], 0xa
mov dword [0x9dd47c], 0x3116
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
jmp 0x68a835
mov dword [0x9dd478], 0xb
mov dword [0x9dd47c], 0x3133
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
jmp 0x68a835
mov dword [0x9dd478], 0xc
mov dword [0x9dd47c], 0x313a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
jmp 0x68a835
push ebp
call fcn.008325b4
mov esi, eax
add esp, 4
test esi, esi
jne 0x68a56b
mov dword [0x9dd478], 0x21
mov dword [0x9dd47c], 0x3168
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
jmp 0x68a835
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push esi
rep stosb byte es:[edi], al
push ebx
call fcn.0068c110
mov ebx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jbe 0x68a61b
cmp ebx, 0xffffffff
je 0x68a5d7
lea eax, [esp + 0x40]
push 0
push eax
push ebp
push esi
push ebx
mov dword [esp + 0x54], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x68a5cd
mov dword [0x9dd478], 0xe
mov dword [0x9dd47c], 0x281b
jmp 0x68a5eb
mov dword [esp + 0x1c], 1
jmp 0x68a61b
mov dword [0x9dd478], 1
mov dword [0x9dd47c], 0x2814
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov dword [0x9dd480], eax
mov dword [esp + 0x1c], 0
mov dword [0x9dd478], 0x10
mov dword [0x9dd47c], 0x3172
call edi
mov dword [0x9dd480], eax
push esi
call fcn.008325dd
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x68a835
test byte [esp + 0x8a0], 1
je 0x68a659
lea ecx, [esp + 0x84]
lea edx, [esp + 0x8c]
push ecx
lea eax, [esp + 0x80]
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [esp + 0x8a4]
test eax, eax
je 0x68a835
push ebx
jmp 0x68a82f
mov dword [0x9dd478], 0xc
mov dword [0x9dd47c], 0x3192
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
jmp 0x68a835
mov dword [0x9dd478], 0xb
mov dword [0x9dd47c], 0x3199
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
jmp 0x68a835
mov dword [0x9dd478], 0x21
mov dword [0x9dd47c], 0x31a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
jmp 0x68a835
mov dword [0x9dd478], 0x21
mov dword [0x9dd47c], 0x31c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
jmp 0x68a835
mov ebx, dword [esp + 0x70]
push ebx
call fcn.008325b4
mov esi, eax
add esp, 4
test esi, esi
jne 0x68a735
mov dword [0x9dd478], 0x21
mov dword [0x9dd47c], 0x3292
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x9dd480], eax
jmp 0x68a835
mov ecx, ebx
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x64]
push eax
call fcn.0068c110
mov ebp, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jbe 0x68a7e9
cmp ebp, 0xffffffff
je 0x68a7a5
lea ecx, [esp + 0x40]
push 0
push ecx
push ebx
push esi
push ebp
mov dword [esp + 0x54], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x68a79b
mov dword [0x9dd478], 0xe
mov dword [0x9dd47c], 0x281b
jmp 0x68a7b9
mov dword [esp + 0x1c], 1
jmp 0x68a7e9
mov dword [0x9dd478], 1
mov dword [0x9dd47c], 0x2814
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov dword [0x9dd480], eax
mov dword [esp + 0x1c], 0
mov dword [0x9dd478], 0x10
mov dword [0x9dd47c], 0x329c
call edi
mov dword [0x9dd480], eax
push esi
call fcn.008325dd
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x68a835
test byte [esp + 0x8a0], 1
je 0x68a823
lea edx, [esp + 0x84]
lea eax, [esp + 0x8c]
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov eax, dword [esp + 0x8a4]
test eax, eax
je 0x68a835
push ebp
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea ecx, [esp + 0x10]
mov dword [esp + 0x88c], 0xffffffff
call fcn.00636c90
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x68a862
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x68a890
test byte [esp + 0x8a0], 2
je 0x68a8a6
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x898]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x1c]
jmp 0x68a8c9
mov eax, dword [esp + 0x68]
test eax, eax
je 0x68a8a6
mov edx, dword [esp + 0x898]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x1c]
jmp 0x68a8c9
mov dword [0x9dd478], 1
mov dword [0x9dd47c], 0x3080
call ebp
mov dword [0x9dd480], eax
xor eax, eax
mov ecx, dword [esp + 0x884]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x880
ret