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

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x49c
mov edx, dword [ebp + 0x78]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 8], ecx
push edi
mov byte [ebp + 0x4f], bl
mov byte [ebp + 0x5d], bl
mov byte [ebp + 0x5e], bl
mov byte [ebp + 0x52], bl
xor ecx, ecx
jmp 0x45b561
mov eax, ecx
call fcn.00402b47
test al, al
jne 0x45b569
cmp cx, 0x2a
jne 0x45b544
mov al, byte [edx]
mov byte [ebp + 0x4f], al
jmp 0x45b55c
cmp cx, 0x2e
jne 0x45b551
mov al, byte [edx]
mov byte [ebp + 0x5d], al
jmp 0x45b55c
cmp cx, 0x23
jne 0x45b55c
mov al, byte [edx]
mov byte [ebp + 0x5e], al
inc edx
inc edx
mov dword [ebp + 0x78], edx
mov cx, word [edx]
cmp cx, bx
jne 0x45b52c
lea eax, [ebp + 0x78]
push eax
call fcn.0042ebab
push 3
lea eax, [ebp + 0x78]
push eax
push 0x497738
call fcn.00435950
add esp, 0x10
test al, al
je 0x45b58d
mov byte [ebp + 0x52], 1
push 1
lea ecx, [ebp + 0xc]
call fcn.00433c42
mov eax, 0x200
mov dword [ebp + 0x1c], eax
mov dword [ebp - 0x20], eax
push 3
lea eax, [ebp + 0x78]
or esi, 0xffffffff
push eax
push 0x497734
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], 0x7fffffff
xor edi, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x64], esi
mov dword [ebp - 0x24], ebx
mov byte [ebp + 0x6f], bl
mov byte [ebp + 0x5f], bl
mov byte [ebp + 0x53], bl
mov byte [ebp + 0x51], bl
call fcn.00435950
add esp, 0xc
test al, al
je 0x45b8d4
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
mov byte [ebp + 0x53], 1
mov byte [ebp + 0x4f], 1
jne 0x45b8d4
mov eax, dword [ebp + 0x78]
xor ecx, ecx
mov cx, word [eax + 2]
cmp cx, bx
je 0x45b8a3
mov eax, ecx
call fcn.00402b47
test al, al
jne 0x45b8a3
cmp cx, 0x2c
je 0x45b8a3
push 4
push dword [ebp + 0x78]
push str._bs
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x45b675
add dword [ebp + 0x78], 8
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.004385d3
test eax, eax
pop ecx
pop ecx
jle 0x45b88c
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x20], eax
mov dword [ebp + 0x1c], eax
jmp 0x45b88c
push 5
push dword [ebp + 0x78]
push str._ibs
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x45b6b1
add dword [ebp + 0x78], 0xa
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.004385d3
test eax, eax
pop ecx
pop ecx
jle 0x45b88c
mov eax, dword [ebp + 0x54]
jmp 0x45b66d
push 5
push dword [ebp + 0x78]
push str._obs
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x45b6f3
add dword [ebp + 0x78], 0xa
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.004385d3
test eax, eax
pop ecx
pop ecx
jle 0x45b88c
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x20], eax
jmp 0x45b88c
push 7
push dword [ebp + 0x78]
push str._count
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x45b73b
add dword [ebp + 0x78], 0xe
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.004385d3
test eax, eax
pop ecx
pop ecx
jle 0x45b88c
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x14], eax
jmp 0x45b88c
push 5
push dword [ebp + 0x78]
push str._len
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x45b783
add dword [ebp + 0x78], 0xa
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.004385d3
test eax, eax
pop ecx
pop ecx
jle 0x45b88c
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x64], eax
jmp 0x45b88c
push 6
push dword [ebp + 0x78]
push str._conv
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x45b7c6
add dword [ebp + 0x78], 0xc
push 7
push dword [ebp + 0x78]
push str.notrunc
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x45b7b7
mov byte [ebp + 0x5f], 1
lea eax, [ebp + 0x78]
push eax
call fcn.00404167
pop ecx
jmp 0x45b88c
push 6
push dword [ebp + 0x78]
push str._skip
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x45b80e
add dword [ebp + 0x78], 0xc
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.004385d3
test eax, eax
pop ecx
pop ecx
jle 0x45b88c
mov eax, dword [ebp + 0x58]
mov edi, dword [ebp + 0x54]
mov dword [ebp - 0x28], eax
jmp 0x45b88c
push 7
push dword [ebp + 0x78]
push str._skipb
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x45b854
add dword [ebp + 0x78], 0xe
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
xor edi, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.004385d3
test eax, eax
pop ecx
pop ecx
jle 0x45b88c
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x34], eax
jmp 0x45b88c
push 6
lea eax, [ebp + 0x78]
push eax
push str._quick
call fcn.00435950
add esp, 0xc
test al, al
je 0x45b871
mov byte [ebp + 0x51], 1
jmp 0x45b88c
push 7
lea eax, [ebp + 0x78]
push eax
push str._qspace
call fcn.00435950
add esp, 0xc
test al, al
je 0x45b88c
mov byte [ebp + 0x51], 0x10
lea eax, [ebp + 0x78]
push eax
call fcn.0042ebab
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
pop ecx
je 0x45b605
cmp dword [ebp + 0x34], ebx
jg 0x45b8d4
jl 0x45b8af
cmp dword [ebp + 0x30], ebx
jae 0x45b8d4
push dword [ebp - 0x28]
mov eax, dword [ebp + 0x1c]
cdq
push edi
push edx
push eax
call fcn.0047b320
cmp edx, ebx
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
jg 0x45b8d4
jl 0x45b8ce
cmp eax, ebx
jae 0x45b8d4
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
push 6
lea eax, [ebp + 0x78]
push eax
push str._quick
call fcn.00435950
add esp, 0xc
test al, al
je 0x45b8ef
mov byte [ebp + 0x51], 1
push 0x2c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004364f8
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp + 0x58], eax
mov dword [ebp + 0xc], ebx
call fcn.0040ec9c
add esp, 0x10
push eax
lea ecx, [ebp + 0xc]
call fcn.0043de31
lea ecx, [ebp + 0x58]
call fcn.0042eb98
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2c
jne 0x45c558
mov eax, dword [ebp + 0xc]
cmp word [eax], bx
je 0x45c558
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004385d3
cmp dword [ebp + 0x48], ebx
pop ecx
pop ecx
jg 0x45b961
jl 0x45c558
cmp dword [ebp + 0x44], ebx
jb 0x45c558
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x23
push 0xfffffffffffffffc
pop edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], esi
jne 0x45b989
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004385d3
mov edi, dword [ebp + 0x20]
pop ecx
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x45b995
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x64]
cmp eax, ebx
jl 0x45b9b8
jg 0x45b9a3
cmp dword [ebp + 0x60], ebx
jb 0x45b9b8
cmp dword [ebp + 0x24], eax
jl 0x45b9b8
jg 0x45b9af
cmp edi, dword [ebp + 0x60]
jbe 0x45b9b8
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x78]
push eax
call fcn.0042ebab
mov esi, dword [ebp + 0x78]
push esi
call fcn.0040c773
push esi
push str.zero
call fcn.0042fb17
add esp, 0x10
cmp word [esi], bx
mov byte [ebp + 0x43], al
mov dword [ebp + 8], esi
jne 0x45b9eb
xor esi, esi
inc esi
jmp 0x45c55d
mov eax, dword [ebp + 0x78]
mov dword [ebp], eax
lea eax, [ebp]
push 1
push eax
call fcn.0043add9
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00433afb
cmp byte [ebp + 0x5e], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp + 0x50], bl
mov dword [ebp + 0x28], ebx
je 0x45bb7c
mov esi, 0x4a7658
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp + 0x2c]
call fcn.00433c24
mov ecx, dword [ebp - 8]
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x78]
call fcn.0040c4d0
cmp eax, ebx
mov dword [ebp], eax
jne 0x45ba5a
lea ecx, [ebp + 0x2c]
call fcn.0042eb98
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x45c550
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
mov esi, dword [ebp + 0x24]
and eax, 0x3fffffff
cmp esi, ebx
mov dword [ebp + 0x28], eax
jl 0x45ba94
jg 0x45ba75
cmp edi, ebx
jbe 0x45ba94
mov eax, dword [ebp + 0x28]
cdq
mov ecx, edi
add ecx, dword [ebp + 0x30]
mov dword [ebp + 0x54], eax
mov eax, esi
adc eax, dword [ebp + 0x34]
mov dword [ebp + 0x58], edx
cmp eax, edx
jl 0x45bac2
jg 0x45ba94
cmp ecx, dword [ebp + 0x54]
jbe 0x45bac2
mov eax, dword [ebp + 0x28]
cdq
mov edi, eax
mov dword [ebp + 0x54], edi
sub edi, dword [ebp + 0x30]
mov esi, edx
mov dword [ebp + 0x58], esi
sbb esi, dword [ebp + 0x34]
mov dword [ebp + 0x20], edi
cmp esi, ebx
mov dword [ebp + 0x24], esi
jg 0x45bac2
jl 0x45bab8
cmp edi, ebx
ja 0x45bac2
xor edi, edi
xor esi, esi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], esi
mov eax, dword [ebp + 0x64]
cmp eax, ebx
jl 0x45bae4
jg 0x45bad0
cmp dword [ebp + 0x60], ebx
jb 0x45bae4
cmp eax, esi
jg 0x45bae4
jl 0x45badb
cmp dword [ebp + 0x60], edi
jae 0x45bae4
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], eax
lea eax, [edi + 0x200000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00433b3f
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x45bb12
lea ecx, [ebp + 0x2c]
call fcn.0042eb98
push 0x4a7658
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x45c5b3
mov edx, dword [ebp + 0x58]
mov ecx, dword [ebp]
mov ecx, dword [ecx + 4]
add eax, 0x100000
and eax, 0xfff00000
cmp dword [ebp + 0x34], edx
mov dword [ebp + 8], eax
jl 0x45bb40
jg 0x45bb37
mov esi, dword [ebp + 0x30]
cmp esi, dword [ebp + 0x54]
jbe 0x45bb40
mov esi, dword [ebp + 0x54]
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x34], edx
add ecx, dword [ebp + 0x30]
cmp edi, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp + 0x28], edi
jle 0x45bb5c
cmp eax, ecx
je 0x45bb5c
push edi
push ecx
push eax
call fcn.0047b870
add esp, 0xc
lea ecx, [ebp + 0x2c]
mov byte [ebp + 0x50], 1
mov byte [ebp + 0x6f], 1
call fcn.0042eb98
push 0x4a7658
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x45bd2f
cmp esi, ebx
je 0x45bd2f
mov al, byte [esi]
mov byte [ebp + 0x6f], al
mov byte [ebp + 0x50], al
lea eax, [esi + 2]
mov dword [ebp - 0x28], 0x20
cmp word [eax], 0x2e
mov dword [ebp + 0x28], eax
jne 0x45bbb0
mov cl, byte [eax]
inc eax
inc eax
mov byte [ebp + 0x6f], cl
mov dword [ebp + 0x28], eax
mov dword [ebp - 0x28], 0x40
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.0043ad27
pop ecx
pop ecx
mov cx, word [esi]
mov dword [ebp - 8], eax
mov eax, dword [0x4a6e00]
mov word [ebp + 0x58], cx
mov ecx, dword [ebp]
mov word [esi], bx
mov dx, word [ecx]
cmp dx, 0x2e
mov dword [ebp + 0x2c], ebx
jne 0x45bbed
cmp word [ecx + 2], bx
jne 0x45bbed
mov eax, dword [0x4a6e00]
jmp 0x45bbff
cmp dx, bx
je 0x45bbff
push 2
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp + 0x2c], eax
cmp eax, ebx
mov cx, word [ebp + 0x58]
mov word [esi], cx
je 0x45bc24
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 8]
push dword [ebp - 0x24]
push eax
call fcn.004108f8
add esp, 0x14
mov dword [ebp + 8], eax
cmp dword [ebp + 0x2c], ebx
je 0x45bc32
push dword [ebp + 0x2c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp + 8], ebx
je 0x45c5b3
cmp dword [ebp + 0x24], ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x58], eax
jl 0x45bc6b
jg 0x45bc4c
cmp edi, ebx
jbe 0x45bc6b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x24]
mov esi, edi
add esi, dword [ebp + 0x30]
cdq
adc ecx, dword [ebp + 0x34]
mov dword [ebp - 0xc], eax
cmp ecx, edx
mov dword [ebp - 8], edx
jl 0x45bc95
jg 0x45bc6b
cmp esi, eax
jbe 0x45bc95
mov eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0xc], eax
sub eax, dword [ebp + 0x30]
mov dword [ebp - 8], edx
sbb edx, dword [ebp + 0x34]
mov edi, eax
cmp edx, ebx
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], edx
jg 0x45bc95
jl 0x45bc8d
cmp edi, ebx
ja 0x45bc95
xor edi, edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], ebx
mov eax, dword [ebp - 0x18]
add eax, 0x200000
push eax
lea ecx, [ebp - 0x1c]
call fcn.00433b3f
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov esi, eax
je 0x45c5b3
mov ecx, dword [ebp + 0x58]
push 0x1ff
add ecx, eax
push ebx
push ecx
call fcn.0047b210
mov eax, dword [ebp - 8]
add esp, 0xc
cmp dword [ebp + 0x34], eax
jl 0x45bce2
jg 0x45bcd9
mov ecx, dword [ebp + 0x30]
cmp ecx, dword [ebp - 0xc]
jbe 0x45bce2
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 0x30], ecx
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x64]
add esi, dword [ebp + 0x30]
cmp eax, ebx
jl 0x45bd08
jg 0x45bcf3
cmp dword [ebp + 0x60], ebx
jb 0x45bd08
cmp eax, dword [ebp + 0x24]
jg 0x45bd08
jl 0x45bcff
cmp dword [ebp + 0x60], edi
jae 0x45bd08
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], eax
lea eax, [esi + 0x100000]
and eax, 0xfff00000
cmp edi, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp + 0x28], edi
mov dword [ebp + 8], eax
jle 0x45bd2f
cmp eax, esi
je 0x45bd2f
push edi
push esi
push eax
call fcn.0047b870
add esp, 0xc
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0x58], ebx
mov byte [ebp + 0x5e], bl
mov dword [ebp], ebx
mov dword [ebp + 0x68], ebx
call fcn.0043a712
cmp al, bl
pop ecx
pop ecx
mov byte [ebp + 4], al
jl 0x45c548
cmp byte [ebp + 0x53], bl
je 0x45bd6a
cmp byte [ebp + 0x5f], bl
jne 0x45bd67
cmp al, bl
mov byte [ebp + 0x5e], 1
jle 0x45bd6a
mov byte [ebp + 0x5e], bl
cmp byte [ebp + 0x53], bl
mov byte [ebp + 0x5f], 1
je 0x45bd7c
cmp byte [ebp + 0x50], bl
jne 0x45bd7c
mov byte [ebp + 0x53], 2
cmp byte [ebp + 0x53], 2
mov esi, 0xc0000000
jne 0x45bda4
cmp byte [ebp + 4], bl
jg 0x45bda4
push ebx
push ebx
push 4
push ebx
push 3
push esi
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004041e7
cmp dword [ebp + 0x68], ebx
jne 0x45bdc1
push ebx
push ebx
push 3
push ebx
push 3
push esi
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004041e7
cmp byte [ebp + 0x53], 2
jne 0x45c571
mov edi, dword [ebp + 0x1c]
cmp edi, ebx
jle 0x45c548
cmp dword [ebp - 0x20], ebx
jle 0x45c548
cmp dword [ebp + 0x64], ebx
jl 0x45be09
jg 0x45bde1
cmp dword [ebp + 0x60], ebx
jb 0x45be09
mov eax, edi
cdq
mov ecx, eax
add ecx, dword [ebp + 0x60]
mov esi, edx
adc esi, dword [ebp + 0x64]
push edx
sub ecx, 1
push eax
sbb esi, ebx
push esi
push ecx
call fcn.0047b270
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
mov esi, 0x7fffffff
jmp 0x45be38
cmp dword [ebp + 0x10], 0xffffffff
mov esi, 0x7fffffff
jne 0x45be22
cmp dword [ebp + 0x14], esi
jne 0x45be22
or dword [ebp + 0x60], 0xffffffff
mov dword [ebp + 0x64], esi
jmp 0x45be38
push dword [ebp + 0x14]
mov eax, edi
push dword [ebp + 0x10]
cdq
push edx
push eax
call fcn.0047b320
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
push dword [ebp + 0x78]
call fcn.0040ec9c
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0043ddc9
cmp dword [ebp + 0x68], ebx
jne 0x45be5c
lea ecx, [ebp - 0x10]
call fcn.0042eb98
jmp 0x45c5ab
cmp byte [ebp + 0x51], bl
mov dword [ebp - 4], edi
je 0x45bf82
cmp byte [ebp + 4], bl
jg 0x45bf82
lea ecx, [ebp + 0x68]
call fcn.00402ac9
cmp byte [ebp + 0x51], 1
jne 0x45be8c
push ebx
push ebx
push dword [ebp + 0xc]
call fcn.0043a423
add esp, 0xc
push ebx
push ebx
push 4
push ebx
push 3
push 0xc0000000
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004041e7
cmp dword [ebp + 0x68], ebx
je 0x45be4f
cmp byte [ebp + 0x43], bl
je 0x45bf82
cmp dword [ebp + 0x14], ebx
jl 0x45c35d
jg 0x45bec5
cmp dword [ebp + 0x10], ebx
jb 0x45bf82
push dword [ebp + 0x14]
mov eax, dword [ebp - 0x20]
push dword [ebp + 0x10]
cdq
push edx
push eax
call fcn.0047b320
cmp dword [ebp + 0x64], ebx
jl 0x45bef4
jg 0x45bee2
cmp dword [ebp + 0x60], ebx
jb 0x45bef4
cmp edx, dword [ebp + 0x64]
jl 0x45bef4
jg 0x45beee
cmp eax, dword [ebp + 0x60]
jbe 0x45bef4
mov eax, dword [ebp + 0x60]
mov edx, dword [ebp + 0x64]
add eax, dword [ebp + 0x44]
adc edx, dword [ebp + 0x48]
cmp dword [ebp + 0x14], esi
mov dword [ebp + 0x54], eax
mov edi, edx
jl 0x45bf15
jg 0x45bf0c
cmp dword [ebp + 0x10], 0xffffffff
jb 0x45bf15
mov dword [ebp + 0x54], 0xfffffdff
mov edi, esi
cmp byte [ebp + 0x5e], bl
jne 0x45bf38
push 2
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.0042fa51
add esp, 0x10
cmp edx, edi
jg 0x45bf38
jl 0x45bf34
cmp eax, dword [ebp + 0x54]
jae 0x45bf38
mov byte [ebp + 0x5e], 1
push ebx
push edi
push dword [ebp + 0x54]
push dword [ebp + 0x68]
call fcn.0042fa51
add esp, 0x10
cmp eax, dword [ebp + 0x54]
jne 0x45bf67
cmp edx, edi
jne 0x45bf67
cmp dword [ebp + 0x14], esi
jg 0x45bf82
jl 0x45c35d
cmp dword [ebp + 0x10], 0xffffffff
jae 0x45bf82
jmp 0x45c35d
cmp dword [ebp + 0x14], esi
jg 0x45bf82
jl 0x45bf74
cmp dword [ebp + 0x10], 0xffffffff
jae 0x45bf82
push ebx
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.0042fa51
add esp, 0x10
cmp dword [ebp + 0x14], ebx
jl 0x45c35d
jg 0x45bf96
cmp dword [ebp + 0x10], ebx
jbe 0x45c35d
cmp dword [ebp + 0x64], ebx
jl 0x45c35d
jg 0x45bfaa
cmp dword [ebp + 0x60], ebx
jbe 0x45c35d
xor eax, eax
cmp byte [ebp + 0x43], bl
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x38], ebx
jne 0x45bfc3
cmp byte [ebp + 0x50], bl
mov byte [ebp + 0x6f], 1
je 0x45bfc6
mov byte [ebp + 0x6f], bl
cmp byte [ebp + 4], bl
mov esi, dword [ebp + 0x44]
jle 0x45bfd8
mov eax, esi
and eax, 0x1ff
mov dword [ebp + 0x3c], eax
cdq
sub esi, eax
mov eax, dword [ebp + 0x48]
sbb eax, edx
mov edi, eax
js 0x45c025
jg 0x45bfea
cmp esi, ebx
jbe 0x45c025
push ebx
push edi
push esi
push dword [ebp + 0x68]
call fcn.0042fa51
add esp, 0x10
cmp eax, esi
jne 0x45c000
cmp edx, edi
je 0x45c025
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.0042eb98
lea ecx, [ebp + 0x68]
call fcn.00402ac9
lea ecx, [ebp - 0x1c]
call fcn.0042eb98
jmp 0x45c55d
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 0x18], ebx
je 0x45c0bf
lea eax, [ebp - 0x10]
push eax
call fcn.0043a84f
pop ecx
push ebx
push ebx
push 3
push ebx
push 3
movsx esi, al
push 0x80000000
push dword [ebp - 0x10]
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x28], esi
call fcn.004041e7
cmp dword [ebp + 0x18], ebx
jne 0x45c06a
lea ecx, [ebp + 0x18]
call fcn.00402ac9
jmp 0x45be4f
cmp esi, ebx
mov ecx, dword [ebp + 0x30]
jle 0x45c07b
mov eax, ecx
and eax, 0x1ff
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x38]
cdq
sub ecx, eax
mov eax, dword [ebp + 0x34]
sbb eax, edx
cmp eax, ebx
mov esi, ecx
mov edi, eax
jl 0x45c0bf
jg 0x45c094
cmp ecx, ebx
jbe 0x45c0bf
push ebx
push eax
push ecx
push dword [ebp + 0x18]
call fcn.0042fa51
add esp, 0x10
cmp eax, esi
jne 0x45c0aa
cmp edx, edi
je 0x45c0bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x18]
mov esi, eax
call fcn.00402ac9
jmp 0x45c008
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
je 0x45c0cb
add eax, ecx
lea esi, [eax + 0x8000]
lea eax, [esi + 0x102a00]
push eax
lea ecx, [ebp + 0x58]
mov dword [ebp - 0x24], esi
call fcn.00433b18
mov eax, dword [ebp + 0x58]
add eax, 0x100000
and eax, 0xfff00000
lea ecx, [eax + esi + 0x2800]
add esi, 0x2a00
push esi
push ebx
push eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x14], ecx
call fcn.0047b210
mov eax, dword [ebp - 0x20]
add esp, 0xc
xor edi, edi
cmp byte [ebp + 4], bl
mov dword [ebp - 8], ebx
mov ecx, 0xfffffe00
jle 0x45c127
add eax, 0x1ff
and eax, ecx
cmp dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x1c]
jle 0x45c139
add eax, 0x1ff
and eax, ecx
cmp dword [ebp + 0x38], ebx
mov dword [ebp], eax
mov byte [ebp + 0x7b], bl
mov esi, 0x200
jle 0x45c18e
push ebx
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, esi
sub edi, dword [ebp + 0x38]
mov eax, edi
cdq
sub dword [ebp + 0x60], eax
sbb dword [ebp + 0x64], edx
cmp dword [ebp + 0x64], ebx
jg 0x45c17b
jl 0x45c178
cmp dword [ebp + 0x60], ebx
jae 0x45c17b
add edi, dword [ebp + 0x60]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x38]
push edi
add ecx, eax
push ecx
push eax
call fcn.0047b870
add esp, 0xc
cmp dword [ebp + 0x3c], ebx
jle 0x45c1f7
push 1
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.0042fa51
add esp, 0x10
push ebx
mov dword [ebp + 0x44], eax
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x14]
mov dword [ebp + 0x48], edx
push dword [ebp + 0x68]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x3c]
push edi
add eax, esi
push esi
push eax
call fcn.0047b870
push dword [ebp + 0x3c]
push dword [ebp + 0x14]
push esi
call fcn.0047b870
add edi, dword [ebp + 0x3c]
push ebx
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 0x68]
call fcn.0042fa51
add esp, 0x28
cmp byte [ebp + 0x43], bl
je 0x45c1f7
mov byte [ebp + 0x7b], 1
cmp edi, ebx
mov byte [ebp + 0x52], 1
jg 0x45c2c4
cmp dword [ebp + 0x64], ebx
jl 0x45c2cf
jg 0x45c217
cmp dword [ebp + 0x60], ebx
jbe 0x45c2cf
cmp byte [ebp + 0x52], bl
je 0x45c2cf
cmp byte [ebp + 0x6f], bl
je 0x45c282
mov eax, dword [ebp]
cdq
cmp edx, dword [ebp + 0x64]
jg 0x45c23a
jl 0x45c235
cmp eax, dword [ebp + 0x60]
ja 0x45c23a
mov eax, dword [ebp]
jmp 0x45c23d
mov eax, dword [ebp + 0x60]
lea ecx, [eax + edi]
cmp ecx, dword [ebp - 0x24]
jle 0x45c24a
mov eax, dword [ebp - 0x24]
sub eax, edi
cmp dword [ebp + 0x28], ebx
jle 0x45c259
add eax, 0x1ff
and eax, 0xfffffe00
push ebx
lea ecx, [ebp - 4]
push ecx
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
push dword [ebp + 0x18]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x45c2cf
cmp eax, dword [ebp + 0x60]
jbe 0x45c2ad
mov eax, dword [ebp + 0x60]
jmp 0x45c2aa
mov eax, dword [ebp + 0x2c]
cdq
cmp edx, dword [ebp + 0x64]
jg 0x45c297
jl 0x45c292
cmp eax, dword [ebp + 0x60]
ja 0x45c297
mov eax, dword [ebp + 0x2c]
jmp 0x45c29a
mov eax, dword [ebp + 0x60]
lea ecx, [edi + eax]
cmp ecx, dword [ebp - 0x24]
mov dword [ebp - 4], eax
jbe 0x45c2ad
mov eax, dword [ebp - 0x24]
sub eax, edi
mov dword [ebp - 4], eax
cmp dword [ebp + 0x60], 0xffffffff
jne 0x45c2bc
cmp dword [ebp + 0x64], 0x7fffffff
je 0x45c2c2
sub dword [ebp + 0x60], eax
sbb dword [ebp + 0x64], ebx
add edi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x3c], eax
jmp 0x45c4de
cmp edi, ebx
jle 0x45c514
mov eax, dword [ebp + 8]
mov byte [ebp + 0x52], bl
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x2c]
cmp eax, edi
mov dword [ebp + 0x1c], eax
jle 0x45c2ed
mov dword [ebp + 0x1c], edi
cmp byte [ebp + 4], bl
mov dword [ebp + 0x38], ebx
jle 0x45c302
mov eax, dword [ebp + 0x1c]
and eax, 0x1ff
mov dword [ebp + 0x24], eax
jmp 0x45c305
mov dword [ebp + 0x24], ebx
mov esi, dword [ebp + 0x1c]
sub esi, dword [ebp + 0x24]
cmp esi, ebx
mov dword [ebp + 0x34], esi
jle 0x45c36a
push ebx
lea eax, [ebp + 0x38]
push eax
push esi
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call fcn.004328f2
add esp, 0x14
test eax, eax
jne 0x45c48d
cmp byte [ebp + 0x5f], bl
jne 0x45c420
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x45c34a
xor eax, eax
inc eax
mov dword [ebp], eax
lea ecx, [ebp + 0x58]
call fcn.0042eb98
lea ecx, [ebp + 0x18]
call fcn.00402ac9
lea ecx, [ebp - 0x10]
call fcn.0042eb98
jmp 0x45c97f
cmp dword [ebp + 0x24], ebx
jle 0x45c3eb
mov esi, 0x200
push esi
push ebx
push dword [ebp + 0x14]
call fcn.0047b210
sub esi, dword [ebp + 0x24]
push 1
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.0042fa51
add esp, 0x1c
push ebx
mov dword [ebp + 0x44], eax
lea eax, [ebp - 4]
push eax
push 0x200
push dword [ebp + 0x14]
mov dword [ebp + 0x48], edx
push dword [ebp + 0x68]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x24]
add eax, ecx
push esi
push eax
mov eax, dword [ebp + 0x3c]
add eax, edi
push eax
call fcn.0047b870
push ebx
push dword [ebp + 0x48]
add edi, esi
push dword [ebp + 0x44]
mov dword [ebp + 0x1c], 0x200
push dword [ebp + 0x68]
call fcn.0042fa51
mov esi, dword [ebp + 0x34]
add esp, 0x1c
cmp byte [ebp + 0x43], bl
je 0x45c3eb
mov byte [ebp + 0x7b], 1
cmp dword [ebp + 0x1c], ebx
mov dword [ebp + 0x38], ebx
jle 0x45c4bf
push ebx
lea eax, [ebp + 0x38]
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x45c4bf
cmp byte [ebp + 0x5f], bl
je 0x45c50d
mov byte [ebp + 0x5f], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, byte [ebp + 0x5f]
lea ecx, [ebp + 0x68]
mov byte [ebp + 0x5d], al
mov byte [ebp + 0x5f], bl
mov dword [ebp + 0x38], ebx
call fcn.00402ac9
push ebx
push ebx
push 4
push ebx
push ebx
push 0xc0000000
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004041e7
cmp dword [ebp + 0x68], ebx
jne 0x45c46b
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004041e7
push ebx
lea eax, [ebp + 0x38]
push eax
push esi
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call fcn.004328f2
add esp, 0x14
test eax, eax
je 0x45c337
cmp byte [ebp + 0x5d], 2
je 0x45c4bf
cmp dword [ebp + 0x38], esi
jbe 0x45c495
mov dword [ebp + 0x38], esi
cmp byte [ebp + 0x7b], bl
je 0x45c4ac
push dword [ebp + 0x38]
push ebx
push dword [ebp + 0x3c]
call fcn.0047b210
add esp, 0xc
mov byte [ebp + 0x7b], bl
mov eax, dword [ebp + 0x38]
sub dword [ebp + 0x1c], eax
sub edi, eax
add dword [ebp + 0x3c], esi
mov byte [ebp + 0x5f], bl
jmp 0x45c36a
cmp byte [ebp + 0x7b], bl
je 0x45c4d6
push dword [ebp + 0x38]
push ebx
push dword [ebp + 0x3c]
call fcn.0047b210
add esp, 0xc
mov byte [ebp + 0x7b], bl
mov eax, dword [ebp + 0x38]
add dword [ebp + 0x3c], eax
sub edi, eax
cmp edi, dword [ebp - 0x20]
jge 0x45c2e0
cmp edi, ebx
jle 0x45c203
mov eax, dword [ebp + 0x3c]
cmp dword [ebp + 8], eax
je 0x45c203
push edi
push eax
push dword [ebp + 8]
call fcn.0047b870
add esp, 0xc
jmp 0x45c203
mov dword [ebp - 8], 1
cmp dword [ebp - 8], ebx
jne 0x45c33d
cmp dword [ebp + 0x64], ebx
jl 0x45c540
jg 0x45c529
cmp dword [ebp + 0x60], ebx
jbe 0x45c540
cmp dword [ebp + 0x60], 0xffffffff
jne 0x45c33d
cmp dword [ebp + 0x64], 0x7fffffff
jne 0x45c33d
mov dword [ebp], ebx
jmp 0x45c34d
lea ecx, [ebp + 0x68]
call fcn.00402ac9
lea ecx, [ebp - 0x1c]
call fcn.0042eb98
mov esi, 0x80070057
lea ecx, [ebp + 0xc]
call fcn.0042eb98
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
xor edi, edi
cmp byte [ebp + 4], 0x11
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp - 8], ebx
jne 0x45c5c0
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x58]
push dword [ebp + 0x68]
call fcn.0043a63e
add esp, 0xc
cmp edx, ebx
mov edi, eax
mov dword [ebp - 8], edx
jg 0x45c62b
jl 0x45c5ab
cmp edi, ebx
jae 0x45c62b
lea ecx, [ebp + 0x68]
call fcn.00402ac9
lea ecx, [ebp - 0x1c]
call fcn.0042eb98
jmp 0x45b9e3
cmp dword [ebp + 0x68], ebx
je 0x45c630
cmp byte [ebp + 4], bl
jne 0x45c603
push 2
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.0042fa51
mov ecx, dword [ebp + 0x44]
add esp, 0x10
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x48]
sub ecx, 0x400
sbb eax, ebx
cmp edx, eax
mov dword [ebp + 0x64], edx
jg 0x45c62b
jl 0x45c5f8
cmp dword [ebp + 0x60], ecx
jae 0x45c62b
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45c62b
push dword [ebp + 4]
push dword [ebp + 0x68]
call fcn.00432880
cmp edx, ebx
pop ecx
pop ecx
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
jg 0x45c62b
jl 0x45c620
cmp eax, ebx
jae 0x45c62b
or dword [ebp + 0x60], 0xffffffff
mov dword [ebp + 0x64], 0x7fffffff
cmp dword [ebp + 0x68], ebx
jne 0x45c66f
cmp byte [ebp + 4], bl
jne 0x45c65d
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 0xc]
call fcn.0043a423
add esp, 0xc
push ebx
push ebx
push 4
push ebx
push 3
push esi
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004041e7
mov byte [ebp + 0x4f], 1
cmp dword [ebp + 0x68], ebx
jne 0x45c66f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x45c010
cmp byte [ebp + 0x4f], bl
je 0x45c684
cmp byte [ebp + 4], bl
jne 0x45c684
or dword [ebp + 0x60], 0xffffffff
mov dword [ebp + 0x64], 0x7fffffff
cmp byte [ebp + 4], bl
mov dword [ebp + 0x18], ebx
je 0x45c697
mov eax, dword [ebp + 0x44]
and eax, 0x1ff
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x48]
mov eax, dword [ebp + 0x60]
add ecx, edi
adc esi, dword [ebp - 8]
mov edi, dword [ebp + 0x64]
sub eax, ecx
mov dword [ebp - 0xc], eax
movzx eax, word [ebp + 0x18]
cdq
sbb edi, esi
sub ecx, eax
push ebx
sbb esi, edx
push esi
push ecx
push dword [ebp + 0x68]
mov dword [ebp + 0x14], ebx
call fcn.0042fa51
add esp, 0x10
cmp edx, ebx
jg 0x45c6e8
jl 0x45c6d3
cmp eax, ebx
jae 0x45c6e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x14]
mov esi, eax
call fcn.0042eb98
jmp 0x45c010
cmp byte [ebp + 0x6f], bl
je 0x45c728
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x64]
cdq
cmp ecx, edx
jl 0x45c704
jg 0x45c6ff
cmp dword [ebp + 0x60], eax
jbe 0x45c704
mov dword [ebp + 0x60], eax
mov ecx, edx
cmp ecx, ebx
jl 0x45c96e
jg 0x45c717
cmp dword [ebp + 0x60], ebx
jbe 0x45c96e
push dword [ebp + 4]
movzx eax, word [ebp + 0x18]
push eax
push ecx
push dword [ebp + 0x60]
push dword [ebp + 8]
jmp 0x45c796
cmp dword [ebp + 0x24], ebx
jl 0x45c74c
jg 0x45c734
cmp dword [ebp + 0x20], ebx
jb 0x45c74c
cmp dword [ebp + 0x24], edi
jg 0x45c74c
jl 0x45c743
mov eax, dword [ebp + 0x20]
cmp eax, dword [ebp - 0xc]
jae 0x45c74c
mov eax, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
cmp byte [ebp + 0x5d], bl
mov eax, dword [ebp + 8]
mov dword [ebp + 0x78], eax
je 0x45c7a6
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
lea ecx, [ebp + 0x14]
call fcn.00433bac
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
cdq
cmp edx, edi
jl 0x45c77e
jg 0x45c77b
cmp eax, dword [ebp - 0xc]
jbe 0x45c77e
mov ecx, dword [ebp - 0xc]
cmp ecx, ebx
jle 0x45c96e
push dword [ebp + 4]
movzx eax, word [ebp + 0x18]
push eax
mov eax, ecx
cdq
push edx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x68]
call fcn.0043aea2
add esp, 0x18
jmp 0x45c96e
movzx ecx, word [ebp + 0x18]
mov eax, 0x200
sub eax, ecx
lea esi, [ebp - 0x22c]
mov dword [ebp + 0x28], eax
mov al, byte [ebp + 0x52]
and esi, 0xfffffe00
cmp edi, ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov byte [ebp + 0x5d], bl
mov byte [ebp + 0x6f], al
jl 0x45c96e
jle 0x45c965
cmp dword [ebp + 0x48], ebx
jg 0x45c7f5
jl 0x45c7e9
cmp dword [ebp + 0x44], ebx
ja 0x45c7f5
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x45c96e
cmp dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
jle 0x45c96e
cmp edi, ebx
jl 0x45c932
jg 0x45c814
cmp dword [ebp - 0xc], ebx
jbe 0x45c932
cmp dword [ebp + 0x48], ebx
jg 0x45c90d
jl 0x45c828
cmp dword [ebp + 0x44], ebx
ja 0x45c90d
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x45c932
lea eax, [ebp + 0x78]
push eax
call fcn.0042ebab
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
pop ecx
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
jne 0x45c88e
inc eax
inc eax
mov dword [ebp + 0x78], eax
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004385d3
mov eax, dword [ebp + 0x78]
pop ecx
pop ecx
jmp 0x45c88e
cmp cx, 0x30
jb 0x45c875
cmp cx, 0x39
jbe 0x45c896
cmp byte [ebp + 0x6f], bl
je 0x45c889
or ecx, 0x20
cmp cx, 0x61
jb 0x45c889
cmp cx, 0x7a
jbe 0x45c896
inc eax
inc eax
mov dword [ebp + 0x78], eax
mov cx, word [eax]
cmp cx, bx
jne 0x45c869
cmp word [eax], 0x30
jne 0x45c8b6
mov cx, word [eax + 2]
or cx, 0x20
cmp cx, 0x78
jne 0x45c8b6
add eax, 4
mov byte [ebp + 0x6f], 1
mov dword [ebp + 0x78], eax
jmp 0x45c8bb
cmp byte [ebp + 0x6f], bl
je 0x45c8eb
push 2
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
call fcn.00434730
mov eax, dword [ebp + 0x78]
movzx eax, word [eax]
push eax
call fcn.00433834
add esp, 0x10
test al, al
jne 0x45c8ff
mov al, byte [ebp + 0x52]
mov byte [ebp + 0x6f], al
jmp 0x45c8ff
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004369c5
cmp eax, 1
pop ecx
pop ecx
jl 0x45c932
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0x58]
je 0x45c932
mov al, byte [ebp + 0x60]
mov byte [ebp + 0x5d], al
add dword [ebp + 0x44], 0xffffffff
mov eax, dword [ebp + 0x2c]
mov cl, byte [ebp + 0x5d]
adc dword [ebp + 0x48], 0xffffffff
mov byte [eax + esi], cl
inc eax
add dword [ebp - 0xc], 0xffffffff
mov dword [ebp + 0x2c], eax
adc edi, 0xffffffff
cmp eax, dword [ebp + 0x28]
jl 0x45c801
cmp dword [ebp + 0x2c], ebx
jle 0x45c96e
push dword [ebp + 4]
movzx eax, word [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x2c]
cdq
push edx
push eax
push esi
push dword [ebp + 0x68]
call fcn.0043aea2
add esp, 0x18
cmp edi, ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x28], 0x200
jg 0x45c7dd
jl 0x45c96e
cmp dword [ebp - 0xc], ebx
ja 0x45c7dd
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea ecx, [ebp + 0x14]
call fcn.0042eb98
cmp byte [ebp + 0x5e], bl
je 0x45c98d
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea ecx, [ebp + 0x68]
call fcn.00402ac9
lea ecx, [ebp - 0x1c]
call fcn.0042eb98
mov esi, dword [ebp]
jmp 0x45c55d