Function at 0x45ecb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fa0d2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2518
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x2514], eax
push esi
push edi
mov eax, dword [0x514bc0]
xor eax, esp
push eax
lea eax, [esp + 0x2528]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x13]
push ecx
mov esi, ebx
mov dword [esp + 0x64], eax
call fcn.0045c0c0
cmp eax, 3
jne 0x45fa56
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
mov ecx, ebx
mov dword [esp + 0xe4], ebx
call eax
mov edi, eax
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], edx
xor esi, esi
mov dword [esp + 0x2530], esi
push 0x4fea3c
mov ecx, ebx
call fcn.00431310
test eax, eax
je 0x45f03e
cmp byte [ebx + 0xc1fc], 0
jne 0x45f03e
push esi
lea ecx, [esp + 0xf8]
call fcn.00457210
mov byte [esp + 0x2530], 1
mov eax, dword [ebx + 0xaae4]
mov ecx, dword [ebx + 0xaae0]
push eax
push ecx
lea ecx, [esp + 0xfc]
call fcn.00456f00
push 8
lea edx, [esp + 0x118]
push edx
lea ecx, [esp + 0xfc]
call fcn.00457100
lea ecx, [esp + 0xf4]
call fcn.00456f90
lea ecx, [esp + 0xf4]
mov dword [esp + 0x40], eax
call fcn.00456fd0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov byte [esp + 0x13], 1
mov byte [esp + 0x2530], 0
lea ecx, [esp + 0xf4]
call fcn.00429e50
xor esi, esi
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0x60
call fcn.004693c0
mov eax, dword [ebx + 0xc1dc]
mov edi, dword [ebx + 0xc1d8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0x13]
neg eax
sbb eax, eax
and eax, 0x1c
add eax, 0x1a
cmp byte [ebx + 0xc1f4], 0
mov dword [0x52d18c], 0xffffffff
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], esi
je 0x45ee4a
mov ecx, eax
not ecx
inc ecx
and ecx, 0xf
lea eax, [eax + ecx + 8]
cdq
add eax, dword [esp + 0x24]
adc edx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ecx
mov byte [esp + 0x2530], 2
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], ecx
mov byte [esp + 0x2530], 3
mov ecx, dword [esp + 0x18]
push ecx
push edi
push edx
push eax
lea edx, [esp + 0xd4]
push edx
lea ecx, [esp + 0xe8]
mov esi, ebx
call fcn.0045d3a0
mov eax, dword [esp + 0x40]
xor esi, esi
shl eax, 9
push eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
call fcn.00401330
mov byte [esp + 0x2530], 4
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
push ecx
push esi
push edx
call fcn.004e4400
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
add esp, 0xc
push esi
push esi
push esi
mov ecx, ebx
call edx
cmp dword [esp + 0x18], esi
mov dword [esp + 0x38], esi
jl 0x45f46a
jg 0x45ef40
test edi, edi
jbe 0x45f46a
lea ebx, [ebx]
call fcn.00467c40
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov eax, edx
sub eax, edi
push esi
mov ecx, esi
sbb ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
call fcn.004670c0
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebx + 0x6574]
sar esi, 1
add esi, 0x32
cmp byte [eax + 0x6144], 0
jne 0x45ef94
cmp esi, dword [0x52d18c]
je 0x45ef94
push 0
push 0x64
mov eax, esi
cdq
push edx
push eax
push 0x4ff22c
call fcn.00469120
mov eax, dword [esp + 0xc8]
mov dword [0x52d18c], esi
cmp dword [esp + 0x38], eax
jae 0x45effe
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0xc4]
mov esi, dword [esp + 0x38]
cmp edx, dword [ecx + esi*8 + 4]
jl 0x45effe
jg 0x45efcc
mov edx, ecx
mov ecx, esi
cmp eax, dword [edx + ecx*8]
jb 0x45effe
mov edx, dword [esp + 0xd4]
mov esi, dword [esp + 0x38]
mov eax, dword [edx + esi*4]
cdq
push 1
push edx
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0xd4]
mov eax, dword [ecx + esi*4]
cdq
sub edi, eax
sbb dword [esp + 0x18], edx
inc esi
mov dword [esp + 0x38], esi
cmp dword [esp + 0x18], 0
jg 0x45f3f9
jl 0x45f017
cmp edi, 0x200
jae 0x45f3f9
mov edx, 0x200
sub edx, edi
push edx
lea eax, [esp + edi + 0x120]
push 0
push eax
mov esi, edi
call fcn.004e4400
add esp, 0xc
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x45f409
mov ecx, dword [ebx + 0xc1f8]
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push esi
push esi
push ecx
mov ecx, ebx
call edx
push 0x78
mov ecx, ebx
call fcn.004312b0
test eax, eax
je 0x45f089
cmp byte [ebx + 0xc1fc], 0
jne 0x45f089
movzx eax, word [ebx + 0xbdf6]
mov ecx, dword [ebx + 0xbdf8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], esi
mov byte [esp + 0x13], 0
jmp 0x45eddc
cmp byte [esp + 0x13], 0
je 0x45f121
cmp byte [ebx + 0xc1f4], 0
je 0x45f121
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0x61
call fcn.004693c0
lea edx, [ebx + 0x1e]
lea ecx, [esp + 0x64]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0x40
mov dword [esp + 0x64], edx
mov dword [esp + 0xa4], 1
call fcn.004693c0
push 0xa
mov ecx, 0x52c138
call fcn.0043da40
mov dword [esp + 0x2530], 0xffffffff
mov ecx, dword [esp + 0xf0]
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push esi
push ecx
push edi
mov ecx, ebx
call edx
xor eax, eax
jmp 0x45fa56
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push esi
push esi
push esi
mov ecx, ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [ebx + 0xc1d8], esi
mov dword [ebx + 0xc1dc], esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push 0x2000
lea ecx, [esp + 0x520]
push ecx
mov ecx, ebx
call edx
cmp eax, esi
je 0x45f391
nop
add eax, 0xffffffce
cmp eax, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], eax
jle 0x45f349
mov edx, 0x20
lea edi, [esp + 0x51e]
sub edx, str.Protect
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edx
jmp 0x45f194
mov edx, dword [esp + 0x34]
cmp byte [edi], 0x7a
lea esi, [edi - 2]
jne 0x45f27c
mov ecx, 8
mov eax, str.Protect
add edx, edi
lea esp, [esp]
mov edi, dword [eax + edx]
cmp edi, dword [eax]
jne 0x45f27c
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x45f1b0
movzx ax, byte [esi + 1]
movzx dx, byte [esi]
mov ecx, 0x100
imul ax, cx
add ax, dx
not ax
movzx edi, ax
push 0x34
lea eax, [esi + 2]
push eax
push 0xffffffffffffffff
call fcn.00439380
cmp di, ax
jne 0x45f2cf
movzx eax, byte [esi + 0x2d]
movzx ecx, byte [esi + 0x2c]
movzx edx, byte [esi + 0x2b]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x2a]
movzx edi, byte [esi + 0x31]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x34]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0x33]
mov dword [esp + 0x40], eax
movzx eax, byte [esi + 0x35]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x32]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x30]
shl edi, 8
add edi, edx
movzx edx, byte [esi + 0x2f]
shl edi, 8
add edi, edx
movzx edx, byte [esi + 0x2e]
push 1
xor esi, esi
push esi
xor ecx, ecx
push ecx
shl edi, 8
push eax
add edi, edx
call fcn.004e4480
add edi, eax
adc esi, edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
mov byte [esp + 0x13], 1
jmp 0x45f32e
cmp byte [esi + 2], 0x78
jne 0x45f2cf
mov eax, str.Protect_
mov edx, esi
sub edx, eax
mov ecx, 8
lea edi, [edx + 0x12]
mov edx, dword [eax + edi]
cmp edx, dword [eax]
jne 0x45f2cf
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x45f293
movzx edi, byte [esi + 1]
movzx eax, byte [esi]
shl edi, 8
add edi, eax
push 0x18
lea eax, [esi + 2]
push eax
not edi
push 0xffffffffffffffff
and edi, 0xffff
call fcn.00439380
and eax, 0xffff
cmp edi, eax
je 0x45f2ed
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
inc eax
inc edi
cmp eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], edi
jl 0x45f190
jmp 0x45f347
movzx eax, byte [esi + 0xd]
movzx ecx, byte [esi + 0xc]
movzx edx, byte [esi + 0x10]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 0xf]
mov dword [esp + 0x40], eax
movzx eax, byte [esi + 0x11]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0xe]
shl eax, 8
add eax, ecx
shl eax, 8
add eax, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x20]
cdq
add eax, dword [esp + 0x24]
adc edx, dword [esp + 0x28]
mov dword [ebx + 0xc1d8], eax
mov dword [ebx + 0xc1dc], edx
xor esi, esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx]
add eax, 0x1fce
adc ecx, esi
push esi
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
push eax
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push 0x2000
lea eax, [esp + 0x520]
push eax
mov ecx, ebx
call edx
cmp eax, esi
jne 0x45f160
mov edi, dword [esp + 0xec]
mov eax, dword [ebx + 0xc1d8]
or eax, dword [ebx + 0xc1dc]
jne 0x45eddc
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push esi
push esi
push esi
mov ecx, ebx
call eax
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0x61
call fcn.004693c0
mov dword [esp + 0x2530], 0xffffffff
mov eax, dword [esp + 0xf0]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push esi
push eax
push edi
mov ecx, ebx
call edx
mov eax, 1
jmp 0x45fa56
add edi, 0xfffffe00
adc dword [esp + 0x18], 0xffffffff
mov esi, 0x200
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push esi
lea eax, [esp + 0x120]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x2c]
shl eax, 9
add eax, dword [esp + 0xb4]
lea esi, [esp + 0x11c]
sub esi, eax
mov ecx, 0x200
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x45f437
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jb 0x45f455
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x18], 0
jg 0x45ef40
jl 0x45f46a
test edi, edi
ja 0x45ef40
xor edi, edi
push edi
push 0x64
push edi
push 0x64
call fcn.004670c0
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebx + 0x6574]
sar esi, 1
add esi, 0x32
cmp byte [eax + 0x6144], 0
jne 0x45f4aa
cmp esi, dword [0x52d18c]
je 0x45f4aa
push edi
push 0x64
mov eax, esi
cdq
push edx
push eax
push 0x4ff22c
call fcn.00469120
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edi
push edi
push 2
push eax
mov dword [0x52d18c], esi
mov esi, dword [ebx]
push ecx
call fcn.004e4480
add eax, dword [esp + 0x58]
mov ecx, ebx
adc edx, dword [esp + 0x5c]
push edx
mov edx, dword [esi + 0xc]
push eax
call edx
mov eax, dword [esp + 0x40]
cmp eax, edi
jbe 0x45f52c
mov edi, dword [esp + 0xb4]
lea esi, [esp + 0x11c]
sub esi, edi
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push 0x200
lea ecx, [esp + 0x120]
push ecx
mov ecx, ebx
call edx
mov eax, edi
mov edi, 0x200
nop
mov cl, byte [esi + eax]
xor byte [eax], cl
inc eax
sub edi, 1
jne 0x45f510
sub esi, 0x200
sub dword [esp + 0x30], 1
mov edi, eax
jne 0x45f4f2
xor edi, edi
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
push edi
push edi
push edi
mov ecx, ebx
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
cmp eax, edi
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
jl 0x45f9a2
jg 0x45f58b
cmp dword [esp + 0x24], 0
jbe 0x45f9a2
mov dword [esp + 0x50], 0
call fcn.00467c40
mov esi, dword [esp + 0x38]
cmp esi, dword [esp + 0xc8]
jae 0x45f5ef
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0xc4]
cmp edx, dword [ecx + esi*8 + 4]
jl 0x45f5ef
jg 0x45f5c2
cmp eax, dword [ecx + esi*8]
jb 0x45f5ef
mov edi, dword [esp + 0xd4]
mov eax, dword [edi + esi*4]
cdq
push 1
push edx
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
mov ecx, ebx
call edx
mov eax, dword [edi + esi*4]
mov ecx, dword [esp + 0x14]
cdq
sub ecx, eax
sbb dword [esp + 0x18], edx
inc esi
mov dword [esp + 0x38], esi
jmp 0x45f5f3
mov ecx, dword [esp + 0x14]
xor edi, edi
cmp dword [esp + 0x18], edi
jg 0x45f62a
jl 0x45f605
cmp ecx, 0x200
jae 0x45f62a
mov eax, 0x200
sub eax, ecx
push eax
mov esi, ecx
lea ecx, [esp + ecx + 0x120]
push edi
push ecx
call fcn.004e4400
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
jmp 0x45f63e
add ecx, 0xfffffe00
adc dword [esp + 0x18], 0xffffffff
mov esi, 0x200
mov dword [esp + 0x14], ecx
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push esi
lea eax, [esp + 0x120]
push eax
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x60]
push eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x120]
push eax
call fcn.00442b00
push 0x200
lea ecx, [esp + 0x120]
push ecx
push 0xffffffffffffffff
call fcn.00439380
mov edx, dword [ebx]
mov esi, eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
and esi, 0xffff
mov dword [esp + 0xf4], ebx
call eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], edx
mov byte [esp + 0x2530], 5
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push 0
push eax
push ecx
mov ecx, ebx
call edx
mov ecx, ebx
call fcn.00442d40
mov ecx, ebx
movzx edi, al
call fcn.00442d40
movzx eax, al
shl eax, 8
add edi, eax
add dword [esp + 0x114], 2
mov dword [esp + 0x44], edi
adc dword [esp + 0x118], 0
mov byte [esp + 0x2530], 4
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0xfc]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push 0
push eax
push ecx
mov ecx, ebx
call edx
cmp edi, esi
jne 0x45f797
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x45f78a
mov dword [esp + 0x84], eax
shl eax, 9
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x50]
xor esi, esi
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xac], 0x66
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa8], 3
call fcn.004693c0
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0x68
call fcn.004693c0
mov dword [esp + 0x3c], 0xffffffff
jmp 0x45f8f5
mov eax, dword [esp + 0x2c]
shl eax, 9
add eax, dword [esp + 0xb4]
mov ecx, 0x80
lea esi, [esp + 0x11c]
lea edi, [esp + 0x31c]
rep movsd dword es:[edi], dword [esi]
mov edi, eax
lea ecx, [esp + 0x11c]
xor esi, esi
sub edi, ecx
mov dword [esp + 0x54], edi
jmp 0x45f7d0
lea eax, [esp + esi + 0x11c]
mov dl, byte [eax + edi]
xor byte [eax], dl
inc esi
cmp esi, 0x200
jb 0x45f7d0
push 0x200
lea eax, [esp + 0x120]
push eax
push 0xffffffffffffffff
call fcn.00439380
and eax, 0xffff
cmp dword [esp + 0x44], eax
je 0x45fa7b
mov dword [esp + 0x5c], 0x40
mov ecx, 0x80
lea esi, [esp + 0x31c]
lea edi, [esp + 0x11c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x5c]
xor esi, esi
test edi, edi
jle 0x45f844
mov ecx, dword [esp + 0x54]
lea eax, [esp + esi + 0x11c]
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc esi
cmp esi, edi
jl 0x45f833
push 0x200
lea eax, [esp + 0x120]
push eax
push 0xffffffffffffffff
call fcn.00439380
and eax, 0xffff
cmp dword [esp + 0x44], eax
je 0x45fa7b
mov eax, dword [esp + 0x5c]
mov ecx, 0x80
lea esi, [esp + 0x31c]
lea edi, [esp + 0x11c]
rep movsd dword es:[edi], dword [esi]
cmp eax, 0x200
jae 0x45f8a9
mov esi, dword [esp + 0x54]
jmp 0x45f890
lea ecx, [esi + eax]
mov dl, byte [esp + ecx + 0x11c]
xor byte [esp + eax + 0x11c], dl
inc eax
cmp eax, 0x200
jb 0x45f890
push 0x200
lea eax, [esp + 0x120]
push eax
push 0xffffffffffffffff
call fcn.00439380
and eax, 0xffff
cmp dword [esp + 0x44], eax
je 0x45fa7b
mov eax, dword [esp + 0x5c]
add eax, 0x40
cmp eax, 0x100
mov dword [esp + 0x5c], eax
jl 0x45f810
inc dword [esp + 0x30]
cmp dword [esp + 0x3c], 0xffffffff
jne 0x45f8f5
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x2c]
inc dword [esp + 0x20]
add dword [esp + 0x50], 0x200
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jb 0x45f918
mov dword [esp + 0x2c], 0
cmp dword [esp + 0x18], 0
jg 0x45f593
jl 0x45f930
cmp dword [esp + 0x14], 0
ja 0x45f593
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x45f9a2
mov dword [esp + 0x84], eax
shl eax, 9
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x20]
shl eax, 9
xor esi, esi
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xac], 0x66
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa8], 3
call fcn.004693c0
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0x68
call fcn.004693c0
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
push 0
push ecx
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x60]
push SysReAllocString
push SysReAllocString
push ecx
mov ecx, ebx
call fcn.00443320
mov eax, dword [esp + 0x30]
neg eax
sbb eax, eax
and eax, 2
mov esi, eax
mov byte [esp + 0x2530], 3
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x45f9f6
push eax
call fcn.004e3342
add esp, 4
mov byte [esp + 0x2530], 2
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x45fa12
push eax
call fcn.004e3342
add esp, 4
mov byte [esp + 0x2530], 0
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x45fa2e
push eax
call fcn.004e3342
add esp, 4
mov dword [esp + 0x2530], 0xffffffff
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push 0
push eax
push ecx
mov ecx, ebx
call edx
mov eax, esi
mov ecx, dword [esp + 0x2528]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2514]
xor ecx, esp
call fcn.004e34f4
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
xor edi, edi
cmp eax, 0xffffffff
je 0x45faea
mov dword [esp + 0x84], eax
shl eax, 9
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xac], 0x66
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0xa8], 3
call fcn.004693c0
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], 0x68
call fcn.004693c0
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x45fb56
mov dword [esp + 0x88], esi
add esi, 0x200
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xac], 0x66
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0xa8], 3
call fcn.004693c0
lea ecx, [esp + 0x64]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], 0x67
call fcn.004693c0
mov esi, dword [esp + 0x60]
mov edi, dword [esi]
mov edx, dword [edi + 0x10]
push 0
mov ecx, esi
mov dword [esp + 0x40], 0xffffffff
call edx
xor ecx, ecx
sub eax, dword [esp + 0x38]
sbb edx, ecx
push edx
mov edx, dword [edi + 0xc]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x120]
push ecx
mov ecx, esi
call fcn.00442b00
jmp 0x45f8f5