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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x5c], ecx
push ecx
lea ecx, [ebp - 0x88]
call fcn.0043f42c
mov esi, dword [ebp + 8]
xor edi, edi
mov di, word [esi]
mov eax, edi
call fcn.004820ac
xor ebx, ebx
test al, al
jne 0x461e88
push 4
push esi
push str._UNI
call fcn.00438a4a
add esp, 0xc
test al, al
jne 0x461db9
push 5
push esi
push str._UNIB
call fcn.00438a4a
add esp, 0xc
test al, al
jne 0x461df1
push 8
push esi
push str._UNICODE
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x461ddd
mov dword [ebp - 0x18], 0x4b0
lea eax, [ebp + 8]
push eax
call fcn.00407fcf
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x5d], bl
mov byte [ebp - 9], bl
mov byte [ebp - 2], bl
mov byte [ebp - 0x2d], bl
jmp 0x461f62
push 9
push esi
push str._UNICODEB
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x461dfa
mov dword [ebp - 0x18], 0x4b1
jmp 0x461dc0
push 5
push esi
push str._UTF8
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x461e17
mov dword [ebp - 0x18], 0xfde9
jmp 0x461dc0
push 5
push esi
push str._UTF7
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x461e34
mov dword [ebp - 0x18], 0xfde8
jmp 0x461dc0
push 4
push esi
push str._GBK
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x461e54
mov dword [ebp - 0x18], 0x3a8
jmp 0x461dc0
push 5
push esi
push str._BIG5
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x461e74
mov dword [ebp - 0x18], 0x3b6
jmp 0x461dc0
push 5
push esi
push str._ANSI
call fcn.00438a4a
add esp, 0xc
test al, al
je 0x461e90
mov dword [ebp - 0x18], ebx
jmp 0x461dc0
cmp di, 0x2d
jne 0x461ec0
xor eax, eax
lea ecx, [esi + 2]
mov ax, word [ecx]
push eax
call fcn.00412674
add esp, 4
test al, al
je 0x461ec0
push ecx
mov dword [ebp + 8], ecx
call fcn.0043de9a
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
jge 0x461dc0
xor ebx, ebx
inc ebx
jmp 0x462411
push 4
lea eax, [ebp + 8]
push eax
push str.fix
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x461ee5
mov byte [ebp - 0x34], 2
jmp 0x461f63
push 4
lea eax, [ebp + 8]
push eax
push str._nl
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x461f02
mov byte [ebp - 0x5d], 1
jmp 0x461f63
push 2
lea eax, [ebp + 8]
push eax
push 0x4ad9ec
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x461f1f
mov byte [ebp - 9], 1
jmp 0x461f63
push 3
lea eax, [ebp + 8]
push eax
push 0x4ad9e8
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x461f3c
mov byte [ebp - 2], 1
jmp 0x461f63
push 2
lea eax, [ebp + 8]
push eax
push 0x4a8594
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x461f59
mov byte [ebp - 0x2d], 1
jmp 0x461f63
lea eax, [ebp + 8]
push eax
call fcn.00407fcf
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x461ec8
mov esi, 0x4a39d4
push esi
lea ecx, [ebp - 0x74]
call fcn.00445746
push 0x4ad9e0
lea ecx, [ebp - 0x78]
call fcn.00445746
push 1
push 0x2c
pop edi
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
call fcn.0044e4ae
push ebx
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.0043fd51
push dword [ebp - 0x74]
call fcn.004110a0
add esp, 0x10
cmp word [eax], bx
mov dword [ebp - 0x64], eax
jne 0x461fce
mov ebx, 0x80070057
jmp 0x462401
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x462010
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.004378b6
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
je 0x462010
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x88]
call fcn.0044e4ae
push ebx
lea ecx, [ebp - 0x78]
push ecx
push eax
call fcn.0043fd51
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
mov dword [ebp - 0x20], esi
jne 0x46201e
add eax, 2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x78]
cmp word [eax], 0x24
mov dword [ebp + 8], eax
mov byte [ebp - 0x5e], bl
mov byte [ebp - 1], bl
jne 0x46203b
mov cl, byte [eax]
add eax, 2
mov byte [ebp - 0x5e], cl
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.004378b6
mov eax, dword [ebp + 8]
pop ecx
mov cx, word [eax]
cmp cx, 0x2b
je 0x462057
cmp cx, 0x2d
jne 0x462061
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.004378b6
mov eax, dword [ebp + 8]
movzx eax, word [eax]
push eax
call fcn.00412674
add esp, 8
test al, al
je 0x4620a2
push edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043ff07
add esp, 0xc
cmp dword [ebp - 0x54], ebx
jg 0x4620a2
jl 0x462401
cmp dword [ebp - 0x58], ebx
jb 0x462401
lea ecx, [ebp - 0x24]
call fcn.0043d3a5
cmp byte [ebp - 2], bl
mov esi, 0x4beb4c
je 0x462100
mov edi, dword [ebp - 0x20]
cmp word [edi], 0x26
je 0x4620c6
mov eax, dword [ebp - 0x5c]
test byte [eax + 9], 0xf
je 0x4620f2
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x5c]
push 0xffffffffffffffff
push ebx
push edi
call fcn.00412ddf
cmp eax, ebx
je 0x4620e9
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp - 0x24]
call fcn.0043d4c9
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x462124
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.00444c70
pop ecx
pop ecx
jmp 0x462124
cmp byte [ebp - 0x5e], bl
je 0x462119
mov ecx, dword [ebp - 0x5c]
push 1
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
call fcn.0044c04c
jmp 0x462124
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.004457ae
push dword [ebp - 0x64]
xor esi, esi
push 0x4a4610
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp + 0xb], bl
call fcn.00438ae0
test al, al
pop ecx
pop ecx
je 0x46214d
mov eax, dword [0x4bc318]
mov byte [ebp + 0xb], 2
jmp 0x462169
push dword [ebp - 0x64]
push 0x4a4b90
call fcn.00438ae0
test al, al
pop ecx
pop ecx
je 0x46216c
mov eax, dword [0x4bc314]
mov byte [ebp + 0xb], 1
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x5d], bl
jne 0x462183
cmp byte [ebp - 9], bl
jne 0x462183
push 0x4a3f24
lea ecx, [ebp - 0x24]
call fcn.0043d411
cmp byte [ebp - 9], bl
mov dword [ebp - 0x14], ebx
je 0x462197
mov dword [ebp - 0x18], 0x4b0
jmp 0x462337
cmp byte [ebp + 0xb], bl
jne 0x462337
push dword [ebp - 0x64]
mov byte [ebp - 2], 1
push str.CONOUT_
call fcn.00438ae0
test al, al
pop ecx
pop ecx
je 0x4621c5
push pe_nt_image_headers32
mov byte [ebp - 2], bl
call fcn.0043b87e
pop ecx
push ebx
push 0x80
push 3
push ebx
push 7
mov edi, 0xc0000000
push edi
push dword [ebp - 0x64]
lea ecx, [ebp - 8]
call fcn.004050ca
cmp byte [ebp - 2], bl
mov esi, dword [ebp - 8]
je 0x4621fa
cmp esi, ebx
jne 0x462218
push ebx
push ebx
push dword [ebp - 0x64]
call fcn.004432c9
add esp, 0xc
cmp esi, ebx
jne 0x462218
push ebx
push 0x80
push 4
push ebx
push 7
push edi
push dword [ebp - 0x64]
lea ecx, [ebp - 8]
call fcn.004050ca
mov esi, dword [ebp - 8]
cmp esi, ebx
mov dword [ebp - 0x20], esi
jne 0x46222c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x4623f1
xor eax, eax
cmp byte [ebp - 2], bl
lea edi, [ebp - 0x4d]
mov byte [ebp - 0x50], bl
mov byte [ebp - 0x4f], bl
mov byte [ebp - 0x4e], bl
stosw word es:[edi], ax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
je 0x46225c
push ebx
lea eax, [ebp - 0x2c]
push eax
push 3
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x2c]
cmp byte [ebp - 0x50], 0xff
jne 0x462276
cmp byte [ebp - 0x4f], 0xfe
jne 0x4622b0
mov dword [ebp - 0x18], 0x4b0
mov dword [ebp - 0x14], 2
cmp byte [ebp - 0x50], 0xfe
jne 0x462290
cmp byte [ebp - 0x4f], 0xff
jne 0x4622b0
mov dword [ebp - 0x18], 0x4b1
mov dword [ebp - 0x14], 2
cmp byte [ebp - 0x50], 0xef
jne 0x4622b0
cmp byte [ebp - 0x4f], 0xbb
jne 0x4622b0
cmp byte [ebp - 0x4e], 0xbf
jne 0x4622b0
mov dword [ebp - 0x18], 0xfde9
mov dword [ebp - 0x14], 3
or eax, dword [ebp - 0x28]
je 0x4622cc
cmp byte [ebp - 0x2d], bl
jne 0x4622cc
push ebx
xor eax, eax
push eax
push dword [ebp - 0x14]
push esi
call fcn.004389fe
add esp, 0x10
jmp 0x462337
push ebx
push ebx
push ebx
push esi
call fcn.004389fe
add esp, 0x10
cmp byte [ebp - 0x2d], bl
je 0x4622e4
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [ebp - 0x18], 0x4b0
jne 0x4622fd
push 2
pop eax
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
push 0x4a9d70
jmp 0x46232d
cmp dword [ebp - 0x18], 0x4b1
jne 0x462316
push 2
pop eax
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
push 0x4a9d74
jmp 0x46232d
cmp dword [ebp - 0x18], 0xfde9
jne 0x462337
push 3
pop eax
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
push 0x4a9d78
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call edi
mov ecx, dword [ebp - 0x18]
shl eax, 1
cmp ecx, 0x4b0
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
je 0x4623b4
cmp ecx, 0x4b1
jne 0x46236b
push eax
push dword [ebp - 0x24]
call fcn.0043b85d
pop ecx
pop ecx
jmp 0x4623b4
cmp ecx, 0xfde9
jne 0x462384
lea ecx, [ebp - 0x24]
call fcn.0040e253
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
jmp 0x4623b4
mov eax, dword [ebp - 0x24]
movzx ecx, cx
push ecx
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x24], ebx
call fcn.0043d32d
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cdq
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
call fcn.00437884
cmp byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
je 0x462423
mov edi, dword [ebp - 0x20]
cmp edi, 0xffffffff
jne 0x4623cc
xor ebx, ebx
inc ebx
jmp 0x4623f1
push ebx
lea ecx, [ebp + 8]
push ecx
push dword [ebp - 0x40]
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 - 8]
call fcn.00402b8a
lea ecx, [ebp - 0x24]
call fcn.00437884
lea ecx, [ebp - 0x78]
call fcn.00437884
lea ecx, [ebp - 0x74]
call fcn.00437884
lea ecx, [ebp - 0x88]
call fcn.00437884
mov eax, ebx
jmp 0x462b3a
lea ecx, [ebp - 0x68]
call fcn.0043d3a5
lea ecx, [ebp - 0x50]
call fcn.0043d3a5
lea ecx, [ebp - 0x7c]
call fcn.0043d27e
lea ecx, [ebp - 0x20]
call fcn.0043d27e
cmp byte [ebp - 9], bl
je 0x4627cd
lea ecx, [ebp + 8]
call fcn.0043d3a5
mov eax, dword [ebp - 0x64]
cmp word [eax], 0x26
je 0x462466
mov ecx, dword [ebp - 0x5c]
test byte [ecx + 9], 0xf
je 0x462499
mov esi, 0x4beb4c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x5c]
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x64]
call fcn.00412ddf
cmp eax, ebx
je 0x462490
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp + 8]
call fcn.0043d4c9
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4624a5
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00444c70
pop ecx
pop ecx
mov esi, dword [ebp + 8]
push esi
call edi
cmp byte [ebp - 1], 0x2d
cdq
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov edi, eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x2c], ebx
jne 0x4624c8
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
jmp 0x4624df
push ebx
push 2
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.0048f770
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp - 0x58]
or ecx, dword [ebp - 0x54]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
jne 0x462593
cmp byte [ebp - 1], 0x2b
je 0x46268b
cmp dword [ebp - 0x18], ebx
jl 0x462580
jg 0x46250c
cmp eax, ebx
jbe 0x462580
cmp word [esi + eax*2 - 2], 0xa
jne 0x46253d
mov edi, eax
mov eax, dword [ebp - 0x18]
sub edi, 1
sbb eax, ebx
mov dword [ebp - 0x44], eax
js 0x462580
jg 0x462529
cmp edi, ebx
jbe 0x462580
cmp word [esi + edi*2 - 2], 0xd
jne 0x46253d
or ecx, 0xffffffff
add edi, ecx
adc eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x462540
or ecx, 0xffffffff
cmp dword [ebp - 0x44], ebx
jl 0x462580
jg 0x46254b
cmp edi, ebx
jbe 0x462580
lea eax, [esi + edi*2 - 2]
jmp 0x46255e
cmp word [eax], 0xa
je 0x462564
add edi, ecx
adc dword [ebp - 0x44], ecx
dec eax
dec eax
cmp eax, esi
jae 0x462551
jmp 0x462580
cmp byte [ebp - 1], 0x2d
jne 0x462580
add edi, ecx
adc dword [ebp - 0x44], ecx
dec eax
dec eax
cmp eax, esi
jb 0x462580
cmp word [eax], 0xd
jne 0x462580
add edi, ecx
adc dword [ebp - 0x44], ecx
cmp byte [ebp - 1], 0x2d
mov word [esi + edi*2], bx
jne 0x462691
jmp 0x4627b4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x54]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
xor eax, eax
xor esi, esi
cmp byte [ebp - 1], 0x2b
sete al
inc eax
cdq
cmp ecx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
jl 0x46266e
jle 0x462662
mov ax, word [edi]
cmp ax, bx
je 0x46266e
cmp ax, 0xa
je 0x4625f2
cmp ax, 0xd
jne 0x4625e6
inc edi
inc edi
cmp word [edi], 0xa
je 0x462620
inc edi
inc edi
mov ax, word [edi]
cmp ax, bx
jne 0x4625d2
jmp 0x462657
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x14], eax
jne 0x46260d
cmp dword [ebp - 0x10], ecx
jne 0x46260d
mov eax, edi
sub eax, dword [ebp + 8]
sar eax, 1
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x58], 2
jne 0x46264e
cmp ecx, ebx
jne 0x46264e
mov esi, edi
sub esi, dword [ebp + 8]
sar esi, 1
jmp 0x46264e
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x14], eax
jne 0x46263c
cmp dword [ebp - 0x10], ecx
jne 0x46263c
mov eax, edi
sub eax, dword [ebp + 8]
sar eax, 1
dec eax
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x58], 2
jne 0x46264e
cmp ecx, ebx
jne 0x46264e
mov esi, edi
sub esi, dword [ebp + 8]
sar esi, 1
dec esi
add dword [ebp - 0x58], 0xffffffff
adc ecx, 0xffffffff
inc edi
inc edi
cmp ecx, dword [ebp - 0x10]
jg 0x4625c6
jl 0x46266e
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x14]
jae 0x4625c6
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
sbb eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, esi
mov esi, dword [ebp + 8]
cdq
mov edi, eax
mov dword [ebp - 0x44], edx
cmp byte [ebp - 1], 0x2d
je 0x4626ab
cmp dword [ebp - 0x44], ebx
jl 0x4626ab
jg 0x46269c
cmp edi, ebx
jbe 0x4626ab
cmp word [esi + edi*2 - 2], 0xa
je 0x4626ab
mov dword [ebp - 0x2c], 2
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x34]
adc esi, dword [ebp - 0x6c]
add eax, dword [ebp - 0x2c]
push 0
pop ecx
adc esi, ecx
mov ecx, dword [ebp + 8]
add eax, edi
adc esi, dword [ebp - 0x44]
add eax, 1
adc esi, ebx
cmp dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
lea ecx, [ecx + edi*2]
jl 0x46270d
jg 0x4626de
cmp dword [ebp - 0x1c], eax
jb 0x46270d
cmp dword [ebp - 0x34], ebx
jl 0x46270d
jg 0x4626ea
cmp dword [ebp - 0x38], ebx
jbe 0x46270d
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x70]
add eax, eax
push eax
mov eax, dword [ebp - 0x40]
sub eax, edi
lea eax, [ecx + eax*2]
push eax
mov eax, dword [ebp - 0x2c]
add eax, edx
lea eax, [ecx + eax*2]
push eax
call fcn.00412515
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
add eax, ecx
add eax, dword [ebp - 0x70]
lea ecx, [ebp + 8]
lea eax, [eax + edi + 1]
push eax
call fcn.0043d3ea
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
lea eax, [eax + edi*2]
mov dword [ebp - 0x44], eax
jg 0x462771
jl 0x46273d
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], eax
jae 0x462771
cmp dword [ebp - 0x34], ebx
jl 0x462771
jg 0x462749
cmp dword [ebp - 0x38], ebx
jbe 0x462771
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x44]
add eax, eax
push eax
mov eax, dword [ebp - 0x40]
sub eax, edi
mov edi, dword [ebp - 0x2c]
lea eax, [esi + eax*2]
push eax
mov eax, dword [ebp - 0x70]
add eax, edi
lea eax, [esi + eax*2]
push eax
call fcn.00412515
add esp, 0xc
jmp 0x462777
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
xor eax, eax
or edi, eax
je 0x46278b
mov word [esi], 0xd
inc esi
inc esi
mov word [esi], 0xa
inc esi
inc esi
cmp dword [ebp - 0x6c], ebx
jl 0x4627aa
jg 0x462797
cmp dword [ebp - 0x70], ebx
jbe 0x4627aa
mov edi, dword [ebp - 0x70]
push edi
push dword [ebp - 0x24]
push esi
call fcn.00405049
add esp, 0xc
lea esi, [esi + edi*2]
mov eax, dword [ebp - 0x38]
mov word [esi + eax*2], bx
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x5c]
push esi
push dword [ebp - 0x64]
call fcn.0043cc80
lea ecx, [ebp + 8]
call fcn.00437884
jmp 0x462aed
mov edi, dword [ebp - 0x58]
mov eax, edi
or eax, dword [ebp - 0x54]
jne 0x462885
cmp byte [ebp - 1], 0x2b
je 0x462876
mov ecx, dword [ebp - 0x14]
xor eax, eax
push ebx
push eax
push ecx
push esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
call fcn.004389fe
push 1
push ebx
push ebx
push esi
call fcn.004389fe
push dword [ebp - 0x34]
mov edi, eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], edx
call fcn.00442fc2
add esp, 0x30
jmp 0x46284e
mov eax, dword [ebp - 0x10]
push 1
push ebx
push ebx
push esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
call fcn.004389fe
push dword [ebp - 0x34]
mov edi, eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], edx
call fcn.00442fc2
add esp, 0x20
test eax, eax
jne 0x462820
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push esi
call fcn.004389fe
push dword [ebp - 0x28]
lea eax, [ebp - 8]
push dword [ebp - 0x2c]
push eax
call fcn.00443314
mov edi, dword [ebp - 0x58]
add esp, 0x1c
jmp 0x4628c8
push 2
push ebx
push ebx
push esi
call fcn.004389fe
add esp, 0x10
jmp 0x4628c8
xor eax, eax
cmp eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], eax
jg 0x4628c8
jge 0x4628c3
push dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00442fc2
add esp, 0x10
test eax, eax
je 0x4628c8
add dword [ebp - 0x14], 1
adc dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x54]
jl 0x462898
jg 0x4628c8
cmp dword [ebp - 0x14], edi
jb 0x462898
cmp byte [ebp - 1], 0x2b
jne 0x462977
or edi, dword [ebp - 0x54]
jne 0x4628ea
push dword [ebp - 0x40]
lea ecx, [ebp - 8]
push dword [ebp - 0x44]
call fcn.00437813
jmp 0x462aed
push 1
push ebx
push ebx
push esi
call fcn.004389fe
push esi
mov edi, eax
call fcn.00483f5d
add esp, 0x14
sub eax, edi
mov dword [ebp + 8], eax
jns 0x462909
mov dword [ebp + 8], ebx
add eax, 0xca
push eax
lea ecx, [ebp - 0x34]
call fcn.0043d29b
mov eax, edi
cdq
push ebx
push edx
mov edi, eax
push edi
push esi
mov dword [ebp - 0x28], edx
call fcn.004389fe
add esp, 0x10
push ebx
lea eax, [ebp - 0x5c]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x5c], ebx
push dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push dword [ebp - 0x28]
push edi
push esi
call fcn.004389fe
add esp, 0x10
push dword [ebp - 0x40]
lea ecx, [ebp - 8]
push dword [ebp - 0x44]
call fcn.00437813
cmp dword [ebp + 8], ebx
jle 0x46296f
push dword [ebp + 8]
lea ecx, [ebp - 8]
push dword [ebp - 0x34]
call fcn.00437813
lea ecx, [ebp - 0x34]
jmp 0x462ae8
cmp byte [ebp - 1], 0x2d
jne 0x462a28
or edi, dword [ebp - 0x54]
je 0x462aed
push 1
push ebx
push ebx
push esi
call fcn.004389fe
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x28], edx
call fcn.00442fc2
push 1
push ebx
push ebx
push esi
call fcn.004389fe
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.00483f5d
mov edi, eax
sub edi, dword [ebp - 0x14]
add esp, 0x34
lea eax, [edi + 0xca]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x6c], edx
call fcn.0043d29b
push ebx
lea eax, [ebp - 0x44]
push eax
add edi, 0xc8
push edi
push dword [ebp + 8]
mov dword [ebp - 0x44], ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push esi
call fcn.004389fe
push dword [ebp - 0x28]
lea eax, [ebp - 8]
push dword [ebp - 0x2c]
push eax
call fcn.00443314
add esp, 0x1c
push dword [ebp - 0x44]
lea ecx, [ebp - 8]
push dword [ebp + 8]
call fcn.00437813
jmp 0x462ae5
or edi, dword [ebp - 0x54]
je 0x4628d7
push 1
push ebx
push ebx
push esi
call fcn.004389fe
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x28], edx
call fcn.00442fc2
push 1
push ebx
push ebx
push esi
call fcn.004389fe
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.00483f5d
mov edi, eax
sub edi, dword [ebp - 0x14]
add esp, 0x34
lea eax, [edi + 0xca]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x6c], edx
call fcn.0043d29b
push ebx
lea eax, [ebp - 0x5c]
push eax
add edi, 0xc8
push edi
push dword [ebp + 8]
mov dword [ebp - 0x5c], ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push esi
call fcn.004389fe
add esp, 0x10
push dword [ebp - 0x40]
lea ecx, [ebp - 8]
push dword [ebp - 0x44]
call fcn.00437813
push dword [ebp - 0x5c]
lea ecx, [ebp - 8]
push dword [ebp + 8]
call fcn.00437813
push 1
push ebx
push ebx
push esi
call fcn.004389fe
mov dword [ebp - 0x10], edx
cdq
push edx
push eax
lea eax, [ebp - 8]
push eax
call fcn.00443314
add esp, 0x1c
lea ecx, [ebp + 8]
call fcn.00437884
lea ecx, [ebp - 0x20]
call fcn.00437884
lea ecx, [ebp - 0x7c]
call fcn.00437884
lea ecx, [ebp - 0x50]
call fcn.00437884
lea ecx, [ebp - 0x68]
call fcn.00437884
lea ecx, [ebp - 8]
call fcn.00402b8a
lea ecx, [ebp - 0x24]
call fcn.00437884
lea ecx, [ebp - 0x78]
call fcn.00437884
lea ecx, [ebp - 0x74]
call fcn.00437884
lea ecx, [ebp - 0x88]
call fcn.00437884
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8