Function at 0x5137b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x101c
call fcn.006143b0
mov eax, dword [0xce9878]
push ebx
add eax, 0xfffffffe
push ebp
push esi
cmp eax, 0xe
push edi
ja case.0x5137cf.5
jmp dword [eax*4 + 0x5153b8]
mov eax, dword [0xce9854]
cmp eax, 1
jne 0x513881
mov eax, dword [0x6d68d0]
mov ecx, dword [0xced0f8]
test eax, eax
mov dword [0xce8f18], ecx
jle 0x5153ac
cmp ecx, eax
jg 0x5153ac
mov eax, dword [0x6d68d4]
cmp eax, 0x2faf080
jge 0x5153ac
add ecx, eax
cmp ecx, 0x2faf080
jle 0x51382c
mov edx, 0x2faf080
sub edx, eax
mov dword [0xce8f18], edx
push 0x19
call fcn.00613321
mov edx, eax
mov edi, 0x6d67cc
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [0xce9400], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0xce9400]
mov ecx, dword [0xce8f18]
mov dword [edx + 0x13], ecx
mov eax, dword [0xce8f18]
test eax, eax
jle 0x51392f
jmp 0x513921
cmp eax, 2
jne 0x51393e
mov eax, dword [0x6d68d4]
mov ecx, dword [0xced0f8]
test eax, eax
mov dword [0xce8f18], ecx
jle 0x5153ac
cmp ecx, eax
jg 0x5153ac
mov eax, dword [0x6d68d0]
cmp eax, 0x1c9c380
jge 0x5153ac
lea edx, [eax + ecx]
cmp edx, 0x1c9c380
jle 0x5138d3
mov ecx, 0x1c9c380
sub ecx, eax
mov dword [0xce8f18], ecx
push 0x19
call fcn.00613321
mov edx, eax
mov edi, 0x6d67cc
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [0xce9400], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0xce8f18]
mov edx, dword [0xce9400]
neg ecx
mov dword [edx + 0x13], ecx
mov eax, dword [0xce8f18]
test eax, eax
jle 0x51392f
mov eax, dword [0xce9400]
push eax
call fcn.004e99f0
add esp, 4
mov ecx, dword [0xce9400]
push ecx
call fcn.006066eb
add esp, 4
xor eax, eax
mov dword [0xce9854], eax
mov dword [0xce8f18], eax
jmp case.0x5137cf.5
mov ecx, 0xd120b0
call fcn.0058cb70
test eax, eax
je case.0x5137cf.5
mov edx, dword [0xced0f8]
mov ecx, 0xd120b0
push edx
push 1
call fcn.0058c600
jmp case.0x5137cf.5
mov eax, dword [0xcf9324]
test eax, eax
je case.0x5137cf.5
mov eax, dword [0xced0f8]
test eax, eax
jle case.0x5137cf.5
mov ax, word [0xcf4774]
cmp ax, 0x190
jb 0x5139a9
cmp ax, 0x208
jb case.0x5137cf.5
mov ecx, dword [0xced104]
mov eax, 0xcccccccd
mul ecx
mov ebx, edx
mov eax, ecx
xor edx, edx
mov ecx, 0xa
div ecx
shr ebx, 3
lea eax, [ebx + ebx*4]
mov dword [esp + 0x24], edx
lea eax, [edx + eax*2]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov ebp, dword [ecx*8 + 0xceda68]
test ebp, ebp
je case.0x5137cf.5
xor edx, edx
mov ecx, 0x4c
mov dword [esp + 0x342], edx
lea esi, [esp + 0x2c8]
mov dword [esp + 0x346], edx
lea edi, [esp + 0x3fc]
mov dword [esp + 0x34a], edx
mov dword [esp + 0x3f8], ebp
mov byte [esp + 0x34e], dl
lea eax, [esp + 0x3f8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, 0xced988
mov dword [esp + 0x1c], 0
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x78]
test ecx, ecx
jle 0x513bf1
mov eax, dword [esp + 0x24]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*2]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea edx, [ecx*8 + 0xceda6c]
mov dword [esp + 0x18], edx
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0x212], eax
lea esi, [esp + 0x198]
mov dword [esp + 0x216], eax
lea edi, [esp + 0x68]
mov dword [esp + 0x21a], eax
mov dword [esp + 0x64], ebp
mov byte [esp + 0x21e], al
lea edx, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], 0
push ecx
push edx
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x74]
test ecx, ecx
mov dword [esp + 0x20], edx
jle 0x513b73
mov ebx, dword [esp + 0x18]
mov eax, dword [0xced0f8]
mov edx, dword [ebx]
sub edx, eax
xor eax, eax
mov ecx, edx
mov dword [ebx], edx
cmp ecx, eax
jg 0x513b02
mov dword [ebx - 4], eax
or ecx, 0xffffffff
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x198]
inc ecx
lea edi, [esp + 0x68]
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 0x212], ecx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x216], ecx
lea edx, [esp + 0x64]
mov dword [esp + 0x21a], ecx
lea eax, [esp + 0x24]
mov byte [esp + 0x21e], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, 0xced988
add ebx, 0x88
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x74]
cmp ecx, edx
jl 0x513adb
mov edi, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x342], edx
mov ebx, dword [esp + 0x14]
add edi, 0x550
mov dword [esp + 0x346], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x34a], edx
mov ecx, 0x4c
lea esi, [esp + 0x2c8]
lea edi, [esp + 0x3fc]
mov byte [esp + 0x34e], dl
mov dword [esp + 0x3f8], ebp
lea eax, [esp + 0x3f8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2c]
push eax
inc ebx
push ecx
mov ecx, 0xced988
mov dword [esp + 0x1c], ebx
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x78]
cmp ebx, ecx
jl 0x513a71
mov ecx, dword [0xced108]
mov eax, 0xcccccccd
mul ecx
mov ebx, edx
mov eax, ecx
xor edx, edx
mov ecx, 0xa
div ecx
mov ecx, 0x4c
lea esi, [esp + 0x198]
lea edi, [esp + 0x3fc]
mov dword [esp + 0x3f8], ebp
lea eax, [esp + 0x3f8]
mov dword [esp + 0x14], 0
push eax
shr ebx, 3
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], edx
xor edx, edx
mov dword [esp + 0x216], edx
mov dword [esp + 0x21a], edx
mov dword [esp + 0x21e], edx
mov byte [esp + 0x222], dl
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x58]
push ecx
mov ecx, 0xced988
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x78]
test ecx, ecx
jle 0x513e56
mov eax, dword [esp + 0x1c]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*2]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea edx, [ecx*8 + 0xceda6c]
mov dword [esp + 0x18], edx
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0x342], eax
lea esi, [esp + 0x2c8]
mov dword [esp + 0x346], eax
lea edi, [esp + 0x68]
mov dword [esp + 0x34a], eax
mov dword [esp + 0x64], ebp
mov byte [esp + 0x34e], al
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], 0
push ecx
push edx
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x74]
test ecx, ecx
mov dword [esp + 0x40], edx
jle 0x513dd8
mov ebx, dword [esp + 0x18]
mov eax, dword [0xced0f8]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [ebx - 4], ebp
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [0xced104]
mov eax, 0xcccccccd
mov dword [ebx + 8], edx
mul ecx
shr edx, 3
mov eax, ecx
mov ecx, 0xa
lea esi, [edx + edx*4]
xor edx, edx
div ecx
lea edi, [ebx + 0x24]
mov ecx, 0x12
mov dword [esp + 0x64], ebp
add ebx, 0x88
lea eax, [edx + esi*2]
mov edx, eax
shl edx, 4
add edx, eax
mov ax, word [0xced108]
lea esi, [edx*8 + 0xceda90]
lea edx, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
push edx
inc ecx
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x346], ecx
mov dword [esp + 0x34a], ecx
mov dword [esp + 0x34e], ecx
movsb byte es:[edi], byte [esi]
mov byte [esp + 0x352], cl
mov ecx, 0x4c
lea esi, [esp + 0x2cc]
lea edi, [esp + 0x6c]
mov word [ebx - 0x64], ax
lea eax, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x74]
cmp ecx, edx
jl 0x513d0b
mov edi, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x212], edx
mov ebx, dword [esp + 0x14]
add edi, 0x550
mov dword [esp + 0x216], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x21a], edx
mov ecx, 0x4c
lea esi, [esp + 0x198]
lea edi, [esp + 0x3fc]
mov byte [esp + 0x21e], dl
mov dword [esp + 0x3f8], ebp
lea eax, [esp + 0x3f8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x54]
push eax
inc ebx
push ecx
mov ecx, 0xced988
mov dword [esp + 0x1c], ebx
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x78]
cmp ebx, ecx
jl 0x513ca1
mov ecx, dword [0xced108]
mov eax, 0xcccccccd
mul ecx
shr edx, 3
mov eax, ecx
mov edi, 0xa
lea esi, [edx + edx*4]
xor edx, edx
div edi
lea eax, [edx + esi*2]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [edx*8 + 0xceda68]
mov edx, dword [0xced0f8]
mov dword [esp + 0x24], eax
mov eax, dword [0xced100]
push edx
push eax
push ecx
mov ecx, dword [0xced104]
push ecx
call fcn.004e6ec0
add esp, 0x10
jmp case.0x5137cf.5
mov ecx, dword [0xcf474c]
mov edx, dword [0xced0f8]
xor eax, eax
mov dword [esp + 0x52c], ecx
mov dword [esp + 0xde], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xe2], eax
mov ecx, 0x4c
mov dword [esp + 0xe6], eax
lea esi, [esp + 0x64]
lea edi, [esp + 0x530]
mov byte [esp + 0xea], al
lea edx, [esp + 0x52c]
lea eax, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov esi, dword [eax + 0x70]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x14]
mov ecx, esi
imul ecx, eax
mov dword [esp + 0x38], edx
mov edx, dword [0x6d68d0]
cmp edx, ecx
jge 0x513f98
mov eax, dword [0xa4f274]
lea edx, [esp + 0x6c8]
test eax, eax
mov edi, 0x669628
jne 0x513f44
mov edi, 0x669610
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x6d4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x6d8]
push ecx
call fcn.004cbc90
add esp, 0x14
mov ecx, 0xced988
call fcn.0052dec0
jmp case.0x5137cf.5
test eax, eax
jle case.0x5137cf.5
mov ecx, 0x96
xor eax, eax
mov edi, 0xcf4e30
xor ebx, ebx
rep stosd dword es:[edi], eax
mov eax, dword [0xcf474c]
push ebx
lea edx, [esp + 0x18]
push 0xcf4e30
push edx
push eax
mov ecx, 0xced988
call fcn.0052b430
cmp eax, ebx
mov dword [0xcf4e2c], eax
jl 0x514092
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x514092
imul esi, ecx
mov edx, dword [0xcf474c]
mov edi, dword [0x6d68d0]
push eax
mov eax, dword [0xd0af88]
push 0xcf4e30
push edx
sub edi, esi
push ecx
push eax
mov dword [0x6d68d0], edi
call fcn.004e6260
mov eax, dword [0xa4f274]
add esp, 0x14
cmp eax, ebx
je 0x51402e
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x6c8]
push ecx
push 0x6695f0
push edx
jmp 0x514040
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x6c8]
push eax
push 0x6695d0
push ecx
call fcn.006133d6
lea edi, [esp + 0x6d4]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
push ebx
push ebx
dec ecx
push ebx
lea edx, [esp + 0x6d4]
push ecx
push edx
call fcn.004cbc90
add esp, 0x14
mov ecx, 0xced988
call fcn.0052dec0
mov dword [0xcf474c], ebx
mov dword [0xcf47c0], ebx
mov dword [0xcf4e24], 1
jmp case.0x5137cf.5
mov eax, dword [0xa4f274]
lea edx, [esp + 0x6c8]
cmp eax, ebx
mov edi, 0x6695b4
jne 0x5140ac
mov edi, 0x669598
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x6d4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x6d8]
push ecx
call fcn.004cbc90
add esp, 0x14
mov ecx, 0xced988
call fcn.0052dec0
push 1
mov dword [0xcf474c], ebx
mov dword [0xcf47c0], ebx
call fcn.004fe110
mov eax, dword [0xd0af88]
add esp, 4
cmp eax, ebx
je 0x514125
push eax
call fcn.004e6ba0
mov eax, dword [0xd0af88]
add esp, 4
cmp dword [0xcf481c], ebx
je 0x514168
mov ecx, dword [0xcf4870]
mov dword [0xcf481c], ebx
cmp ecx, ebx
je 0x514156
push ebx
push ebx
push 0xcf4874
push 0xcf4870
call fcn.005a6840
mov eax, dword [0xd0af88]
add esp, 0x10
cmp eax, ebx
je 0x514168
push eax
call fcn.004e6ba0
mov eax, dword [0xd0af88]
add esp, 4
cmp dword [0xced09c], ebx
je 0x5141ab
mov ecx, dword [0xced0f0]
mov dword [0xced09c], ebx
cmp ecx, ebx
je 0x514199
push ebx
push ebx
push 0xced0f4
push 0xced0f0
call fcn.005a6840
mov eax, dword [0xd0af88]
add esp, 0x10
cmp eax, ebx
je 0x5141b8
push eax
call fcn.004e6ba0
mov eax, dword [0xd0af88]
add esp, 4
cmp eax, ebx
je 0x5141b8
push eax
call fcn.004e6ba0
add esp, 4
push 1
call fcn.004fe110
add esp, 4
call fcn.005133b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x101c
ret
mov edx, dword [0xced100]
test edx, edx
je case.0x5137cf.5
mov ebx, dword [0xced0f8]
mov ecx, 0x12c
xor eax, eax
mov edi, 0xce8f50
test ebx, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ebx
jle 0x5153ac
mov dword [esp + 0xde], eax
mov ecx, 0x4c
mov dword [esp + 0xe2], eax
lea esi, [esp + 0x64]
mov dword [esp + 0xe6], eax
lea edi, [esp + 0x530]
mov byte [esp + 0xea], al
mov dword [esp + 0x52c], edx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x52c]
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
lea esi, [esp + 0x64]
lea edi, [esp + 0x530]
mov eax, dword [ecx]
mov ebp, dword [eax + 0x70]
mov edx, dword [ecx + 4]
mov ecx, dword [0xced100]
xor eax, eax
mov dword [esp + 0xde], eax
mov dword [esp + 0x52c], ecx
mov dword [esp + 0xe2], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0xe6], eax
mov ecx, 0x4c
mov byte [esp + 0xea], al
lea edx, [esp + 0x52c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x4c]
push edx
push eax
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov esi, dword [eax + 0x84]
mov edx, dword [ecx + 4]
push esi
mov ecx, 0xcf4800
mov dword [esp + 0x3c], edx
call fcn.0053cd20
mov ecx, eax
mov eax, 0x51eb851f
imul ecx, ebp
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
test esi, esi
mov ecx, edx
je 0x514340
mov esi, dword [0xced104]
mov eax, 0xcccccccd
mul esi
shr edx, 3
mov eax, esi
mov esi, 0xa
lea edi, [edx + edx*4]
xor edx, edx
div esi
xor ebp, ebp
lea edx, [edx + edi*2]
mov eax, edx
shl eax, 4
add eax, edx
shl eax, 3
mov si, word [eax + 0xcedabd]
cmp si, bp
je 0x514342
mov eax, dword [eax + 0xceda7c]
and esi, 0xffff
imul eax, ecx
cdq
idiv esi
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
jmp 0x514342
xor ebp, ebp
imul ecx, ebx
mov esi, ecx
mov ecx, dword [0xced100]
push ecx
mov ecx, 0xced988
call fcn.0052d410
cmp ebx, eax
jle 0x5143b1
mov eax, dword [0xa4f274]
lea edx, [esp + 0xe2c]
cmp eax, ebp
mov edi, 0x66957c
jne 0x514376
mov edi, 0x669560
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xe38]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe3c]
jmp 0x514414
mov edx, dword [0x6d68d0]
add edx, esi
cmp edx, 0x1c9c380
jle 0x514434
mov eax, dword [0xa4f274]
lea edx, [esp + 0x660]
cmp eax, ebp
mov edi, 0x669544
jne 0x5143db
mov edi, 0x669528
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x66c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x670]
push ecx
call fcn.004cbc90
add esp, 0x14
mov dword [0xcf474c], ebp
mov dword [0xcf47c0], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x101c
ret
mov edi, dword [0xced100]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x18], ebp
test ebx, ebx
je 0x514985
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x514966
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, edx
mov ebx, eax
shl ebx, 4
add ebx, eax
shl ebx, 3
cmp dword [ebx + 0xceda68], edi
jne 0x5146ff
mov edx, dword [ebx + 0xceda6c]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
cmp esi, edx
lea ecx, [eax*8 + 0xce8f54]
jl 0x51471a
cmp word [ecx], 0
je 0x5144af
add ecx, 8
inc eax
cmp word [ecx], 0
jne 0x5144a1
mov dword [esp + 0x3c], eax
mov cx, word [0xd0af88]
mov ebp, dword [esp + 0x14]
mov word [eax*8 + 0xce8f50], cx
mov cx, word [ebx + 0xceda6c]
mov word [eax*8 + 0xce8f54], cx
mov cx, word [ebx + 0xceda68]
mov word [eax*8 + 0xce8f52], cx
mov ecx, dword [esp + 0x2c]
sub esi, edx
xor edx, edx
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x212], edx
mov dword [esp + 0x216], edx
mov dword [esp + 0x10], esi
lea ecx, [ebp + ecx*2]
mov dword [esp + 0x21a], edx
mov word [eax*8 + 0xce8f56], cx
mov dword [esp + 0x8c8], edi
mov ecx, 0x4c
lea esi, [esp + 0x198]
lea edi, [esp + 0x8cc]
mov byte [esp + 0x21e], dl
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x8c8]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, 0xced988
mov dword [esp + 0x2c], 0
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x78]
test ecx, ecx
jle 0x5146f9
lea edx, [ebx + 0xceda70]
mov dword [esp + 0x1c], edx
mov ecx, dword [0xced100]
xor eax, eax
mov dword [esp + 0x342], eax
mov dword [esp + 0x9fc], ecx
mov dword [esp + 0x346], eax
mov ecx, 0x4c
mov dword [esp + 0x34a], eax
lea esi, [esp + 0x2c8]
lea edi, [esp + 0xa00]
mov byte [esp + 0x34e], al
lea edx, [esp + 0x9fc]
lea eax, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, 0xced988
xor ebp, ebp
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x74]
test ecx, ecx
mov dword [esp + 0x48], edx
jle 0x514675
mov ebx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [0xced100]
mov dword [ebx - 8], eax
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [ebx - 4], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [esp + 0x342], eax
mov dword [esp + 0x346], eax
mov dword [esp + 0x9fc], ecx
mov dword [esp + 0x34a], eax
mov ecx, 0x4c
lea esi, [esp + 0x2c8]
lea edi, [esp + 0xa00]
mov byte [esp + 0x34e], al
lea edx, [esp + 0x9fc]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x54]
push edx
push eax
mov ecx, 0xced988
inc ebp
add ebx, 0x88
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x74]
cmp ebp, ecx
mov dword [esp + 0x48], edx
jl 0x5145e5
mov edi, dword [esp + 0x1c]
mov ecx, dword [0xced100]
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x212], eax
add edi, 0x550
mov dword [esp + 0x216], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x21a], eax
mov dword [esp + 0x8c8], ecx
mov ecx, 0x4c
lea esi, [esp + 0x198]
lea edi, [esp + 0x8cc]
mov byte [esp + 0x21e], al
lea edx, [esp + 0x8c8]
lea eax, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
inc ebx
push edx
push eax
mov ecx, 0xced988
mov dword [esp + 0x2c], ebx
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x78]
cmp ebx, ecx
mov dword [esp + 0x48], edx
jl 0x514572
mov edi, dword [0xced100]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x514452
mov ebx, dword [esp + 0x10]
jmp 0x514966
cmp word [ecx], 0
je 0x51472e
add ecx, 8
inc eax
cmp word [ecx], 0
jne 0x514720
mov dword [esp + 0x3c], eax
mov cx, word [0xd0af88]
mov edx, dword [esp + 0x14]
mov word [eax*8 + 0xce8f50], cx
mov ecx, dword [esp + 0x18]
add ecx, edx
mov word [eax*8 + 0xce8f54], si
mov ebx, ecx
mov dword [esp + 0x52c], edi
shl ebx, 4
add ebx, ecx
lea esi, [esp + 0x64]
shl ebx, 3
lea edi, [esp + 0x530]
mov dword [esp + 0x24], 0
mov cx, word [ebx + 0xceda68]
mov word [eax*8 + 0xce8f52], cx
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
lea edx, [edx + ecx*2]
mov ecx, 0x4c
mov word [eax*8 + 0xce8f56], dx
xor eax, eax
mov dword [esp + 0xde], eax
lea edx, [esp + 0x4c]
mov dword [esp + 0xe2], eax
mov dword [esp + 0xe6], eax
mov byte [esp + 0xea], al
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x52c]
push ecx
push edx
mov ecx, 0xced988
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x78]
test ecx, ecx
mov dword [esp + 0x48], edx
jle 0x51495a
lea eax, [ebx + 0xceda6c]
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov edx, dword [0xced100]
mov dword [esp + 0x472], ecx
lea esi, [esp + 0x3f8]
mov dword [esp + 0x476], ecx
lea edi, [esp + 0x6cc]
mov dword [esp + 0x47a], ecx
mov dword [esp + 0x6c8], edx
mov byte [esp + 0x47e], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x6c8]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, 0xced988
xor ebp, ebp
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 0x74]
test ecx, ecx
jle 0x5148d9
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx]
xor eax, eax
sub ecx, edx
mov dword [esp + 0x472], eax
mov dword [ebx], ecx
mov ecx, dword [0xced100]
mov dword [esp + 0x476], eax
mov dword [esp + 0x47a], eax
mov dword [esp + 0x6c8], ecx
mov ecx, 0x4c
lea esi, [esp + 0x3f8]
lea edi, [esp + 0x6cc]
mov byte [esp + 0x47e], al
lea edx, [esp + 0x6c8]
lea eax, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, 0xced988
inc ebp
add ebx, 0x88
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x74]
cmp ebp, ecx
mov dword [esp + 0x48], edx
jl 0x51485f
mov edi, dword [esp + 0x1c]
mov ecx, dword [0xced100]
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xde], eax
add edi, 0x550
mov dword [esp + 0xe2], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0xe6], eax
mov dword [esp + 0x52c], ecx
mov ecx, 0x4c
lea esi, [esp + 0x64]
lea edi, [esp + 0x530]
mov byte [esp + 0xea], al
lea edx, [esp + 0x52c]
lea eax, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
inc ebx
push edx
push eax
mov ecx, 0xced988
mov dword [esp + 0x2c], ebx
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x78]
cmp ebx, ecx
mov dword [esp + 0x48], edx
jl 0x5147f0
mov edi, dword [0xced100]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
add eax, 0xa
inc esi
cmp eax, 0x96
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], eax
jl 0x514442
mov ecx, 0xced988
call fcn.0052d360
mov eax, dword [esp + 0x3c]
lea ecx, [eax*8 + 0x10]
push ecx
push 0xce8f50
push 0x4f1
call fcn.004ac410
mov eax, dword [0xa4f274]
xor esi, esi
add esp, 0xc
cmp eax, esi
je 0x5149ce
mov edx, dword [0xced0f8]
lea eax, [esp + 0xb30]
push edx
push 0x669508
push eax
jmp 0x5149e2
mov ecx, dword [0xced0f8]
lea edx, [esp + 0xb30]
push ecx
push 0x6694e8
push edx
call fcn.006133d6
lea edi, [esp + 0xb3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
push esi
push esi
dec ecx
push esi
lea eax, [esp + 0xb3c]
push ecx
push eax
call fcn.004cbc90
add esp, 0x14
mov dword [0xcf474c], esi
mov dword [0xcf47c0], esi
mov dword [0xcf4e24], 1
jmp case.0x5137cf.5
mov ecx, dword [0xced0f8]
mov edx, dword [0xcf474c]
mov dword [esp + 0x10], ecx
push edx
mov ecx, 0xced988
call fcn.0053bf30
test eax, eax
jne 0x514a5e
mov ecx, 0xced988
call fcn.0052dec0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x101c
ret
mov esi, dword [0xcf474c]
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x514fb2
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x514f98
xor ebx, ebx
mov eax, 0x66666667
mov edi, 0xa
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
lea ecx, [edx + edx*4]
cdq
idiv edi
lea ecx, [edx + ecx*2]
mov eax, ecx
shl eax, 4
add eax, ecx
shl eax, 3
cmp dword [eax + 0xceda80], 1
je 0x514aca
cmp dword [eax + 0xceda68], esi
je 0x514ad9
inc ebx
cmp ebx, 0x96
jge 0x514f98
jmp 0x514a8e
cmp ebx, 0x96
jge 0x514f98
mov eax, 0x66666667
mov edi, 0xa
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
lea ecx, [edx + edx*4]
cdq
idiv edi
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x10]
mov ebp, eax
mov edx, dword [esp + 0x18]
shl ebp, 4
add ebp, eax
push edx
shl ebp, 3
mov dword [esp + 0x40], ebp
mov eax, dword [ebp + 0xceda6c]
cmp ecx, eax
jl 0x514d42
mov ecx, dword [esp + 0x30]
mov edx, dword [0xcf4760]
push ecx
push eax
push edx
push ebx
push esi
call fcn.0057de40
add esp, 0x18
test eax, eax
je 0x514d5d
mov ecx, dword [0xcf474c]
xor eax, eax
mov dword [esp + 0x472], eax
mov dword [esp + 0x6c8], ecx
mov dword [esp + 0x476], eax
mov ecx, 0x4c
mov dword [esp + 0x47a], eax
lea esi, [esp + 0x3f8]
lea edi, [esp + 0x6cc]
mov byte [esp + 0x47e], al
lea edx, [esp + 0x6c8]
lea eax, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, 0xced988
mov dword [esp + 0x2c], 0
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x78]
test ecx, ecx
mov dword [esp + 0x38], edx
jle 0x514d30
lea eax, [ebp + 0xceda80]
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov edx, dword [0xcf474c]
mov dword [esp + 0xde], ecx
lea esi, [esp + 0x64]
mov dword [esp + 0xe2], ecx
lea edi, [esp + 0x530]
mov dword [esp + 0xe6], ecx
mov dword [esp + 0x52c], edx
mov byte [esp + 0xea], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x52c]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, 0xced988
xor ebx, ebx
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x74]
test ecx, ecx
jle 0x514cac
mov ebp, dword [esp + 0x1c]
xor edx, edx
mov dword [ebp], 1
mov eax, dword [0xcf474c]
mov dword [esp + 0xde], edx
mov dword [esp + 0xe2], edx
mov ecx, 0x4c
mov dword [esp + 0xe6], edx
lea esi, [esp + 0x64]
lea edi, [esp + 0x530]
mov byte [esp + 0xea], dl
mov dword [esp + 0x52c], eax
lea edx, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x52c]
inc ebx
push ecx
push edx
mov ecx, 0xced988
add ebp, 0x88
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x74]
cmp ebx, ecx
mov dword [esp + 0x38], edx
jl 0x514c35
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov ecx, dword [0xcf474c]
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x472], eax
add edi, 0x550
mov dword [esp + 0x476], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x47a], eax
mov dword [esp + 0x6c8], ecx
mov ecx, 0x4c
lea esi, [esp + 0x3f8]
lea edi, [esp + 0x6cc]
mov byte [esp + 0x47e], al
lea edx, [esp + 0x6c8]
lea eax, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
inc ebx
push edx
push eax
mov ecx, 0xced988
mov dword [esp + 0x2c], ebx
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x78]
cmp ebx, ecx
mov dword [esp + 0x38], edx
jl 0x514bc9
mov eax, dword [ebp + 0xceda6c]
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x514d5d
mov eax, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [0xcf4760]
push ecx
push ebx
push esi
call fcn.0057de40
add esp, 0x18
test eax, eax
jne 0x514d7a
mov eax, dword [esp + 0x18]
mov esi, dword [0xcf474c]
inc eax
cmp eax, 5
mov dword [esp + 0x18], eax
jge 0x514f98
jmp 0x514a80
mov eax, dword [0xcf474c]
xor edx, edx
mov dword [esp + 0x212], edx
mov ecx, 0x4c
mov dword [esp + 0x216], edx
lea esi, [esp + 0x198]
mov dword [esp + 0x21a], edx
lea edi, [esp + 0xa00]
mov byte [esp + 0x21e], dl
mov dword [esp + 0x9fc], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x9fc]
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, 0xced988
mov dword [esp + 0x2c], 0
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x78]
test ecx, ecx
mov dword [esp + 0x38], edx
jle 0x514f8a
mov eax, 0x66666667
mov esi, 0xa
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
lea ecx, [edx + edx*4]
cdq
idiv esi
lea eax, [edx + ecx*2]
mov edx, eax
shl edx, 4
add edx, eax
lea eax, [edx*8 + 0xceda80]
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov edx, dword [0xcf474c]
mov dword [esp + 0x342], ecx
lea esi, [esp + 0x2c8]
mov dword [esp + 0x346], ecx
lea edi, [esp + 0x8cc]
mov dword [esp + 0x34a], ecx
mov dword [esp + 0x8c8], edx
mov byte [esp + 0x34e], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x8c8]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, 0xced988
xor ebx, ebx
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x74]
test ecx, ecx
jle 0x514f06
mov ebp, dword [esp + 0x1c]
xor edx, edx
mov dword [ebp], 1
mov eax, dword [0xcf474c]
mov dword [esp + 0x342], edx
mov dword [esp + 0x346], edx
mov ecx, 0x4c
mov dword [esp + 0x34a], edx
lea esi, [esp + 0x2c8]
lea edi, [esp + 0x8cc]
mov byte [esp + 0x34e], dl
mov dword [esp + 0x8c8], eax
lea edx, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x8c8]
inc ebx
push ecx
push edx
mov ecx, 0xced988
add ebp, 0x88
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x74]
cmp ebx, ecx
mov dword [esp + 0x38], edx
jl 0x514e90
mov edi, dword [esp + 0x1c]
mov ecx, dword [0xcf474c]
mov ebx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x212], eax
add edi, 0x550
mov dword [esp + 0x216], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x21a], eax
mov dword [esp + 0x9fc], ecx
mov ecx, 0x4c
lea esi, [esp + 0x198]
lea edi, [esp + 0xa00]
mov byte [esp + 0x21e], al
lea edx, [esp + 0x9fc]
lea eax, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
inc ebx
push edx
push eax
mov ecx, 0xced988
mov dword [esp + 0x2c], ebx
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x78]
cmp ebx, ecx
mov dword [esp + 0x38], edx
jl 0x514e21
mov esi, dword [0xcf474c]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0xa
mov dword [esp + 0x2c], eax
jl 0x514a6c
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x514fc1
mov ecx, 0xced988
call fcn.0052dec0
jmp case.0x5137cf.5
jle 0x513f89
push 0xcf473c
mov ecx, 0xced988
call fcn.0052dae0
mov eax, dword [0xa4f274]
lea edx, [esp + 0xb30]
test eax, eax
mov edi, 0x6694bc
jne 0x514ff0
mov edi, 0x669498
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb3c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xb40]
jmp 0x513f80
mov edx, dword [0xced0f8]
mov eax, dword [0xced100]
push edx
push eax
mov ecx, 0xced988
call fcn.00535b10
jmp case.0x5137cf.5
mov ecx, dword [0xced0f8]
mov dword [0xcea2ec], ecx
jmp case.0x5137cf.5
mov eax, dword [0x6d67ac]
cmp eax, 0x464
je 0x515122
cmp eax, 0x83b
je 0x515122
cmp eax, 0xc23
je 0x515122
mov eax, dword [0xcea2c8]
test eax, eax
jne case.0x5137cf.5
mov eax, dword [0xced06c]
test eax, eax
je 0x5150b7
mov ecx, 0x69f710
call fcn.004296f0
push eax
call fcn.00614034
mov esi, eax
add esp, 4
mov dword [0xced0f8], esi
jmp 0x5150bd
mov esi, dword [0xced0f8]
test esi, esi
jbe case.0x5137cf.5
cmp esi, dword [0x6d68d0]
ja case.0x5137cf.5
mov eax, dword [0xa4f274]
push esi
test eax, eax
je 0x5150ea
lea edx, [esp + 0x664]
push 0x669488
push edx
jmp 0x5150f7
lea eax, [esp + 0x664]
push 0x669478
push eax
call fcn.006133d6
add esp, 0xc
lea ecx, [esp + 0x660]
push 0
push 0
push 0
push 0
push ecx
call fcn.004cbc90
push esi
call fcn.004e58d0
add esp, 0x18
jmp case.0x5137cf.5
push 0
push 0
push 0
push 0
push 0x669464
call fcn.004cbc90
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x101c
ret
mov eax, dword [0xced1f4]
test eax, eax
je case.0x5137cf.5
mov edx, dword [0xced0f8]
mov word [0xd05912], 0xffff
mov dword [0xd05914], edx
jmp case.0x5137cf.5
mov eax, dword [0xced0f8]
push eax
call fcn.004eaa10
mov ecx, dword [0xce986c]
push ecx
call fcn.004e6ba0
add esp, 8
xor eax, eax
mov dword [0xce9868], eax
mov dword [0xce986c], eax
jmp case.0x5137cf.5
mov eax, dword [0xced0f8]
xor esi, esi
cmp eax, esi
jle 0x5151a8
push eax
call fcn.004eaa50
add esp, 4
mov edx, dword [0xce986c]
push edx
call fcn.004e6ba0
add esp, 4
mov dword [0xce9868], esi
mov dword [0xce986c], esi
jmp case.0x5137cf.5
mov eax, dword [0xced0f8]
test eax, eax
jne 0x51521a
mov ecx, 0xcecc68
call fcn.005211c0
mov eax, dword [0xa4f274]
push 0
push 0
push 0
test eax, eax
mov dword [0xcecdbc], 0
push 0
je 0x515208
push 0x669454
call fcn.004cbc90
add esp, 0x14
jmp case.0x5137cf.5
push 0x669444
call fcn.004cbc90
add esp, 0x14
jmp case.0x5137cf.5
xor eax, eax
lea ecx, [esp + 0xd30]
mov dword [esp + 0xde], eax
push ecx
mov dword [esp + 0xe6], eax
mov ecx, 0xcecc68
mov dword [esp + 0xea], eax
mov byte [esp + 0xee], al
call fcn.00521200
xor edx, edx
mov ecx, 0x4c
mov dx, word [eax + 0xa]
lea esi, [esp + 0x64]
lea edi, [esp + 0x530]
mov dword [esp + 0x52c], edx
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x52c]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, 0xced988
call fcn.00474ae0
mov edx, eax
lea edi, [esp + 0x64]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
lea esi, [eax + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xcc]
xor edi, edi
test eax, eax
jle 0x515331
mov ebp, dword [esp + 0xc8]
xor esi, esi
test ebp, ebp
jle 0x515325
lea edx, [esp + 0xdd8]
mov ecx, 0xcecc68
push edx
call fcn.00521200
xor ecx, ecx
mov cx, word [eax + 8]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0xd84]
shr eax, 0x1f
add edx, eax
push ecx
add edx, edi
mov ecx, 0xcecc68
lea ebx, [edx + edx*4]
call fcn.00521200
xor edx, edx
mov ecx, 0xa
mov dx, word [eax + 8]
mov eax, edx
cdq
idiv ecx
mov eax, esi
add eax, edx
lea eax, [eax + ebx*2]
mov ecx, eax
shl ecx, 4
add ecx, eax
inc esi
cmp esi, ebp
mov dword [ecx*8 + 0xceda80], 1
jl 0x5152b7
mov eax, dword [esp + 0xcc]
inc edi
cmp edi, eax
jl 0x5152b1
mov edx, dword [0xced0f8]
mov ecx, 0xcecc68
push edx
call fcn.00521180
mov dword [0xcecdbc], 0
mov eax, dword [0xced09c]
xor esi, esi
cmp eax, esi
mov dword [0xced06c], esi
je 0x515380
mov eax, dword [0xced0f0]
mov dword [0xced09c], esi
cmp eax, esi
je 0x515380
push esi
push esi
push 0xced0f4
push 0xced0f0
call fcn.005a6840
add esp, 0x10
push 1
call fcn.004fe110
add esp, 4
mov ecx, 0x69f710
mov dword [0xce9878], esi
call fcn.004293a0
mov dword [0xced100], esi
mov dword [0xced0f8], esi
mov dword [0xced108], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x101c
ret