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

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x4e4
push ebx
push esi
push edi
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp - 0x64]
xor ebx, ebx
push eax
mov dword [ebp + 0x50], ecx
mov dword [ebp - 0x64], ebx
call fcn.00443d9f
mov edx, dword [ebp + 0x78]
pop ecx
pop ecx
mov byte [ebp + 0x65], bl
mov byte [ebp + 0x5f], bl
mov byte [ebp + 0x5d], bl
mov byte [ebp - 9], bl
mov byte [ebp + 0x66], bl
mov dword [ebp + 0x4c], ebx
mov dword [ebp - 0x60], ebx
xor ecx, ecx
jmp 0x4660bf
mov eax, ecx
call fcn.004820ac
test al, al
jne 0x4660c7
cmp cx, 0x2a
jne 0x4660a2
mov al, byte [edx]
mov byte [ebp + 0x65], al
jmp 0x4660ba
cmp cx, 0x2e
jne 0x4660af
mov al, byte [edx]
mov byte [ebp + 0x5f], al
jmp 0x4660ba
cmp cx, 0x23
jne 0x4660ba
mov al, byte [edx]
mov byte [ebp + 0x5d], al
inc edx
inc edx
mov dword [ebp + 0x78], edx
mov cx, word [edx]
cmp cx, bx
jne 0x46608a
lea eax, [ebp + 0x78]
push eax
call fcn.004378b6
mov esi, dword [ebp + 0x78]
pop ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x38], esi
call fcn.0043d3a5
cmp word [esi], 0x2d
jne 0x46612f
xor ecx, ecx
mov cx, word [esi + 2]
cmp cx, bx
je 0x466114
mov eax, ecx
call fcn.004820ac
test al, al
jne 0x466114
cmp cx, 0x2c
je 0x466114
lea eax, [ebp - 0x38]
push eax
call fcn.00407fcf
mov esi, dword [ebp - 0x38]
cmp word [esi], 0x2d
pop ecx
je 0x4660e5
cmp esi, dword [ebp + 0x78]
je 0x46612f
mov ecx, dword [ebp + 0x50]
push 1
push ebx
lea eax, [ebp - 0x58]
push eax
mov word [esi - 2], bx
push dword [ebp + 0x78]
call fcn.0044c04c
mov eax, dword [ebp - 0x58]
push 1
lea ecx, [ebp - 0x18]
mov dword [ebp + 0x78], eax
call fcn.0043d3c3
or edi, 0xffffffff
mov eax, 0x200
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x48], 0x7fffffff
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x58], edi
mov dword [ebp - 8], ebx
mov byte [ebp - 0xa], bl
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ebx
mov dword [ebp], eax
mov dword [ebp + 4], ebx
mov byte [ebp + 0x3b], bl
mov byte [ebp + 0x3a], bl
mov byte [ebp + 0x67], bl
mov dword [ebp + 0x34], ebx
jmp 0x4662d6
push 3
lea eax, [ebp + 0x78]
push eax
push 0x4adcb8
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x4661ac
mov byte [ebp - 9], 1
jmp 0x4662d6
push 5
lea eax, [ebp + 0x78]
push eax
push str._free
call fcn.0043f15e
add esp, 0xc
test al, al
jne 0x4662e8
push 3
lea eax, [ebp + 0x78]
push eax
push 0x4adc40
call fcn.0043f15e
add esp, 0xc
test al, al
lea eax, [ebp + 0x78]
je 0x46627d
mov esi, dword [ebp + 0x78]
push eax
mov dword [ebp + 0x30], esi
call fcn.00407fcf
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
cmp word [esi], 0x3f
pop ecx
mov dword [ebp + 0x3c], ebx
jne 0x466234
inc esi
inc esi
lea eax, [ebp - 0x28]
push eax
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x34], esi
mov dword [ebp - 0x28], esi
call fcn.00405061
mov eax, dword [ebp - 0x28]
cmp word [eax], bx
pop ecx
je 0x466221
mov word [eax], bx
mov ecx, dword [ebp + 0x50]
push ebx
lea eax, [ebp + 0x3c]
push eax
push dword [ebp + 0x34]
call fcn.00443f40
mov dword [ebp + 0x30], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00439fd3
mov eax, dword [ebp - 0x14]
cmp eax, edi
pop ecx
pop ecx
mov esi, eax
je 0x466270
cmp eax, ebx
je 0x466270
lea ecx, [ebp - 0x60]
push ecx
push eax
mov dword [ebp + 0x34], ebx
call fcn.00437e39
test eax, eax
pop ecx
pop ecx
je 0x466270
mov eax, dword [ebp - 0x60]
cmp eax, ebx
mov dword [ebp + 0x4c], eax
jne 0x466270
mov dword [ebp + 0x4c], esi
lea ecx, [ebp + 0x3c]
call fcn.00437884
mov esi, dword [ebp - 0x38]
jmp 0x4662d6
push 2
push eax
push 0x4adcb4
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x466297
mov byte [ebp + 0x66], 1
jmp 0x4662d6
push 6
lea eax, [ebp + 0x78]
push eax
push str._quick
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x4662b4
mov byte [ebp + 0x67], 1
jmp 0x4662d6
push 3
lea eax, [ebp + 0x78]
push eax
push 0x4adcb0
call fcn.0043f0e5
add esp, 0xc
test al, al
jne 0x46632d
push 0x2d
lea eax, [ebp + 0x78]
call fcn.0043cf2c
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
je 0x46618c
jmp 0x466625
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x78]
push eax
call fcn.00407fcf
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.00439fd3
add esp, 0xc
cmp dword [ebp - 0x4c], edi
je 0x466b53
cmp dword [ebp - 0x4c], ebx
je 0x466b53
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x466b53
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
mov byte [ebp + 0x3a], 1
mov byte [ebp + 0x65], 1
jne 0x466625
mov eax, dword [ebp + 0x78]
xor ecx, ecx
mov cx, word [eax + 2]
cmp cx, bx
je 0x4665f2
mov eax, ecx
call fcn.004820ac
test al, al
jne 0x4665f2
cmp cx, 0x2c
je 0x4665f2
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00407fcf
push 4
push dword [ebp + 0x78]
push str._bs
call fcn.00438aa1
add esp, 0x10
test al, al
je 0x4663c8
add dword [ebp + 0x78], 8
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
call fcn.004486b7
test eax, eax
pop ecx
pop ecx
jle 0x4665e2
mov eax, dword [ebp + 0x68]
cdq
mov dword [ebp], eax
mov dword [ebp + 4], edx
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
jmp 0x4665e2
push 5
push dword [ebp + 0x78]
push str._ibs
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x466405
add dword [ebp + 0x78], 0xa
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
call fcn.004486b7
test eax, eax
pop ecx
pop ecx
jle 0x4665e2
mov eax, dword [ebp + 0x68]
cdq
jmp 0x4663bd
push 5
push dword [ebp + 0x78]
push str._obs
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x46644b
add dword [ebp + 0x78], 0xa
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
call fcn.004486b7
test eax, eax
pop ecx
pop ecx
jle 0x4665e2
mov eax, dword [ebp + 0x68]
cdq
mov dword [ebp], eax
mov dword [ebp + 4], edx
jmp 0x4665e2
push 7
push dword [ebp + 0x78]
push str._count
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x466493
add dword [ebp + 0x78], 0xe
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
call fcn.004486b7
test eax, eax
pop ecx
pop ecx
jle 0x4665e2
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x48], eax
jmp 0x4665e2
push 5
push dword [ebp + 0x78]
push str._len
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x4664db
add dword [ebp + 0x78], 0xa
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
call fcn.004486b7
test eax, eax
pop ecx
pop ecx
jle 0x4665e2
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x58], eax
jmp 0x4665e2
push 6
push dword [ebp + 0x78]
push str._conv
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x466518
add dword [ebp + 0x78], 0xc
push 7
push dword [ebp + 0x78]
push str.notrunc
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x4665e2
mov byte [ebp + 0x3b], 1
jmp 0x4665e2
push 6
push dword [ebp + 0x78]
push str._skip
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x466563
add dword [ebp + 0x78], 0xc
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x24], edi
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
call fcn.004486b7
test eax, eax
pop ecx
pop ecx
jle 0x4665e2
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x50], eax
jmp 0x4665e2
push 7
push dword [ebp + 0x78]
push str._skipb
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x4665aa
add dword [ebp + 0x78], 0xe
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
call fcn.004486b7
test eax, eax
pop ecx
pop ecx
jle 0x4665e2
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x28], eax
jmp 0x4665e2
push 6
lea eax, [ebp + 0x78]
push eax
push str._quick
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x4665c7
mov byte [ebp + 0x67], 1
jmp 0x4665e2
push 7
lea eax, [ebp + 0x78]
push eax
push str._qspace
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x4665e2
mov byte [ebp + 0x67], 0x10
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0x78], eax
cmp word [eax], 0x2d
je 0x466342
cmp dword [ebp + 0x28], ebx
jg 0x466625
jl 0x4665fe
cmp dword [ebp + 0x24], ebx
jae 0x466625
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0048f820
cmp edx, ebx
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], edx
jg 0x466625
jl 0x46661f
cmp eax, ebx
jae 0x466625
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
push 6
lea eax, [ebp + 0x78]
push eax
push str._quick
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x466640
mov byte [ebp + 0x67], 1
mov ecx, dword [ebp + 0x50]
push ebx
push 0x2c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x78], esi
call fcn.00432fb5
cmp word [eax], 0x2c
jne 0x466b4e
mov eax, dword [ebp - 0x18]
mov ax, word [eax]
cmp ax, bx
je 0x466b4e
cmp ax, 0x26
jne 0x466679
mov byte [ebp + 0x66], 1
cmp byte [ebp + 0x66], bl
je 0x466681
mov byte [ebp + 0x65], bl
mov ecx, dword [ebp + 0x50]
push 1
push ebx
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x78]
call fcn.0044c04c
mov eax, dword [ebp - 0x58]
mov dword [ebp + 0x78], eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004486b7
cmp dword [ebp + 0x1c], ebx
pop ecx
pop ecx
jg 0x4666bc
jl 0x466b4e
cmp dword [ebp + 0x18], ebx
jb 0x466b4e
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x23
mov dword [ebp + 0x68], 0xfffffffc
mov dword [ebp + 0x6c], edi
mov byte [ebp - 0x31], bl
jne 0x4666fa
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x78]
push eax
call fcn.004378b6
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x78]
push eax
sete byte [ebp - 0x31]
call fcn.004486b7
add esp, 0xc
push 0x3b
lea eax, [ebp + 0x78]
push 0x2c
push eax
call fcn.00437d61
mov eax, dword [ebp + 0x78]
add esp, 0xc
cmp word [eax], bx
je 0x466716
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x58]
cmp eax, ebx
jl 0x46673c
jg 0x466724
cmp dword [ebp + 0x54], ebx
jb 0x46673c
cmp dword [ebp + 0x6c], eax
jl 0x46673c
jg 0x466733
mov ecx, dword [ebp + 0x68]
cmp ecx, dword [ebp + 0x54]
jbe 0x46673c
mov ecx, dword [ebp + 0x54]
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x6c], eax
lea eax, [ebp + 0x78]
push eax
call fcn.004378b6
push dword [ebp + 0x78]
call fcn.0040f076
mov esi, dword [ebp + 0x78]
push esi
push str.zero
call fcn.00438ae0
add esp, 0x10
cmp word [esi], bx
mov edi, esi
mov byte [ebp + 0x23], al
mov dword [ebp + 0x2c], edi
mov dword [ebp - 0x38], esi
jne 0x466776
xor ebx, ebx
inc ebx
jmp 0x466b53
lea eax, [ebp - 0x28]
push 1
push eax
mov dword [ebp - 0x28], esi
call fcn.00443ccb
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.0043d27e
cmp byte [ebp + 0x5d], bl
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov byte [ebp + 0x64], bl
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
je 0x4668f9
mov esi, 0x4beb4c
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea ecx, [ebp + 0x30]
call fcn.0043d3a5
mov ecx, dword [ebp + 0x50]
push ebx
push 0xffffffffffffffff
push ebx
push edi
call fcn.0040eec0
cmp eax, ebx
mov dword [ebp - 0x24], eax
jne 0x4667e4
lea ecx, [ebp + 0x30]
call fcn.00437884
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x466b46
mov edx, dword [ebp + 0x6c]
cmp edx, ebx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
jl 0x46680f
mov esi, dword [ebp + 0x68]
jg 0x4667fa
cmp esi, ebx
jbe 0x46680f
mov ecx, esi
add ecx, dword [ebp + 0x24]
mov eax, edx
adc eax, dword [ebp + 0x28]
cmp eax, ebx
jl 0x466834
jg 0x46680f
cmp ecx, dword [ebp - 0x14]
jbe 0x466834
mov esi, dword [ebp - 0x14]
sub esi, dword [ebp + 0x24]
mov edx, ebx
sbb edx, dword [ebp + 0x28]
mov dword [ebp + 0x68], esi
cmp edx, ebx
mov dword [ebp + 0x6c], edx
jg 0x466834
jl 0x46682a
cmp esi, ebx
ja 0x466834
xor esi, esi
xor edx, edx
mov dword [ebp + 0x68], esi
mov dword [ebp + 0x6c], edx
mov eax, dword [ebp + 0x58]
cmp eax, ebx
jl 0x466856
jg 0x466842
cmp dword [ebp + 0x54], ebx
jb 0x466856
cmp eax, edx
jg 0x466856
jl 0x46684d
cmp dword [ebp + 0x54], esi
jae 0x466856
mov esi, dword [ebp + 0x54]
mov dword [ebp + 0x68], esi
mov dword [ebp + 0x6c], eax
lea eax, [esi + 0x200000]
push eax
lea ecx, [ebp - 0x44]
call fcn.0043d2c0
mov edi, dword [ebp - 0x44]
cmp edi, ebx
jne 0x466884
lea ecx, [ebp + 0x30]
call fcn.00437884
push 0x4beb4c
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x46779d
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
add edi, 0x100000
and edi, 0xfff00000
cmp dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], edi
jl 0x4668b1
jg 0x4668a8
mov eax, dword [ebp + 0x24]
cmp eax, dword [ebp - 0x14]
jbe 0x4668b1
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], ebx
add ecx, dword [ebp + 0x24]
mov eax, esi
cdq
cmp edx, ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
jl 0x4668d9
jg 0x4668ca
cmp eax, ebx
jbe 0x4668d9
cmp edi, ecx
je 0x4668d9
push esi
push ecx
push edi
call fcn.00412515
add esp, 0xc
lea ecx, [ebp + 0x30]
mov byte [ebp + 0x64], 1
mov byte [ebp - 0xa], 1
call fcn.00437884
push 0x4beb4c
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x466abc
cmp esi, ebx
je 0x466abc
lea eax, [esi + 2]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], 0x20
cmp word [eax], 0x2e
mov byte [ebp - 0xa], 2
mov byte [ebp + 0x64], 2
jne 0x466928
inc eax
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], 0x40
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00443c19
pop ecx
pop ecx
mov cx, word [esi]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x4bde84]
mov word [ebp - 0x24], cx
mov ecx, dword [ebp - 0x28]
mov word [esi], bx
mov dx, word [ecx]
cmp dx, 0x2e
mov dword [ebp + 0x30], ebx
jne 0x466965
cmp word [ecx + 2], bx
jne 0x466965
mov eax, dword [0x4bde84]
jmp 0x466977
cmp dx, bx
je 0x466977
push 2
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov dword [ebp + 0x30], eax
cmp eax, ebx
mov cx, word [ebp - 0x24]
mov word [esi], cx
je 0x46699b
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push dword [ebp - 0x5c]
push dword [ebp - 8]
push eax
call fcn.00412ff6
add esp, 0x14
mov edi, eax
cmp dword [ebp + 0x30], ebx
je 0x4669a9
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp edi, ebx
je 0x46779d
cmp dword [ebp + 0x6c], ebx
mov eax, dword [ebp - 0x40]
cdq
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
jl 0x4669e3
jg 0x4669c7
cmp dword [ebp + 0x68], ebx
jbe 0x4669e3
mov edi, dword [ebp + 0x68]
mov esi, dword [ebp + 0x6c]
mov ecx, edi
add ecx, dword [ebp + 0x24]
mov eax, esi
adc eax, dword [ebp + 0x28]
cmp eax, dword [ebp + 0xc]
jl 0x466a09
jg 0x4669e3
cmp ecx, dword [ebp + 8]
jbe 0x466a09
mov edi, dword [ebp + 8]
sub edi, dword [ebp + 0x24]
mov esi, dword [ebp + 0xc]
sbb esi, dword [ebp + 0x28]
mov dword [ebp + 0x68], edi
cmp esi, ebx
mov dword [ebp + 0x6c], esi
jg 0x466a09
jl 0x4669ff
cmp edi, ebx
ja 0x466a09
xor edi, edi
xor esi, esi
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x6c], esi
mov eax, dword [ebp - 0x40]
add eax, 0x200000
push eax
lea ecx, [ebp - 0x44]
call fcn.0043d2c0
mov eax, dword [ebp - 0x44]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x46779d
mov ecx, dword [ebp + 8]
push 0x1ff
add ecx, eax
push ebx
push ecx
call fcn.0048f710
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x28], eax
jl 0x466a5a
jg 0x466a4e
mov eax, dword [ebp + 0x24]
cmp eax, dword [ebp + 8]
jbe 0x466a5a
mov eax, dword [ebp + 8]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp + 0x58]
cmp eax, ebx
jl 0x466a82
jg 0x466a6e
cmp dword [ebp + 0x54], ebx
jb 0x466a82
cmp eax, esi
jg 0x466a82
jl 0x466a79
cmp dword [ebp + 0x54], edi
jae 0x466a82
mov edi, dword [ebp + 0x54]
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x6c], eax
mov eax, edi
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 8]
cdq
add edi, 0x100000
and edi, 0xfff00000
cmp edx, ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp + 0x2c], edi
jl 0x466abc
jg 0x466aaa
cmp eax, ebx
jbe 0x466abc
cmp edi, dword [ebp - 8]
je 0x466abc
push eax
push dword [ebp - 8]
push edi
call fcn.00412515
add esp, 0xc
mov eax, dword [ebp + 0x4c]
cmp eax, ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp + 0x5d], bl
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x60], eax
mov byte [ebp - 4], bl
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp + 0x5e], 1
je 0x466ae5
mov byte [ebp + 0x5e], bl
cmp byte [ebp + 0x3a], bl
je 0x466afa
cmp byte [ebp + 0x3b], bl
sete byte [ebp + 0x5d]
cmp byte [ebp + 0x64], bl
jne 0x466afa
mov byte [ebp + 0x3a], 2
cmp byte [ebp + 0x66], bl
mov esi, 0xc0000000
je 0x466c01
mov esi, 0x4beb4c
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea ecx, [ebp + 0x3c]
call fcn.0043d3a5
mov ecx, dword [ebp + 0x50]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x18]
call fcn.0040eec0
cmp eax, ebx
jne 0x466b7f
lea ecx, [ebp + 0x3c]
call fcn.00437884
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp + 0x40]
call fcn.00402b8a
lea ecx, [ebp - 0x44]
call fcn.00437884
mov ebx, 0x80070057
lea ecx, [ebp - 0x18]
call fcn.00437884
lea ecx, [ebp - 0x58]
call fcn.00437884
lea ecx, [ebp - 0x60]
call fcn.00402b8a
lea ecx, [ebp - 0x64]
call fcn.00437884
pop edi
pop esi
mov eax, ebx
pop ebx
add ebp, 0x70
leave
ret 8
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
xor eax, eax
cmp eax, ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
jg 0x466b9a
jl 0x466b2f
cmp ecx, ebx
jbe 0x466b2f
cmp byte [ebp + 0x64], bl
je 0x466bf0
mov edx, dword [ebp + 0x18]
sub ecx, edx
sbb eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], ecx
cmp eax, dword [ebp + 0x6c]
jl 0x466bbf
jg 0x466bb6
cmp ecx, dword [ebp + 0x68]
jbe 0x466bbf
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
jl 0x466bdc
jg 0x466bca
cmp dword [ebp - 0x14], ebx
jbe 0x466bdc
push dword [ebp - 0x30]
mov eax, dword [ebp - 8]
add edx, eax
push edi
push edx
call fcn.00412515
add esp, 0xc
lea ecx, [ebp + 0x3c]
call fcn.00437884
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x467c26
lea ecx, [ebp + 0x3c]
call fcn.00437884
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x466c78
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0044351d
cmp al, bl
pop ecx
pop ecx
mov byte [ebp - 4], al
jl 0x466b3e
cmp byte [ebp + 0x3a], bl
je 0x466c3f
cmp al, bl
jg 0x466c3f
cmp dword [ebp + 0x4c], ebx
jne 0x466c5a
push ebx
push ebx
push 4
push ebx
push 3
push esi
push dword [ebp - 0x18]
lea ecx, [ebp + 0x40]
call fcn.004050ca
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x60], ebx
jne 0x466c5a
push ebx
push ebx
push 3
push ebx
push 3
push esi
push dword [ebp - 0x18]
lea ecx, [ebp + 0x40]
call fcn.004050ca
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x34], ebx
je 0x466c78
cmp dword [ebp + 0x40], ebx
je 0x466c78
push dword [ebp + 0x34]
push dword [ebp + 0x40]
push dword [ebp + 0x50]
call fcn.00445818
add esp, 0xc
mov dword [ebp + 0x40], ebx
cmp byte [ebp + 0x3a], 2
jne 0x46774b
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jl 0x466b3e
mov edi, dword [ebp + 0x10]
jg 0x466c9a
cmp edi, ebx
jbe 0x466b3e
cmp dword [ebp + 4], ebx
jl 0x466b3e
jg 0x466cae
cmp dword [ebp], ebx
jbe 0x466b3e
cmp dword [ebp + 0x58], ebx
jl 0x466cda
jg 0x466cba
cmp dword [ebp + 0x54], ebx
jb 0x466cda
mov eax, edi
add eax, dword [ebp + 0x54]
mov ecx, esi
adc ecx, dword [ebp + 0x58]
push esi
sub eax, 1
push edi
sbb ecx, ebx
push ecx
push eax
call fcn.0048f770
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], edx
jmp 0x466d06
cmp dword [ebp + 0x44], 0xffffffff
jne 0x466cf3
mov eax, 0x7fffffff
cmp dword [ebp + 0x48], eax
jne 0x466cf3
or dword [ebp + 0x54], 0xffffffff
mov dword [ebp + 0x58], eax
jmp 0x466d06
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push esi
push edi
call fcn.0048f820
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], edx
push dword [ebp - 0x38]
call fcn.004110a0
pop ecx
push eax
lea ecx, [ebp + 0x34]
call fcn.00445746
cmp byte [ebp + 0x66], bl
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], esi
jg 0x466d35
cmp dword [ebp + 0x60], ebx
jne 0x466d35
lea ecx, [ebp + 0x34]
call fcn.00437884
jmp 0x467795
cmp byte [ebp + 0x67], bl
je 0x466e73
cmp byte [ebp - 4], bl
jg 0x466e73
cmp byte [ebp + 0x66], bl
jg 0x466e73
cmp dword [ebp + 0x4c], ebx
jne 0x466d5d
lea ecx, [ebp + 0x40]
call fcn.00402b8a
cmp byte [ebp + 0x67], 1
jne 0x466d70
push ebx
push ebx
push dword [ebp - 0x18]
call fcn.004432c9
add esp, 0xc
cmp dword [ebp + 0x4c], ebx
jne 0x466d8f
push ebx
push ebx
push 4
push ebx
push 3
push 0xc0000000
push dword [ebp - 0x18]
lea ecx, [ebp + 0x40]
call fcn.004050ca
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x60], ebx
je 0x466d28
cmp byte [ebp + 0x23], bl
je 0x466e73
cmp dword [ebp + 0x48], ebx
jl 0x467507
jg 0x466db1
cmp dword [ebp + 0x44], ebx
jb 0x466e73
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 4]
push dword [ebp]
call fcn.0048f820
cmp dword [ebp + 0x58], ebx
jl 0x466de0
jg 0x466dce
cmp dword [ebp + 0x54], ebx
jb 0x466de0
cmp edx, dword [ebp + 0x58]
jl 0x466de0
jg 0x466dda
cmp eax, dword [ebp + 0x54]
jbe 0x466de0
mov eax, dword [ebp + 0x54]
mov edx, dword [ebp + 0x58]
add eax, dword [ebp + 0x18]
mov esi, 0x7fffffff
adc edx, dword [ebp + 0x1c]
cmp dword [ebp + 0x48], esi
mov dword [ebp - 0x14], eax
mov edi, edx
jl 0x466e06
jg 0x466dfd
cmp dword [ebp + 0x44], 0xffffffff
jb 0x466e06
mov dword [ebp - 0x14], 0xfffffdff
mov edi, esi
cmp byte [ebp + 0x5d], bl
jne 0x466e29
push 2
push ebx
push ebx
push dword [ebp + 0x60]
call fcn.004389fe
add esp, 0x10
cmp edx, edi
jg 0x466e29
jl 0x466e25
cmp eax, dword [ebp - 0x14]
jae 0x466e29
mov byte [ebp + 0x5d], 1
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp + 0x60]
call fcn.004389fe
add esp, 0x10
cmp eax, dword [ebp - 0x14]
jne 0x466e58
cmp edx, edi
jne 0x466e58
cmp dword [ebp + 0x48], esi
jg 0x466e73
jl 0x467507
cmp dword [ebp + 0x44], 0xffffffff
jae 0x466e73
jmp 0x467507
cmp dword [ebp + 0x48], esi
jg 0x466e73
jl 0x466e65
cmp dword [ebp + 0x44], 0xffffffff
jae 0x466e73
push ebx
push ebx
push ebx
push dword [ebp + 0x60]
call fcn.004389fe
add esp, 0x10
cmp dword [ebp + 0x48], ebx
jl 0x467507
jg 0x466e87
cmp dword [ebp + 0x44], ebx
jbe 0x467507
cmp dword [ebp + 0x58], ebx
jl 0x467507
jg 0x466e9b
cmp dword [ebp + 0x54], ebx
jbe 0x467507
cmp byte [ebp + 0x23], bl
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
jne 0x466eb8
cmp byte [ebp + 0x64], bl
mov byte [ebp + 0x65], 1
je 0x466ebb
mov byte [ebp + 0x65], bl
cmp byte [ebp - 4], bl
jle 0x466ecf
mov eax, dword [ebp + 0x18]
and eax, 0x1ff
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov esi, dword [ebp + 0x18]
sub esi, dword [ebp - 0x30]
mov edi, dword [ebp + 0x1c]
sbb edi, dword [ebp - 0x2c]
js 0x466f23
jg 0x466ee3
cmp esi, ebx
jbe 0x466f23
cmp byte [ebp + 0x66], bl
jg 0x466f23
push ebx
push edi
push esi
push dword [ebp + 0x60]
call fcn.004389fe
add esp, 0x10
cmp eax, esi
jne 0x466efe
cmp edx, edi
je 0x466f23
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
lea ecx, [ebp + 0x34]
call fcn.00437884
lea ecx, [ebp + 0x40]
call fcn.00402b8a
lea ecx, [ebp - 0x44]
call fcn.00437884
jmp 0x466b53
mov eax, dword [ebp + 0x34]
cmp word [eax], 0x26
mov edi, dword [ebp + 0x24]
mov esi, dword [ebp + 0x28]
sete byte [ebp + 0x64]
cmp byte [ebp + 0x64], bl
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], esi
mov dword [ebp + 0x4c], ebx
je 0x467043
push 0x4beb4c
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea ecx, [ebp + 0x3c]
call fcn.0043d3a5
mov ecx, dword [ebp + 0x50]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x34]
call fcn.0040eec0
cmp eax, ebx
jne 0x466f9d
lea ecx, [ebp + 0x3c]
call fcn.00437884
push 0x4beb4c
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp + 0x4c]
call fcn.00402b8a
lea ecx, [ebp + 0x34]
call fcn.00437884
jmp 0x466b3e
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], ecx
xor ecx, ecx
cmp ecx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
jg 0x466fd7
jl 0x466fb8
cmp eax, ebx
ja 0x466fd7
mov dword [ebp + 0x30], 0x80070057
lea ecx, [ebp + 0x3c]
call fcn.00437884
push 0x4beb4c
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x4674ff
cmp byte [ebp + 0x66], bl
je 0x467030
mov edx, dword [ebp - 0x1c]
sub eax, edi
sbb ecx, esi
mov esi, dword [ebp - 0x20]
sub esi, dword [ebp + 0x18]
sbb edx, dword [ebp + 0x1c]
cmp edx, dword [ebp + 0x58]
jl 0x466ffe
jg 0x466ff8
cmp esi, dword [ebp + 0x54]
jbe 0x466ffe
mov esi, dword [ebp + 0x54]
mov edx, dword [ebp + 0x58]
cmp edx, ecx
jl 0x46700c
jg 0x467008
cmp esi, eax
jbe 0x46700c
mov esi, eax
mov edx, ecx
cmp edx, ebx
jl 0x466fbf
jg 0x467016
cmp esi, ebx
jbe 0x466fbf
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x18]
add edi, eax
mov eax, dword [ebp - 8]
push esi
add ecx, eax
push edi
push ecx
call fcn.00412515
add esp, 0xc
jmp 0x466fbf
lea ecx, [ebp + 0x3c]
call fcn.00437884
push 0x4beb4c
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [ebp + 0x65], bl
je 0x4670e0
cmp byte [ebp + 0x64], bl
jg 0x4670e0
lea eax, [ebp + 0x34]
push eax
call fcn.0044365a
pop ecx
push ebx
push ebx
push 3
push ebx
push 3
movsx eax, al
push 0x80000000
push dword [ebp + 0x34]
lea ecx, [ebp + 0x4c]
mov dword [ebp - 0x38], eax
call fcn.004050ca
cmp dword [ebp + 0x4c], ebx
jne 0x46708e
lea ecx, [ebp + 0x4c]
call fcn.00402b8a
jmp 0x466d28
cmp dword [ebp - 0x38], ebx
jle 0x4670a1
mov eax, edi
and eax, 0x1ff
cdq
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], edx
sub edi, dword [ebp + 0x44]
sbb esi, dword [ebp + 0x48]
mov ecx, edi
mov eax, esi
cmp eax, ebx
jl 0x4670e0
jg 0x4670b5
cmp ecx, ebx
jbe 0x4670e0
push ebx
push eax
push ecx
push dword [ebp + 0x4c]
call fcn.004389fe
add esp, 0x10
cmp eax, edi
jne 0x4670cb
cmp edx, esi
je 0x4670e0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea ecx, [ebp + 0x4c]
mov ebx, eax
call fcn.00402b8a
jmp 0x466f06
mov eax, dword [ebp]
cmp dword [ebp + 0x10], eax
jne 0x4670f0
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp + 4]
je 0x4670fb
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 4]
adc ecx, dword [ebp + 0x14]
jmp 0x4670fe
mov eax, dword [ebp + 0x10]
add eax, 0x8000
adc ecx, ebx
mov esi, eax
mov dword [ebp - 0x1c], ecx
add esi, 0x2800
adc ecx, ebx
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x100200]
mov dword [ebp - 0x70], ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0043d29b
mov edi, dword [ebp - 0x24]
add edi, 0x100000
and edi, 0xfff00000
lea eax, [esi + edi]
add esi, 0x200
push esi
push ebx
push edi
mov dword [ebp + 0x30], edi
mov dword [ebp + 0x3c], eax
call fcn.0048f710
mov eax, dword [ebp]
add esp, 0xc
cmp byte [ebp - 4], bl
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
mov dword [ebp - 0x5c], ebx
mov edx, 0xfffffe00
jle 0x46717a
mov ecx, dword [ebp + 4]
add eax, 0x1ff
adc ecx, ebx
and eax, edx
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x24], eax
jmp 0x467183
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 0x28], eax
cmp dword [ebp - 0x38], ebx
mov eax, dword [ebp + 0x10]
jle 0x46719f
mov ecx, dword [ebp + 0x14]
add eax, 0x1ff
adc ecx, ebx
and eax, edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
jmp 0x4671a8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
cmp dword [ebp + 0x48], ebx
mov byte [ebp + 0x67], bl
jl 0x467215
jg 0x4671b7
cmp dword [ebp + 0x44], ebx
jbe 0x467215
push ebx
lea eax, [ebp + 8]
push eax
mov esi, 0x200
push esi
push edi
push dword [ebp + 0x4c]
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, esi
sub eax, dword [ebp + 0x44]
push 0
pop ecx
sbb ecx, dword [ebp + 0x48]
sub dword [ebp + 0x54], eax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x6c], ecx
sbb dword [ebp + 0x58], ecx
cmp dword [ebp + 0x58], ebx
jg 0x467201
jl 0x4671f5
cmp dword [ebp + 0x54], ebx
jae 0x467201
mov eax, dword [ebp + 0x54]
add dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x58]
adc dword [ebp + 0x6c], eax
push dword [ebp + 0x68]
mov eax, dword [ebp + 0x44]
add eax, edi
push eax
push edi
call fcn.00412515
add esp, 0xc
jmp 0x46721a
mov esi, 0x200
cmp dword [ebp - 0x2c], ebx
jl 0x467291
jg 0x467226
cmp dword [ebp - 0x30], ebx
jbe 0x467291
push 1
push ebx
push ebx
push dword [ebp + 0x60]
call fcn.004389fe
add esp, 0x10
push ebx
mov dword [ebp + 0x10], eax
lea eax, [ebp + 8]
push eax
push esi
push dword [ebp + 0x3c]
mov dword [ebp + 0x14], edx
push dword [ebp + 0x60]
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push dword [ebp + 0x68]
mov esi, dword [ebp - 0x30]
lea eax, [esi + edi]
push edi
push eax
call fcn.00412515
push esi
push dword [ebp + 0x3c]
push edi
call fcn.00412515
add dword [ebp + 0x68], esi
mov eax, dword [ebp - 0x2c]
push ebx
push dword [ebp + 0x14]
adc dword [ebp + 0x6c], eax
push dword [ebp + 0x10]
push dword [ebp + 0x60]
call fcn.004389fe
add esp, 0x28
cmp byte [ebp + 0x23], bl
je 0x467291
mov byte [ebp + 0x67], 1
cmp dword [ebp + 0x6c], ebx
mov byte [ebp + 0x3b], 1
jg 0x467418
jl 0x4672a9
cmp dword [ebp + 0x68], ebx
ja 0x467418
mov edx, dword [ebp + 0x58]
cmp edx, ebx
jl 0x467420
mov eax, dword [ebp + 0x54]
jg 0x4672c1
cmp eax, ebx
jbe 0x467420
cmp byte [ebp + 0x3b], bl
je 0x467420
cmp byte [ebp + 0x65], bl
je 0x4673b4
mov ecx, dword [ebp - 0x48]
cmp ecx, edx
jg 0x4672e6
jl 0x4672e1
cmp dword [ebp - 0x4c], eax
ja 0x4672e6
mov eax, dword [ebp - 0x4c]
jmp 0x4672e8
mov ecx, edx
mov esi, eax
add esi, dword [ebp + 0x68]
mov edx, ecx
adc edx, dword [ebp + 0x6c]
cmp edx, dword [ebp - 0x1c]
jl 0x46730a
jg 0x4672fe
cmp esi, dword [ebp - 0x20]
jbe 0x46730a
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp + 0x68]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp + 0x6c]
cmp dword [ebp - 0x38], ebx
jle 0x46731b
add eax, 0x1ff
adc ecx, ebx
and eax, 0xfffffe00
cmp byte [ebp + 0x64], bl
je 0x46736d
mov esi, dword [ebp - 0x14]
sub esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x10]
sbb edi, dword [ebp - 0x50]
cmp edi, ecx
jl 0x46733a
jg 0x467336
cmp esi, eax
jbe 0x46733a
mov esi, eax
mov edi, ecx
cmp ecx, ebx
jl 0x46735f
jg 0x467344
cmp eax, ebx
jbe 0x46735f
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x54]
add eax, ecx
mov ecx, dword [ebp + 0x30]
push esi
push eax
mov eax, dword [ebp + 0x68]
add eax, ecx
push eax
call fcn.00412515
add esp, 0xc
add dword [ebp - 0x54], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
adc dword [ebp - 0x50], edi
jmp 0x46738e
push ebx
lea ecx, [ebp + 8]
push ecx
push eax
mov eax, dword [ebp + 0x68]
add eax, edi
push eax
push dword [ebp + 0x4c]
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp edi, ebx
jl 0x467420
jg 0x4673a0
cmp esi, ebx
jbe 0x467420
cmp edi, dword [ebp + 0x58]
jl 0x4673fa
jg 0x4673ac
cmp esi, dword [ebp + 0x54]
jbe 0x4673fa
mov esi, dword [ebp + 0x54]
mov edi, dword [ebp + 0x58]
jmp 0x4673f4
cmp dword [ebp + 0x28], edx
jg 0x4673c8
jl 0x4673c0
cmp dword [ebp + 0x24], eax
ja 0x4673c8
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x28]
jmp 0x4673cc
mov esi, eax
mov edi, edx
mov ecx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x6c]
add ecx, esi
adc eax, edi
cmp eax, dword [ebp - 0x1c]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
jl 0x4673fa
jg 0x4673e8
cmp ecx, dword [ebp - 0x20]
jbe 0x4673fa
mov esi, dword [ebp - 0x20]
sub esi, dword [ebp + 0x68]
mov edi, dword [ebp - 0x1c]
sbb edi, dword [ebp + 0x6c]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
cmp dword [ebp + 0x54], 0xffffffff
jne 0x467409
cmp dword [ebp + 0x58], 0x7fffffff
je 0x46740f
sub dword [ebp + 0x54], esi
sbb dword [ebp + 0x58], edi
add dword [ebp + 0x68], esi
adc dword [ebp + 0x6c], edi
mov edi, dword [ebp + 0x30]
mov dword [ebp + 0x2c], edi
jmp 0x4676c5
cmp dword [ebp + 0x6c], ebx
jl 0x467717
jg 0x467434
cmp dword [ebp + 0x68], ebx
jbe 0x467717
mov eax, dword [ebp + 0x30]
mov byte [ebp + 0x3b], bl
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x6c]
cmp eax, ecx
jg 0x467459
jl 0x467451
mov edx, dword [ebp + 0x24]
cmp edx, dword [ebp + 0x68]
ja 0x467459
mov esi, dword [ebp + 0x24]
mov dword [ebp + 0x14], eax
jmp 0x46745f
mov esi, dword [ebp + 0x68]
mov dword [ebp + 0x14], ecx
cmp byte [ebp - 4], bl
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x50], ebx
jle 0x467473
mov eax, esi
and eax, 0x1ff
jmp 0x467475
xor eax, eax
mov edi, dword [ebp + 0x14]
xor ecx, ecx
sub esi, eax
sbb edi, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x74], esi
js 0x467514
jg 0x467494
cmp esi, ebx
jbe 0x467514
cmp byte [ebp + 0x66], bl
je 0x4674bc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x18]
push esi
push dword [ebp + 0x2c]
add ecx, eax
push ecx
call fcn.00412515
add esp, 0xc
add dword [ebp + 0x18], esi
mov dword [ebp + 0x50], esi
adc dword [ebp + 0x1c], edi
jmp 0x467666
push ebx
lea eax, [ebp + 0x50]
push eax
push esi
push dword [ebp + 0x2c]
push dword [ebp + 0x60]
call fcn.0043bd8f
add esp, 0x14
test eax, eax
jne 0x467666
cmp byte [ebp + 0x5e], bl
jne 0x4675f9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, ebx
jne 0x4674f4
xor eax, eax
inc eax
mov dword [ebp + 0x30], eax
lea ecx, [ebp - 0x24]
call fcn.00437884
lea ecx, [ebp + 0x4c]
call fcn.00402b8a
lea ecx, [ebp + 0x34]
call fcn.00437884
jmp 0x467c26
xor eax, eax
cmp eax, ebx
jl 0x4675b9
jg 0x467529
cmp dword [ebp - 0x30], ebx
jbe 0x4675b9
mov esi, 0x200
push esi
push ebx
push dword [ebp + 0x3c]
call fcn.0048f710
sub esi, dword [ebp - 0x30]
push 0
pop edi
push edi
pop eax
push 1
push ebx
push ebx
push dword [ebp + 0x60]
sbb edi, eax
call fcn.004389fe
add esp, 0x1c
push ebx
mov dword [ebp + 0x44], eax
lea eax, [ebp + 8]
push eax
push 0x200
push dword [ebp + 0x3c]
mov dword [ebp + 0x48], edx
push dword [ebp + 0x60]
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp - 0x30]
add eax, ecx
mov ecx, dword [ebp + 0x2c]
push esi
push eax
mov eax, dword [ebp + 0x68]
add eax, ecx
push eax
call fcn.00412515
add dword [ebp + 0x68], esi
push ebx
push dword [ebp + 0x48]
adc dword [ebp + 0x6c], edi
push dword [ebp + 0x44]
mov dword [ebp + 0x10], 0x200
push dword [ebp + 0x60]
mov dword [ebp + 0x14], ebx
call fcn.004389fe
mov esi, dword [ebp - 0x74]
add esp, 0x1c
cmp byte [ebp + 0x23], bl
je 0x4675b9
mov byte [ebp + 0x67], 1
cmp dword [ebp + 0x14], ebx
mov dword [ebp + 0x50], ebx
jl 0x46769f
jg 0x4675d0
cmp dword [ebp + 0x10], ebx
jbe 0x46769f
push ebx
lea eax, [ebp + 0x50]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x2c]
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x46769f
cmp byte [ebp + 0x5e], bl
je 0x467710
mov byte [ebp + 0x5e], 2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov al, byte [ebp + 0x5e]
lea ecx, [ebp + 0x40]
mov byte [ebp + 0x5f], al
mov byte [ebp + 0x5e], bl
mov dword [ebp + 0x50], ebx
call fcn.00402b8a
push ebx
push ebx
push 4
push ebx
push ebx
mov edi, 0xc0000000
push edi
push dword [ebp - 0x18]
lea ecx, [ebp + 0x40]
call fcn.004050ca
cmp eax, ebx
mov dword [ebp + 0x60], eax
jne 0x467646
push ebx
push ebx
push 3
push ebx
push ebx
push edi
push dword [ebp - 0x18]
lea ecx, [ebp + 0x40]
call fcn.004050ca
mov dword [ebp + 0x60], eax
push ebx
lea ecx, [ebp + 0x50]
push ecx
push esi
push dword [ebp + 0x2c]
push eax
call fcn.0043bd8f
add esp, 0x14
test eax, eax
je 0x4674e1
cmp byte [ebp + 0x5f], 2
je 0x46769f
cmp dword [ebp + 0x50], esi
jbe 0x46766e
mov dword [ebp + 0x50], esi
cmp byte [ebp + 0x67], bl
je 0x467685
push dword [ebp + 0x50]
push ebx
push dword [ebp + 0x2c]
call fcn.0048f710
add esp, 0xc
mov byte [ebp + 0x67], bl
mov eax, dword [ebp + 0x50]
sub dword [ebp + 0x10], eax
mov byte [ebp + 0x5e], bl
sbb dword [ebp + 0x14], ebx
sub dword [ebp + 0x68], eax
sbb dword [ebp + 0x6c], ebx
add dword [ebp + 0x2c], esi
jmp 0x467514
cmp byte [ebp + 0x67], bl
je 0x4676b6
push dword [ebp + 0x50]
push ebx
push dword [ebp + 0x2c]
call fcn.0048f710
add esp, 0xc
mov byte [ebp + 0x67], bl
mov eax, dword [ebp + 0x50]
add dword [ebp + 0x2c], eax
sub dword [ebp + 0x68], eax
mov edi, dword [ebp + 0x30]
sbb dword [ebp + 0x6c], ebx
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 4]
jg 0x46743d
jl 0x4676df
mov eax, dword [ebp + 0x68]
cmp eax, dword [ebp]
jae 0x46743d
cmp dword [ebp + 0x6c], ebx
jl 0x4672a9
jg 0x4676f3
cmp dword [ebp + 0x68], ebx
jbe 0x4672a9
cmp edi, dword [ebp + 0x2c]
je 0x4672a9
push dword [ebp + 0x68]
push dword [ebp + 0x2c]
push edi
call fcn.00412515
add esp, 0xc
jmp 0x4672a9
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], ebx
jne 0x4674e7
cmp dword [ebp + 0x58], ebx
jl 0x467743
jg 0x46772c
cmp dword [ebp + 0x54], ebx
jbe 0x467743
cmp dword [ebp + 0x54], 0xffffffff
jne 0x4674e7
cmp dword [ebp + 0x58], 0x7fffffff
jne 0x4674e7
mov dword [ebp + 0x30], ebx
jmp 0x4674f7
cmp byte [ebp + 0x66], bl
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0x50], ebx
jne 0x4678ad
cmp byte [ebp - 4], 0x11
jne 0x4677aa
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x24]
push dword [ebp + 0x60]
call fcn.0044b020
add esp, 0xc
cmp edx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
jg 0x467814
jl 0x467795
cmp eax, ebx
jae 0x467814
lea ecx, [ebp + 0x40]
call fcn.00402b8a
lea ecx, [ebp - 0x44]
call fcn.00437884
jmp 0x46676e
cmp dword [ebp + 0x60], ebx
je 0x46781a
cmp byte [ebp - 4], bl
jne 0x4677ef
push 2
push ebx
push ebx
push dword [ebp + 0x60]
call fcn.004389fe
mov ecx, dword [ebp + 0x18]
add esp, 0x10
mov edi, eax
mov eax, dword [ebp + 0x1c]
sub ecx, 0x400
mov esi, edx
sbb eax, ebx
cmp esi, eax
jg 0x46781a
jl 0x4677df
cmp edi, ecx
jae 0x46781a
cmp dword [ebp + 0x4c], ebx
jne 0x46781a
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x46781a
push dword [ebp - 4]
push dword [ebp + 0x60]
call fcn.0043bd1d
mov esi, edx
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
jg 0x46781a
jl 0x46780a
cmp edi, ebx
jae 0x46781a
or edi, 0xffffffff
mov esi, 0x7fffffff
jmp 0x46781a
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
cmp byte [ebp - 0x31], bl
je 0x467845
cmp dword [ebp + 0x68], 0xfffffffc
jne 0x467845
mov ecx, edi
sub ecx, dword [ebp + 0x18]
mov eax, esi
sbb eax, dword [ebp + 0x1c]
mov dword [ebp + 0x68], ecx
cmp eax, ebx
mov dword [ebp + 0x6c], eax
jg 0x467845
jl 0x46783f
cmp ecx, ebx
jae 0x467845
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
cmp dword [ebp + 0x60], ebx
jne 0x46788b
cmp byte [ebp - 4], bl
jne 0x46787e
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0x18]
call fcn.004432c9
add esp, 0xc
push ebx
push ebx
push 4
push ebx
push 3
push 0xc0000000
push dword [ebp - 0x18]
lea ecx, [ebp + 0x40]
call fcn.004050ca
cmp eax, ebx
mov dword [ebp + 0x60], eax
jne 0x467895
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x466f0e
cmp byte [ebp + 0x65], bl
je 0x46789d
cmp byte [ebp - 4], bl
jne 0x4678a2
or edi, 0xffffffff
mov esi, 0x7fffffff
cmp byte [ebp - 4], bl
je 0x4678ad
mov eax, dword [ebp + 0x18]
and eax, 0x1ff
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x18]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x1c]
adc ecx, dword [ebp - 0x10]
sub edi, eax
sbb esi, ecx
cmp byte [ebp + 0x66], bl
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x48], esi
jne 0x46790d
movzx eax, word [ebp + 0x50]
mov ecx, dword [ebp + 0x18]
cdq
sub ecx, eax
mov eax, dword [ebp + 0x1c]
push ebx
sbb eax, edx
push eax
push ecx
push dword [ebp + 0x60]
call fcn.004389fe
add esp, 0x10
cmp edx, ebx
jg 0x46790d
jl 0x4678f8
cmp eax, ebx
jae 0x46790d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea ecx, [ebp + 0x3c]
mov ebx, eax
call fcn.00437884
jmp 0x466f0e
cmp byte [ebp - 0xa], bl
je 0x46796a
mov ecx, dword [ebp + 0x48]
cmp ecx, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x44]
jl 0x46792a
jg 0x467924
cmp eax, dword [ebp - 0x30]
jbe 0x46792a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp byte [ebp + 0x66], bl
je 0x467949
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp - 8]
push dword [ebp + 0x2c]
add ecx, eax
push ecx
call fcn.00412515
add esp, 0xc
jmp 0x467c10
cmp ecx, ebx
jl 0x467c10
jg 0x46795b
cmp eax, ebx
jbe 0x467c10
push dword [ebp - 4]
movzx edx, word [ebp + 0x50]
push edx
push ecx
push eax
push dword [ebp + 0x2c]
jmp 0x4679db
mov eax, dword [ebp + 0x6c]
cmp eax, ebx
jl 0x467990
jg 0x467978
cmp dword [ebp + 0x68], ebx
jb 0x467990
cmp eax, dword [ebp + 0x48]
jg 0x467990
jl 0x467987
mov ecx, dword [ebp + 0x68]
cmp ecx, dword [ebp + 0x44]
jae 0x467990
mov ecx, dword [ebp + 0x68]
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x48], eax
cmp byte [ebp + 0x5f], bl
mov ecx, dword [ebp + 0x2c]
mov dword [ebp + 0x78], ecx
je 0x4679eb
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
lea ecx, [ebp + 0x3c]
call fcn.0043d32d
push dword [ebp + 0x3c]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, eax
cdq
cmp edx, dword [ebp + 0x48]
jl 0x4679c3
jg 0x4679c0
cmp eax, dword [ebp + 0x44]
jbe 0x4679c3
mov ecx, dword [ebp + 0x44]
cmp ecx, ebx
jle 0x467c10
push dword [ebp - 4]
movzx eax, word [ebp + 0x50]
push eax
mov eax, ecx
cdq
push edx
push eax
push dword [ebp + 0x3c]
push dword [ebp + 0x60]
call fcn.0044b0f4
add esp, 0x18
jmp 0x467c10
movzx eax, word [ebp + 0x50]
mov edi, 0x200
lea esi, [ebp - 0x274]
sub edi, eax
mov al, byte [ebp - 9]
and esi, 0xfffffe00
cmp dword [ebp + 0x48], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov byte [ebp + 0x5f], bl
mov byte [ebp + 0x65], al
jl 0x467c10
jg 0x467a2a
cmp dword [ebp + 0x44], ebx
jbe 0x467c10
jmp 0x467a2a
mov ecx, dword [ebp + 0x78]
cmp dword [ebp + 4], ebx
jg 0x467a3f
jl 0x467a36
cmp dword [ebp], ebx
ja 0x467a3f
cmp word [ecx], bx
je 0x467c10
cmp edi, ebx
mov dword [ebp + 0x4c], ebx
jle 0x467c10
cmp dword [ebp + 0x48], ebx
jl 0x467baf
jg 0x467a5e
cmp dword [ebp + 0x44], ebx
jbe 0x467baf
cmp dword [ebp + 4], ebx
jg 0x467b8a
jl 0x467a72
cmp dword [ebp], ebx
ja 0x467b8a
cmp word [ecx], bx
je 0x467baf
lea eax, [ebp + 0x78]
push eax
call fcn.004378b6
pop ecx
mov ecx, dword [ebp + 0x78]
cmp word [ecx], 0x2a
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
jne 0x467aef
lea eax, [ebp]
push eax
inc ecx
lea eax, [ebp + 0x78]
inc ecx
push eax
mov dword [ebp], 1
mov dword [ebp + 4], ebx
mov dword [ebp + 0x78], ecx
call fcn.004486b7
pop ecx
pop ecx
mov ecx, dword [ebp + 0x78]
jmp 0x467aef
cmp ax, 0x2a
je 0x467b84
cmp ax, 0x28
je 0x467b17
cmp ax, 0x30
jb 0x467ad6
cmp ax, 0x39
jbe 0x467af7
cmp byte [ebp + 0x65], bl
je 0x467aea
or eax, 0x20
cmp ax, 0x61
jb 0x467aea
cmp ax, 0x7a
jbe 0x467af7
inc ecx
inc ecx
mov dword [ebp + 0x78], ecx
mov ax, word [ecx]
cmp ax, bx
jne 0x467aba
cmp word [ecx], 0x30
jne 0x467b31
mov ax, word [ecx + 2]
or ax, 0x20
cmp ax, 0x78
jne 0x467b31
add ecx, 4
mov byte [ebp + 0x65], 1
mov dword [ebp + 0x78], ecx
jmp 0x467b36
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.004486b7
pop ecx
pop ecx
mov ecx, dword [ebp + 0x78]
jmp 0x467b84
cmp byte [ebp + 0x65], bl
je 0x467b68
push 2
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0043defd
mov ecx, dword [ebp + 0x78]
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.00412674
add esp, 0x10
test al, al
jne 0x467b7f
mov al, byte [ebp - 9]
mov byte [ebp + 0x65], al
jmp 0x467b7f
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0044880d
cmp eax, 1
pop ecx
pop ecx
jl 0x467baf
mov ecx, dword [ebp + 0x78]
cmp ecx, dword [ebp - 0x24]
je 0x467baf
mov al, byte [ebp - 0x20]
mov byte [ebp + 0x5f], al
add dword [ebp], 0xffffffff
mov edx, dword [ebp + 0x4c]
mov al, byte [ebp + 0x5f]
adc dword [ebp + 4], 0xffffffff
inc dword [ebp + 0x4c]
add dword [ebp + 0x44], 0xffffffff
mov byte [edx + esi], al
adc dword [ebp + 0x48], 0xffffffff
cmp dword [ebp + 0x4c], edi
jl 0x467a4a
cmp dword [ebp + 0x4c], ebx
jle 0x467c10
cmp byte [ebp + 0x66], bl
je 0x467bda
push dword [ebp + 0x4c]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x18]
add ecx, eax
push esi
push ecx
call fcn.00412515
mov eax, dword [ebp + 0x4c]
cdq
add esp, 0xc
add dword [ebp + 0x18], eax
adc dword [ebp + 0x1c], edx
jmp 0x467bf4
push dword [ebp - 4]
movzx eax, word [ebp + 0x50]
push eax
mov eax, dword [ebp + 0x4c]
cdq
push edx
push eax
push esi
push dword [ebp + 0x60]
call fcn.0044b0f4
add esp, 0x18
cmp dword [ebp + 0x48], ebx
mov dword [ebp + 0x50], ebx
mov edi, 0x200
jg 0x467a27
jl 0x467c10
cmp dword [ebp + 0x44], ebx
ja 0x467a27
cmp dword [ebp + 0x60], ebx
je 0x467c1e
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
lea ecx, [ebp + 0x3c]
call fcn.00437884
cmp byte [ebp + 0x5d], bl
je 0x467c39
cmp dword [ebp + 0x60], ebx
je 0x467c39
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
lea ecx, [ebp + 0x40]
call fcn.00402b8a
lea ecx, [ebp - 0x44]
call fcn.00437884
mov ebx, dword [ebp + 0x30]
jmp 0x466b53