Function at 0x461dd0
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.0043f504
mov esi, dword [ebp + 8]
xor edi, edi
mov di, word [esi]
mov eax, edi
call fcn.00482120
xor ebx, ebx
test al, al
jne 0x461f0f
push 4
push esi
push str._UNI
call fcn.00438b38
add esp, 0xc
test al, al
jne 0x461e40
push 5
push esi
push str._UNIB
call fcn.00438b38
add esp, 0xc
test al, al
jne 0x461e78
push 8
push esi
push str._UNICODE
call fcn.00438b38
add esp, 0xc
test al, al
je 0x461e64
mov dword [ebp - 0x18], 0x4b0
lea eax, [ebp + 8]
push eax
call fcn.0040507c
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 0x461fe9
push 9
push esi
push str._UNICODEB
call fcn.00438b38
add esp, 0xc
test al, al
je 0x461e81
mov dword [ebp - 0x18], 0x4b1
jmp 0x461e47
push 5
push esi
push str._UTF8
call fcn.00438b38
add esp, 0xc
test al, al
je 0x461e9e
mov dword [ebp - 0x18], 0xfde9
jmp 0x461e47
push 5
push esi
push str._UTF7
call fcn.00438b38
add esp, 0xc
test al, al
je 0x461ebb
mov dword [ebp - 0x18], 0xfde8
jmp 0x461e47
push 4
push esi
push str._GBK
call fcn.00438b38
add esp, 0xc
test al, al
je 0x461edb
mov dword [ebp - 0x18], 0x3a8
jmp 0x461e47
push 5
push esi
push str._BIG5
call fcn.00438b38
add esp, 0xc
test al, al
je 0x461efb
mov dword [ebp - 0x18], 0x3b6
jmp 0x461e47
push 5
push esi
push str._ANSI
call fcn.00438b38
add esp, 0xc
test al, al
je 0x461f17
mov dword [ebp - 0x18], ebx
jmp 0x461e47
cmp di, 0x2d
jne 0x461f47
xor eax, eax
lea ecx, [esi + 2]
mov ax, word [ecx]
push eax
call fcn.0041270e
add esp, 4
test al, al
je 0x461f47
push ecx
mov dword [ebp + 8], ecx
call fcn.0043df72
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
jge 0x461e47
xor ebx, ebx
inc ebx
jmp 0x462498
push 4
lea eax, [ebp + 8]
push eax
push str.fix
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x461f6c
mov byte [ebp - 0x34], 2
jmp 0x461fea
push 4
lea eax, [ebp + 8]
push eax
push str._nl
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x461f89
mov byte [ebp - 0x5d], 1
jmp 0x461fea
push 2
lea eax, [ebp + 8]
push eax
push 0x4ada3c
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x461fa6
mov byte [ebp - 9], 1
jmp 0x461fea
push 3
lea eax, [ebp + 8]
push eax
push 0x4ada38
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x461fc3
mov byte [ebp - 2], 1
jmp 0x461fea
push 2
lea eax, [ebp + 8]
push eax
push 0x4a85e4
call fcn.0043f1bd
add esp, 0xc
test al, al
je 0x461fe0
mov byte [ebp - 0x2d], 1
jmp 0x461fea
lea eax, [ebp + 8]
push eax
call fcn.0040507c
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x461f4f
mov esi, 0x4a39d4
push esi
lea ecx, [ebp - 0x74]
call fcn.004457e4
push 0x4ada30
lea ecx, [ebp - 0x78]
call fcn.004457e4
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.0044e524
push ebx
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.0043fe29
push dword [ebp - 0x74]
call fcn.0041113a
add esp, 0x10
cmp word [eax], bx
mov dword [ebp - 0x64], eax
jne 0x462055
mov ebx, 0x80070057
jmp 0x462488
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x462097
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.004379a9
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
je 0x462097
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x88]
call fcn.0044e524
push ebx
lea ecx, [ebp - 0x78]
push ecx
push eax
call fcn.0043fe29
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
mov dword [ebp - 0x20], esi
jne 0x4620a5
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 0x4620c2
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.004379a9
mov eax, dword [ebp + 8]
pop ecx
mov cx, word [eax]
cmp cx, 0x2b
je 0x4620de
cmp cx, 0x2d
jne 0x4620e8
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.004379a9
mov eax, dword [ebp + 8]
movzx eax, word [eax]
push eax
call fcn.0041270e
add esp, 8
test al, al
je 0x462129
push edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043ffdf
add esp, 0xc
cmp dword [ebp - 0x54], ebx
jg 0x462129
jl 0x462488
cmp dword [ebp - 0x58], ebx
jb 0x462488
lea ecx, [ebp - 0x24]
call fcn.0043d47d
cmp byte [ebp - 2], bl
mov esi, 0x4beb4c
je 0x462187
mov edi, dword [ebp - 0x20]
cmp word [edi], 0x26
je 0x46214d
mov eax, dword [ebp - 0x5c]
test byte [eax + 9], 0xf
je 0x462179
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [ebp - 0x5c]
push 0xffffffffffffffff
push ebx
push edi
call fcn.00412e5b
cmp eax, ebx
je 0x462170
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp - 0x24]
call fcn.0043d5a1
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x4621ab
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.00444d2c
pop ecx
pop ecx
jmp 0x4621ab
cmp byte [ebp - 0x5e], bl
je 0x4621a0
mov ecx, dword [ebp - 0x5c]
push 1
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
call fcn.0044c0fc
jmp 0x4621ab
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
call fcn.0044584c
push dword [ebp - 0x64]
xor esi, esi
push 0x4a465c
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp + 0xb], bl
call fcn.00438bce
test al, al
pop ecx
pop ecx
je 0x4621d4
mov eax, dword [0x4bc318]
mov byte [ebp + 0xb], 2
jmp 0x4621f0
push dword [ebp - 0x64]
push 0x4a4be0
call fcn.00438bce
test al, al
pop ecx
pop ecx
je 0x4621f3
mov eax, dword [0x4bc314]
mov byte [ebp + 0xb], 1
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x5d], bl
jne 0x46220a
cmp byte [ebp - 9], bl
jne 0x46220a
push 0x4a3f34
lea ecx, [ebp - 0x24]
call fcn.0043d4e9
cmp byte [ebp - 9], bl
mov dword [ebp - 0x14], ebx
je 0x46221e
mov dword [ebp - 0x18], 0x4b0
jmp 0x4623be
cmp byte [ebp + 0xb], bl
jne 0x4623be
push dword [ebp - 0x64]
mov byte [ebp - 2], 1
push str.CONOUT_
call fcn.00438bce
test al, al
pop ecx
pop ecx
je 0x46224c
push 0x100
mov byte [ebp - 2], bl
call fcn.0043b976
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.0040511c
cmp byte [ebp - 2], bl
mov esi, dword [ebp - 8]
je 0x462281
cmp esi, ebx
jne 0x46229f
push ebx
push ebx
push dword [ebp - 0x64]
call fcn.004433a1
add esp, 0xc
cmp esi, ebx
jne 0x46229f
push ebx
push 0x80
push 4
push ebx
push 7
push edi
push dword [ebp - 0x64]
lea ecx, [ebp - 8]
call fcn.0040511c
mov esi, dword [ebp - 8]
cmp esi, ebx
mov dword [ebp - 0x20], esi
jne 0x4622b3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x462478
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 0x4622e3
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 0x4622fd
cmp byte [ebp - 0x4f], 0xfe
jne 0x462337
mov dword [ebp - 0x18], 0x4b0
mov dword [ebp - 0x14], 2
cmp byte [ebp - 0x50], 0xfe
jne 0x462317
cmp byte [ebp - 0x4f], 0xff
jne 0x462337
mov dword [ebp - 0x18], 0x4b1
mov dword [ebp - 0x14], 2
cmp byte [ebp - 0x50], 0xef
jne 0x462337
cmp byte [ebp - 0x4f], 0xbb
jne 0x462337
cmp byte [ebp - 0x4e], 0xbf
jne 0x462337
mov dword [ebp - 0x18], 0xfde9
mov dword [ebp - 0x14], 3
or eax, dword [ebp - 0x28]
je 0x462353
cmp byte [ebp - 0x2d], bl
jne 0x462353
push ebx
xor eax, eax
push eax
push dword [ebp - 0x14]
push esi
call fcn.00438aec
add esp, 0x10
jmp 0x4623be
push ebx
push ebx
push ebx
push esi
call fcn.00438aec
add esp, 0x10
cmp byte [ebp - 0x2d], bl
je 0x46236b
push esi
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
cmp dword [ebp - 0x18], 0x4b0
jne 0x462384
push 2
pop eax
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
push 0x4a9dc0
jmp 0x4623b4
cmp dword [ebp - 0x18], 0x4b1
jne 0x46239d
push 2
pop eax
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
push 0x4a9dc4
jmp 0x4623b4
cmp dword [ebp - 0x18], 0xfde9
jne 0x4623be
push 3
pop eax
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
push 0x4a9dc8
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 0x46243b
cmp ecx, 0x4b1
jne 0x4623f2
push eax
push dword [ebp - 0x24]
call fcn.0043b955
pop ecx
pop ecx
jmp 0x46243b
cmp ecx, 0xfde9
jne 0x46240b
lea ecx, [ebp - 0x24]
call fcn.0040e307
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
jmp 0x46243b
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.0043d405
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.00437960
cmp byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
je 0x4624aa
mov edi, dword [ebp - 0x20]
cmp edi, 0xffffffff
jne 0x462453
xor ebx, ebx
inc ebx
jmp 0x462478
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.00402b5a
lea ecx, [ebp - 0x24]
call fcn.00437960
lea ecx, [ebp - 0x78]
call fcn.00437960
lea ecx, [ebp - 0x74]
call fcn.00437960
lea ecx, [ebp - 0x88]
call fcn.00437960
mov eax, ebx
jmp 0x462bc1
lea ecx, [ebp - 0x68]
call fcn.0043d47d
lea ecx, [ebp - 0x50]
call fcn.0043d47d
lea ecx, [ebp - 0x7c]
call fcn.0043d356
lea ecx, [ebp - 0x20]
call fcn.0043d356
cmp byte [ebp - 9], bl
je 0x462854
lea ecx, [ebp + 8]
call fcn.0043d47d
mov eax, dword [ebp - 0x64]
cmp word [eax], 0x26
je 0x4624ed
mov ecx, dword [ebp - 0x5c]
test byte [ecx + 9], 0xf
je 0x462520
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.00412e5b
cmp eax, ebx
je 0x462517
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp + 8]
call fcn.0043d5a1
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x46252c
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00444d2c
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 0x46254f
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
jmp 0x462566
push ebx
push 2
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.0048f800
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 0x46261a
cmp byte [ebp - 1], 0x2b
je 0x462712
cmp dword [ebp - 0x18], ebx
jl 0x462607
jg 0x462593
cmp eax, ebx
jbe 0x462607
cmp word [esi + eax*2 - 2], 0xa
jne 0x4625c4
mov edi, eax
mov eax, dword [ebp - 0x18]
sub edi, 1
sbb eax, ebx
mov dword [ebp - 0x44], eax
js 0x462607
jg 0x4625b0
cmp edi, ebx
jbe 0x462607
cmp word [esi + edi*2 - 2], 0xd
jne 0x4625c4
or ecx, 0xffffffff
add edi, ecx
adc eax, ecx
mov dword [ebp - 0x44], eax
jmp 0x4625c7
or ecx, 0xffffffff
cmp dword [ebp - 0x44], ebx
jl 0x462607
jg 0x4625d2
cmp edi, ebx
jbe 0x462607
lea eax, [esi + edi*2 - 2]
jmp 0x4625e5
cmp word [eax], 0xa
je 0x4625eb
add edi, ecx
adc dword [ebp - 0x44], ecx
dec eax
dec eax
cmp eax, esi
jae 0x4625d8
jmp 0x462607
cmp byte [ebp - 1], 0x2d
jne 0x462607
add edi, ecx
adc dword [ebp - 0x44], ecx
dec eax
dec eax
cmp eax, esi
jb 0x462607
cmp word [eax], 0xd
jne 0x462607
add edi, ecx
adc dword [ebp - 0x44], ecx
cmp byte [ebp - 1], 0x2d
mov word [esi + edi*2], bx
jne 0x462718
jmp 0x46283b
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 0x4626f5
jle 0x4626e9
mov ax, word [edi]
cmp ax, bx
je 0x4626f5
cmp ax, 0xa
je 0x462679
cmp ax, 0xd
jne 0x46266d
inc edi
inc edi
cmp word [edi], 0xa
je 0x4626a7
inc edi
inc edi
mov ax, word [edi]
cmp ax, bx
jne 0x462659
jmp 0x4626de
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x14], eax
jne 0x462694
cmp dword [ebp - 0x10], ecx
jne 0x462694
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 0x4626d5
cmp ecx, ebx
jne 0x4626d5
mov esi, edi
sub esi, dword [ebp + 8]
sar esi, 1
jmp 0x4626d5
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x14], eax
jne 0x4626c3
cmp dword [ebp - 0x10], ecx
jne 0x4626c3
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 0x4626d5
cmp ecx, ebx
jne 0x4626d5
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 0x46264d
jl 0x4626f5
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x14]
jae 0x46264d
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 0x462732
cmp dword [ebp - 0x44], ebx
jl 0x462732
jg 0x462723
cmp edi, ebx
jbe 0x462732
cmp word [esi + edi*2 - 2], 0xa
je 0x462732
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 0x462794
jg 0x462765
cmp dword [ebp - 0x1c], eax
jb 0x462794
cmp dword [ebp - 0x34], ebx
jl 0x462794
jg 0x462771
cmp dword [ebp - 0x38], ebx
jbe 0x462794
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.004125af
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.0043d4c2
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
lea eax, [eax + edi*2]
mov dword [ebp - 0x44], eax
jg 0x4627f8
jl 0x4627c4
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], eax
jae 0x4627f8
cmp dword [ebp - 0x34], ebx
jl 0x4627f8
jg 0x4627d0
cmp dword [ebp - 0x38], ebx
jbe 0x4627f8
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.004125af
add esp, 0xc
jmp 0x4627fe
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
xor eax, eax
or edi, eax
je 0x462812
mov word [esi], 0xd
inc esi
inc esi
mov word [esi], 0xa
inc esi
inc esi
cmp dword [ebp - 0x6c], ebx
jl 0x462831
jg 0x46281e
cmp dword [ebp - 0x70], ebx
jbe 0x462831
mov edi, dword [ebp - 0x70]
push edi
push dword [ebp - 0x24]
push esi
call fcn.00405064
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.0043cd78
lea ecx, [ebp + 8]
call fcn.00437960
jmp 0x462b74
mov edi, dword [ebp - 0x58]
mov eax, edi
or eax, dword [ebp - 0x54]
jne 0x46290c
cmp byte [ebp - 1], 0x2b
je 0x4628fd
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.00438aec
push 1
push ebx
push ebx
push esi
call fcn.00438aec
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.0044309a
add esp, 0x30
jmp 0x4628d5
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.00438aec
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.0044309a
add esp, 0x20
test eax, eax
jne 0x4628a7
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push esi
call fcn.00438aec
push dword [ebp - 0x28]
lea eax, [ebp - 8]
push dword [ebp - 0x2c]
push eax
call fcn.004433ec
mov edi, dword [ebp - 0x58]
add esp, 0x1c
jmp 0x46294f
push 2
push ebx
push ebx
push esi
call fcn.00438aec
add esp, 0x10
jmp 0x46294f
xor eax, eax
cmp eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], eax
jg 0x46294f
jge 0x46294a
push dword [ebp - 0x34]
lea eax, [ebp - 0x20]
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0044309a
add esp, 0x10
test eax, eax
je 0x46294f
add dword [ebp - 0x14], 1
adc dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x54]
jl 0x46291f
jg 0x46294f
cmp dword [ebp - 0x14], edi
jb 0x46291f
cmp byte [ebp - 1], 0x2b
jne 0x4629fe
or edi, dword [ebp - 0x54]
jne 0x462971
push dword [ebp - 0x40]
lea ecx, [ebp - 8]
push dword [ebp - 0x44]
call fcn.004378c3
jmp 0x462b74
push 1
push ebx
push ebx
push esi
call fcn.00438aec
push esi
mov edi, eax
call fcn.00483fd1
add esp, 0x14
sub eax, edi
mov dword [ebp + 8], eax
jns 0x462990
mov dword [ebp + 8], ebx
add eax, 0xca
push eax
lea ecx, [ebp - 0x34]
call fcn.0043d373
mov eax, edi
cdq
push ebx
push edx
mov edi, eax
push edi
push esi
mov dword [ebp - 0x28], edx
call fcn.00438aec
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.00438aec
add esp, 0x10
push dword [ebp - 0x40]
lea ecx, [ebp - 8]
push dword [ebp - 0x44]
call fcn.004378c3
cmp dword [ebp + 8], ebx
jle 0x4629f6
push dword [ebp + 8]
lea ecx, [ebp - 8]
push dword [ebp - 0x34]
call fcn.004378c3
lea ecx, [ebp - 0x34]
jmp 0x462b6f
cmp byte [ebp - 1], 0x2d
jne 0x462aaf
or edi, dword [ebp - 0x54]
je 0x462b74
push 1
push ebx
push ebx
push esi
call fcn.00438aec
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.0044309a
push 1
push ebx
push ebx
push esi
call fcn.00438aec
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.00483fd1
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.0043d373
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.00438aec
push dword [ebp - 0x28]
lea eax, [ebp - 8]
push dword [ebp - 0x2c]
push eax
call fcn.004433ec
add esp, 0x1c
push dword [ebp - 0x44]
lea ecx, [ebp - 8]
push dword [ebp + 8]
call fcn.004378c3
jmp 0x462b6c
or edi, dword [ebp - 0x54]
je 0x46295e
push 1
push ebx
push ebx
push esi
call fcn.00438aec
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.0044309a
push 1
push ebx
push ebx
push esi
call fcn.00438aec
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.00483fd1
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.0043d373
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.00438aec
add esp, 0x10
push dword [ebp - 0x40]
lea ecx, [ebp - 8]
push dword [ebp - 0x44]
call fcn.004378c3
push dword [ebp - 0x5c]
lea ecx, [ebp - 8]
push dword [ebp + 8]
call fcn.004378c3
push 1
push ebx
push ebx
push esi
call fcn.00438aec
mov dword [ebp - 0x10], edx
cdq
push edx
push eax
lea eax, [ebp - 8]
push eax
call fcn.004433ec
add esp, 0x1c
lea ecx, [ebp + 8]
call fcn.00437960
lea ecx, [ebp - 0x20]
call fcn.00437960
lea ecx, [ebp - 0x7c]
call fcn.00437960
lea ecx, [ebp - 0x50]
call fcn.00437960
lea ecx, [ebp - 0x68]
call fcn.00437960
lea ecx, [ebp - 8]
call fcn.00402b5a
lea ecx, [ebp - 0x24]
call fcn.00437960
lea ecx, [ebp - 0x78]
call fcn.00437960
lea ecx, [ebp - 0x74]
call fcn.00437960
lea ecx, [ebp - 0x88]
call fcn.00437960
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8