Function at 0x4666fa
Capabilities:
Clear file content
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x60], ecx
push ecx
lea ecx, [ebp - 0x80]
call fcn.00441f45
mov esi, dword [ebp + 8]
xor edi, edi
mov di, word [esi]
xor ebx, ebx
mov byte [ebp - 0x41], bl
mov eax, edi
call fcn.0040ea2b
test al, al
jne 0x466839
push 4
push esi
push str._UNI
call fcn.0043af01
add esp, 0xc
test al, al
jne 0x46676a
push 5
push esi
push str._UNIB
call fcn.0043af01
add esp, 0xc
test al, al
jne 0x4667a2
push 8
push esi
push str._UNICODE
call fcn.0043af01
add esp, 0xc
test al, al
je 0x46678e
mov dword [ebp - 8], 0x4b0
lea eax, [ebp + 8]
push eax
call fcn.00405444
mov byte [ebp - 0x24], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x42], bl
mov byte [ebp - 0x39], bl
jmp 0x466933
push 9
push esi
push str._UNICODEB
call fcn.0043af01
add esp, 0xc
test al, al
je 0x4667ab
mov dword [ebp - 8], 0x4b1
jmp 0x466771
push 5
push esi
push str._UTF8
call fcn.0043af01
add esp, 0xc
test al, al
je 0x4667c8
mov dword [ebp - 8], 0xfde9
jmp 0x466771
push 5
push esi
push str._UTF7
call fcn.0043af01
add esp, 0xc
test al, al
je 0x4667e5
mov dword [ebp - 8], 0xfde8
jmp 0x466771
push 4
push esi
push str._GBK
call fcn.0043af01
add esp, 0xc
test al, al
je 0x466805
mov dword [ebp - 8], 0x3a8
jmp 0x466771
push 5
push esi
push str._BIG5
call fcn.0043af01
add esp, 0xc
test al, al
je 0x466825
mov dword [ebp - 8], 0x3b6
jmp 0x466771
push 5
push esi
push str._ANSI
call fcn.0043af01
add esp, 0xc
test al, al
je 0x466841
mov dword [ebp - 8], ebx
jmp 0x466771
cmp di, 0x2d
jne 0x466871
xor eax, eax
lea ecx, [esi + 2]
mov ax, word [ecx]
push eax
call fcn.0043f865
add esp, 4
test al, al
je 0x466871
push ecx
mov dword [ebp + 8], ecx
call fcn.004408e4
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
jge 0x466771
xor ebx, ebx
inc ebx
jmp 0x466e3a
push 4
lea eax, [ebp + 8]
push eax
push str.fix
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x466899
mov byte [ebp - 0x24], 2
jmp 0x466934
push 4
lea eax, [ebp + 8]
push eax
push str._nl
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x4668b6
mov byte [ebp - 0xd], 1
jmp 0x466934
push 2
lea eax, [ebp + 8]
push eax
push 0x4b8b30
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x4668d3
mov byte [ebp - 0x19], 1
jmp 0x466934
push 3
lea eax, [ebp + 8]
push eax
push 0x4b8b2c
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x4668f0
mov byte [ebp - 0x42], 1
jmp 0x466934
push 2
lea eax, [ebp + 8]
push eax
push 0x4b359c
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x46690d
mov byte [ebp - 0x39], 1
jmp 0x466934
push 7
lea eax, [ebp + 8]
push eax
push str.sparse
call fcn.00441bc4
add esp, 0xc
test al, al
je 0x46692a
mov byte [ebp - 0x41], 1
jmp 0x466934
lea eax, [ebp + 8]
push eax
call fcn.00405444
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x466879
mov esi, 0x4ae9fc
push esi
lea ecx, [ebp - 0x64]
call fcn.00448399
push 0x4b8b1c
lea ecx, [ebp - 0x68]
call fcn.00448399
push 1
push 0x2c
pop edi
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00451235
push ebx
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.004429d8
push dword [ebp - 0x64]
call fcn.00411f27
add esp, 0x10
cmp word [eax], bx
mov dword [ebp - 0x40], eax
jne 0x46699c
mov ebx, 0x80070057
jmp 0x466e2a
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x4669db
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00439c95
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
je 0x4669db
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
call fcn.00451235
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.004429d8
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
mov dword [ebp - 0x30], esi
jne 0x4669e9
add eax, 2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x68]
cmp word [eax], 0x24
mov dword [ebp + 8], eax
mov byte [ebp - 0x43], bl
mov byte [ebp - 1], bl
jne 0x466a06
mov cl, byte [eax]
add eax, 2
mov byte [ebp - 0x43], cl
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00439c95
mov eax, dword [ebp + 8]
pop ecx
mov cx, word [eax]
cmp cx, 0x2b
je 0x466a22
cmp cx, 0x2d
jne 0x466a2c
mov cl, byte [eax]
inc eax
inc eax
mov byte [ebp - 1], cl
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00439c95
mov eax, dword [ebp + 8]
movzx eax, word [eax]
push eax
call fcn.0043f865
add esp, 8
test al, al
je 0x466a6d
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00442b8e
add esp, 0xc
cmp dword [ebp - 0x14], ebx
jg 0x466a6d
jl 0x466e2a
cmp dword [ebp - 0x18], ebx
jb 0x466e2a
lea ecx, [ebp - 0x20]
call fcn.0043fd9a
cmp byte [ebp - 0x42], bl
mov esi, 0x4c9c14
je 0x466acb
mov edi, dword [ebp - 0x30]
cmp word [edi], 0x26
je 0x466a91
mov eax, dword [ebp - 0x60]
test byte [eax + 9], 0xf
je 0x466abd
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [ebp - 0x60]
push 0xffffffffffffffff
push ebx
push edi
call fcn.00413e55
cmp eax, ebx
je 0x466ab4
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp - 0x20]
call fcn.0043febe
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x466aef
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.00447b01
pop ecx
pop ecx
jmp 0x466aef
cmp byte [ebp - 0x43], bl
je 0x466ae4
mov ecx, dword [ebp - 0x60]
push 1
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x30]
call fcn.0044ed7d
jmp 0x466aef
push dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
call fcn.00448401
push dword [ebp - 0x40]
xor esi, esi
push 0x4af798
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x30], ebx
mov byte [ebp + 0xb], bl
call fcn.0043af97
test al, al
pop ecx
pop ecx
je 0x466b18
mov eax, dword [0x4c7310]
mov byte [ebp + 0xb], 2
jmp 0x466b34
push dword [ebp - 0x40]
push 0x4afd68
call fcn.0043af97
test al, al
pop ecx
pop ecx
je 0x466b37
mov eax, dword [0x4c730c]
mov byte [ebp + 0xb], 1
mov dword [ebp - 0x30], eax
cmp byte [ebp - 0xd], bl
jne 0x466b4e
cmp byte [ebp - 0x19], bl
jne 0x466b4e
push 0x4b1ee0
lea ecx, [ebp - 0x20]
call fcn.0043fe06
cmp byte [ebp - 0x19], bl
mov dword [ebp - 0x2c], ebx
je 0x466b62
mov dword [ebp - 8], 0x4b0
jmp 0x466d60
cmp byte [ebp + 0xb], bl
jne 0x466d60
push dword [ebp - 0x40]
mov byte [ebp - 0xd], 1
push str.CONOUT_
call fcn.0043af97
test al, al
pop ecx
pop ecx
je 0x466b92
push 0x100
mov byte [ebp - 0xd], bl
call fcn.0043e092
pop ecx
jmp 0x466ba4
cmp byte [ebp - 0x41], bl
je 0x466ba4
push ebx
push ebx
push dword [ebp - 0x40]
call fcn.00446107
add esp, 0xc
push dword [ebp - 0x40]
call fcn.00404d12
test eax, eax
pop ecx
mov edi, 0xc0000000
je 0x466bcd
push 7
push edi
push dword [ebp - 0x40]
call fcn.00413276
mov esi, eax
add esp, 0xc
cmp esi, ebx
mov dword [ebp - 0xc], esi
jne 0x466c41
push ebx
push 0x80
push 3
push ebx
push 7
push edi
push dword [ebp - 0x40]
lea ecx, [ebp - 0xc]
call fcn.004054c4
mov esi, dword [ebp - 0xc]
cmp esi, ebx
jne 0x466c41
push ebx
push 0x2000080
push 3
push ebx
push 7
push edi
push dword [ebp - 0x40]
lea ecx, [ebp - 0xc]
call fcn.004054c4
mov esi, dword [ebp - 0xc]
cmp esi, ebx
jne 0x466c41
push ebx
push 0x80
push 4
push ebx
push 7
push edi
push dword [ebp - 0x40]
lea ecx, [ebp - 0xc]
call fcn.004054c4
mov esi, dword [ebp - 0xc]
cmp esi, ebx
jne 0x466c41
push ebx
push 0x2000080
push 4
push ebx
push 7
push edi
push dword [ebp - 0x40]
lea ecx, [ebp - 0xc]
call fcn.004054c4
mov esi, dword [ebp - 0xc]
cmp esi, ebx
mov dword [ebp - 0x30], esi
jne 0x466c55
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x466e1a
xor eax, eax
cmp byte [ebp - 0xd], bl
lea edi, [ebp - 0x49]
mov byte [ebp - 0x4c], bl
mov byte [ebp - 0x4b], bl
mov byte [ebp - 0x4a], bl
stosw word es:[edi], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
je 0x466c85
push ebx
lea eax, [ebp - 0x38]
push eax
push 3
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0x38]
cmp byte [ebp - 0x4c], 0xff
jne 0x466c9f
cmp byte [ebp - 0x4b], 0xfe
jne 0x466cd9
mov dword [ebp - 8], 0x4b0
mov dword [ebp - 0x2c], 2
cmp byte [ebp - 0x4c], 0xfe
jne 0x466cb9
cmp byte [ebp - 0x4b], 0xff
jne 0x466cd9
mov dword [ebp - 8], 0x4b1
mov dword [ebp - 0x2c], 2
cmp byte [ebp - 0x4c], 0xef
jne 0x466cd9
cmp byte [ebp - 0x4b], 0xbb
jne 0x466cd9
cmp byte [ebp - 0x4a], 0xbf
jne 0x466cd9
mov dword [ebp - 8], 0xfde9
mov dword [ebp - 0x2c], 3
or eax, dword [ebp - 0x34]
je 0x466cf5
cmp byte [ebp - 0x39], bl
jne 0x466cf5
push ebx
xor eax, eax
push eax
push dword [ebp - 0x2c]
push esi
call fcn.0043ae64
add esp, 0x10
jmp 0x466d60
push ebx
push ebx
push ebx
push esi
call fcn.0043ae64
add esp, 0x10
cmp byte [ebp - 0x39], bl
je 0x466d0d
push esi
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
cmp dword [ebp - 8], 0x4b0
jne 0x466d26
push 2
pop eax
push ebx
lea ecx, [ebp - 0x5c]
push ecx
push eax
push 0x4b4b60
jmp 0x466d56
cmp dword [ebp - 8], 0x4b1
jne 0x466d3f
push 2
pop eax
push ebx
lea ecx, [ebp - 0x5c]
push ecx
push eax
push 0x4b4b64
jmp 0x466d56
cmp dword [ebp - 8], 0xfde9
jne 0x466d60
push 3
pop eax
push ebx
lea ecx, [ebp - 0x5c]
push ecx
push eax
push 0x4b4b68
push esi
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
call edi
mov ecx, dword [ebp - 8]
shl eax, 1
cmp ecx, 0x4b0
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
je 0x466ddd
cmp ecx, 0x4b1
jne 0x466d94
push eax
push dword [ebp - 0x20]
call fcn.0043e071
pop ecx
pop ecx
jmp 0x466ddd
cmp ecx, 0xfde9
jne 0x466dad
lea ecx, [ebp - 0x20]
call fcn.0040eec8
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
jmp 0x466ddd
mov eax, dword [ebp - 0x20]
movzx ecx, cx
push ecx
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x20], ebx
call fcn.0043fd22
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
cdq
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
call fcn.00439cfd
cmp byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
je 0x466e49
mov edi, dword [ebp - 0x30]
cmp edi, 0xffffffff
jne 0x466df5
xor ebx, ebx
inc ebx
jmp 0x466e1a
push ebx
lea ecx, [ebp + 8]
push ecx
push dword [ebp - 0x54]
mov dword [ebp + 8], ebx
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov esi, dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
push edi
call esi
push edi
call esi
push edi
call esi
push edi
call esi
lea ecx, [ebp - 0xc]
call fcn.00402c5b
lea ecx, [ebp - 0x20]
call fcn.00439cfd
lea ecx, [ebp - 0x68]
call fcn.00439cfd
lea ecx, [ebp - 0x64]
call fcn.00439cfd
lea ecx, [ebp - 0x80]
call fcn.00439cfd
mov eax, ebx
jmp 0x46751a
lea ecx, [ebp - 0x5c]
call fcn.0043fd9a
lea ecx, [ebp - 0x4c]
call fcn.0043fd9a
lea ecx, [ebp - 0x6c]
call fcn.0043fc26
lea ecx, [ebp - 0x30]
call fcn.0043fc26
cmp byte [ebp - 0x19], bl
je 0x4671b0
lea ecx, [ebp + 8]
call fcn.0043fd9a
mov eax, dword [ebp - 0x40]
cmp word [eax], 0x26
je 0x466e8c
mov ecx, dword [ebp - 0x60]
test byte [ecx + 9], 0xf
je 0x466ebf
mov esi, 0x4c9c14
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [ebp - 0x60]
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x40]
call fcn.00413e55
cmp eax, ebx
je 0x466eb6
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp + 8]
call fcn.0043febe
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x466ecb
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00447b01
pop ecx
pop ecx
mov esi, dword [ebp + 8]
push esi
call edi
cmp byte [ebp - 1], 0x2d
mov dword [ebp - 8], eax
mov edi, eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x28], ebx
jne 0x466ee7
mov dword [ebp - 0x58], ebx
jmp 0x466efb
push ebx
push 2
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call fcn.0049a840
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
xor ecx, ecx
or edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
jne 0x466f6e
cmp byte [ebp - 1], 0x2b
je 0x4670bb
cmp eax, ebx
jbe 0x466f5b
cmp word [esi + eax*2 - 2], 0xa
jne 0x466f2e
lea edi, [eax - 1]
cmp edi, ebx
jbe 0x466f5b
cmp word [esi + edi*2 - 2], 0xd
jne 0x466f2e
dec edi
cmp edi, ebx
jbe 0x466f5b
lea eax, [esi + edi*2 - 2]
jmp 0x466f41
cmp word [eax], 0xa
je 0x466f47
dec edi
dec eax
dec eax
cmp eax, esi
jae 0x466f38
jmp 0x466f5b
cmp byte [ebp - 1], 0x2d
jne 0x466f5b
dec edi
dec eax
dec eax
cmp eax, esi
jb 0x466f5b
cmp word [eax], 0xd
jne 0x466f5b
dec edi
cmp byte [ebp - 1], 0x2d
mov word [esi + edi*2], bx
jne 0x4670c1
jmp 0x467197
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
cmp dword [ebp - 0x18], edi
jne 0x466f8b
cmp dword [ebp - 0x14], ebx
jne 0x466f8b
cmp byte [ebp - 1], 0x2b
mov dword [ebp - 0x50], ebx
jne 0x466f91
xor ecx, ecx
jmp 0x466f94
mov eax, dword [ebp - 8]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 8]
xor eax, eax
cmp byte [ebp - 1], 0x2b
sete al
inc eax
cmp byte [ebp - 1], 0x2d
jne 0x466fb3
cmp dword [ebp - 0x18], edi
jne 0x466fb3
cmp dword [ebp - 0x14], ebx
jne 0x466fb3
mov dword [ebp - 0x24], edi
jmp 0x466fdf
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x24], ebx
jne 0x466fdf
cmp dword [ebp - 0x14], ebx
jne 0x466fdf
cmp byte [ebp - 1], 0x2b
jne 0x466fdf
mov edx, dword [ebp - 0x58]
cmp edx, ebx
jbe 0x466fdf
mov edi, dword [ebp - 0x20]
cmp word [edi + edx*2 - 2], 0xa
je 0x466fdf
mov dword [ebp - 0x28], 2
cdq
cmp dword [ebp - 0x14], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jl 0x4670ad
jg 0x466ffa
cmp dword [ebp - 0x18], eax
jb 0x4670ad
push 2
pop edx
mov di, word [esi]
cmp di, bx
je 0x4670ad
cmp di, 0xa
je 0x467029
cmp di, 0xd
jne 0x46701d
add esi, edx
cmp word [esi], 0xa
je 0x467056
add esi, edx
mov di, word [esi]
cmp di, bx
jne 0x467009
jmp 0x467093
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x38], eax
jne 0x467043
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x14]
jne 0x467043
mov ecx, esi
sub ecx, dword [ebp + 8]
sar ecx, 1
add ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x18], edx
jne 0x467089
cmp dword [ebp - 0x14], ebx
jne 0x467089
mov edi, esi
sub edi, dword [ebp + 8]
sar edi, 1
jmp 0x467086
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x38], eax
jne 0x467074
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x14]
jne 0x467074
mov ecx, dword [ebp - 0x24]
mov eax, esi
sub eax, dword [ebp + 8]
sar eax, 1
lea ecx, [eax + ecx*2 - 1]
cmp dword [ebp - 0x18], edx
jne 0x467089
cmp dword [ebp - 0x14], ebx
jne 0x467089
mov edi, esi
sub edi, dword [ebp + 8]
sar edi, 1
dec edi
mov dword [ebp - 0x50], edi
add dword [ebp - 0x18], 0xffffffff
adc dword [ebp - 0x14], 0xffffffff
add esi, edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
jg 0x466ffd
jl 0x4670ad
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
jae 0x466ffd
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp + 8]
sub eax, ecx
mov dword [ebp - 0x24], eax
cmp byte [ebp - 1], 0x2d
je 0x4670d4
cmp edi, ebx
jbe 0x4670d4
cmp word [esi + edi*2 - 2], 0xa
je 0x4670d4
mov dword [ebp - 0x70], 2
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x28]
lea esi, [eax + edx]
add esi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x24]
sub ecx, edi
add eax, esi
mov dword [ebp - 0x14], ecx
lea ecx, [eax + edi + 1]
mov eax, dword [ebp + 8]
add edi, edi
add eax, edi
cmp dword [ebp - 8], ecx
mov dword [ebp - 0x50], ecx
jb 0x46711b
cmp dword [ebp - 0x24], ebx
jbe 0x46711b
mov ecx, dword [ebp - 0x24]
add ecx, ecx
push ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [eax + ecx*2]
push ecx
lea eax, [eax + esi*2]
push eax
call fcn.004131b9
add esp, 0xc
push dword [ebp - 0x50]
lea ecx, [ebp + 8]
call fcn.0043fddf
mov eax, dword [ebp + 8]
add edi, eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 8], eax
jae 0x467150
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jbe 0x467150
add eax, eax
push eax
mov eax, dword [ebp - 0x14]
lea eax, [edi + eax*2]
push eax
lea eax, [edi + esi*2]
push eax
call fcn.004131b9
add esp, 0xc
cmp dword [ebp - 0x70], ebx
je 0x467163
mov word [edi], 0xd
inc edi
inc edi
mov word [edi], 0xa
inc edi
inc edi
mov esi, dword [ebp - 0x58]
cmp esi, ebx
jbe 0x46717a
push esi
push dword [ebp - 0x20]
push edi
call fcn.0040542c
add esp, 0xc
lea edi, [edi + esi*2]
cmp dword [ebp - 0x28], ebx
je 0x46718d
mov word [edi], 0xd
inc edi
inc edi
mov word [edi], 0xa
inc edi
inc edi
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
mov word [edi + eax*2], bx
mov ecx, dword [ebp - 0x60]
push esi
push dword [ebp - 0x40]
call fcn.0043f62b
lea ecx, [ebp + 8]
call fcn.00439cfd
jmp 0x4674d0
mov edi, dword [ebp - 0x18]
mov eax, edi
or eax, dword [ebp - 0x14]
jne 0x467268
cmp byte [ebp - 1], 0x2b
je 0x467259
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
push ebx
push ecx
push eax
push esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
call fcn.0043ae64
push 1
push ebx
push ebx
push esi
call fcn.0043ae64
push dword [ebp - 0x24]
mov edi, eax
push dword [ebp - 8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x28], edx
call fcn.00445e00
add esp, 0x30
jmp 0x467231
mov eax, dword [ebp - 0x28]
push 1
push ebx
push ebx
push esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], eax
call fcn.0043ae64
push dword [ebp - 0x24]
mov edi, eax
push dword [ebp - 8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x28], edx
call fcn.00445e00
add esp, 0x20
test eax, eax
jne 0x467203
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push esi
call fcn.0043ae64
push dword [ebp - 0x34]
lea eax, [ebp - 0xc]
push dword [ebp - 0x38]
push eax
call fcn.00446152
mov edi, dword [ebp - 0x18]
add esp, 0x1c
jmp 0x4672ab
push 2
push ebx
push ebx
push esi
call fcn.0043ae64
add esp, 0x10
jmp 0x4672ab
xor eax, eax
cmp eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], eax
jg 0x4672ab
jge 0x4672a6
push dword [ebp - 0x24]
lea eax, [ebp - 0x30]
push dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00445e00
add esp, 0x10
test eax, eax
je 0x4672ab
add dword [ebp - 0x2c], 1
adc dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x14]
jl 0x46727b
jg 0x4672ab
cmp dword [ebp - 0x2c], edi
jb 0x46727b
cmp byte [ebp - 1], 0x2b
jne 0x46735a
or edi, dword [ebp - 0x14]
jne 0x4672cd
push dword [ebp - 0x54]
lea ecx, [ebp - 0xc]
push dword [ebp - 0x58]
call fcn.00439bee
jmp 0x4674d0
push 1
push ebx
push ebx
push esi
call fcn.0043ae64
push esi
mov edi, eax
call fcn.0048c6df
add esp, 0x14
sub eax, edi
mov dword [ebp + 8], eax
jns 0x4672ec
mov dword [ebp + 8], ebx
add eax, 0xca
push eax
lea ecx, [ebp - 0x28]
call fcn.0043fc43
mov eax, edi
cdq
push ebx
push edx
mov edi, eax
push edi
push esi
mov dword [ebp - 0x34], edx
call fcn.0043ae64
add esp, 0x10
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push ebx
push dword [ebp - 0x34]
push edi
push esi
call fcn.0043ae64
add esp, 0x10
push dword [ebp - 0x54]
lea ecx, [ebp - 0xc]
push dword [ebp - 0x58]
call fcn.00439bee
cmp dword [ebp + 8], ebx
jle 0x467352
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
push dword [ebp - 0x28]
call fcn.00439bee
lea ecx, [ebp - 0x28]
jmp 0x4674cb
cmp byte [ebp - 1], 0x2d
jne 0x46740b
or edi, dword [ebp - 0x14]
je 0x4674d0
push 1
push ebx
push ebx
push esi
call fcn.0043ae64
push dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
push dword [ebp - 8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x34], edx
call fcn.00445e00
push 1
push ebx
push ebx
push esi
call fcn.0043ae64
push esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
call fcn.0048c6df
mov edi, eax
sub edi, dword [ebp - 0x2c]
add esp, 0x34
lea eax, [edi + 0xca]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x70], edx
call fcn.0043fc43
push ebx
lea eax, [ebp - 0x14]
push eax
add edi, 0xc8
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push esi
call fcn.0043ae64
push dword [ebp - 0x34]
lea eax, [ebp - 0xc]
push dword [ebp - 0x38]
push eax
call fcn.00446152
add esp, 0x1c
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push dword [ebp + 8]
call fcn.00439bee
jmp 0x4674c8
or edi, dword [ebp - 0x14]
je 0x4672ba
push 1
push ebx
push ebx
push esi
call fcn.0043ae64
push dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
push dword [ebp - 8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x34], edx
call fcn.00445e00
push 1
push ebx
push ebx
push esi
call fcn.0043ae64
push esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
call fcn.0048c6df
mov edi, eax
sub edi, dword [ebp - 0x2c]
add esp, 0x34
lea eax, [edi + 0xca]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x70], edx
call fcn.0043fc43
push ebx
lea eax, [ebp - 0x14]
push eax
add edi, 0xc8
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push esi
call fcn.0043ae64
add esp, 0x10
push dword [ebp - 0x54]
lea ecx, [ebp - 0xc]
push dword [ebp - 0x58]
call fcn.00439bee
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push dword [ebp + 8]
call fcn.00439bee
push 1
push ebx
push ebx
push esi
call fcn.0043ae64
mov dword [ebp - 0x28], edx
cdq
push edx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00446152
add esp, 0x1c
lea ecx, [ebp + 8]
call fcn.00439cfd
lea ecx, [ebp - 0x30]
call fcn.00439cfd
lea ecx, [ebp - 0x6c]
call fcn.00439cfd
lea ecx, [ebp - 0x4c]
call fcn.00439cfd
lea ecx, [ebp - 0x5c]
call fcn.00439cfd
lea ecx, [ebp - 0xc]
call fcn.00402c5b
lea ecx, [ebp - 0x20]
call fcn.00439cfd
lea ecx, [ebp - 0x68]
call fcn.00439cfd
lea ecx, [ebp - 0x64]
call fcn.00439cfd
lea ecx, [ebp - 0x80]
call fcn.00439cfd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8