Function at 0x64c0e0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e00e4
mov eax, dword fs:[0]
push eax
mov eax, 0x1034c
call fcn.006aa250
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 8], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1002c], ebx
je 0x64c19a
test ebx, ebx
jne 0x64c130
lea ebx, [edi + 0x34]
mov dword [ebp - 0x1002c], ebx
push ebx
call fcn.0064d180
test al, al
jne 0x64c23e
cmp dword [edi + 0x248], 0
je 0x64c1ba
lea ecx, [ebp - 0x10350]
call fcn.005cfa30
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 8
jb 0x64c163
mov ecx, dword [ecx]
mov eax, dword [edi + 0x248]
mov esi, dword [eax]
push ecx
push ebx
push 0x7a07c0
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.UnzipHandler
push 0x71a27c
push 0x32
push eax
call dword [0x707770]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x10350]
call fcn.00427170
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x8076a4], 0
je 0x64c20f
lea ecx, [ebp - 0x10350]
call fcn.005cfa30
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x64c1dd
mov eax, dword [eax]
mov esi, dword [0x8076a4]
mov ecx, esi
push eax
push ebx
push 0x7a07c0
push 0x71a27c
push 0x71a27c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x64c18f
cmp dword [0x8076a8], 0
je 0x64c19a
lea ecx, [ebp - 0x10350]
call fcn.005cfa30
mov ecx, eax
mov dword [ebp - 4], 2
cmp dword [ecx + 0x14], 8
jb 0x64c234
mov ecx, dword [ecx]
mov eax, dword [0x8076a8]
jmp 0x64c169
lea eax, [ebp - 0x10328]
mov ecx, edi
push eax
xor ebx, ebx
call fcn.0064cff0
mov edx, dword [ebp - 0x1002c]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x10018], ebx
mov dword [ebp - 0x10014], 7
mov word [ebp - 0x10028], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x64c272
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10028]
call fcn.004271d0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10018]
test ecx, ecx
je 0x64c2cd
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x64c2cd
push 1
push 0x71b0d0
lea ecx, [ebp - 0x10028]
call fcn.004272f0
lea ecx, [ebp - 0x10328]
mov dword [ebp - 0x10340], 0
mov dword [ebp - 0x1033c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x10350], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x64c2f1
sub ecx, edx
lea eax, [ebp - 0x10328]
push ecx
push eax
lea ecx, [ebp - 0x10350]
call fcn.00427530
push ecx
lea edx, [ebp - 0x10350]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10060]
call fcn.005d6060
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1033c]
cmp edx, 0x10
jb 0x64c364
mov ecx, dword [ebp - 0x10350]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x64c35a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x64cef3
push edx
push ecx
call fcn.0065106e
add esp, 8
cmp dword [ebp - 0x1004c], 8
lea eax, [ebp - 0x10060]
push dword [ebp - 0x10050]
cmovae eax, dword [ebp - 0x10060]
lea ecx, [ebp - 0x10028]
push eax
mov dword [ebp - 0x10340], 0
mov dword [ebp - 0x1033c], 0xf
mov byte [ebp - 0x10350], 0
call fcn.004272f0
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [ebp - 0x100fc]
cmovae eax, dword [ebp - 0x10028]
push eax
mov dword [ebp - 0x10334], esi
call fcn.00684a14
add esp, 4
mov dword [ebp - 0x1002c], eax
push 0x5c
push eax
call fcn.006aa595
add esp, 8
mov byte [ebp - 0x10329], 0
test eax, eax
je 0x64c402
push dword [ebp - 0x1002c]
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
call fcn.0064d180
mov byte [ebp - 0x10329], al
push dword [ebp - 0x1002c]
call fcn.0066bcce
add esp, 4
cmp byte [ebp - 0x10329], 0
jne 0x64c516
cmp dword [edi + 0x248], 0
je 0x64c465
lea ecx, [ebp - 0x10048]
call fcn.005cfa30
mov edx, eax
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 8
jb 0x64c43f
mov edx, dword [edx]
cmp dword [ebp - 0x10014], 8
lea ecx, [ebp - 0x10028]
mov eax, dword [edi + 0x248]
cmovae ecx, dword [ebp - 0x10028]
push edx
push ecx
push str.Failed_to_CreateFilePath:__s.__s
jmp 0x64c737
cmp dword [0x8076a4], 0
je 0x64c4d0
lea ecx, [ebp - 0x10048]
call fcn.005cfa30
mov ecx, eax
mov byte [ebp - 4], 8
cmp dword [ecx + 0x14], 8
jb 0x64c487
mov ecx, dword [ecx]
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [0x8076a4]
cmovae eax, dword [ebp - 0x10028]
push ecx
push eax
push str.Failed_to_CreateFilePath:__s.__s
push 0x71a27c
push 0x71a27c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x64c756
cmp dword [0x8076a8], 0
je 0x64c761
lea ecx, [ebp - 0x10048]
call fcn.005cfa30
mov edx, eax
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 8
jb 0x64c4f6
mov edx, dword [edx]
cmp dword [ebp - 0x10014], 8
lea ecx, [ebp - 0x10028]
push edx
cmovae ecx, dword [ebp - 0x10028]
push ecx
push str.Failed_to_CreateFilePath:__s.__s
jmp 0x64c732
mov cl, byte [ebp - 0x100f4]
test cl, cl
je 0x64c54b
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
test esi, esi
je 0x64c54b
cmp esi, 0xffffffff
je 0x64c54b
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov cl, byte [ebp - 0x100f4]
cmp dword [ebp - 0x1004c], 8
lea eax, [ebp - 0x10060]
mov esi, dword [edi + 0x30]
lea edx, [edi + 0x18]
cmovae eax, dword [ebp - 0x10060]
cmp dword [ebp - 0x10014], 8
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
mov dword [edi + 0x28], eax
xor eax, eax
test cl, cl
mov byte [edi + 0x2c], cl
push edx
setne al
mov dword [edi + 0x1c], 0
mov ecx, esi
lea eax, [eax*2 + 1]
mov dword [edx], eax
call dword [0x707770]
call esi
mov esi, eax
mov dword [edi + 0x24], 0
add esp, 4
mov dword [edi + 0x28], 0
lea ecx, [esi - 1]
cmp ecx, 1
ja 0x64c5e0
lea ecx, [ebp - 0x10060]
call fcn.00427170
lea ecx, [ebp - 0x10028]
call fcn.00427170
cmp esi, 2
sete al
jmp 0x64c19c
cmp byte [ebp - 0x100f4], 0
je 0x64c606
lea ecx, [ebp - 0x10060]
call fcn.00427170
lea ecx, [ebp - 0x10028]
call fcn.00427170
mov al, 1
jmp 0x64c19c
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
push 0
push dword [ebp - 0x10334]
cmovae eax, dword [ebp - 0x10028]
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
mov dword [ebp - 0x10330], esi
cmp esi, 0xffffffff
jne 0x64c777
cmp dword [edi + 0x248], 0
je 0x64c68d
lea ecx, [ebp - 0x10048]
call fcn.005cfa30
mov edx, eax
mov byte [ebp - 4], 0xa
cmp dword [edx + 0x14], 8
jb 0x64c667
mov edx, dword [edx]
cmp dword [ebp - 0x10014], 8
lea ecx, [ebp - 0x10028]
mov eax, dword [edi + 0x248]
cmovae ecx, dword [ebp - 0x10028]
push edx
push ecx
push str.Cannot_open_file__s_for_writing:__s
jmp 0x64c737
cmp dword [0x8076a4], 0
je 0x64c6f5
lea ecx, [ebp - 0x10048]
call fcn.005cfa30
mov ecx, eax
mov byte [ebp - 4], 0xb
cmp dword [ecx + 0x14], 8
jb 0x64c6af
mov ecx, dword [ecx]
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [0x8076a4]
cmovae eax, dword [ebp - 0x10028]
push ecx
push eax
push str.Cannot_open_file__s_for_writing:__s
push 0x71a27c
push 0x71a27c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x64c756
cmp dword [0x8076a8], 0
je 0x64c761
lea ecx, [ebp - 0x10048]
call fcn.005cfa30
mov edx, eax
mov byte [ebp - 4], 0xc
cmp dword [edx + 0x14], 8
jb 0x64c717
mov edx, dword [edx]
cmp dword [ebp - 0x10014], 8
lea ecx, [ebp - 0x10028]
push edx
cmovae ecx, dword [ebp - 0x10028]
push ecx
push str.Cannot_open_file__s_for_writing:__s
mov eax, dword [0x8076a8]
mov esi, dword [eax]
push str.UnzipHandler
push 0x71a27c
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x707770]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x10048]
call fcn.00427170
lea ecx, [ebp - 0x10060]
call fcn.00427170
lea ecx, [ebp - 0x10028]
jmp 0x64c195
push dword [edi + 0x240]
mov ecx, dword [edi + 8]
sub esp, 8
call fcn.0064dfc0
add esp, 0xc
test eax, eax
je 0x64c84b
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x64c7f0
mov esi, dword [0x8076a4]
test esi, esi
je 0x64c7e6
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov ecx, esi
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_unzOpenCurrentFilePassword:__s
push 0x71a27c
push 0x71a27c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x64c829
mov ecx, dword [0x8076a8]
test ecx, ecx
je 0x64c829
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_unzOpenCurrentFilePassword:__s
mov esi, dword [esi + 0x34]
push str.UnzipHandler
push 0x71a27c
push 0x32
push ecx
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
push dword [ebp - 0x10330]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x10060]
call fcn.00427170
lea ecx, [ebp - 0x10028]
jmp 0x64c195
mov eax, dword [edi + 0x250]
test eax, eax
je 0x64cd1c
cmp eax, 0xffffffff
je 0x64cd1c
cmp eax, 1
jne 0x64ce62
mov eax, dword [edi + 8]
test eax, eax
je 0x64cc64
mov eax, dword [eax + 0x9c]
test eax, eax
je 0x64cc64
mov esi, dword [eax + 0x48]
sub esi, dword [eax + 0x4c]
test esi, esi
jle 0x64cc64
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.0066f597
mov ecx, dword [edi + 8]
add esp, 4
mov ebx, eax
mov edx, ebx
push esi
call fcn.0064e630
mov ecx, ebx
mov dword [ebp - 0x10038], 0
add esp, 4
mov dword [ebp - 0x10034], 0xf
mov byte [ebp - 0x10048], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x64c8e0
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x10048]
call fcn.00427530
push 1
push ebx
call fcn.0065106e
cmp dword [ebp - 0x10034], 0x10
lea eax, [ebp - 0x10048]
cmovae eax, dword [ebp - 0x10048]
push eax
call fcn.00680a61
add esp, 0xc
lea ebx, [eax + 0x10000]
push ebx
mov dword [ebp - 0x10354], ebx
call fcn.0066f597
mov edx, dword [ebp - 0x10034]
add esp, 4
mov esi, eax
mov dword [ebp - 0x10334], esi
cmp edx, 0x10
jb 0x64c972
mov ecx, dword [ebp - 0x10048]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x64c968
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x64cef8
push edx
push ecx
call fcn.0065106e
add esp, 8
mov edx, dword [edi + 0x244]
mov ecx, dword [edi + 8]
push 1
mov dword [ebp - 0x10038], 0
mov dword [ebp - 0x10034], 0xf
mov byte [ebp - 0x10048], 0
mov dword [edi + 0x18], 2
call fcn.0064e330
add esp, 4
cmp eax, 1
je 0x64c9d9
push dword [ebp - 0x10330]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
push esi
call fcn.0065106e
add esp, 8
lea ecx, [ebp - 0x10060]
call fcn.00427170
lea ecx, [ebp - 0x10028]
jmp 0x64c195
mov eax, dword [edi + 0x244]
mov dword [ebp - 0x100dc], 0
mov dword [ebp - 0x100e0], 0
push ecx
mov dl, byte [eax]
lea ecx, [ebp - 0x100f0]
call fcn.0064e8c0
mov dword [ebp - 0x100dc], esi
add esp, 4
xor esi, esi
mov dword [ebp - 0x100c8], ebx
mov dword [ebp - 0x10078], 0
xor ebx, ebx
mov dword [ebp - 0x10070], 1
mov dword [ebp - 0x1006c], 1
mov dword [ebp - 0x10068], 1
mov dword [ebp - 0x100cc], 0
mov dword [ebp - 0x100a4], 1
mov dword [ebp - 0x100a8], 0
mov dword [ebp - 0x10098], 0
mov dword [ebp - 0x100c4], 0
mov dword [ebp - 0x100c0], 0
mov dword [ebp - 0x100a0], 1
mov dword [ebp - 0x10338], esi
nop dword [eax + eax]
mov edx, dword [edi + 0x244]
mov ecx, dword [edi + 8]
push 0x10000
mov dword [ebp - 0x10030], ebx
call fcn.0064e330
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x64cbb2
mov edx, dword [ebp - 0x10354]
lea eax, [ebp - 0x10358]
mov esi, dword [ebp - 0x100cc]
push eax
push ecx
lea eax, [ebp - 0x1002c]
mov dword [ebp - 0x1002c], ebx
push eax
push dword [edi + 0x244]
lea ecx, [ebp - 0x100f0]
call fcn.0064e960
add esp, 0x10
test eax, eax
jne 0x64cbab
cmp dword [ebp - 0x10358], 1
mov eax, dword [ebp - 0x100c4]
mov ecx, dword [ebp - 0x100cc]
mov dword [ebp - 0x10338], eax
jne 0x64cb16
cmp eax, ecx
jne 0x64cbab
cmp dword [ebp - 0x1002c], 0
jne 0x64cb27
cmp esi, ecx
je 0x64cbab
mov esi, dword [edi + 0x30]
mov ebx, eax
sub eax, dword [ebp - 0x10030]
mov ecx, esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
push eax
call dword [0x707770]
call esi
add esp, 4
test eax, eax
je 0x64ca90
or ebx, 0xffffffff
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x64cbf1
mov esi, dword [0x8076a4]
test esi, esi
je 0x64cbe7
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov ecx, esi
cmovae eax, dword [ebp - 0x10028]
push eax
push str.some_error_for_file__s
push 0x71a27c
push 0x71a27c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x64cc2a
mov ebx, 0xffffff99
jmp 0x64cb51
jne 0x64cb51
mov esi, dword [ebp - 0x10338]
lea eax, [ebp - 0x10030]
push 0
push eax
push esi
push dword [ebp - 0x10334]
push dword [ebp - 0x10330]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x64cbe2
cmp dword [ebp - 0x10030], esi
je 0x64cc2a
or ebx, 0xffffffff
jmp 0x64cc2a
mov ecx, dword [0x8076a8]
test ecx, ecx
je 0x64cc2a
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x10028]
push eax
push str.some_error_for_file__s
mov esi, dword [esi + 0x34]
push str.UnzipHandler
push 0x71a27c
push 0x32
push ecx
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
push dword [ebp - 0x100e0]
mov esi, dword [0x7e5cf8]
mov ecx, esi
push 0x7e5cf4
call dword [0x707770]
call esi
push 1
push dword [ebp - 0x10334]
mov dword [ebp - 0x100e0], 0
call fcn.0065106e
add esp, 0x10
jmp 0x64ce62
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x64ccc1
mov esi, dword [0x8076a4]
test esi, esi
je 0x64ccb7
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov ecx, esi
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_get_extra_local_size_for_file__s
push 0x71a27c
push 0x71a27c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x64ccfa
mov ecx, dword [0x8076a8]
test ecx, ecx
je 0x64ccfa
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x10028]
push eax
push str.Failed_to_get_extra_local_size_for_file__s
mov esi, dword [esi + 0x34]
push str.UnzipHandler
push 0x71a27c
push 0x32
push ecx
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
push dword [ebp - 0x10330]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x10060]
call fcn.00427170
lea ecx, [ebp - 0x10028]
jmp 0x64c195
mov dword [edi + 0x18], 2
mov cl, byte [ebp + 0x14]
lea edx, [ebp - 0x10010]
mov ebx, 0x40000
test cl, cl
je 0x64cd3b
mov edx, dword [edi + 0x244]
test cl, cl
mov eax, 0x10000
mov ecx, dword [edi + 8]
cmovne eax, ebx
push eax
call fcn.0064e330
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x64ce62
cmp byte [ebp + 0x14], 0
lea eax, [ebp - 0x1002c]
push 0
push eax
mov dword [ebp - 0x1002c], ebx
push ebx
jne 0x64cd7a
lea eax, [ebp - 0x10010]
push eax
jmp 0x64cd80
push dword [edi + 0x244]
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x64cdc7
mov eax, dword [ebp - 0x1002c]
cmp eax, ebx
jne 0x64cdc7
mov esi, dword [edi + 0x30]
mov ecx, esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
push eax
call dword [0x707770]
call esi
add esp, 4
test eax, eax
jne 0x64ce5f
mov esi, dword [ebp - 0x10330]
test ebx, ebx
jle 0x64ce62
jmp 0x64cd23
mov ecx, dword [edi + 0x248]
test ecx, ecx
jne 0x64ce25
mov esi, dword [0x8076a4]
test esi, esi
je 0x64ce1b
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov ecx, esi
cmovae eax, dword [ebp - 0x10028]
push eax
push ebx
push str.Error__d_in_writing_to_file_:__s
push 0x71a27c
push 0x71a27c
push str.UnzipHandler
push str.OOBEUtils
push 0x32
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x64ce5f
mov ecx, dword [0x8076a8]
test ecx, ecx
je 0x64ce5f
cmp dword [ebp - 0x10014], 8
lea eax, [ebp - 0x10028]
mov esi, dword [ecx]
cmovae eax, dword [ebp - 0x10028]
push eax
push ebx
mov esi, dword [esi + 0x34]
push str.Error__d_in_writing_to_file_:__s
push str.UnzipHandler
push 0x71a27c
push 0x32
push ecx
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
or ebx, 0xffffffff
push dword [ebp - 0x10330]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [edi + 8]
call fcn.0064e6d0
cmp dword [ebp - 0x1004c], 8
lea eax, [ebp - 0x10060]
mov esi, dword [edi + 0x30]
mov ecx, esi
cmovae eax, dword [ebp - 0x10060]
cmp dword [ebp - 0x10014], 8
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x10028]
cmovae eax, dword [ebp - 0x10028]
mov dword [edi + 0x28], eax
lea eax, [edi + 0x18]
push eax
mov dword [edi + 0x1c], 0
mov dword [eax], 3
call dword [0x707770]
call esi
add esp, 4
mov dword [edi + 0x24], 0
lea ecx, [ebp - 0x10060]
mov dword [edi + 0x28], 0
call fcn.00427170
lea ecx, [ebp - 0x10028]
call fcn.00427170
test ebx, ebx
sete al
jmp 0x64c19c
call fcn.0066bea5
call fcn.0066bea5
int3