Function at 0x464990
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 - 0x4c], ecx
push ecx
lea ecx, [ebp - 0x88]
call fcn.0043ff76
mov esi, dword [ebp + 8]
xor edi, edi
mov di, word [esi]
xor ebx, ebx
mov byte [ebp - 0x62], bl
mov eax, edi
call fcn.00437e2d
test al, al
jne 0x464ad2
push 4
push esi
push 0x4b0780
call fcn.00439124
add esp, 0xc
test al, al
jne 0x464a03
push 5
push esi
push 0x4b076c
call fcn.00439124
add esp, 0xc
test al, al
jne 0x464a3b
push 8
push esi
push 0x4b0774
call fcn.00439124
add esp, 0xc
test al, al
je 0x464a27
mov dword [ebp - 0x18], 0x4b0
lea eax, [ebp + 8]
push eax
call fcn.00405196
mov byte [ebp - 0x34], bl
mov byte [ebp - 9], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 0x63], bl
mov byte [ebp - 0x2d], bl
jmp 0x464bcc
push 9
push esi
push 0x4b0760
call fcn.00439124
add esp, 0xc
test al, al
je 0x464a44
mov dword [ebp - 0x18], 0x4b1
jmp 0x464a0a
push 5
push esi
push 0x4b0740
call fcn.00439124
add esp, 0xc
test al, al
je 0x464a61
mov dword [ebp - 0x18], 0xfde9
jmp 0x464a0a
push 5
push esi
push 0x4b0738
call fcn.00439124
add esp, 0xc
test al, al
je 0x464a7e
mov dword [ebp - 0x18], 0xfde8
jmp 0x464a0a
push 4
push esi
push 0x4b0750
call fcn.00439124
add esp, 0xc
test al, al
je 0x464a9e
mov dword [ebp - 0x18], 0x3a8
jmp 0x464a0a
push 5
push esi
push 0x4b0748
call fcn.00439124
add esp, 0xc
test al, al
je 0x464abe
mov dword [ebp - 0x18], 0x3b6
jmp 0x464a0a
push 5
push esi
push 0x4b0758
call fcn.00439124
add esp, 0xc
test al, al
je 0x464ada
mov dword [ebp - 0x18], ebx
jmp 0x464a0a
cmp di, 0x2d
jne 0x464b0a
xor eax, eax
lea ecx, [esi + 2]
mov ax, word [ecx]
push eax
call fcn.004129ca
add esp, 4
test al, al
je 0x464b0a
push ecx
mov dword [ebp + 8], ecx
call fcn.0043e91d
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
jge 0x464a0a
xor ebx, ebx
inc ebx
jmp 0x4650b5
push 4
lea eax, [ebp + 8]
push eax
push 0x4b0730
call fcn.0043fbfd
add esp, 0xc
test al, al
je 0x464b32
mov byte [ebp - 0x34], 2
jmp 0x464bcd
push 4
lea eax, [ebp + 8]
push eax
push 0x4b07a0
call fcn.0043fbfd
add esp, 0xc
test al, al
je 0x464b4f
mov byte [ebp - 9], 1
jmp 0x464bcd
push 2
lea eax, [ebp + 8]
push eax
push 0x4b079c
call fcn.0043fbfd
add esp, 0xc
test al, al
je 0x464b6c
mov byte [ebp - 0xa], 1
jmp 0x464bcd
push 3
lea eax, [ebp + 8]
push eax
push 0x4b0798
call fcn.0043fbfd
add esp, 0xc
test al, al
je 0x464b89
mov byte [ebp - 0x63], 1
jmp 0x464bcd
push 2
lea eax, [ebp + 8]
push eax
push 0x4ab404
call fcn.0043fbfd
add esp, 0xc
test al, al
je 0x464ba6
mov byte [ebp - 0x2d], 1
jmp 0x464bcd
push 7
lea eax, [ebp + 8]
push eax
push 0x4b0790
call fcn.0043fbfd
add esp, 0xc
test al, al
je 0x464bc3
mov byte [ebp - 0x62], 1
jmp 0x464bcd
lea eax, [ebp + 8]
push eax
call fcn.00405196
pop ecx
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
je 0x464b12
mov esi, 0x4a69d4
push esi
lea ecx, [ebp - 0x78]
call fcn.00446497
push 0x4b0788
lea ecx, [ebp - 0x74]
call fcn.00446497
push 1
push 0x2c
pop edi
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
call fcn.0044edb8
push ebx
lea ecx, [ebp - 0x78]
push ecx
push eax
call fcn.004408ab
push dword [ebp - 0x78]
call fcn.0041161a
add esp, 0x10
cmp word [eax], bx
mov dword [ebp - 0x60], eax
jne 0x464c38
mov ebx, 0x80070057
jmp 0x4650a5
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x464c7a
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00437e65
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
je 0x464c7a
push 1
push edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x88]
call fcn.0044edb8
push ebx
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.004408ab
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], di
mov dword [ebp - 0x24], esi
jne 0x464c88
add eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x74]
cmp word [eax], 0x24
mov dword [ebp + 8], eax
mov byte [ebp - 0x61], bl
mov byte [ebp - 1], bl
jne 0x464ca5
mov cl, byte [eax]
add eax, 2
mov byte [ebp - 0x61], cl
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00437e65
mov eax, dword [ebp + 8]
pop ecx
mov cx, word [eax]
cmp cx, 0x2b
je 0x464cc1
cmp cx, 0x2d
jne 0x464ccb
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.00437e65
mov eax, dword [ebp + 8]
movzx eax, word [eax]
push eax
call fcn.004129ca
add esp, 8
test al, al
je 0x464d0c
push edi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00440a61
add esp, 0xc
cmp dword [ebp - 0x58], ebx
jg 0x464d0c
jl 0x4650a5
cmp dword [ebp - 0x5c], ebx
jb 0x4650a5
lea ecx, [ebp - 0x20]
call fcn.0043dd7e
cmp byte [ebp - 0x63], bl
mov esi, 0x4c1b94
je 0x464d6a
mov edi, dword [ebp - 0x24]
cmp word [edi], 0x26
je 0x464d30
mov eax, dword [ebp - 0x4c]
test byte [eax + 9], 0xf
je 0x464d5c
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [ebp - 0x4c]
push 0xffffffffffffffff
push ebx
push edi
call fcn.00413152
cmp eax, ebx
je 0x464d53
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp - 0x20]
call fcn.0043dea2
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x464d8e
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.004459c3
pop ecx
pop ecx
jmp 0x464d8e
cmp byte [ebp - 0x61], bl
je 0x464d83
mov ecx, dword [ebp - 0x4c]
push 1
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0044c8eb
jmp 0x464d8e
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.004464ff
push dword [ebp - 0x60]
xor esi, esi
push 0x4a7704
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], ebx
mov byte [ebp + 0xb], bl
call fcn.004391ba
test al, al
pop ecx
pop ecx
je 0x464db7
mov eax, dword [0x4bf318]
mov byte [ebp + 0xb], 2
jmp 0x464dd3
push dword [ebp - 0x60]
push 0x4a7c9c
call fcn.004391ba
test al, al
pop ecx
pop ecx
je 0x464dd6
mov eax, dword [0x4bf314]
mov byte [ebp + 0xb], 1
mov dword [ebp - 0x24], eax
cmp byte [ebp - 9], bl
jne 0x464ded
cmp byte [ebp - 0xa], bl
jne 0x464ded
push 0x4a9c18
lea ecx, [ebp - 0x20]
call fcn.0043ddea
cmp byte [ebp - 0xa], bl
mov dword [ebp - 0x14], ebx
je 0x464e01
mov dword [ebp - 0x18], 0x4b0
jmp 0x464fdb
cmp byte [ebp + 0xb], bl
jne 0x464fdb
push dword [ebp - 0x60]
mov byte [ebp - 9], 1
push 0x4aa3f8
call fcn.004391ba
test al, al
pop ecx
pop ecx
je 0x464e31
push 0x100
mov byte [ebp - 9], bl
call fcn.0043c1e1
pop ecx
jmp 0x464e43
cmp byte [ebp - 0x62], bl
je 0x464e43
push ebx
push ebx
push dword [ebp - 0x60]
call fcn.00443f9d
add esp, 0xc
push ebx
push 0x80
push 3
push ebx
push 7
mov edi, 0xc0000000
push edi
push dword [ebp - 0x60]
lea ecx, [ebp - 8]
call fcn.004051d2
mov esi, dword [ebp - 8]
cmp esi, ebx
jne 0x464ebc
push ebx
push 0x2000080
push 3
push ebx
push 7
push edi
push dword [ebp - 0x60]
lea ecx, [ebp - 8]
call fcn.004051d2
mov esi, dword [ebp - 8]
cmp esi, ebx
jne 0x464ebc
push ebx
push 0x80
push 4
push ebx
push 7
push edi
push dword [ebp - 0x60]
lea ecx, [ebp - 8]
call fcn.004051d2
mov esi, dword [ebp - 8]
cmp esi, ebx
jne 0x464ebc
push ebx
push 0x2000080
push 4
push ebx
push 7
push edi
push dword [ebp - 0x60]
lea ecx, [ebp - 8]
call fcn.004051d2
mov esi, dword [ebp - 8]
cmp esi, ebx
mov dword [ebp - 0x24], esi
jne 0x464ed0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x465095
xor eax, eax
cmp byte [ebp - 9], bl
lea edi, [ebp - 0x51]
mov byte [ebp - 0x54], bl
mov byte [ebp - 0x53], bl
mov byte [ebp - 0x52], bl
stosw word es:[edi], ax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
je 0x464f00
push ebx
lea eax, [ebp - 0x2c]
push eax
push 3
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0x2c]
cmp byte [ebp - 0x54], 0xff
jne 0x464f1a
cmp byte [ebp - 0x53], 0xfe
jne 0x464f54
mov dword [ebp - 0x18], 0x4b0
mov dword [ebp - 0x14], 2
cmp byte [ebp - 0x54], 0xfe
jne 0x464f34
cmp byte [ebp - 0x53], 0xff
jne 0x464f54
mov dword [ebp - 0x18], 0x4b1
mov dword [ebp - 0x14], 2
cmp byte [ebp - 0x54], 0xef
jne 0x464f54
cmp byte [ebp - 0x53], 0xbb
jne 0x464f54
cmp byte [ebp - 0x52], 0xbf
jne 0x464f54
mov dword [ebp - 0x18], 0xfde9
mov dword [ebp - 0x14], 3
or eax, dword [ebp - 0x28]
je 0x464f70
cmp byte [ebp - 0x2d], bl
jne 0x464f70
push ebx
xor eax, eax
push eax
push dword [ebp - 0x14]
push esi
call fcn.0043908b
add esp, 0x10
jmp 0x464fdb
push ebx
push ebx
push ebx
push esi
call fcn.0043908b
add esp, 0x10
cmp byte [ebp - 0x2d], bl
je 0x464f88
push esi
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
cmp dword [ebp - 0x18], 0x4b0
jne 0x464fa1
push 2
pop eax
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
push 0x4ac848
jmp 0x464fd1
cmp dword [ebp - 0x18], 0x4b1
jne 0x464fba
push 2
pop eax
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
push 0x4ac84c
jmp 0x464fd1
cmp dword [ebp - 0x18], 0xfde9
jne 0x464fdb
push 3
pop eax
push ebx
lea ecx, [ebp - 0x68]
push ecx
push eax
push 0x4ac850
push esi
mov dword [ebp - 0x14], 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 - 0x18]
shl eax, 1
cmp ecx, 0x4b0
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
je 0x465058
cmp ecx, 0x4b1
jne 0x46500f
push eax
push dword [ebp - 0x20]
call fcn.0043c1c0
pop ecx
pop ecx
jmp 0x465058
cmp ecx, 0xfde9
jne 0x465028
lea ecx, [ebp - 0x20]
call fcn.0040e747
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
jmp 0x465058
mov eax, dword [ebp - 0x20]
movzx ecx, cx
push ecx
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x20], ebx
call fcn.0043dd06
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
cdq
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
call fcn.00437e1a
cmp byte [ebp + 0xb], bl
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
je 0x4650c7
mov edi, dword [ebp - 0x24]
cmp edi, 0xffffffff
jne 0x465070
xor ebx, ebx
inc ebx
jmp 0x465095
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 - 0x20]
call fcn.00437e1a
lea ecx, [ebp - 0x74]
call fcn.00437e1a
lea ecx, [ebp - 0x78]
call fcn.00437e1a
lea ecx, [ebp - 0x88]
call fcn.00437e1a
mov eax, ebx
jmp 0x4657dd
lea ecx, [ebp - 0x68]
call fcn.0043dd7e
lea ecx, [ebp - 0x54]
call fcn.0043dd7e
lea ecx, [ebp - 0x7c]
call fcn.0043dc57
lea ecx, [ebp - 0x24]
call fcn.0043dc57
cmp byte [ebp - 0xa], bl
je 0x465470
lea ecx, [ebp + 8]
call fcn.0043dd7e
mov eax, dword [ebp - 0x60]
cmp word [eax], 0x26
je 0x46510a
mov ecx, dword [ebp - 0x4c]
test byte [ecx + 9], 0xf
je 0x46513d
mov esi, 0x4c1b94
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [ebp - 0x4c]
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x60]
call fcn.00413152
cmp eax, ebx
je 0x465134
push 0xffffffffffffffff
push dword [eax]
lea ecx, [ebp + 8]
call fcn.0043dea2
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x465149
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.004459c3
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 0x46516c
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
jmp 0x465183
push ebx
push 2
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.00492e60
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp - 0x5c]
or ecx, dword [ebp - 0x58]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
jne 0x465236
cmp byte [ebp - 1], 0x2b
je 0x46532e
cmp dword [ebp - 0x18], ebx
jl 0x465223
jg 0x4651b0
cmp eax, ebx
jbe 0x465223
cmp word [esi + eax*2 - 2], 0xa
jne 0x4651de
mov edi, eax
mov eax, dword [ebp - 0x18]
sub edi, 1
sbb eax, ebx
mov dword [ebp - 0x44], eax
js 0x465223
jg 0x4651cd
cmp edi, ebx
jbe 0x465223
cmp word [esi + edi*2 - 2], 0xd
jne 0x4651de
add edi, 0xffffffff
adc eax, 0xffffffff
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], ebx
jl 0x465223
jg 0x4651e9
cmp edi, ebx
jbe 0x465223
lea eax, [esi + edi*2 - 2]
cmp eax, esi
jb 0x465223
or ecx, 0xffffffff
cmp word [eax], 0xa
je 0x465207
add edi, ecx
adc dword [ebp - 0x44], ecx
dec eax
dec eax
cmp eax, esi
jae 0x4651f4
jmp 0x465223
cmp byte [ebp - 1], 0x2d
jne 0x465223
add edi, ecx
adc dword [ebp - 0x44], ecx
dec eax
dec eax
cmp eax, esi
jb 0x465223
cmp word [eax], 0xd
jne 0x465223
add edi, ecx
adc dword [ebp - 0x44], ecx
cmp byte [ebp - 1], 0x2d
mov word [esi + edi*2], bx
jne 0x465334
jmp 0x465457
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x58]
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 0x465311
jle 0x465305
mov ax, word [edi]
cmp ax, bx
je 0x465311
cmp ax, 0xa
je 0x465295
cmp ax, 0xd
jne 0x465289
inc edi
inc edi
cmp word [edi], 0xa
je 0x4652c3
inc edi
inc edi
mov ax, word [edi]
cmp ax, bx
jne 0x465275
jmp 0x4652fa
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x14], eax
jne 0x4652b0
cmp dword [ebp - 0x10], ecx
jne 0x4652b0
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 - 0x5c], 2
jne 0x4652f1
cmp ecx, ebx
jne 0x4652f1
mov esi, edi
sub esi, dword [ebp + 8]
sar esi, 1
jmp 0x4652f1
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x14], eax
jne 0x4652df
cmp dword [ebp - 0x10], ecx
jne 0x4652df
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 - 0x5c], 2
jne 0x4652f1
cmp ecx, ebx
jne 0x4652f1
mov esi, edi
sub esi, dword [ebp + 8]
sar esi, 1
dec esi
add dword [ebp - 0x5c], 0xffffffff
adc ecx, 0xffffffff
inc edi
inc edi
cmp ecx, dword [ebp - 0x10]
jg 0x465269
jl 0x465311
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x14]
jae 0x465269
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 0x46534e
cmp dword [ebp - 0x44], ebx
jl 0x46534e
jg 0x46533f
cmp edi, ebx
jbe 0x46534e
cmp word [esi + edi*2 - 2], 0xa
je 0x46534e
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 0x4653b0
jg 0x465381
cmp dword [ebp - 0x1c], eax
jb 0x4653b0
cmp dword [ebp - 0x34], ebx
jl 0x4653b0
jg 0x46538d
cmp dword [ebp - 0x38], ebx
jbe 0x4653b0
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.0041286c
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.0043ddc3
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
lea eax, [eax + edi*2]
mov dword [ebp - 0x44], eax
jg 0x465414
jl 0x4653e0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], eax
jae 0x465414
cmp dword [ebp - 0x34], ebx
jl 0x465414
jg 0x4653ec
cmp dword [ebp - 0x38], ebx
jbe 0x465414
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.0041286c
add esp, 0xc
jmp 0x46541a
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
xor eax, eax
or edi, eax
je 0x46542e
mov word [esi], 0xd
inc esi
inc esi
mov word [esi], 0xa
inc esi
inc esi
cmp dword [ebp - 0x6c], ebx
jl 0x46544d
jg 0x46543a
cmp dword [ebp - 0x70], ebx
jbe 0x46544d
mov edi, dword [ebp - 0x70]
push edi
push dword [ebp - 0x20]
push esi
call fcn.0040515a
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 - 0x4c]
push esi
push dword [ebp - 0x60]
call fcn.0043d658
lea ecx, [ebp + 8]
call fcn.00437e1a
jmp 0x465790
mov edi, dword [ebp - 0x5c]
mov eax, edi
or eax, dword [ebp - 0x58]
jne 0x465528
cmp byte [ebp - 1], 0x2b
je 0x465519
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.0043908b
push 1
push ebx
push ebx
push esi
call fcn.0043908b
push dword [ebp - 0x34]
mov edi, eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], edx
call fcn.00443c96
add esp, 0x30
jmp 0x4654f1
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.0043908b
push dword [ebp - 0x34]
mov edi, eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], edx
call fcn.00443c96
add esp, 0x20
test eax, eax
jne 0x4654c3
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push esi
call fcn.0043908b
push dword [ebp - 0x28]
lea eax, [ebp - 8]
push dword [ebp - 0x2c]
push eax
call fcn.00443fe8
mov edi, dword [ebp - 0x5c]
add esp, 0x1c
jmp 0x46556b
push 2
push ebx
push ebx
push esi
call fcn.0043908b
add esp, 0x10
jmp 0x46556b
xor eax, eax
cmp eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], eax
jg 0x46556b
jge 0x465566
push dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00443c96
add esp, 0x10
test eax, eax
je 0x46556b
add dword [ebp - 0x14], 1
adc dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x58]
jl 0x46553b
jg 0x46556b
cmp dword [ebp - 0x14], edi
jb 0x46553b
cmp byte [ebp - 1], 0x2b
jne 0x46561a
or edi, dword [ebp - 0x58]
jne 0x46558d
push dword [ebp - 0x40]
lea ecx, [ebp - 8]
push dword [ebp - 0x44]
call fcn.00437d7d
jmp 0x465790
push 1
push ebx
push ebx
push esi
call fcn.0043908b
push esi
mov edi, eax
call fcn.004875b9
add esp, 0x14
sub eax, edi
mov dword [ebp + 8], eax
jns 0x4655ac
mov dword [ebp + 8], ebx
add eax, 0xca
push eax
lea ecx, [ebp - 0x34]
call fcn.0043dc74
mov eax, edi
cdq
push ebx
push edx
mov edi, eax
push edi
push esi
mov dword [ebp - 0x28], edx
call fcn.0043908b
add esp, 0x10
push ebx
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x4c], 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.0043908b
add esp, 0x10
push dword [ebp - 0x40]
lea ecx, [ebp - 8]
push dword [ebp - 0x44]
call fcn.00437d7d
cmp dword [ebp + 8], ebx
jle 0x465612
push dword [ebp + 8]
lea ecx, [ebp - 8]
push dword [ebp - 0x34]
call fcn.00437d7d
lea ecx, [ebp - 0x34]
jmp 0x46578b
cmp byte [ebp - 1], 0x2d
jne 0x4656cb
or edi, dword [ebp - 0x58]
je 0x465790
push 1
push ebx
push ebx
push esi
call fcn.0043908b
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x28], edx
call fcn.00443c96
push 1
push ebx
push ebx
push esi
call fcn.0043908b
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.004875b9
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.0043dc74
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.0043908b
push dword [ebp - 0x28]
lea eax, [ebp - 8]
push dword [ebp - 0x2c]
push eax
call fcn.00443fe8
add esp, 0x1c
push dword [ebp - 0x44]
lea ecx, [ebp - 8]
push dword [ebp + 8]
call fcn.00437d7d
jmp 0x465788
or edi, dword [ebp - 0x58]
je 0x46557a
push 1
push ebx
push ebx
push esi
call fcn.0043908b
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x28], edx
call fcn.00443c96
push 1
push ebx
push ebx
push esi
call fcn.0043908b
push esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
call fcn.004875b9
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.0043dc74
push ebx
lea eax, [ebp - 0x4c]
push eax
add edi, 0xc8
push edi
push dword [ebp + 8]
mov dword [ebp - 0x4c], ebx
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push esi
call fcn.0043908b
add esp, 0x10
push dword [ebp - 0x40]
lea ecx, [ebp - 8]
push dword [ebp - 0x44]
call fcn.00437d7d
push dword [ebp - 0x4c]
lea ecx, [ebp - 8]
push dword [ebp + 8]
call fcn.00437d7d
push 1
push ebx
push ebx
push esi
call fcn.0043908b
mov dword [ebp - 0x10], edx
cdq
push edx
push eax
lea eax, [ebp - 8]
push eax
call fcn.00443fe8
add esp, 0x1c
lea ecx, [ebp + 8]
call fcn.00437e1a
lea ecx, [ebp - 0x24]
call fcn.00437e1a
lea ecx, [ebp - 0x7c]
call fcn.00437e1a
lea ecx, [ebp - 0x54]
call fcn.00437e1a
lea ecx, [ebp - 0x68]
call fcn.00437e1a
lea ecx, [ebp - 8]
call fcn.00402b5a
lea ecx, [ebp - 0x20]
call fcn.00437e1a
lea ecx, [ebp - 0x74]
call fcn.00437e1a
lea ecx, [ebp - 0x78]
call fcn.00437e1a
lea ecx, [ebp - 0x88]
call fcn.00437e1a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8