Function at 0x461b42
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 + 0x10], ecx
push edi
mov byte [ebp + 0x3f], bl
mov byte [ebp + 0x5d], bl
mov byte [ebp + 0x5e], bl
mov byte [ebp + 0x53], bl
xor ecx, ecx
jmp 0x461b9d
mov eax, ecx
call fcn.00431c5f
test al, al
jne 0x461ba5
cmp cx, 0x2a
jne 0x461b80
mov al, byte [edx]
mov byte [ebp + 0x3f], al
jmp 0x461b98
cmp cx, 0x2e
jne 0x461b8d
mov al, byte [edx]
mov byte [ebp + 0x5d], al
jmp 0x461b98
cmp cx, 0x23
jne 0x461b98
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 0x461b68
lea eax, [ebp + 0x78]
push eax
call fcn.00431c97
mov esi, dword [ebp + 0x78]
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp + 0x4c], esi
call fcn.0043717e
cmp word [esi], 0x2d
jne 0x461c08
xor ecx, ecx
mov cx, word [esi + 2]
cmp cx, bx
je 0x461bf2
mov eax, ecx
call fcn.00431c5f
test al, al
jne 0x461bf2
cmp cx, 0x2c
je 0x461bf2
lea eax, [ebp + 0x4c]
push eax
call fcn.00404807
mov esi, dword [ebp + 0x4c]
cmp word [esi], 0x2d
pop ecx
je 0x461bc3
mov ecx, dword [ebp + 0x10]
push 1
push ebx
lea eax, [ebp - 0x24]
push eax
mov word [esi - 2], bx
push dword [ebp + 0x78]
call fcn.0043fdd2
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0x78], eax
push 3
lea eax, [ebp + 0x78]
push eax
push 0x4a0848
call fcn.00438eee
add esp, 0xc
test al, al
je 0x461c29
mov byte [ebp + 0x53], 1
push 1
lea ecx, [ebp - 0xc]
call fcn.0043719c
mov eax, 0x200
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x1c], eax
push 3
lea eax, [ebp + 0x78]
or esi, 0xffffffff
push eax
push 0x4a0844
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], 0x7fffffff
xor edi, edi
mov dword [ebp + 4], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x64], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp + 0x6e], bl
mov byte [ebp + 0x5f], bl
mov byte [ebp + 0x6f], bl
mov byte [ebp + 0x52], bl
call fcn.00438eee
add esp, 0xc
test al, al
je 0x461f72
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
mov byte [ebp + 0x6f], 1
mov byte [ebp + 0x3f], 1
jne 0x461f72
mov eax, dword [ebp + 0x78]
xor ecx, ecx
mov cx, word [eax + 2]
cmp cx, bx
je 0x461f41
mov eax, ecx
call fcn.00431c5f
test al, al
jne 0x461f41
cmp cx, 0x2c
je 0x461f41
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x48], eax
lea eax, [ebp + 0x48]
push eax
call fcn.00404807
push 4
push dword [ebp + 0x78]
push str._bs
call fcn.00432c59
add esp, 0x10
test al, al
je 0x461d20
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.0043bfa0
test eax, eax
pop ecx
pop ecx
jle 0x461f31
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x1c], eax
mov dword [ebp + 0x14], eax
jmp 0x461f31
push 5
push dword [ebp + 0x78]
push str._ibs
call fcn.00432c59
add esp, 0xc
test al, al
je 0x461d5c
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.0043bfa0
test eax, eax
pop ecx
pop ecx
jle 0x461f31
mov eax, dword [ebp + 0x54]
jmp 0x461d18
push 5
push dword [ebp + 0x78]
push str._obs
call fcn.00432c59
add esp, 0xc
test al, al
je 0x461d9e
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.0043bfa0
test eax, eax
pop ecx
pop ecx
jle 0x461f31
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x1c], eax
jmp 0x461f31
push 7
push dword [ebp + 0x78]
push str._count
call fcn.00432c59
add esp, 0xc
test al, al
je 0x461de6
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.0043bfa0
test eax, eax
pop ecx
pop ecx
jle 0x461f31
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x24], eax
jmp 0x461f31
push 5
push dword [ebp + 0x78]
push str._len
call fcn.00432c59
add esp, 0xc
test al, al
je 0x461e2e
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.0043bfa0
test eax, eax
pop ecx
pop ecx
jle 0x461f31
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x64], eax
jmp 0x461f31
push 6
push dword [ebp + 0x78]
push str._conv
call fcn.00432c59
add esp, 0xc
test al, al
je 0x461e6b
add dword [ebp + 0x78], 0xc
push 7
push dword [ebp + 0x78]
push str.notrunc
call fcn.00432c59
add esp, 0xc
test al, al
je 0x461f31
mov byte [ebp + 0x5f], 1
jmp 0x461f31
push 6
push dword [ebp + 0x78]
push str._skip
call fcn.00432c59
add esp, 0xc
test al, al
je 0x461eb3
add dword [ebp + 0x78], 0xc
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.0043bfa0
test eax, eax
pop ecx
pop ecx
jle 0x461f31
mov eax, dword [ebp + 0x58]
mov edi, dword [ebp + 0x54]
mov dword [ebp + 4], eax
jmp 0x461f31
push 7
push dword [ebp + 0x78]
push str._skipb
call fcn.00432c59
add esp, 0xc
test al, al
je 0x461ef9
add dword [ebp + 0x78], 0xe
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
xor edi, edi
mov dword [ebp + 4], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.0043bfa0
test eax, eax
pop ecx
pop ecx
jle 0x461f31
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x2c], eax
jmp 0x461f31
push 6
lea eax, [ebp + 0x78]
push eax
push 0x49ffec
call fcn.00438eee
add esp, 0xc
test al, al
je 0x461f16
mov byte [ebp + 0x52], 1
jmp 0x461f31
push 7
lea eax, [ebp + 0x78]
push eax
push str._qspace
call fcn.00438eee
add esp, 0xc
test al, al
je 0x461f31
mov byte [ebp + 0x52], 0x10
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x78], eax
cmp word [eax], 0x2d
je 0x461ca1
cmp dword [ebp + 0x2c], ebx
jg 0x461f72
jl 0x461f4d
cmp dword [ebp + 0x28], ebx
jae 0x461f72
push dword [ebp + 4]
mov eax, dword [ebp + 0x14]
cdq
push edi
push edx
push eax
call fcn.004833f0
cmp edx, ebx
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], edx
jg 0x461f72
jl 0x461f6c
cmp eax, ebx
jae 0x461f72
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
push 6
lea eax, [ebp + 0x78]
push eax
push 0x49ffec
call fcn.00438eee
add esp, 0xc
test al, al
je 0x461f8d
mov byte [ebp + 0x52], 1
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp + 0x78], eax
push 0x2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0042d8a6
cmp word [eax], 0x2c
jne 0x462bf0
mov eax, dword [ebp - 0xc]
cmp word [eax], bx
je 0x462bf0
mov ecx, dword [ebp + 0x10]
push 1
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x78]
call fcn.0043fdd2
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0x78], eax
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043bfa0
cmp dword [ebp + 0x44], ebx
pop ecx
pop ecx
jg 0x461ff7
jl 0x462bf0
cmp dword [ebp + 0x40], ebx
jb 0x462bf0
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x23
push 0xfffffffffffffffc
pop edi
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x38], esi
jne 0x46201f
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043bfa0
mov edi, dword [ebp + 0x34]
pop ecx
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x46202b
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x64]
cmp eax, ebx
jl 0x46204e
jg 0x462039
cmp dword [ebp + 0x60], ebx
jb 0x46204e
cmp dword [ebp + 0x38], eax
jl 0x46204e
jg 0x462045
cmp edi, dword [ebp + 0x60]
jbe 0x46204e
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x38], eax
lea eax, [ebp + 0x78]
push eax
call fcn.00431c97
push dword [ebp + 0x78]
call fcn.0040d20a
mov esi, dword [ebp + 0x78]
push esi
push 0x4a07ec
call fcn.00432c89
add esp, 0x10
cmp word [esi], bx
mov byte [ebp + 0x33], al
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x28], esi
jne 0x462086
xor esi, esi
inc esi
jmp 0x462bf5
lea eax, [ebp - 4]
push 1
push eax
mov dword [ebp - 4], esi
call fcn.0043e955
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00437055
cmp byte [ebp + 0x5e], bl
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp + 0x3e], bl
mov dword [ebp + 0x48], ebx
je 0x462214
mov esi, 0x4b069c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp + 0x4c]
call fcn.0043717e
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
push ebx
push dword [ebp + 0xc]
call fcn.0040d05d
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x4620f2
lea ecx, [ebp + 0x4c]
call fcn.00431c4c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x462be8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov esi, dword [ebp + 0x38]
and eax, 0x3fffffff
cmp esi, ebx
mov dword [ebp + 0x48], eax
jl 0x46212c
jg 0x46210d
cmp edi, ebx
jbe 0x46212c
mov eax, dword [ebp + 0x48]
cdq
mov ecx, edi
add ecx, dword [ebp + 0x28]
mov dword [ebp + 0x54], eax
mov eax, esi
adc eax, dword [ebp + 0x2c]
mov dword [ebp + 0x58], edx
cmp eax, edx
jl 0x46215a
jg 0x46212c
cmp ecx, dword [ebp + 0x54]
jbe 0x46215a
mov eax, dword [ebp + 0x48]
cdq
mov edi, eax
mov dword [ebp + 0x54], edi
sub edi, dword [ebp + 0x28]
mov esi, edx
mov dword [ebp + 0x58], esi
sbb esi, dword [ebp + 0x2c]
mov dword [ebp + 0x34], edi
cmp esi, ebx
mov dword [ebp + 0x38], esi
jg 0x46215a
jl 0x462150
cmp edi, ebx
ja 0x46215a
xor edi, edi
xor esi, esi
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x38], esi
mov eax, dword [ebp + 0x64]
cmp eax, ebx
jl 0x46217c
jg 0x462168
cmp dword [ebp + 0x60], ebx
jb 0x46217c
cmp eax, esi
jg 0x46217c
jl 0x462173
cmp dword [ebp + 0x60], edi
jae 0x46217c
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x38], eax
lea eax, [edi + 0x200000]
push eax
lea ecx, [ebp - 0x18]
call fcn.00437099
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x4621aa
lea ecx, [ebp + 0x4c]
call fcn.00431c4c
push 0x4b069c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x462c53
mov edx, dword [ebp + 0x58]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
add eax, 0x100000
and eax, 0xfff00000
cmp dword [ebp + 0x2c], edx
mov dword [ebp + 0xc], eax
jl 0x4621d8
jg 0x4621cf
mov esi, dword [ebp + 0x28]
cmp esi, dword [ebp + 0x54]
jbe 0x4621d8
mov esi, dword [ebp + 0x54]
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x2c], edx
add ecx, dword [ebp + 0x28]
cmp edi, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp + 0x48], edi
jle 0x4621f4
cmp eax, ecx
je 0x4621f4
push edi
push ecx
push eax
call fcn.00410b0e
add esp, 0xc
lea ecx, [ebp + 0x4c]
mov byte [ebp + 0x3e], 1
mov byte [ebp + 0x6e], 1
call fcn.00431c4c
push 0x4b069c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4623c7
cmp esi, ebx
je 0x4623c7
mov al, byte [esi]
mov byte [ebp + 0x6e], al
mov byte [ebp + 0x3e], al
lea eax, [esi + 2]
mov dword [ebp - 0x2c], 0x20
cmp word [eax], 0x2e
mov dword [ebp + 0x48], eax
jne 0x462248
mov cl, byte [eax]
inc eax
inc eax
mov byte [ebp + 0x6e], cl
mov dword [ebp + 0x48], eax
mov dword [ebp - 0x2c], 0x40
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.0043e8a3
pop ecx
pop ecx
mov cx, word [esi]
mov dword [ebp + 4], eax
mov eax, dword [0x4afe10]
mov word [ebp + 0x58], cx
mov ecx, dword [ebp - 4]
mov word [esi], bx
mov dx, word [ecx]
cmp dx, 0x2e
mov dword [ebp + 0x4c], ebx
jne 0x462285
cmp word [ecx + 2], bx
jne 0x462285
mov eax, dword [0x4afe10]
jmp 0x462297
cmp dx, bx
je 0x462297
push 2
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp + 0x4c], eax
cmp eax, ebx
mov cx, word [ebp + 0x58]
mov word [esi], cx
je 0x4622bc
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp + 4]
push dword [ebp - 0x20]
push eax
call fcn.00411356
add esp, 0x14
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x4c], ebx
je 0x4622ca
push dword [ebp + 0x4c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp + 0xc], ebx
je 0x462c53
cmp dword [ebp + 0x38], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x58], eax
jl 0x462303
jg 0x4622e4
cmp edi, ebx
jbe 0x462303
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x38]
mov esi, edi
add esi, dword [ebp + 0x28]
cdq
adc ecx, dword [ebp + 0x2c]
mov dword [ebp], eax
cmp ecx, edx
mov dword [ebp + 4], edx
jl 0x46232d
jg 0x462303
cmp esi, eax
jbe 0x46232d
mov eax, dword [ebp - 0x14]
cdq
mov dword [ebp], eax
sub eax, dword [ebp + 0x28]
mov dword [ebp + 4], edx
sbb edx, dword [ebp + 0x2c]
mov edi, eax
cmp edx, ebx
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x38], edx
jg 0x46232d
jl 0x462325
cmp edi, ebx
ja 0x46232d
xor edi, edi
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x38], ebx
mov eax, dword [ebp - 0x14]
add eax, 0x200000
push eax
lea ecx, [ebp - 0x18]
call fcn.00437099
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov esi, eax
je 0x462c53
mov ecx, dword [ebp + 0x58]
push 0x1ff
add ecx, eax
push ebx
push ecx
call fcn.004832e0
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x2c], eax
jl 0x46237a
jg 0x462371
mov ecx, dword [ebp + 0x28]
cmp ecx, dword [ebp]
jbe 0x46237a
mov ecx, dword [ebp]
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x64]
add esi, dword [ebp + 0x28]
cmp eax, ebx
jl 0x4623a0
jg 0x46238b
cmp dword [ebp + 0x60], ebx
jb 0x4623a0
cmp eax, dword [ebp + 0x38]
jg 0x4623a0
jl 0x462397
cmp dword [ebp + 0x60], edi
jae 0x4623a0
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x38], eax
lea eax, [esi + 0x100000]
and eax, 0xfff00000
cmp edi, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp + 0x48], edi
mov dword [ebp + 0xc], eax
jle 0x4623c7
cmp eax, esi
je 0x4623c7
push edi
push esi
push eax
call fcn.00410b0e
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 - 4], ebx
mov dword [ebp + 0x68], ebx
call fcn.0043e28e
cmp al, bl
pop ecx
pop ecx
mov byte [ebp + 8], al
jl 0x462be0
cmp byte [ebp + 0x6f], bl
je 0x462402
cmp byte [ebp + 0x5f], bl
jne 0x4623ff
cmp al, bl
mov byte [ebp + 0x5e], 1
jle 0x462402
mov byte [ebp + 0x5e], bl
cmp byte [ebp + 0x6f], bl
mov byte [ebp + 0x5f], 1
je 0x462414
cmp byte [ebp + 0x3e], bl
jne 0x462414
mov byte [ebp + 0x6f], 2
cmp byte [ebp + 0x6f], 2
mov esi, 0xc0000000
jne 0x46243c
cmp byte [ebp + 8], bl
jg 0x46243c
push ebx
push ebx
push 4
push ebx
push 3
push esi
push dword [ebp - 0xc]
lea ecx, [ebp + 0x68]
call fcn.00404863
cmp dword [ebp + 0x68], ebx
jne 0x462459
push ebx
push ebx
push 3
push ebx
push 3
push esi
push dword [ebp - 0xc]
lea ecx, [ebp + 0x68]
call fcn.00404863
cmp byte [ebp + 0x6f], 2
jne 0x462c11
mov edi, dword [ebp + 0x14]
cmp edi, ebx
jle 0x462be0
cmp dword [ebp - 0x1c], ebx
jle 0x462be0
cmp dword [ebp + 0x64], ebx
jl 0x4624a1
jg 0x462479
cmp dword [ebp + 0x60], ebx
jb 0x4624a1
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.00483340
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], edx
mov esi, 0x7fffffff
jmp 0x4624d0
cmp dword [ebp + 0x20], 0xffffffff
mov esi, 0x7fffffff
jne 0x4624ba
cmp dword [ebp + 0x24], esi
jne 0x4624ba
or dword [ebp + 0x60], 0xffffffff
mov dword [ebp + 0x64], esi
jmp 0x4624d0
push dword [ebp + 0x24]
mov eax, edi
push dword [ebp + 0x20]
cdq
push edx
push eax
call fcn.004833f0
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
push dword [ebp - 0x28]
call fcn.0040f738
pop ecx
push eax
lea ecx, [ebp + 0x38]
call fcn.004419bc
cmp dword [ebp + 0x68], ebx
jne 0x4624f4
lea ecx, [ebp + 0x38]
call fcn.00431c4c
jmp 0x462c4b
cmp byte [ebp + 0x52], bl
mov dword [ebp - 8], edi
je 0x46261a
cmp byte [ebp + 8], bl
jg 0x46261a
lea ecx, [ebp + 0x68]
call fcn.00402b75
cmp byte [ebp + 0x52], 1
jne 0x462524
push ebx
push ebx
push dword [ebp - 0xc]
call fcn.0043df9f
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.00404863
cmp dword [ebp + 0x68], ebx
je 0x4624e7
cmp byte [ebp + 0x33], bl
je 0x46261a
cmp dword [ebp + 0x24], ebx
jl 0x4629f5
jg 0x46255d
cmp dword [ebp + 0x20], ebx
jb 0x46261a
push dword [ebp + 0x24]
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0x20]
cdq
push edx
push eax
call fcn.004833f0
cmp dword [ebp + 0x64], ebx
jl 0x46258c
jg 0x46257a
cmp dword [ebp + 0x60], ebx
jb 0x46258c
cmp edx, dword [ebp + 0x64]
jl 0x46258c
jg 0x462586
cmp eax, dword [ebp + 0x60]
jbe 0x46258c
mov eax, dword [ebp + 0x60]
mov edx, dword [ebp + 0x64]
add eax, dword [ebp + 0x40]
adc edx, dword [ebp + 0x44]
cmp dword [ebp + 0x24], esi
mov dword [ebp + 0x54], eax
mov edi, edx
jl 0x4625ad
jg 0x4625a4
cmp dword [ebp + 0x20], 0xffffffff
jb 0x4625ad
mov dword [ebp + 0x54], 0xfffffdff
mov edi, esi
cmp byte [ebp + 0x5e], bl
jne 0x4625d0
push 2
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.00432bc3
add esp, 0x10
cmp edx, edi
jg 0x4625d0
jl 0x4625cc
cmp eax, dword [ebp + 0x54]
jae 0x4625d0
mov byte [ebp + 0x5e], 1
push ebx
push edi
push dword [ebp + 0x54]
push dword [ebp + 0x68]
call fcn.00432bc3
add esp, 0x10
cmp eax, dword [ebp + 0x54]
jne 0x4625ff
cmp edx, edi
jne 0x4625ff
cmp dword [ebp + 0x24], esi
jg 0x46261a
jl 0x4629f5
cmp dword [ebp + 0x20], 0xffffffff
jae 0x46261a
jmp 0x4629f5
cmp dword [ebp + 0x24], esi
jg 0x46261a
jl 0x46260c
cmp dword [ebp + 0x20], 0xffffffff
jae 0x46261a
push ebx
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.00432bc3
add esp, 0x10
cmp dword [ebp + 0x24], ebx
jl 0x4629f5
jg 0x46262e
cmp dword [ebp + 0x20], ebx
jbe 0x4629f5
cmp dword [ebp + 0x64], ebx
jl 0x4629f5
jg 0x462642
cmp dword [ebp + 0x60], ebx
jbe 0x4629f5
xor eax, eax
cmp byte [ebp + 0x33], bl
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x18], ebx
jne 0x46265b
cmp byte [ebp + 0x3e], bl
mov byte [ebp + 0x6e], 1
je 0x46265e
mov byte [ebp + 0x6e], bl
cmp byte [ebp + 8], bl
mov esi, dword [ebp + 0x40]
jle 0x462670
mov eax, esi
and eax, 0x1ff
mov dword [ebp + 0x1c], eax
cdq
sub esi, eax
mov eax, dword [ebp + 0x44]
sbb eax, edx
mov edi, eax
js 0x4626bd
jg 0x462682
cmp esi, ebx
jbe 0x4626bd
push ebx
push edi
push esi
push dword [ebp + 0x68]
call fcn.00432bc3
add esp, 0x10
cmp eax, esi
jne 0x462698
cmp edx, edi
je 0x4626bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp + 0x38]
call fcn.00431c4c
lea ecx, [ebp + 0x68]
call fcn.00402b75
lea ecx, [ebp - 0x18]
call fcn.00431c4c
jmp 0x462bf5
cmp byte [ebp + 0x6e], bl
mov dword [ebp + 0xc], ebx
je 0x462757
lea eax, [ebp + 0x38]
push eax
call fcn.0043e3cb
pop ecx
push ebx
push ebx
push 3
push ebx
push 3
movsx esi, al
push 0x80000000
push dword [ebp + 0x38]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x48], esi
call fcn.00404863
cmp dword [ebp + 0xc], ebx
jne 0x462702
lea ecx, [ebp + 0xc]
call fcn.00402b75
jmp 0x4624e7
cmp esi, ebx
mov ecx, dword [ebp + 0x28]
jle 0x462713
mov eax, ecx
and eax, 0x1ff
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
cdq
sub ecx, eax
mov eax, dword [ebp + 0x2c]
sbb eax, edx
cmp eax, ebx
mov esi, ecx
mov edi, eax
jl 0x462757
jg 0x46272c
cmp ecx, ebx
jbe 0x462757
push ebx
push eax
push ecx
push dword [ebp + 0xc]
call fcn.00432bc3
add esp, 0x10
cmp eax, esi
jne 0x462742
cmp edx, edi
je 0x462757
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0xc]
mov esi, eax
call fcn.00402b75
jmp 0x4626a0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
je 0x462763
add eax, ecx
lea esi, [eax + 0x8000]
lea eax, [esi + 0x102a00]
push eax
lea ecx, [ebp + 0x58]
mov dword [ebp - 0x20], esi
call fcn.00437072
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 + 0x24], eax
mov dword [ebp + 0x10], ecx
call fcn.004832e0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
xor edi, edi
cmp byte [ebp + 8], bl
mov dword [ebp + 4], ebx
mov ecx, 0xfffffe00
jle 0x4627bf
add eax, 0x1ff
and eax, ecx
cmp dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x14]
jle 0x4627d1
add eax, 0x1ff
and eax, ecx
cmp dword [ebp + 0x18], ebx
mov dword [ebp - 4], eax
mov byte [ebp + 0x6f], bl
mov esi, 0x200
jle 0x462826
push ebx
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0x24]
mov dword [ebp - 8], ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, esi
sub edi, dword [ebp + 0x18]
mov eax, edi
cdq
sub dword [ebp + 0x60], eax
sbb dword [ebp + 0x64], edx
cmp dword [ebp + 0x64], ebx
jg 0x462813
jl 0x462810
cmp dword [ebp + 0x60], ebx
jae 0x462813
add edi, dword [ebp + 0x60]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x18]
push edi
add ecx, eax
push ecx
push eax
call fcn.00410b0e
add esp, 0xc
cmp dword [ebp + 0x1c], ebx
jle 0x46288f
push 1
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.00432bc3
add esp, 0x10
push ebx
mov dword [ebp + 0x40], eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp + 0x44], edx
push dword [ebp + 0x68]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [ebp + 0x24]
mov eax, dword [ebp + 0x1c]
push edi
add eax, esi
push esi
push eax
call fcn.00410b0e
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push esi
call fcn.00410b0e
add edi, dword [ebp + 0x1c]
push ebx
push dword [ebp + 0x44]
push dword [ebp + 0x40]
push dword [ebp + 0x68]
call fcn.00432bc3
add esp, 0x28
cmp byte [ebp + 0x33], bl
je 0x46288f
mov byte [ebp + 0x6f], 1
cmp edi, ebx
mov byte [ebp + 0x53], 1
jg 0x46295c
cmp dword [ebp + 0x64], ebx
jl 0x462967
jg 0x4628af
cmp dword [ebp + 0x60], ebx
jbe 0x462967
cmp byte [ebp + 0x53], bl
je 0x462967
cmp byte [ebp + 0x6e], bl
je 0x46291a
mov eax, dword [ebp - 4]
cdq
cmp edx, dword [ebp + 0x64]
jg 0x4628d2
jl 0x4628cd
cmp eax, dword [ebp + 0x60]
ja 0x4628d2
mov eax, dword [ebp - 4]
jmp 0x4628d5
mov eax, dword [ebp + 0x60]
lea ecx, [eax + edi]
cmp ecx, dword [ebp - 0x20]
jle 0x4628e2
mov eax, dword [ebp - 0x20]
sub eax, edi
cmp dword [ebp + 0x48], ebx
jle 0x4628f1
add eax, 0x1ff
and eax, 0xfffffe00
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
mov eax, dword [ebp + 0x24]
add eax, edi
push eax
push dword [ebp + 0xc]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 8]
cmp eax, ebx
jbe 0x462967
cmp eax, dword [ebp + 0x60]
jbe 0x462945
mov eax, dword [ebp + 0x60]
jmp 0x462942
mov eax, dword [ebp + 0x4c]
cdq
cmp edx, dword [ebp + 0x64]
jg 0x46292f
jl 0x46292a
cmp eax, dword [ebp + 0x60]
ja 0x46292f
mov eax, dword [ebp + 0x4c]
jmp 0x462932
mov eax, dword [ebp + 0x60]
lea ecx, [edi + eax]
cmp ecx, dword [ebp - 0x20]
mov dword [ebp - 8], eax
jbe 0x462945
mov eax, dword [ebp - 0x20]
sub eax, edi
mov dword [ebp - 8], eax
cmp dword [ebp + 0x60], 0xffffffff
jne 0x462954
cmp dword [ebp + 0x64], 0x7fffffff
je 0x46295a
sub dword [ebp + 0x60], eax
sbb dword [ebp + 0x64], ebx
add edi, eax
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x1c], eax
jmp 0x462b76
cmp edi, ebx
jle 0x462bac
mov eax, dword [ebp + 0x24]
mov byte [ebp + 0x53], bl
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x4c]
cmp eax, edi
mov dword [ebp + 0x14], eax
jle 0x462985
mov dword [ebp + 0x14], edi
cmp byte [ebp + 8], bl
mov dword [ebp + 0x18], ebx
jle 0x46299a
mov eax, dword [ebp + 0x14]
and eax, 0x1ff
mov dword [ebp + 0x2c], eax
jmp 0x46299d
mov dword [ebp + 0x2c], ebx
mov esi, dword [ebp + 0x14]
sub esi, dword [ebp + 0x2c]
cmp esi, ebx
mov dword [ebp - 0x28], esi
jle 0x462a02
push ebx
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x68]
call fcn.00435def
add esp, 0x14
test eax, eax
jne 0x462b25
cmp byte [ebp + 0x5f], bl
jne 0x462ab8
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x4629e2
xor eax, eax
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp + 0x58]
call fcn.00431c4c
lea ecx, [ebp + 0xc]
call fcn.00402b75
lea ecx, [ebp + 0x38]
call fcn.00431c4c
jmp 0x463025
cmp dword [ebp + 0x2c], ebx
jle 0x462a83
mov esi, 0x200
push esi
push ebx
push dword [ebp + 0x10]
call fcn.004832e0
sub esi, dword [ebp + 0x2c]
push 1
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.00432bc3
add esp, 0x1c
push ebx
mov dword [ebp + 0x40], eax
lea eax, [ebp - 8]
push eax
push 0x200
push dword [ebp + 0x10]
mov dword [ebp + 0x44], edx
push dword [ebp + 0x68]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x2c]
add eax, ecx
push esi
push eax
mov eax, dword [ebp + 0x1c]
add eax, edi
push eax
call fcn.00410b0e
push ebx
push dword [ebp + 0x44]
add edi, esi
push dword [ebp + 0x40]
mov dword [ebp + 0x14], 0x200
push dword [ebp + 0x68]
call fcn.00432bc3
mov esi, dword [ebp - 0x28]
add esp, 0x1c
cmp byte [ebp + 0x33], bl
je 0x462a83
mov byte [ebp + 0x6f], 1
cmp dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
jle 0x462b57
push ebx
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x462b57
cmp byte [ebp + 0x5f], bl
je 0x462ba5
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 + 0x18], ebx
call fcn.00402b75
push ebx
push ebx
push 4
push ebx
push ebx
push 0xc0000000
push dword [ebp - 0xc]
lea ecx, [ebp + 0x68]
call fcn.00404863
cmp dword [ebp + 0x68], ebx
jne 0x462b03
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push dword [ebp - 0xc]
lea ecx, [ebp + 0x68]
call fcn.00404863
push ebx
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x68]
call fcn.00435def
add esp, 0x14
test eax, eax
je 0x4629cf
cmp byte [ebp + 0x5d], 2
je 0x462b57
cmp dword [ebp + 0x18], esi
jbe 0x462b2d
mov dword [ebp + 0x18], esi
cmp byte [ebp + 0x6f], bl
je 0x462b44
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0x1c]
call fcn.004832e0
add esp, 0xc
mov byte [ebp + 0x6f], bl
mov eax, dword [ebp + 0x18]
sub dword [ebp + 0x14], eax
sub edi, eax
add dword [ebp + 0x1c], esi
mov byte [ebp + 0x5f], bl
jmp 0x462a02
cmp byte [ebp + 0x6f], bl
je 0x462b6e
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0x1c]
call fcn.004832e0
add esp, 0xc
mov byte [ebp + 0x6f], bl
mov eax, dword [ebp + 0x18]
add dword [ebp + 0x1c], eax
sub edi, eax
cmp edi, dword [ebp - 0x1c]
jge 0x462978
cmp edi, ebx
jle 0x46289b
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x24], eax
je 0x46289b
push edi
push eax
push dword [ebp + 0x24]
call fcn.00410b0e
add esp, 0xc
jmp 0x46289b
mov dword [ebp + 4], 1
cmp dword [ebp + 4], ebx
jne 0x4629d5
cmp dword [ebp + 0x64], ebx
jl 0x462bd8
jg 0x462bc1
cmp dword [ebp + 0x60], ebx
jbe 0x462bd8
cmp dword [ebp + 0x60], 0xffffffff
jne 0x4629d5
cmp dword [ebp + 0x64], 0x7fffffff
jne 0x4629d5
mov dword [ebp - 4], ebx
jmp 0x4629e5
lea ecx, [ebp + 0x68]
call fcn.00402b75
lea ecx, [ebp - 0x18]
call fcn.00431c4c
mov esi, 0x80070057
lea ecx, [ebp - 0xc]
call fcn.00431c4c
lea ecx, [ebp - 0x24]
call fcn.00431c4c
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
xor edi, edi
cmp byte [ebp + 8], 0x11
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 4], ebx
jne 0x462c60
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x58]
push dword [ebp + 0x68]
call fcn.0043e1ba
add esp, 0xc
cmp edx, ebx
mov edi, eax
mov dword [ebp + 4], edx
jg 0x462ccb
jl 0x462c4b
cmp edi, ebx
jae 0x462ccb
lea ecx, [ebp + 0x68]
call fcn.00402b75
lea ecx, [ebp - 0x18]
call fcn.00431c4c
jmp 0x46207e
cmp dword [ebp + 0x68], ebx
je 0x462cd0
cmp byte [ebp + 8], bl
jne 0x462ca3
push 2
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.00432bc3
mov ecx, dword [ebp + 0x40]
add esp, 0x10
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x44]
sub ecx, 0x400
sbb eax, ebx
cmp edx, eax
mov dword [ebp + 0x64], edx
jg 0x462ccb
jl 0x462c98
cmp dword [ebp + 0x60], ecx
jae 0x462ccb
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x462ccb
push dword [ebp + 8]
push dword [ebp + 0x68]
call fcn.00435d7d
cmp edx, ebx
pop ecx
pop ecx
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
jg 0x462ccb
jl 0x462cc0
cmp eax, ebx
jae 0x462ccb
or dword [ebp + 0x60], 0xffffffff
mov dword [ebp + 0x64], 0x7fffffff
cmp dword [ebp + 0x68], ebx
jne 0x462d0f
cmp byte [ebp + 8], bl
jne 0x462cfd
push dword [ebp + 0x44]
push dword [ebp + 0x40]
push dword [ebp - 0xc]
call fcn.0043df9f
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.00404863
mov byte [ebp + 0x3f], 1
cmp dword [ebp + 0x68], ebx
jne 0x462d0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4626a8
cmp byte [ebp + 0x3f], bl
je 0x462d24
cmp byte [ebp + 8], bl
jne 0x462d24
or dword [ebp + 0x60], 0xffffffff
mov dword [ebp + 0x64], 0x7fffffff
cmp byte [ebp + 8], bl
mov dword [ebp + 0x24], ebx
je 0x462d37
mov eax, dword [ebp + 0x40]
and eax, 0x1ff
mov dword [ebp + 0x24], eax
mov ecx, dword [ebp + 0x40]
mov esi, dword [ebp + 0x44]
mov eax, dword [ebp + 0x60]
add ecx, edi
adc esi, dword [ebp + 4]
mov edi, dword [ebp + 0x64]
sub eax, ecx
mov dword [ebp], eax
movzx eax, word [ebp + 0x24]
cdq
sbb edi, esi
sub ecx, eax
push ebx
sbb esi, edx
push esi
push ecx
push dword [ebp + 0x68]
mov dword [ebp + 0x10], ebx
call fcn.00432bc3
add esp, 0x10
cmp edx, ebx
jg 0x462d88
jl 0x462d73
cmp eax, ebx
jae 0x462d88
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x10]
mov esi, eax
call fcn.00431c4c
jmp 0x4626a8
cmp byte [ebp + 0x6e], bl
je 0x462dc8
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x64]
cdq
cmp ecx, edx
jl 0x462da4
jg 0x462d9f
cmp dword [ebp + 0x60], eax
jbe 0x462da4
mov dword [ebp + 0x60], eax
mov ecx, edx
cmp ecx, ebx
jl 0x463014
jg 0x462db7
cmp dword [ebp + 0x60], ebx
jbe 0x463014
push dword [ebp + 8]
movzx eax, word [ebp + 0x24]
push eax
push ecx
push dword [ebp + 0x60]
push dword [ebp + 0xc]
jmp 0x462e36
cmp dword [ebp + 0x38], ebx
jl 0x462dec
jg 0x462dd4
cmp dword [ebp + 0x34], ebx
jb 0x462dec
cmp dword [ebp + 0x38], edi
jg 0x462dec
jl 0x462de3
mov eax, dword [ebp + 0x34]
cmp eax, dword [ebp]
jae 0x462dec
mov eax, dword [ebp + 0x34]
mov edi, dword [ebp + 0x38]
mov dword [ebp], eax
cmp byte [ebp + 0x5d], bl
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0x78], edx
je 0x462e46
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
lea ecx, [ebp + 0x10]
call fcn.00437106
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
cdq
cmp edx, edi
jl 0x462e1e
jg 0x462e1b
cmp eax, dword [ebp]
jbe 0x462e1e
mov ecx, dword [ebp]
cmp ecx, ebx
jle 0x463014
push dword [ebp + 8]
movzx eax, word [ebp + 0x24]
push eax
mov eax, ecx
cdq
push edx
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x68]
call fcn.0043ea29
add esp, 0x18
jmp 0x463014
movzx ecx, word [ebp + 0x24]
mov eax, 0x200
sub eax, ecx
lea esi, [ebp - 0x22c]
mov dword [ebp + 0x48], eax
mov al, byte [ebp + 0x53]
and esi, 0xfffffe00
cmp edi, ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov byte [ebp + 0x5d], bl
mov byte [ebp + 0x6e], al
jl 0x463014
jg 0x462e87
cmp dword [ebp], ebx
jbe 0x463014
jmp 0x462e87
mov edx, dword [ebp + 0x78]
cmp dword [ebp + 0x44], ebx
jg 0x462e9c
jl 0x462e93
cmp dword [ebp + 0x40], ebx
ja 0x462e9c
cmp word [edx], bx
je 0x463014
cmp dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
jle 0x463014
cmp edi, ebx
jl 0x462fd8
jg 0x462ebb
cmp dword [ebp], ebx
jbe 0x462fd8
cmp dword [ebp + 0x44], ebx
jg 0x462fb3
jl 0x462ecf
cmp dword [ebp + 0x40], ebx
ja 0x462fb3
cmp word [edx], bx
je 0x462fd8
lea eax, [ebp + 0x78]
push eax
call fcn.00431c97
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 0x462f32
inc eax
inc eax
mov dword [ebp + 0x78], eax
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043bfa0
mov eax, dword [ebp + 0x78]
pop ecx
pop ecx
jmp 0x462f32
cmp cx, 0x30
jb 0x462f19
cmp cx, 0x39
jbe 0x462f3a
cmp byte [ebp + 0x6e], bl
je 0x462f2d
or ecx, 0x20
cmp cx, 0x61
jb 0x462f2d
cmp cx, 0x7a
jbe 0x462f3a
inc eax
inc eax
mov dword [ebp + 0x78], eax
mov cx, word [eax]
cmp cx, bx
jne 0x462f0d
cmp word [eax], 0x30
jne 0x462f5a
mov cx, word [eax + 2]
or cx, 0x20
cmp cx, 0x78
jne 0x462f5a
add eax, 4
mov byte [ebp + 0x6e], 1
mov dword [ebp + 0x78], eax
jmp 0x462f5f
cmp byte [ebp + 0x6e], bl
je 0x462f91
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.00437cd3
mov edx, dword [ebp + 0x78]
xor eax, eax
mov ax, word [edx]
push eax
call fcn.00410c71
add esp, 0x10
test al, al
jne 0x462fa8
mov al, byte [ebp + 0x53]
mov byte [ebp + 0x6e], al
jmp 0x462fa8
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00439fac
cmp eax, 1
pop ecx
pop ecx
jl 0x462fd8
mov edx, dword [ebp + 0x78]
cmp edx, dword [ebp + 0x58]
je 0x462fd8
mov al, byte [ebp + 0x60]
mov byte [ebp + 0x5d], al
add dword [ebp + 0x40], 0xffffffff
mov eax, dword [ebp + 0x4c]
mov cl, byte [ebp + 0x5d]
adc dword [ebp + 0x44], 0xffffffff
mov byte [eax + esi], cl
inc eax
add dword [ebp], 0xffffffff
mov dword [ebp + 0x4c], eax
adc edi, 0xffffffff
cmp eax, dword [ebp + 0x48]
jl 0x462ea8
cmp dword [ebp + 0x4c], ebx
jle 0x463014
push dword [ebp + 8]
movzx eax, word [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x4c]
cdq
push edx
push eax
push esi
push dword [ebp + 0x68]
call fcn.0043ea29
add esp, 0x18
cmp edi, ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x48], 0x200
jg 0x462e84
jl 0x463014
cmp dword [ebp], ebx
ja 0x462e84
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea ecx, [ebp + 0x10]
call fcn.00431c4c
cmp byte [ebp + 0x5e], bl
je 0x463033
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea ecx, [ebp + 0x68]
call fcn.00402b75
lea ecx, [ebp - 0x18]
call fcn.00431c4c
mov esi, dword [ebp - 4]
jmp 0x462bf5