Function at 0x4735d9
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.00448948
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.004b1b03
test al, al
jne 0x47371b
push 4
push esi
push str._UNI
call fcn.00441220
add esp, 0xc
test al, al
jne 0x473649
push 5
push esi
push str._UNIB
call fcn.00441220
add esp, 0xc
test al, al
jne 0x473684
push 8
push esi
push str._UNICODE
call fcn.00441220
add esp, 0xc
test al, al
je 0x473670
mov dword [ebp - 8], 0x4b0
lea eax, [ebp + 8]
push eax
call fcn.00408f31
mov byte [ebp - 0x24], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x44], bl
mov byte [ebp - 0x39], bl
mov byte [ebp - 0x43], bl
jmp 0x473835
push 9
push esi
push str._UNICODEB
call fcn.00441220
add esp, 0xc
test al, al
je 0x47368d
mov dword [ebp - 8], 0x4b1
jmp 0x473650
push 5
push esi
push str._UTF8
call fcn.00441220
add esp, 0xc
test al, al
je 0x4736aa
mov dword [ebp - 8], 0xfde9
jmp 0x473650
push 5
push esi
push str._UTF7
call fcn.00441220
add esp, 0xc
test al, al
je 0x4736c7
mov dword [ebp - 8], 0xfde8
jmp 0x473650
push 4
push esi
push str._GBK
call fcn.00441220
add esp, 0xc
test al, al
je 0x4736e7
mov dword [ebp - 8], 0x3a8
jmp 0x473650
push 5
push esi
push str._BIG5
call fcn.00441220
add esp, 0xc
test al, al
je 0x473707
mov dword [ebp - 8], 0x3b6
jmp 0x473650
push 5
push esi
push str._ANSI
call fcn.00441220
add esp, 0xc
test al, al
je 0x473723
mov dword [ebp - 8], ebx
jmp 0x473650
cmp di, 0x2d
jne 0x473753
xor eax, eax
lea ecx, [esi + 2]
mov ax, word [ecx]
push eax
call fcn.00414d24
add esp, 4
test al, al
je 0x473753
push ecx
mov dword [ebp + 8], ecx
call fcn.00447254
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
jge 0x473650
xor ebx, ebx
inc ebx
jmp 0x473d41
push 4
lea eax, [ebp + 8]
push eax
push 0x4d1a00
call fcn.004485c7
add esp, 0xc
test al, al
je 0x47377b
mov byte [ebp - 0x24], 2
jmp 0x473836
push 4
lea eax, [ebp + 8]
push eax
push str._nl
call fcn.004485c7
add esp, 0xc
test al, al
je 0x47379b
mov byte [ebp - 0xd], 1
jmp 0x473836
push 2
lea eax, [ebp + 8]
push eax
push 0x4d1a74
call fcn.004485c7
add esp, 0xc
test al, al
je 0x4737b8
mov byte [ebp - 0x19], 1
jmp 0x473836
push 3
lea eax, [ebp + 8]
push eax
push 0x4d1a70
call fcn.004485c7
add esp, 0xc
test al, al
je 0x4737d5
mov byte [ebp - 0x44], 1
jmp 0x473836
push 2
lea eax, [ebp + 8]
push eax
push 0x4cb528
call fcn.004485c7
add esp, 0xc
test al, al
je 0x4737f2
mov byte [ebp - 0x39], 1
jmp 0x473836
push 7
lea eax, [ebp + 8]
push eax
push str.sparse
call fcn.004485c7
add esp, 0xc
test al, al
je 0x47380f
mov byte [ebp - 0x41], 1
jmp 0x473836
push 6
lea eax, [ebp + 8]
push eax
push str.nobom
call fcn.004485c7
add esp, 0xc
test al, al
je 0x47382c
mov byte [ebp - 0x43], 1
jmp 0x473836
lea eax, [ebp + 8]
push eax
call fcn.00408f31
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x47375b
mov esi, 0x4c6a64
push esi
lea ecx, [ebp - 0x64]
call fcn.004505eb
push 0x4d1a58
lea ecx, [ebp - 0x68]
call fcn.004505eb
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.0045bac5
push ebx
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.004494ac
push dword [ebp - 0x64]
call fcn.004135f9
add esp, 0x10
cmp word [eax], bx
mov dword [ebp - 0x40], eax
jne 0x47389e
mov ebx, 0x80070057
jmp 0x473d31
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x4738dd
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0043fe57
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
je 0x4738dd
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
call fcn.0045bac5
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.004494ac
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
mov dword [ebp - 0x28], esi
jne 0x4738eb
add eax, 2
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x68]
cmp word [eax], 0x24
mov dword [ebp + 8], eax
mov byte [ebp - 0x42], bl
mov byte [ebp - 1], bl
jne 0x473908
mov cl, byte [eax]
add eax, 2
mov byte [ebp - 0x42], cl
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0043fe57
mov eax, dword [ebp + 8]
pop ecx
mov cx, word [eax]
cmp cx, 0x2b
je 0x473924
cmp cx, 0x2d
jne 0x47392e
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.0043fe57
mov eax, dword [ebp + 8]
movzx eax, word [eax]
push eax
call fcn.00414d24
add esp, 8
test al, al
je 0x47396f
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004496a9
add esp, 0xc
cmp dword [ebp - 0x14], ebx
jg 0x47396f
jl 0x473d31
cmp dword [ebp - 0x18], ebx
jb 0x473d31
lea ecx, [ebp - 0x20]
call fcn.0044658e
cmp byte [ebp - 0x44], bl
mov esi, 0x4e3d84
je 0x4739cd
mov edi, dword [ebp - 0x28]
cmp word [edi], 0x26
je 0x473993
mov eax, dword [ebp - 0x60]
test byte [eax + 9], 0xf
je 0x4739bf
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x60]
push 0xffffffffffffffff
push ebx
push edi
call fcn.00415610
cmp eax, ebx
je 0x4739b6
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp - 0x20]
call fcn.004466b2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4739f1
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.0044fee0
pop ecx
pop ecx
jmp 0x4739f1
cmp byte [ebp - 0x42], bl
je 0x4739e6
mov ecx, dword [ebp - 0x60]
push 1
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x28]
call fcn.0045937c
jmp 0x4739f1
push dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
call fcn.0045066c
push dword [ebp - 0x40]
xor esi, esi
push 0x4c7a50
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x28], ebx
mov byte [ebp + 0xb], bl
call fcn.004412b6
test al, al
pop ecx
pop ecx
je 0x473a1a
mov eax, dword [0x4e1350]
mov byte [ebp + 0xb], 2
jmp 0x473a36
push dword [ebp - 0x40]
push 0x4c8014
call fcn.004412b6
test al, al
pop ecx
pop ecx
je 0x473a39
mov eax, dword [0x4e134c]
mov byte [ebp + 0xb], 1
mov dword [ebp - 0x28], eax
cmp byte [ebp - 0xd], bl
jne 0x473a50
cmp byte [ebp - 0x19], bl
jne 0x473a50
push 0x4c7100
lea ecx, [ebp - 0x20]
call fcn.004465fa
cmp byte [ebp - 0x19], bl
mov dword [ebp - 0x30], ebx
je 0x473a64
mov dword [ebp - 8], 0x4b0
jmp 0x473c67
cmp byte [ebp + 0xb], bl
jne 0x473c67
push dword [ebp - 0x40]
mov byte [ebp - 0xd], 1
push str.CONOUT_
call fcn.004412b6
test al, al
pop ecx
pop ecx
je 0x473a94
push 0x100
mov byte [ebp - 0xd], bl
call fcn.00444650
pop ecx
jmp 0x473aa6
cmp byte [ebp - 0x41], bl
je 0x473aa6
push ebx
push ebx
push dword [ebp - 0x40]
call fcn.0044daf3
add esp, 0xc
push dword [ebp - 0x40]
call fcn.00404f34
test eax, eax
pop ecx
mov edi, 0xc0000000
je 0x473acf
push 7
push edi
push dword [ebp - 0x40]
call fcn.004148ac
mov esi, eax
add esp, 0xc
cmp esi, ebx
mov dword [ebp - 0xc], esi
jne 0x473b43
push ebx
push 0x80
push 3
push ebx
push 7
push edi
push dword [ebp - 0x40]
lea ecx, [ebp - 0xc]
call fcn.00405c6d
mov esi, dword [ebp - 0xc]
cmp esi, ebx
jne 0x473b43
push ebx
push 0x2000080
push 3
push ebx
push 7
push edi
push dword [ebp - 0x40]
lea ecx, [ebp - 0xc]
call fcn.00405c6d
mov esi, dword [ebp - 0xc]
cmp esi, ebx
jne 0x473b43
push ebx
push 0x80
push 4
push ebx
push 7
push edi
push dword [ebp - 0x40]
lea ecx, [ebp - 0xc]
call fcn.00405c6d
mov esi, dword [ebp - 0xc]
cmp esi, ebx
jne 0x473b43
push ebx
push 0x2000080
push 4
push ebx
push 7
push edi
push dword [ebp - 0x40]
lea ecx, [ebp - 0xc]
call fcn.00405c6d
mov esi, dword [ebp - 0xc]
cmp esi, ebx
mov dword [ebp - 0x28], esi
jne 0x473b57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x473d21
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 0x473b87
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 0x473ba1
cmp byte [ebp - 0x4b], 0xfe
jne 0x473bdb
mov dword [ebp - 8], 0x4b0
mov dword [ebp - 0x30], 2
cmp byte [ebp - 0x4c], 0xfe
jne 0x473bbb
cmp byte [ebp - 0x4b], 0xff
jne 0x473bdb
mov dword [ebp - 8], 0x4b1
mov dword [ebp - 0x30], 2
cmp byte [ebp - 0x4c], 0xef
jne 0x473bdb
cmp byte [ebp - 0x4b], 0xbb
jne 0x473bdb
cmp byte [ebp - 0x4a], 0xbf
jne 0x473bdb
mov dword [ebp - 8], 0xfde9
mov dword [ebp - 0x30], 3
or eax, dword [ebp - 0x34]
je 0x473bf7
cmp byte [ebp - 0x39], bl
jne 0x473bf7
push ebx
xor eax, eax
push eax
push dword [ebp - 0x30]
push esi
call fcn.00441183
add esp, 0x10
jmp 0x473c67
push ebx
push ebx
push ebx
push esi
call fcn.00441183
add esp, 0x10
cmp byte [ebp - 0x39], bl
je 0x473c0f
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp byte [ebp - 0x43], bl
jne 0x473c67
cmp dword [ebp - 8], 0x4b0
jne 0x473c2d
push 2
pop eax
push ebx
lea ecx, [ebp - 0x5c]
push ecx
push eax
push 0x4cd478
jmp 0x473c5d
cmp dword [ebp - 8], 0x4b1
jne 0x473c46
push 2
pop eax
push ebx
lea ecx, [ebp - 0x5c]
push ecx
push eax
push 0x4cd47c
jmp 0x473c5d
cmp dword [ebp - 8], 0xfde9
jne 0x473c67
push 3
pop eax
push ebx
lea ecx, [ebp - 0x5c]
push ecx
push eax
push 0x4cd480
push esi
mov dword [ebp - 0x30], 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 0x473ce4
cmp ecx, 0x4b1
jne 0x473c9b
push eax
push dword [ebp - 0x20]
call fcn.0044462f
pop ecx
pop ecx
jmp 0x473ce4
cmp ecx, 0xfde9
jne 0x473cb4
lea ecx, [ebp - 0x20]
call fcn.004100c6
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
jmp 0x473ce4
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.00446516
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.0043fe25
cmp byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
je 0x473d50
mov edi, dword [ebp - 0x28]
cmp edi, 0xffffffff
jne 0x473cfc
xor ebx, ebx
inc ebx
jmp 0x473d21
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.00402d2b
lea ecx, [ebp - 0x20]
call fcn.0043fe25
lea ecx, [ebp - 0x68]
call fcn.0043fe25
lea ecx, [ebp - 0x64]
call fcn.0043fe25
lea ecx, [ebp - 0x80]
call fcn.0043fe25
mov eax, ebx
jmp 0x474426
lea ecx, [ebp - 0x5c]
call fcn.0044658e
lea ecx, [ebp - 0x4c]
call fcn.0044658e
lea ecx, [ebp - 0x6c]
call fcn.0044641a
lea ecx, [ebp - 0x28]
call fcn.0044641a
cmp byte [ebp - 0x19], bl
je 0x4740b7
lea ecx, [ebp + 8]
call fcn.0044658e
mov eax, dword [ebp - 0x40]
cmp word [eax], 0x26
je 0x473d93
mov ecx, dword [ebp - 0x60]
test byte [ecx + 9], 0xf
je 0x473dc6
mov esi, 0x4e3d84
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x60]
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x40]
call fcn.00415610
cmp eax, ebx
je 0x473dbd
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp + 8]
call fcn.004466b2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x473dd2
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.0044fee0
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 - 0x2c], ebx
jne 0x473dee
mov dword [ebp - 0x58], ebx
jmp 0x473e02
push ebx
push 2
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call fcn.004b4580
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 0x473e75
cmp byte [ebp - 1], 0x2b
je 0x473fc2
cmp eax, ebx
jbe 0x473e62
cmp word [esi + eax*2 - 2], 0xa
jne 0x473e35
lea edi, [eax - 1]
cmp edi, ebx
jbe 0x473e62
cmp word [esi + edi*2 - 2], 0xd
jne 0x473e35
dec edi
cmp edi, ebx
jbe 0x473e62
lea eax, [esi + edi*2 - 2]
jmp 0x473e48
cmp word [eax], 0xa
je 0x473e4e
dec edi
dec eax
dec eax
cmp eax, esi
jae 0x473e3f
jmp 0x473e62
cmp byte [ebp - 1], 0x2d
jne 0x473e62
dec edi
dec eax
dec eax
cmp eax, esi
jb 0x473e62
cmp word [eax], 0xd
jne 0x473e62
dec edi
cmp byte [ebp - 1], 0x2d
mov word [esi + edi*2], bx
jne 0x473fc8
jmp 0x47409e
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
cmp dword [ebp - 0x18], edi
jne 0x473e92
cmp dword [ebp - 0x14], ebx
jne 0x473e92
cmp byte [ebp - 1], 0x2b
mov dword [ebp - 0x50], ebx
jne 0x473e98
xor ecx, ecx
jmp 0x473e9b
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 0x473eba
cmp dword [ebp - 0x18], edi
jne 0x473eba
cmp dword [ebp - 0x14], ebx
jne 0x473eba
mov dword [ebp - 0x24], edi
jmp 0x473ee6
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x24], ebx
jne 0x473ee6
cmp dword [ebp - 0x14], ebx
jne 0x473ee6
cmp byte [ebp - 1], 0x2b
jne 0x473ee6
mov edx, dword [ebp - 0x58]
cmp edx, ebx
jbe 0x473ee6
mov edi, dword [ebp - 0x20]
cmp word [edi + edx*2 - 2], 0xa
je 0x473ee6
mov dword [ebp - 0x2c], 2
cdq
cmp dword [ebp - 0x14], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jl 0x473fb4
jg 0x473f01
cmp dword [ebp - 0x18], eax
jb 0x473fb4
push 2
pop edx
mov di, word [esi]
cmp di, bx
je 0x473fb4
cmp di, 0xa
je 0x473f30
cmp di, 0xd
jne 0x473f24
add esi, edx
cmp word [esi], 0xa
je 0x473f5d
add esi, edx
mov di, word [esi]
cmp di, bx
jne 0x473f10
jmp 0x473f9a
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x38], eax
jne 0x473f4a
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x14]
jne 0x473f4a
mov ecx, esi
sub ecx, dword [ebp + 8]
sar ecx, 1
add ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x18], edx
jne 0x473f90
cmp dword [ebp - 0x14], ebx
jne 0x473f90
mov edi, esi
sub edi, dword [ebp + 8]
sar edi, 1
jmp 0x473f8d
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x38], eax
jne 0x473f7b
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x14]
jne 0x473f7b
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 0x473f90
cmp dword [ebp - 0x14], ebx
jne 0x473f90
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 0x473f04
jl 0x473fb4
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
jae 0x473f04
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 0x473fdb
cmp edi, ebx
jbe 0x473fdb
cmp word [esi + edi*2 - 2], 0xa
je 0x473fdb
mov dword [ebp - 0x70], 2
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
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 0x474022
cmp dword [ebp - 0x24], ebx
jbe 0x474022
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.004147ef
add esp, 0xc
push dword [ebp - 0x50]
lea ecx, [ebp + 8]
call fcn.004465d3
mov eax, dword [ebp + 8]
add edi, eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 8], eax
jae 0x474057
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jbe 0x474057
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.004147ef
add esp, 0xc
cmp dword [ebp - 0x70], ebx
je 0x47406a
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 0x474081
push esi
push dword [ebp - 0x20]
push edi
call fcn.00405c0c
add esp, 0xc
lea edi, [edi + esi*2]
cmp dword [ebp - 0x2c], ebx
je 0x474094
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.00445c44
lea ecx, [ebp + 8]
call fcn.0043fe25
jmp 0x4743dc
mov edi, dword [ebp - 0x18]
mov eax, edi
or eax, dword [ebp - 0x14]
jne 0x474171
cmp byte [ebp - 1], 0x2b
je 0x474162
mov eax, dword [ebp - 0x30]
xor ecx, ecx
push ebx
push ecx
push eax
push esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
call fcn.00441183
push 1
push ebx
push ebx
push esi
call fcn.00441183
push ebx
push dword [ebp - 0x24]
mov edi, eax
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x2c], edx
call fcn.0044d8bc
add esp, 0x34
jmp 0x47413a
mov eax, dword [ebp - 0x2c]
push 1
push ebx
push ebx
push esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], eax
call fcn.00441183
push ebx
push dword [ebp - 0x24]
mov edi, eax
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x2c], edx
call fcn.0044d8bc
add esp, 0x24
test eax, eax
jne 0x47410b
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push esi
call fcn.00441183
push dword [ebp - 0x34]
lea eax, [ebp - 0xc]
push dword [ebp - 0x38]
push eax
call fcn.0044db3e
mov edi, dword [ebp - 0x18]
add esp, 0x1c
jmp 0x4741b5
push 2
push ebx
push ebx
push esi
call fcn.00441183
add esp, 0x10
jmp 0x4741b5
xor eax, eax
cmp eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], eax
jg 0x4741b5
jge 0x4741b0
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044d8bc
add esp, 0x14
test eax, eax
je 0x4741b5
add dword [ebp - 0x30], 1
adc dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x14]
jl 0x474184
jg 0x4741b5
cmp dword [ebp - 0x30], edi
jb 0x474184
cmp byte [ebp - 1], 0x2b
jne 0x474264
or edi, dword [ebp - 0x14]
jne 0x4741d7
push dword [ebp - 0x54]
lea ecx, [ebp - 0xc]
push dword [ebp - 0x58]
call fcn.0043fcd3
jmp 0x4743dc
push 1
push ebx
push ebx
push esi
call fcn.00441183
push esi
mov edi, eax
call fcn.004a0f57
add esp, 0x14
sub eax, edi
mov dword [ebp + 8], eax
jns 0x4741f6
mov dword [ebp + 8], ebx
add eax, 0xca
push eax
lea ecx, [ebp - 0x2c]
call fcn.00446437
mov eax, edi
cdq
push ebx
push edx
mov edi, eax
push edi
push esi
mov dword [ebp - 0x34], edx
call fcn.00441183
add esp, 0x10
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push dword [ebp - 0x34]
push edi
push esi
call fcn.00441183
add esp, 0x10
push dword [ebp - 0x54]
lea ecx, [ebp - 0xc]
push dword [ebp - 0x58]
call fcn.0043fcd3
cmp dword [ebp + 8], ebx
jle 0x47425c
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
push dword [ebp - 0x2c]
call fcn.0043fcd3
lea ecx, [ebp - 0x2c]
jmp 0x4743d7
cmp byte [ebp - 1], 0x2d
jne 0x474316
or edi, dword [ebp - 0x14]
je 0x4743dc
push 1
push ebx
push ebx
push esi
call fcn.00441183
push ebx
push dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x34], edx
call fcn.0044d8bc
push 1
push ebx
push ebx
push esi
call fcn.00441183
push esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
call fcn.004a0f57
mov edi, eax
sub edi, dword [ebp - 0x30]
add esp, 0x38
lea eax, [edi + 0xca]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x70], edx
call fcn.00446437
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.00441183
push dword [ebp - 0x34]
lea eax, [ebp - 0xc]
push dword [ebp - 0x38]
push eax
call fcn.0044db3e
add esp, 0x1c
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push dword [ebp + 8]
call fcn.0043fcd3
jmp 0x4743d4
or edi, dword [ebp - 0x14]
je 0x4741c4
push 1
push ebx
push ebx
push esi
call fcn.00441183
push ebx
push dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x34], edx
call fcn.0044d8bc
push 1
push ebx
push ebx
push esi
call fcn.00441183
push esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
call fcn.004a0f57
mov edi, eax
sub edi, dword [ebp - 0x30]
add esp, 0x38
lea eax, [edi + 0xca]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x70], edx
call fcn.00446437
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.00441183
add esp, 0x10
push dword [ebp - 0x54]
lea ecx, [ebp - 0xc]
push dword [ebp - 0x58]
call fcn.0043fcd3
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc]
push dword [ebp + 8]
call fcn.0043fcd3
push 1
push ebx
push ebx
push esi
call fcn.00441183
mov dword [ebp - 0x2c], edx
cdq
push edx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044db3e
add esp, 0x1c
lea ecx, [ebp + 8]
call fcn.0043fe25
lea ecx, [ebp - 0x28]
call fcn.0043fe25
lea ecx, [ebp - 0x6c]
call fcn.0043fe25
lea ecx, [ebp - 0x4c]
call fcn.0043fe25
lea ecx, [ebp - 0x5c]
call fcn.0043fe25
lea ecx, [ebp - 0xc]
call fcn.00402d2b
lea ecx, [ebp - 0x20]
call fcn.0043fe25
lea ecx, [ebp - 0x68]
call fcn.0043fe25
lea ecx, [ebp - 0x64]
call fcn.0043fe25
lea ecx, [ebp - 0x80]
call fcn.0043fe25
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8