Function at 0x485ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x2258]
mov eax, 0x2258
call fcn.004ebbf0
push 0xffffffffffffffff
push 0x508257
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x528af4]
xor eax, ebp
mov dword [ebp + 0x2254], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2264]
lea ecx, [ebp - 0xd]
mov edi, dword [ebp + 0x2260]
push ecx
push eax
push edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x48], eax
call fcn.004859e0
cmp eax, 3
jne 0x486832
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x98], edi
mov eax, dword [eax + 0x10]
call eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
mov dword [ebp - 4], 0
mov ecx, edi
push 0x50f580
call fcn.00455de0
test eax, eax
je 0x485e0b
cmp byte [edi + 0x7e94], 0
jne 0x485e0b
push 0
lea ecx, [ebp - 0xb8]
call fcn.0047d040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
push dword [edi + 0x677c]
push dword [edi + 0x6778]
call fcn.0047d530
push 8
lea eax, [ebp + 0x224c]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0047d2a0
lea ecx, [ebp - 0xb8]
call fcn.0047d1c0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x30], eax
call fcn.0047d210
mov ebx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x485bd1
push eax
call fcn.004f252e
add esp, 4
lea ecx, [ebp]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0x60
call fcn.00490250
mov eax, dword [edi + 0x7e74]
mov esi, dword [edi + 0x7e70]
mov ecx, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
movzx eax, byte [ebp - 0xd]
neg eax
mov dword [0x56df7c], 0xffffffff
mov dword [ebp - 0x34], esi
sbb eax, eax
mov dword [ebp - 0x38], ecx
and eax, 0x1c
mov dword [ebp - 0x40], 0
add eax, 0x1a
cmp byte [edi + 0x7e8c], 0
je 0x485c3f
mov ecx, eax
add eax, 8
not ecx
inc ecx
and ecx, 0xf
add eax, ecx
mov ecx, esi
cdq
add eax, ecx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x50], eax
adc edx, dword [ebp - 0x24]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
push esi
push dword [ebp - 0x1c]
push ebx
push dword [ebp - 0x30]
push edx
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
call fcn.00483a20
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x68]
shl eax, 9
push eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.00404010
mov byte [ebp - 4], 5
push dword [ebp - 0x64]
push 0
push dword [ebp - 0x68]
call fcn.004ee100
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
push 0
push 0
push 0
call dword [eax + 0xc]
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jl 0x486222
jg 0x485d16
test esi, esi
je 0x486222
mov ebx, dword [ebp - 0x14]
lea esp, [esp]
call fcn.0048f2a0
mov edx, dword [ebp - 0x38]
mov ecx, edx
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
sub ecx, esi
push edx
sbb eax, ebx
push eax
push ecx
call fcn.0048de60
mov ecx, dword [edi + 0x220c]
cdq
sub eax, edx
sar eax, 1
add eax, 0x32
cmp byte [ecx + 0x6148], 0
mov dword [ebp - 0x3c], eax
jne 0x485d72
cmp eax, dword [0x56df7c]
je 0x485d72
push 0
push 0x64
cdq
push edx
push eax
push 0x50fd20
call fcn.00491400
mov eax, dword [ebp - 0x3c]
mov dword [0x56df7c], eax
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x18], eax
jae 0x485dce
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov edi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x18]
cmp edx, dword [edi + ecx*8 + 4]
mov edi, dword [ebp - 0x28]
jl 0x485dce
jg 0x485da1
mov edx, dword [ebp - 0x78]
cmp eax, dword [edx + ecx*8]
jb 0x485dce
mov edx, dword [ebp - 0x88]
mov esi, dword [edi]
push 1
mov eax, dword [edx + ecx*4]
mov ecx, edi
cdq
push edx
push eax
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x34]
mov eax, dword [eax + ecx*4]
cdq
sub esi, eax
sbb ebx, edx
inc ecx
mov dword [ebp - 0x18], ecx
test ebx, ebx
jg 0x48615b
jl 0x485de4
cmp esi, 0x200
jae 0x48615b
mov eax, 0x200
mov dword [ebp - 0x2c], esi
sub eax, esi
push eax
lea eax, [ebp + 0x204c]
add eax, esi
push 0
push eax
call fcn.004ee100
add esp, 0xc
xor esi, esi
xor ebx, ebx
jmp 0x48616b
mov eax, dword [edi]
mov ecx, edi
push 0
push 0
push dword [edi + 0x7e90]
call dword [eax + 0xc]
push 0x78
mov ecx, edi
call fcn.00455c00
test eax, eax
je 0x485e55
cmp byte [edi + 0x7e94], 0
jne 0x485e55
movzx eax, word [edi + 0x7a8e]
mov ebx, dword [edi + 0x7a90]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0xd], 0
jmp 0x485bd1
cmp byte [ebp - 0xd], 0
je 0x485eb7
cmp byte [edi + 0x7e8c], 0
je 0x485eb7
lea ecx, [ebp]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0x61
call fcn.00490250
lea eax, [edi + 0x1e]
mov dword [ebp + 0x44], 0
lea ecx, [ebp]
mov dword [ebp + 0x48], 0x40
mov dword [ebp], eax
mov dword [ebp + 0x40], 1
call fcn.00490250
push 0xa
mov ecx, 0x56df60
call fcn.004631b0
xor ebx, ebx
jmp 0x486814
mov eax, dword [edi]
mov ecx, edi
push 0
push 0
push 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
mov dword [edi + 0x7e70], 0
mov dword [edi + 0x7e74], 0
call dword [eax + 0xc]
mov eax, dword [edi]
lea ecx, [ebp + 0x4c]
push 0x2000
push ecx
mov ecx, edi
call dword [eax + 8]
mov ebx, dword [ebp + 0x224c]
mov esi, eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x2250]
mov dword [ebp - 0x1c], eax
mov al, byte [ebp - 0xd]
mov dword [ebp - 0x18], esi
mov byte [ebp - 0xd], al
test esi, esi
je 0x4860ba
mov edx, 0x100
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [esi - 0x32]
test eax, eax
jle 0x48607b
mov edi, dword [ebp - 0x14]
lea esi, [ebp + 0x4e]
mov ecx, dword [ebp - 0x18]
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x7a
jne 0x486020
cmp dword [esi + 0x20], 0x746f7250
jne 0x486020
cmp dword [esi + 0x24], 0x2b746365
jne 0x486020
movzx ecx, byte [esi - 1]
movzx eax, dx
imul ecx, eax
movzx eax, byte [esi - 2]
push 0x34
push esi
push 0xffffffffffffffff
add cx, ax
not cx
movzx edi, cx
call fcn.0045e330
cmp di, ax
jne 0x48605d
movzx ecx, byte [esi + 0x2b]
movzx eax, byte [esi + 0x2a]
movzx edx, byte [esi + 0x33]
movzx ebx, byte [esi + 0x2f]
shl ecx, 8
add ecx, eax
shl edx, 8
movzx eax, byte [esi + 0x29]
shl ecx, 8
add ecx, eax
mov edi, dword [ebp - 0x28]
movzx eax, byte [esi + 0x28]
shl ecx, 8
add ecx, eax
shl ebx, 8
movzx eax, byte [esi + 0x32]
add edx, eax
mov dword [ebp - 0x30], ecx
movzx eax, byte [esi + 0x31]
movzx ecx, byte [esi + 0x2c]
shl edx, 8
add edx, eax
mov dword [ebp + 0x2250], 0
movzx eax, byte [esi + 0x30]
shl edx, 8
add edx, eax
mov byte [ebp - 0xd], 1
movzx eax, byte [esi + 0x2e]
add ebx, eax
movzx eax, byte [esi + 0x2d]
shl ebx, 8
add ebx, eax
xor eax, eax
shl ebx, 8
add ebx, ecx
add ebx, eax
adc eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
cdq
add eax, dword [ebp - 0x38]
mov dword [edi + 0x7e70], eax
adc edx, dword [ebp - 0x24]
mov dword [edi + 0x7e74], edx
jmp 0x48607b
cmp al, 0x78
jne 0x486068
cmp dword [esi + 0x10], 0x746f7250
jne 0x486068
cmp dword [esi + 0x14], 0x21746365
jne 0x486068
movzx ecx, byte [esi - 1]
movzx eax, byte [esi - 2]
shl ecx, 8
push 0x18
add ecx, eax
push esi
not ecx
push 0xffffffffffffffff
movzx edi, cx
call fcn.0045e330
movzx eax, ax
cmp edi, eax
je 0x486103
mov ecx, dword [ebp - 0x18]
mov edx, 0x100
mov edi, dword [ebp - 0x14]
inc edi
lea eax, [ecx - 0x32]
inc esi
mov dword [ebp - 0x14], edi
cmp edi, eax
jl 0x485f40
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x38]
mov ecx, edi
mov eax, dword [edi]
add edx, 0x1fce
push 0
adc dword [ebp - 0x24], 0
push dword [ebp - 0x24]
mov dword [ebp - 0x38], edx
push edx
call dword [eax + 0xc]
mov eax, dword [edi]
lea ecx, [ebp + 0x4c]
push 0x2000
push ecx
mov ecx, edi
call dword [eax + 8]
mov esi, eax
mov dword [ebp - 0x18], eax
mov edx, 0x100
test esi, esi
jne 0x485f23
mov eax, dword [edi + 0x7e70]
or eax, dword [edi + 0x7e74]
mov dword [ebp - 0x20], ebx
jne 0x485bd1
mov eax, dword [edi]
mov ecx, edi
push 0
push 0
push 0
call dword [eax + 0xc]
lea ecx, [ebp]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0x61
call fcn.00490250
mov ebx, 1
jmp 0x486814
movzx ecx, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
movzx ebx, byte [esi + 0xf]
mov edi, dword [ebp - 0x28]
shl ebx, 8
shl ecx, 8
add ecx, eax
mov dword [ebp - 0x1c], 0
movzx eax, byte [esi + 0xe]
add ebx, eax
mov dword [ebp - 0x30], ecx
movzx eax, byte [esi + 0xd]
shl ebx, 8
add ebx, eax
mov byte [ebp - 0xd], 0
movzx eax, byte [esi + 0xc]
shl ebx, 8
add ebx, eax
mov eax, dword [ebp - 0x14]
cdq
add eax, dword [ebp - 0x38]
mov dword [edi + 0x7e70], eax
adc edx, dword [ebp - 0x24]
mov dword [edi + 0x7e74], edx
jmp 0x48607b
add esi, 0xfffffe00
mov dword [ebp - 0x2c], 0x200
adc ebx, 0xffffffff
push dword [ebp - 0x2c]
mov eax, dword [edi]
lea ecx, [ebp + 0x204c]
push ecx
mov ecx, edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x34], esi
call dword [eax + 8]
mov ecx, dword [ebp - 0x40]
lea edx, [ebp + 0x204c]
shl ecx, 9
add ecx, dword [ebp - 0x68]
mov eax, ecx
neg eax
add edx, eax
mov dword [ebp - 0x3c], edx
lea edx, [ebp + 0x204d]
mov edi, dword [ebp - 0x3c]
add edx, eax
mov dword [ebp - 0x58], edx
lea edx, [ebp + 0x204e]
mov esi, dword [ebp - 0x58]
add edx, eax
mov dword [ebp - 0x2c], edx
lea edx, [ebp + 0x204f]
mov ebx, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0x4c], eax
mov edx, 0x80
lea esp, [esp]
mov al, byte [edi + ecx]
lea ecx, [ecx + 4]
xor byte [ecx - 4], al
mov al, byte [esi + ecx - 4]
xor byte [ecx - 3], al
mov al, byte [ebx + ecx - 4]
xor byte [ecx - 2], al
mov eax, dword [ebp - 0x4c]
mov al, byte [eax + ecx - 4]
xor byte [ecx - 1], al
sub edx, 1
jne 0x4861d0
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x14]
inc ecx
cmp ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x34]
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x40], eax
test ebx, ebx
jg 0x485d20
jl 0x48621f
test esi, esi
jne 0x485d20
mov ebx, dword [ebp - 0x20]
push 0
push 0x64
push 0
push 0x64
call fcn.0048de60
mov ecx, dword [edi + 0x220c]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, 0x32
cmp byte [ecx + 0x6148], 0
jne 0x486263
cmp esi, dword [0x56df7c]
je 0x486263
push 0
push 0x64
mov eax, esi
cdq
push edx
push eax
push 0x50fd20
call fcn.00491400
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi]
shld ecx, ebx, 1
push 0
add ebx, ebx
mov dword [0x56df7c], esi
add ebx, dword [ebp - 0x50]
adc ecx, dword [ebp - 0x54]
push ecx
push ebx
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4862ee
mov esi, dword [ebp - 0x68]
lea ebx, [ebp + 0x204d]
sub ebx, esi
mov dword [ebp - 0x2c], eax
jmp 0x4862a0
mov eax, dword [edi]
lea ecx, [ebp + 0x204c]
push 0x200
push ecx
mov ecx, edi
call dword [eax + 8]
mov ecx, 0x80
jmp 0x4862c0
mov al, byte [esi + ebx - 1]
xor byte [esi], al
mov al, byte [esi + ebx]
xor byte [esi + 1], al
mov al, byte [esi + ebx + 1]
xor byte [esi + 2], al
mov al, byte [esi + ebx + 2]
xor byte [esi + 3], al
add esi, 4
sub ecx, 1
jne 0x4862c0
sub ebx, 0x200
sub dword [ebp - 0x2c], 1
jne 0x4862a0
mov eax, dword [edi]
mov ecx, edi
push 0
push 0
push 0
call dword [eax + 0xc]
mov eax, dword [ebp - 0x24]
xor esi, esi
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x34], esi
cmp eax, esi
jl 0x4867a8
jg 0x486337
cmp ebx, esi
jbe 0x4867a8
mov dword [ebp - 0x44], esi
jmp 0x48633f
mov ebx, dword [ebp - 0x40]
call fcn.0048f2a0
cmp esi, dword [ebp - 0x74]
jae 0x486390
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0x78]
cmp edx, dword [ecx + esi*8 + 4]
jl 0x486390
jg 0x486362
cmp eax, dword [ecx + esi*8]
jb 0x486390
mov edx, dword [ebp - 0x88]
mov ecx, edi
mov eax, dword [ebp - 0x34]
mov esi, dword [edi]
push 1
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
call dword [esi + 0xc]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + esi*4]
cdq
sub ebx, eax
sbb dword [ebp - 0x14], edx
inc esi
mov dword [ebp - 0x34], esi
mov edx, dword [ebp - 0x14]
test edx, edx
jg 0x4863ce
jl 0x4863a1
cmp ebx, 0x200
jae 0x4863ce
mov eax, 0x200
mov esi, ebx
sub eax, ebx
push eax
lea eax, [ebp + 0x204c]
add eax, ebx
push 0
push eax
call fcn.004ee100
add esp, 0xc
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x14], 0
jmp 0x4863e2
add ebx, 0xfffffe00
mov esi, 0x200
mov dword [ebp - 0x40], ebx
adc edx, 0xffffffff
mov dword [ebp - 0x14], edx
mov eax, dword [edi]
lea ecx, [ebp + 0x204c]
push esi
push ecx
mov ecx, edi
call dword [eax + 8]
mov ecx, dword [ebp - 0x48]
push eax
mov dword [ebp + 0x2250], eax
lea eax, [ebp + 0x204c]
push eax
call fcn.00468660
push 0x200
lea eax, [ebp + 0x204c]
push eax
push 0xffffffffffffffff
call fcn.0045e330
movzx eax, ax
mov ecx, edi
mov dword [ebp - 0x3c], eax
mov eax, dword [edi]
mov dword [ebp - 0xa8], edi
mov eax, dword [eax + 0x10]
call eax
mov ebx, eax
mov edi, edx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], edi
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28]
push 0
push dword [ebp - 0x54]
mov esi, dword [ecx]
push dword [ebp - 0x50]
call dword [esi + 0xc]
mov esi, dword [ebp - 0x28]
mov ecx, esi
call fcn.00467f90
movzx eax, al
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.00467f90
movzx eax, al
shl eax, 8
add dword [ebp - 0x1c], eax
add dword [ebp - 0x50], 2
adc dword [ebp - 0x54], 0
mov byte [ebp - 4], 5
mov eax, dword [esi]
push 0
push edi
mov edi, esi
push ebx
mov ecx, edi
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x3c]
jne 0x4864f0
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4864e5
mov dword [ebp + 0x20], eax
lea ecx, [ebp]
shl eax, 9
mov dword [ebp + 0x24], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x48], 0x66
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x44], 3
call fcn.00490250
lea ecx, [ebp]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0x68
call fcn.00490250
or ebx, 0xffffffff
mov dword [ebp - 0x20], ebx
jmp 0x486725
mov eax, dword [ebp - 0x4c]
lea esi, [ebp + 0x204c]
shl eax, 9
lea edi, [ebp - 0x2b8]
add eax, dword [ebp - 0x68]
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov edx, eax
lea ecx, [ebp + 0x204c]
xor esi, esi
lea edi, [eax + 2]
sub edx, ecx
mov dword [ebp - 0x58], edx
mov edi, edi
lea ecx, [ebp + 0x204c]
add ecx, esi
mov al, byte [edx + ecx]
xor byte [ecx], al
mov al, byte [esi + edi - 1]
xor byte [ecx + 1], al
mov al, byte [esi + edi]
xor byte [ecx + 2], al
mov al, byte [esi + edi + 1]
add esi, 4
xor byte [ecx + 3], al
cmp esi, 0x200
jb 0x486520
push 0x200
lea eax, [ebp + 0x204c]
push eax
push 0xffffffffffffffff
call fcn.0045e330
movzx eax, ax
cmp ebx, eax
je 0x48664b
mov ebx, 0x40
mov dword [ebp - 0x3c], ebx
mov ecx, 0x80
lea esi, [ebp - 0x2b8]
lea edi, [ebp + 0x204c]
xor edx, edx
rep movsd dword es:[edi], dword [esi]
test ebx, ebx
jle 0x4865a5
jmp 0x486590
mov eax, dword [ebp - 0x58]
lea ecx, [ebp + 0x204c]
add ecx, edx
inc edx
mov al, byte [eax + ecx]
xor byte [ecx], al
cmp edx, ebx
jl 0x486590
push 0x200
lea eax, [ebp + 0x204c]
push eax
push 0xffffffffffffffff
call fcn.0045e330
movzx eax, ax
cmp dword [ebp - 0x1c], eax
je 0x48664b
lea esi, [ebp - 0x2b8]
mov ecx, 0x80
lea edi, [ebp + 0x204c]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
cmp ebx, 0x200
jae 0x486601
mov ebx, dword [ebp - 0x58]
lea eax, [ecx + ebx]
mov al, byte [ebp + eax + 0x204c]
xor byte [ebp + ecx + 0x204c], al
inc ecx
cmp ecx, 0x200
jb 0x4865e4
mov ebx, dword [ebp - 0x3c]
push 0x200
lea eax, [ebp + 0x204c]
push eax
push 0xffffffffffffffff
call fcn.0045e330
movzx eax, ax
cmp dword [ebp - 0x1c], eax
je 0x48664b
add ebx, 0x40
mov dword [ebp - 0x3c], ebx
cmp ebx, 0x100
jl 0x486572
inc dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
cmp ebx, 0xffffffff
jne 0x486725
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
jmp 0x486725
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x44]
cmp eax, 0xffffffff
je 0x48669c
mov dword [ebp + 0x20], eax
lea ecx, [ebp]
shl eax, 9
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x48], 0x66
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x44], 3
call fcn.00490250
lea ecx, [ebp]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0x68
call fcn.00490250
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x4866ed
mov dword [ebp + 0x20], eax
lea ecx, [ebp]
lea eax, [ebx + 0x200]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x48], 0x66
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x44], 3
call fcn.00490250
lea ecx, [ebp]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0x67
call fcn.00490250
mov ecx, dword [ebp - 0x48]
or ebx, 0xffffffff
push 0
mov dword [ebp - 0x20], ebx
mov esi, dword [ecx]
mov eax, dword [esi + 0x10]
call eax
mov edi, dword [ebp + 0x2250]
sub eax, edi
mov ecx, dword [ebp - 0x48]
sbb edx, 0
push edx
push eax
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x48]
lea eax, [ebp + 0x204c]
push edi
push eax
call fcn.00468660
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x4c]
inc dword [ebp - 0x18]
inc ecx
add dword [ebp - 0x44], 0x200
cmp ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jg 0x48633c
jl 0x486757
cmp dword [ebp - 0x40], 0
ja 0x48633c
cmp ebx, 0xffffffff
je 0x4867a8
mov eax, dword [ebp - 0x18]
lea ecx, [ebp]
mov dword [ebp + 0x20], ebx
shl eax, 9
shl ebx, 9
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x48], 0x66
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x44], 3
call fcn.00490250
lea ecx, [ebp]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0x68
call fcn.00490250
mov eax, dword [edi]
mov ecx, edi
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x38]
call dword [eax + 0xc]
push SysReAllocString
push SysReAllocString
push dword [ebp - 0x48]
mov ecx, edi
call fcn.00467b70
mov ebx, dword [ebp - 0x2c]
neg ebx
sbb ebx, ebx
and ebx, 2
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4867e9
push eax
call fcn.004f252e
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x486800
push eax
call fcn.004f252e
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x486814
push eax
call fcn.004f252e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
mov edx, dword [edi]
push 0
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
call dword [edx + 0xc]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2254]
xor ecx, ebp
call fcn.004ebbd8
lea esp, [ebp + 0x2258]
pop ebp
ret 8