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

Disassembly:
sub esp, 0x110
mov ecx, dword [esp + 0x114]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
lea eax, [esp + 0xf4]
push edi
push eax
push esi
push ecx
call fcn.004db480
mov edi, dword [esi]
add esp, 0xc
xor esi, esi
lea eax, [edi + 1]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
dec eax
mov ebp, eax
mov eax, edi
cdq
sub eax, edx
mov dword [esp + 0x10], ebp
sar eax, 1
test eax, eax
jle 0x4dc27b
mov ecx, dword [esp + 0x128]
lea edx, [esp + 0x78]
add ecx, 6
mov esi, eax
xor ebp, ebp
xor ebx, ebx
mov bp, word [ecx]
mov bx, word [ecx - 2]
shl ebp, 0x10
or ebx, ebp
add ecx, 4
mov dword [edx], ebx
add edx, 4
dec eax
jne 0x4dc25c
mov ebp, dword [esp + 0x10]
mov eax, edi
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
je 0x4dc29e
mov eax, dword [esp + 0x128]
xor edx, edx
mov dx, word [eax + esi*4 + 4]
mov dword [esp + esi*4 + 0x78], edx
inc esi
mov ebx, dword [esp + 0x28]
cmp esi, ebx
jge 0x4dc2b2
mov ecx, ebx
lea edi, [esp + esi*4 + 0x78]
sub ecx, esi
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xf8]
xor esi, esi
mov eax, edi
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x4dc2ed
lea ecx, [esp + esi*4 + 0xfe]
xor edx, edx
xor ebx, ebx
mov dx, word [ecx]
mov bx, word [ecx - 2]
shl edx, 0x10
or edx, ebx
mov dword [esp + esi*4 + 0x98], edx
inc esi
cmp esi, eax
jl 0x4dc2c6
mov ebx, dword [esp + 0x28]
mov eax, edi
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
je 0x4dc30f
xor eax, eax
mov ax, word [esp + esi*4 + 0xfc]
mov dword [esp + esi*4 + 0x98], eax
inc esi
cmp esi, ebx
jge 0x4dc322
mov ecx, ebx
lea edi, [esp + esi*4 + 0x98]
sub ecx, esi
xor eax, eax
rep stosd dword es:[edi], eax
test ebx, ebx
jle 0x4dc330
mov ecx, ebx
xor eax, eax
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
cmp ebx, 1
mov dword [esp + 0x38], 1
jle 0x4dc348
lea ecx, [ebx - 1]
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
cmp ebx, 5
jne 0x4dcae1
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dc374
mov eax, dword [esp + edx*4 + 0x98]
mov ecx, dword [esp + edx*4 + 0x78]
cmp eax, ecx
jb 0x4dc374
jbe 0x4dc36f
mov esi, 1
dec edx
test esi, esi
je 0x4dc355
test esi, esi
jne 0x4dc55f
lea esi, [esp + 0xd8]
lea ebx, [esp + 0x98]
neg esi
mov dword [esp + 0x30], esi
lea esi, [esp + 0x38]
neg esi
mov dword [esp + 0x2c], esi
lea esi, [esp + 0xb8]
neg ebx
neg esi
lea edi, [esp + 0x98]
lea eax, [esp + 0x38]
lea edx, [esp + 0xd8]
lea ecx, [esp + 0xb8]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], esi
test ebp, ebp
jle 0x4dc40a
mov ebx, dword [esp + 0x10]
lea esi, [edx + ebp*4]
mov ebp, edi
mov dword [esp + 0x24], ebx
sub ebp, edx
mov dword [esp + 0x18], ebp
jmp 0x4dc3e3
mov ebp, dword [esp + 0x18]
mov ebx, dword [ebp + esi]
sub esi, 4
add ebx, ebx
mov dword [esi + 4], ebx
mov ebp, dword [ebp + esi]
shr ebp, 0x1f
or ebp, ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 4], ebp
dec ebx
mov dword [esp + 0x24], ebx
jne 0x4dc3df
mov ebx, dword [esp + 0x34]
mov esi, dword [edi]
shl esi, 1
mov dword [edx], esi
mov esi, dword [eax + 0x10]
add esi, esi
mov dword [ecx + 0x10], esi
mov ebp, dword [eax + 0xc]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 0x10], ebp
mov esi, dword [eax + 0xc]
add esi, esi
mov dword [ecx + 0xc], esi
mov ebp, dword [eax + 8]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 0xc], ebp
mov esi, dword [eax + 8]
add esi, esi
mov dword [ecx + 8], esi
mov ebp, dword [eax + 4]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 8], ebp
mov esi, dword [eax + 4]
add esi, esi
mov dword [ecx + 4], esi
mov ebp, dword [eax]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 4], ebp
mov esi, dword [eax]
shl esi, 1
mov dword [ecx], esi
mov esi, edi
mov ebp, ebx
mov ebx, dword [esp + 0x30]
mov edi, edx
mov edx, esi
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x2c]
mov esi, eax
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov ecx, esi
mov dword [esp + 0x34], ebx
lea esi, [ebp*4]
cmp dword [esi + edx], 0
jl 0x4dc502
add esi, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], esi
mov ebp, dword [esp + 0x20]
test ebp, ebp
jl 0x4dc4f2
mov ebp, dword [esi]
mov dword [esp + 0x18], ebp
lea ebp, [esp + ebx + 0x78]
mov esi, dword [ebp + esi]
mov ebp, dword [esp + 0x18]
cmp ebp, esi
jb 0x4dc4f2
jbe 0x4dc4d6
mov dword [esp + 0x1c], 1
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
dec esi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x24]
sub esi, 4
test ebp, ebp
mov dword [esp + 0x24], esi
je 0x4dc4ae
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x4dc3c6
lea eax, [esp + 0xd8]
cmp edx, eax
jne 0x4dc55b
test ebp, ebp
jl 0x4dc524
lea ecx, [ebp + 1]
lea esi, [esp + 0xd8]
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov ebp, dword [esp + 0x10]
mov edx, 1
xor esi, esi
mov eax, dword [esp + esi + 0x38]
mov edi, dword [esp + esi + 0x58]
add edi, eax
mov ecx, edi
mov dword [esp + esi + 0x58], edi
cmp ecx, eax
jae 0x4dc595
cmp edx, 5
mov eax, edx
jge 0x4dc595
lea ecx, [esp + esi + 0x5c]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
jne 0x4dc595
inc eax
add ecx, 4
cmp eax, 5
jl 0x4dc585
add esi, 4
inc edx
lea eax, [edx - 1]
cmp eax, 5
jl 0x4dc566
test ebp, ebp
jl 0x4dc61b
xor ecx, ecx
mov edi, 1
lea ebx, [esp + 0x78]
mov dword [esp + 0x14], ecx
mov eax, dword [ebx]
mov edx, dword [esp + ecx + 0x98]
mov esi, eax
sub esi, edx
cmp esi, eax
jbe 0x4dc5ee
cmp edi, ebp
mov edx, edi
jg 0x4dc5ea
lea eax, [esp + ecx + 0x7c]
mov ecx, dword [eax]
test ecx, ecx
lea ebp, [ecx - 1]
mov dword [eax], ebp
jne 0x4dc5e6
mov ecx, dword [esp + 0x10]
inc edx
add eax, 4
cmp edx, ecx
jle 0x4dc5cf
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc edi
mov dword [ebx], esi
add ecx, 4
add ebx, 4
lea edx, [edi - 1]
mov dword [esp + 0x14], ecx
cmp edx, ebp
jle 0x4dc5b4
test ebp, ebp
jne 0x4dc61b
mov eax, dword [esp + 0x78]
cmp eax, 1
je 0x4dd9f7
test eax, eax
je 0x4dd2d8
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dc63e
mov eax, dword [esp + edx*4 + 0x98]
mov ecx, dword [esp + edx*4 + 0x78]
cmp eax, ecx
jb 0x4dc63e
jbe 0x4dc639
mov esi, 1
dec edx
test esi, esi
je 0x4dc61f
test esi, esi
je 0x4dc55f
mov edi, dword [esp + 0x3c]
test byte [esp + 0x98], 1
jne 0x4dc720
mov ebx, dword [esp + 0x38]
test bl, 1
jne 0x4dc720
test ebp, ebp
jle 0x4dc68b
lea eax, [esp + 0x98]
mov edx, ebp
mov esi, dword [eax]
add eax, 4
shr esi, 1
mov dword [eax - 4], esi
mov ecx, esi
mov esi, dword [eax]
shl esi, 0x1f
or esi, ecx
dec edx
mov dword [eax - 4], esi
jne 0x4dc672
mov eax, dword [esp + ebp*4 + 0x98]
shr eax, 1
mov dword [esp + ebp*4 + 0x98], eax
mov eax, edi
shr ebx, 1
shl eax, 0x1f
or ebx, eax
mov eax, dword [esp + 0x40]
mov ecx, eax
mov edx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
shr edi, 1
shl ecx, 0x1f
or edi, ecx
mov ecx, eax
shr edx, 1
shl ecx, 0x1f
or edx, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edx
mov edx, eax
mov eax, dword [esp + 0x48]
mov ecx, eax
shr edx, 1
shl ecx, 0x1f
or edx, ecx
mov ecx, ebp
shr eax, 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
xor esi, esi
test ecx, ecx
jl 0x4dc70f
mov eax, dword [esp + ecx*4 + 0x98]
mov edx, dword [esp + ecx*4 + 0x78]
cmp eax, edx
jb 0x4dc70f
jbe 0x4dc705
mov esi, 1
jmp 0x4dc70a
test eax, eax
jne 0x4dc70a
dec ebp
dec ecx
test esi, esi
je 0x4dc6e9
test esi, esi
mov dword [esp + 0x10], ebp
jne 0x4dc64a
jmp 0x4dc55f
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dc743
mov eax, dword [esp + edx*4 + 0x78]
mov ecx, dword [esp + edx*4 + 0x98]
cmp eax, ecx
jb 0x4dc743
jbe 0x4dc73e
mov esi, 1
dec edx
test esi, esi
je 0x4dc724
test esi, esi
jne 0x4dc926
lea esi, [esp + 0xd8]
lea ebx, [esp + 0x78]
neg esi
mov dword [esp + 0x30], esi
lea esi, [esp + 0x58]
neg esi
mov dword [esp + 0x34], esi
lea esi, [esp + 0xb8]
neg ebx
neg esi
lea edi, [esp + 0x78]
lea eax, [esp + 0x58]
lea edx, [esp + 0xd8]
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], esi
test ebp, ebp
jle 0x4dc7d1
mov ebx, dword [esp + 0x10]
lea esi, [edx + ebp*4]
mov ebp, edi
mov dword [esp + 0x14], ebx
sub ebp, edx
mov dword [esp + 0x18], ebp
jmp 0x4dc7ac
mov ebp, dword [esp + 0x18]
mov ebx, dword [esi + ebp]
sub esi, 4
add ebx, ebx
mov dword [esi + 4], ebx
mov ebp, dword [esi + ebp]
shr ebp, 0x1f
or ebp, ebx
mov ebx, dword [esp + 0x14]
mov dword [esi + 4], ebp
dec ebx
mov dword [esp + 0x14], ebx
jne 0x4dc7a8
mov ebx, dword [esp + 0x2c]
mov esi, dword [edi]
shl esi, 1
mov dword [edx], esi
mov esi, dword [eax + 0x10]
add esi, esi
mov dword [ecx + 0x10], esi
mov ebp, dword [eax + 0xc]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 0x10], ebp
mov esi, dword [eax + 0xc]
add esi, esi
mov dword [ecx + 0xc], esi
mov ebp, dword [eax + 8]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 0xc], ebp
mov esi, dword [eax + 8]
add esi, esi
mov dword [ecx + 8], esi
mov ebp, dword [eax + 4]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 8], ebp
mov esi, dword [eax + 4]
add esi, esi
mov dword [ecx + 4], esi
mov ebp, dword [eax]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 4], ebp
mov esi, dword [eax]
shl esi, 1
mov dword [ecx], esi
mov esi, edi
mov ebp, ebx
mov ebx, dword [esp + 0x30]
mov edi, edx
mov edx, esi
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x34]
mov esi, eax
mov eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x2c], ebx
lea esi, [ebp*4]
cmp dword [esi + edx], 0
jl 0x4dc8cc
add esi, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x20]
test ebp, ebp
jl 0x4dc8bc
mov ebp, dword [esi]
mov dword [esp + 0x18], ebp
lea ebp, [esp + ebx + 0x98]
mov esi, dword [ebp + esi]
mov ebp, dword [esp + 0x18]
cmp ebp, esi
jb 0x4dc8bc
jbe 0x4dc8a0
mov dword [esp + 0x1c], 1
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
dec esi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x14]
sub esi, 4
test ebp, ebp
mov dword [esp + 0x14], esi
je 0x4dc875
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x4dc78f
lea eax, [esp + 0xd8]
cmp edx, eax
jne 0x4dc922
test ebp, ebp
jl 0x4dc8eb
lea ecx, [ebp + 1]
lea esi, [esp + 0xd8]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov ebp, dword [esp + 0x10]
mov edx, 1
xor esi, esi
mov eax, dword [esp + esi + 0x58]
mov edi, dword [esp + esi + 0x38]
add edi, eax
mov ecx, edi
mov dword [esp + esi + 0x38], edi
cmp ecx, eax
jae 0x4dc95c
cmp edx, 5
mov eax, edx
jge 0x4dc95c
lea ecx, [esp + esi + 0x3c]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
jne 0x4dc95c
inc eax
add ecx, 4
cmp eax, 5
jl 0x4dc94c
add esi, 4
inc edx
lea eax, [edx - 1]
cmp eax, 5
jl 0x4dc92d
test ebp, ebp
jl 0x4dc9e8
xor ecx, ecx
mov edi, 1
lea ebx, [esp + 0x98]
mov dword [esp + 0x14], ecx
mov eax, dword [ebx]
mov edx, dword [esp + ecx + 0x78]
mov esi, eax
sub esi, edx
cmp esi, eax
jbe 0x4dc9b4
cmp edi, ebp
mov edx, edi
jg 0x4dc9b4
lea eax, [esp + ecx + 0x9c]
mov ecx, dword [eax]
test ecx, ecx
lea ebp, [ecx - 1]
mov dword [eax], ebp
jne 0x4dc9b0
mov ecx, dword [esp + 0x10]
inc edx
add eax, 4
cmp edx, ecx
jle 0x4dc999
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc edi
mov dword [ebx], esi
add ecx, 4
lea edx, [edi - 1]
add ebx, 4
cmp edx, ebp
mov dword [esp + 0x14], ecx
jle 0x4dc97e
test ebp, ebp
jne 0x4dc9e8
mov eax, dword [esp + 0x98]
cmp eax, 1
je 0x4ddad1
test eax, eax
je 0x4ddb3b
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dca0b
mov eax, dword [esp + edx*4 + 0x78]
mov ecx, dword [esp + edx*4 + 0x98]
cmp eax, ecx
jb 0x4dca0b
jbe 0x4dca06
mov esi, 1
dec edx
test esi, esi
je 0x4dc9ec
test esi, esi
je 0x4dc926
mov edi, dword [esp + 0x5c]
test byte [esp + 0x78], 1
jne 0x4dc351
mov ebx, dword [esp + 0x58]
test bl, 1
jne 0x4dc351
test ebp, ebp
jle 0x4dca52
lea eax, [esp + 0x78]
mov edx, ebp
mov esi, dword [eax]
add eax, 4
shr esi, 1
mov dword [eax - 4], esi
mov ecx, esi
mov esi, dword [eax]
shl esi, 0x1f
or esi, ecx
dec edx
mov dword [eax - 4], esi
jne 0x4dca39
mov eax, dword [esp + ebp*4 + 0x78]
shr eax, 1
mov dword [esp + ebp*4 + 0x78], eax
mov eax, edi
shr ebx, 1
shl eax, 0x1f
or ebx, eax
mov eax, dword [esp + 0x60]
mov ecx, eax
mov edx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x58], ebx
shr edi, 1
shl ecx, 0x1f
or edi, ecx
mov ecx, eax
shr edx, 1
shl ecx, 0x1f
or edx, ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
mov edx, eax
mov eax, dword [esp + 0x68]
mov ecx, eax
shr edx, 1
shl ecx, 0x1f
or edx, ecx
mov ecx, ebp
shr eax, 1
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
xor esi, esi
test ecx, ecx
jl 0x4dcad0
mov eax, dword [esp + ecx*4 + 0x78]
mov edx, dword [esp + ecx*4 + 0x98]
cmp eax, edx
jb 0x4dcad0
jbe 0x4dcac6
mov esi, 1
jmp 0x4dcacb
test eax, eax
jne 0x4dcacb
dec ebp
dec ecx
test esi, esi
je 0x4dcaaa
test esi, esi
mov dword [esp + 0x10], ebp
jne 0x4dca17
jmp 0x4dc926
cmp ebx, 6
jne 0x4dd2f2
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dcb0d
mov eax, dword [esp + edx*4 + 0x98]
mov ecx, dword [esp + edx*4 + 0x78]
cmp eax, ecx
jb 0x4dcb0d
jbe 0x4dcb08
mov esi, 1
dec edx
test esi, esi
je 0x4dcaee
test esi, esi
jne 0x4dcd13
lea esi, [esp + 0xd8]
lea ebx, [esp + 0x98]
neg esi
mov dword [esp + 0x30], esi
lea esi, [esp + 0x38]
neg esi
mov dword [esp + 0x34], esi
lea esi, [esp + 0xb8]
neg ebx
neg esi
lea edi, [esp + 0x98]
lea eax, [esp + 0x38]
lea edx, [esp + 0xd8]
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], esi
test ebp, ebp
jle 0x4dcba1
mov ebx, dword [esp + 0x10]
lea esi, [edx + ebp*4]
mov ebp, edi
mov dword [esp + 0x14], ebx
sub ebp, edx
mov dword [esp + 0x18], ebp
jmp 0x4dcb7c
mov ebp, dword [esp + 0x18]
mov ebx, dword [esi + ebp]
sub esi, 4
add ebx, ebx
mov dword [esi + 4], ebx
mov ebp, dword [esi + ebp]
shr ebp, 0x1f
or ebp, ebx
mov ebx, dword [esp + 0x14]
mov dword [esi + 4], ebp
dec ebx
mov dword [esp + 0x14], ebx
jne 0x4dcb78
mov ebx, dword [esp + 0x2c]
mov esi, dword [edi]
shl esi, 1
mov dword [edx], esi
mov esi, dword [eax + 0x14]
add esi, esi
mov dword [ecx + 0x14], esi
mov ebp, dword [eax + 0x10]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 0x14], ebp
mov esi, dword [eax + 0x10]
add esi, esi
mov dword [ecx + 0x10], esi
mov ebp, dword [eax + 0xc]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 0x10], ebp
mov esi, dword [eax + 0xc]
add esi, esi
mov dword [ecx + 0xc], esi
mov ebp, dword [eax + 8]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 0xc], ebp
mov esi, dword [eax + 8]
add esi, esi
mov dword [ecx + 8], esi
mov ebp, dword [eax + 4]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 8], ebp
mov esi, dword [eax + 4]
add esi, esi
mov dword [ecx + 4], esi
mov ebp, dword [eax]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 4], ebp
mov esi, dword [eax]
shl esi, 1
mov dword [ecx], esi
mov esi, edi
mov ebp, ebx
mov ebx, dword [esp + 0x30]
mov edi, edx
mov edx, esi
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x34]
mov esi, eax
mov eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x2c], ebx
lea esi, [ebp*4]
cmp dword [esi + edx], 0
jl 0x4dccab
add esi, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x20]
test ebp, ebp
jl 0x4dcc9b
mov ebp, dword [esi]
mov dword [esp + 0x18], ebp
lea ebp, [esp + ebx + 0x78]
mov esi, dword [esi + ebp]
mov ebp, dword [esp + 0x18]
cmp ebp, esi
jb 0x4dcc9b
jbe 0x4dcc7f
mov dword [esp + 0x1c], 1
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
dec esi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x14]
sub esi, 4
test ebp, ebp
mov dword [esp + 0x14], esi
je 0x4dcc58
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x4dcb5f
lea eax, [esp + 0xd8]
cmp edx, eax
jne 0x4dcd0f
test ebp, ebp
jl 0x4dcccd
lea ecx, [ebp + 1]
lea esi, [esp + 0xd8]
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov ebp, dword [esp + 0x10]
mov edx, 1
xor esi, esi
mov eax, dword [esp + esi + 0x38]
mov edi, dword [esp + esi + 0x58]
add edi, eax
mov ecx, edi
mov dword [esp + esi + 0x58], edi
cmp ecx, eax
jae 0x4dcd49
cmp edx, 6
mov eax, edx
jge 0x4dcd49
lea ecx, [esp + esi + 0x5c]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
jne 0x4dcd49
inc eax
add ecx, 4
cmp eax, 6
jl 0x4dcd39
add esi, 4
inc edx
lea ecx, [edx - 1]
cmp ecx, 6
jl 0x4dcd1a
test ebp, ebp
jl 0x4dcdcf
xor ecx, ecx
mov edi, 1
lea ebx, [esp + 0x78]
mov dword [esp + 0x14], ecx
mov eax, dword [ebx]
mov edx, dword [esp + ecx + 0x98]
mov esi, eax
sub esi, edx
cmp esi, eax
jbe 0x4dcda2
cmp edi, ebp
mov edx, edi
jg 0x4dcd9e
lea eax, [esp + ecx + 0x7c]
mov ecx, dword [eax]
test ecx, ecx
lea ebp, [ecx - 1]
mov dword [eax], ebp
jne 0x4dcd9a
mov ecx, dword [esp + 0x10]
inc edx
add eax, 4
cmp edx, ecx
jle 0x4dcd83
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc edi
mov dword [ebx], esi
add ecx, 4
add ebx, 4
lea edx, [edi - 1]
mov dword [esp + 0x14], ecx
cmp edx, ebp
jle 0x4dcd68
test ebp, ebp
jne 0x4dcdcf
mov eax, dword [esp + 0x78]
cmp eax, 1
je 0x4dd9f7
test eax, eax
je 0x4dd2d8
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dcdf2
mov eax, dword [esp + edx*4 + 0x98]
mov ecx, dword [esp + edx*4 + 0x78]
cmp eax, ecx
jb 0x4dcdf2
jbe 0x4dcded
mov esi, 1
dec edx
test esi, esi
je 0x4dcdd3
test esi, esi
je 0x4dcd13
mov edi, dword [esp + 0x3c]
test byte [esp + 0x98], 1
jne 0x4dcee7
mov ebx, dword [esp + 0x38]
test bl, 1
jne 0x4dcee7
test ebp, ebp
jle 0x4dce3f
lea eax, [esp + 0x98]
mov edx, ebp
mov esi, dword [eax]
add eax, 4
shr esi, 1
mov dword [eax - 4], esi
mov ecx, esi
mov esi, dword [eax]
shl esi, 0x1f
or esi, ecx
dec edx
mov dword [eax - 4], esi
jne 0x4dce26
mov eax, dword [esp + ebp*4 + 0x98]
shr eax, 1
mov dword [esp + ebp*4 + 0x98], eax
mov eax, edi
shr ebx, 1
shl eax, 0x1f
or ebx, eax
mov eax, dword [esp + 0x40]
mov ecx, eax
mov edx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
shr edi, 1
shl ecx, 0x1f
or edi, ecx
mov ecx, eax
shr edx, 1
shl ecx, 0x1f
or edx, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edx
mov edx, eax
mov eax, dword [esp + 0x48]
mov ecx, eax
shr edx, 1
shl ecx, 0x1f
or edx, ecx
mov dword [esp + 0x44], edx
mov edx, eax
mov eax, dword [esp + 0x4c]
mov ecx, eax
shr edx, 1
shl ecx, 0x1f
or edx, ecx
mov ecx, ebp
shr eax, 1
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
xor esi, esi
test ecx, ecx
jl 0x4dced6
mov eax, dword [esp + ecx*4 + 0x98]
mov edx, dword [esp + ecx*4 + 0x78]
cmp eax, edx
jb 0x4dced6
jbe 0x4dcecc
mov esi, 1
jmp 0x4dced1
test eax, eax
jne 0x4dced1
dec ebp
dec ecx
test esi, esi
je 0x4dceb0
test esi, esi
mov dword [esp + 0x10], ebp
jne 0x4dcdfe
jmp 0x4dcd13
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dcf0a
mov eax, dword [esp + edx*4 + 0x78]
mov ecx, dword [esp + edx*4 + 0x98]
cmp eax, ecx
jb 0x4dcf0a
jbe 0x4dcf05
mov esi, 1
dec edx
test esi, esi
je 0x4dceeb
test esi, esi
jne 0x4dd10a
lea esi, [esp + 0xd8]
lea ebx, [esp + 0x78]
neg esi
mov dword [esp + 0x30], esi
lea esi, [esp + 0x58]
neg esi
mov dword [esp + 0x34], esi
lea esi, [esp + 0xb8]
neg ebx
neg esi
lea edi, [esp + 0x78]
lea eax, [esp + 0x58]
lea edx, [esp + 0xd8]
lea ecx, [esp + 0xb8]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], esi
test ebp, ebp
jle 0x4dcf98
mov ebx, dword [esp + 0x10]
lea esi, [edx + ebp*4]
mov ebp, edi
mov dword [esp + 0x14], ebx
sub ebp, edx
mov dword [esp + 0x18], ebp
jmp 0x4dcf73
mov ebp, dword [esp + 0x18]
mov ebx, dword [esi + ebp]
sub esi, 4
add ebx, ebx
mov dword [esi + 4], ebx
mov ebp, dword [esi + ebp]
shr ebp, 0x1f
or ebp, ebx
mov ebx, dword [esp + 0x14]
mov dword [esi + 4], ebp
dec ebx
mov dword [esp + 0x14], ebx
jne 0x4dcf6f
mov ebx, dword [esp + 0x2c]
mov esi, dword [edi]
shl esi, 1
mov dword [edx], esi
mov esi, dword [eax + 0x14]
add esi, esi
mov dword [ecx + 0x14], esi
mov ebp, dword [eax + 0x10]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 0x14], ebp
mov esi, dword [eax + 0x10]
add esi, esi
mov dword [ecx + 0x10], esi
mov ebp, dword [eax + 0xc]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 0x10], ebp
mov esi, dword [eax + 0xc]
add esi, esi
mov dword [ecx + 0xc], esi
mov ebp, dword [eax + 8]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 0xc], ebp
mov esi, dword [eax + 8]
add esi, esi
mov dword [ecx + 8], esi
mov ebp, dword [eax + 4]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 8], ebp
mov esi, dword [eax + 4]
add esi, esi
mov dword [ecx + 4], esi
mov ebp, dword [eax]
shr ebp, 0x1f
or ebp, esi
mov dword [ecx + 4], ebp
mov esi, dword [eax]
shl esi, 1
mov dword [ecx], esi
mov esi, edi
mov ebp, ebx
mov ebx, dword [esp + 0x30]
mov edi, edx
mov edx, esi
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x34]
mov esi, eax
mov eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x2c], ebx
lea esi, [ebp*4]
cmp dword [esi + edx], 0
jl 0x4dd0a5
add esi, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x20]
test ebp, ebp
jl 0x4dd095
mov ebp, dword [esi]
mov dword [esp + 0x18], ebp
lea ebp, [esp + ebx + 0x98]
mov esi, dword [esi + ebp]
mov ebp, dword [esp + 0x18]
cmp ebp, esi
jb 0x4dd095
jbe 0x4dd079
mov dword [esp + 0x1c], 1
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
dec esi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x14]
sub esi, 4
test ebp, ebp
mov dword [esp + 0x14], esi
je 0x4dd04f
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x4dcf56
lea eax, [esp + 0xd8]
cmp edx, eax
jne 0x4dd106
test ebp, ebp
jl 0x4dd0c4
lea ecx, [ebp + 1]
lea esi, [esp + 0xd8]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov ebp, dword [esp + 0x10]
mov edx, 1
xor esi, esi
mov eax, dword [esp + esi + 0x58]
mov edi, dword [esp + esi + 0x38]
add edi, eax
mov ecx, edi
mov dword [esp + esi + 0x38], edi
cmp ecx, eax
jae 0x4dd140
cmp edx, 6
mov eax, edx
jge 0x4dd140
lea ecx, [esp + esi + 0x3c]
mov edi, dword [ecx]
inc edi
mov dword [ecx], edi
jne 0x4dd140
inc eax
add ecx, 4
cmp eax, 6
jl 0x4dd130
add esi, 4
inc edx
lea ecx, [edx - 1]
cmp ecx, 6
jl 0x4dd111
test ebp, ebp
jl 0x4dd1cc
xor ecx, ecx
mov edi, 1
lea ebx, [esp + 0x98]
mov dword [esp + 0x14], ecx
mov eax, dword [ebx]
mov edx, dword [esp + ecx + 0x78]
mov esi, eax
sub esi, edx
cmp esi, eax
jbe 0x4dd198
cmp edi, ebp
mov edx, edi
jg 0x4dd198
lea eax, [esp + ecx + 0x9c]
mov ecx, dword [eax]
test ecx, ecx
lea ebp, [ecx - 1]
mov dword [eax], ebp
jne 0x4dd194
mov ecx, dword [esp + 0x10]
inc edx
add eax, 4
cmp edx, ecx
jle 0x4dd17d
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc edi
mov dword [ebx], esi
add ecx, 4
lea edx, [edi - 1]
add ebx, 4
cmp edx, ebp
mov dword [esp + 0x14], ecx
jle 0x4dd162
test ebp, ebp
jne 0x4dd1cc
mov eax, dword [esp + 0x98]
cmp eax, 1
je 0x4ddad1
test eax, eax
je 0x4ddb3b
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dd1ef
mov eax, dword [esp + edx*4 + 0x78]
mov ecx, dword [esp + edx*4 + 0x98]
cmp eax, ecx
jb 0x4dd1ef
jbe 0x4dd1ea
mov esi, 1
dec edx
test esi, esi
je 0x4dd1d0
test esi, esi
je 0x4dd10a
mov edi, dword [esp + 0x5c]
test byte [esp + 0x78], 1
jne 0x4dcaea
mov ebx, dword [esp + 0x58]
test bl, 1
jne 0x4dcaea
test ebp, ebp
jle 0x4dd236
lea eax, [esp + 0x78]
mov edx, ebp
mov esi, dword [eax]
add eax, 4
shr esi, 1
mov dword [eax - 4], esi
mov ecx, esi
mov esi, dword [eax]
shl esi, 0x1f
or esi, ecx
dec edx
mov dword [eax - 4], esi
jne 0x4dd21d
mov eax, dword [esp + ebp*4 + 0x78]
shr eax, 1
mov dword [esp + ebp*4 + 0x78], eax
mov eax, edi
shr ebx, 1
shl eax, 0x1f
or ebx, eax
mov eax, dword [esp + 0x60]
mov ecx, eax
mov edx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x58], ebx
shr edi, 1
shl ecx, 0x1f
or edi, ecx
mov ecx, eax
shr edx, 1
shl ecx, 0x1f
or edx, ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
mov edx, eax
mov eax, dword [esp + 0x68]
mov ecx, eax
shr edx, 1
shl ecx, 0x1f
or edx, ecx
mov dword [esp + 0x64], edx
mov edx, eax
mov eax, dword [esp + 0x6c]
mov ecx, eax
shr edx, 1
shl ecx, 0x1f
or edx, ecx
mov ecx, ebp
shr eax, 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
xor esi, esi
test ecx, ecx
jl 0x4dd2c7
mov eax, dword [esp + ecx*4 + 0x78]
mov edx, dword [esp + ecx*4 + 0x98]
cmp eax, edx
jb 0x4dd2c7
jbe 0x4dd2bd
mov esi, 1
jmp 0x4dd2c2
test eax, eax
jne 0x4dd2c2
dec ebp
dec ecx
test esi, esi
je 0x4dd2a1
test esi, esi
mov dword [esp + 0x10], ebp
jne 0x4dd1fb
jmp 0x4dd10a
mov edx, dword [esp + 0x130]
xor eax, eax
mov dword [edx], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dd315
mov eax, dword [esp + edx*4 + 0x98]
mov ecx, dword [esp + edx*4 + 0x78]
cmp eax, ecx
jb 0x4dd315
jbe 0x4dd310
mov esi, 1
dec edx
test esi, esi
je 0x4dd2f6
test esi, esi
jne 0x4dd4b8
lea eax, [esp + 0xd8]
lea edx, [esp + 0x98]
neg eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x38]
neg eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0xb8]
neg edx
lea ecx, [esp + 0x38]
lea ebx, [esp + 0x98]
neg eax
mov dword [esp + 0x18], ecx
lea esi, [esp + 0xd8]
lea edi, [esp + 0xb8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], eax
test ebp, ebp
jle 0x4dd3a3
mov edx, ebx
lea eax, [esi + ebp*4]
sub edx, esi
mov dword [esp + 0x14], ebp
mov ecx, dword [eax + edx]
sub eax, 4
add ecx, ecx
mov dword [eax + 4], ecx
mov ebp, dword [eax + edx]
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ebp
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4dd37a
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x28]
shl eax, 1
dec ecx
mov dword [esi], eax
test ecx, ecx
jle 0x4dd3e8
mov edx, dword [esp + 0x18]
lea eax, [edi + ecx*4]
sub edx, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + eax]
sub eax, 4
add ecx, ecx
mov dword [eax + 4], ecx
mov ebp, dword [edx + eax]
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ebp
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4dd3bf
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, ebx
shl ecx, 1
mov ebx, esi
mov dword [edi], ecx
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], edi
mov edi, eax
mov eax, dword [esi + ebp*4]
mov dword [esp + 0x24], edx
test eax, eax
mov dword [esp + 0x34], ecx
jl 0x4dd47f
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0
lea eax, [ebx + ebp*4]
jmp 0x4dd43c
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jl 0x4dd473
mov ecx, dword [eax]
lea ebp, [esp + edx + 0x78]
mov ebp, dword [eax + ebp]
cmp ecx, ebp
jb 0x4dd46f
jbe 0x4dd45b
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x20]
sub eax, 4
dec ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4dd438
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4dd36b
lea edx, [esp + 0xd8]
cmp esi, edx
jne 0x4dd4b8
test ebp, ebp
jl 0x4dd4a1
lea ecx, [ebp + 1]
lea esi, [esp + 0xd8]
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x4dd50b
mov ecx, eax
lea esi, [esp + 0xb8]
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x4dd50b
mov edx, 1
xor esi, esi
mov eax, dword [esp + esi + 0x38]
mov edi, dword [esp + esi + 0x58]
add edi, eax
mov ecx, edi
mov dword [esp + esi + 0x58], edi
cmp ecx, eax
jae 0x4dd4fc
mov ecx, dword [esp + 0x28]
mov eax, edx
cmp edx, ecx
jge 0x4dd4fc
mov edi, dword [esp + 0x28]
lea ecx, [esp + esi + 0x5c]
mov ebx, dword [ecx]
inc ebx
mov dword [ecx], ebx
jne 0x4dd4fc
inc eax
add ecx, 4
cmp eax, edi
jl 0x4dd4ed
mov ecx, dword [esp + 0x28]
add esi, 4
inc edx
lea eax, [edx - 1]
cmp eax, ecx
jl 0x4dd4c7
test ebp, ebp
jl 0x4dd57b
xor ecx, ecx
mov edi, 1
lea ebx, [esp + 0x78]
mov dword [esp + 0x14], ecx
mov eax, dword [ebx]
mov edx, dword [esp + ecx + 0x98]
mov esi, eax
sub esi, edx
cmp esi, eax
jbe 0x4dd554
cmp edi, ebp
mov edx, edi
jg 0x4dd554
lea eax, [esp + ecx + 0x7c]
mov ecx, dword [eax]
test ecx, ecx
lea ebp, [ecx - 1]
mov dword [eax], ebp
jne 0x4dd550
mov ecx, dword [esp + 0x10]
inc edx
add eax, 4
cmp edx, ecx
jle 0x4dd539
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc edi
mov dword [ebx], esi
add ecx, 4
lea edx, [edi - 1]
add ebx, 4
cmp edx, ebp
mov dword [esp + 0x14], ecx
jle 0x4dd51e
test ebp, ebp
jne 0x4dd57b
cmp dword [esp + 0x78], 1
je 0x4dd9f7
test ebp, ebp
mov eax, ebp
jl 0x4dd592
lea ecx, [esp + ebp*4 + 0x78]
cmp dword [ecx], 0
jne 0x4dd592
dec eax
sub ecx, 4
test eax, eax
jge 0x4dd585
test eax, eax
jl 0x4ddb3b
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dd5bd
mov eax, dword [esp + edx*4 + 0x98]
mov ecx, dword [esp + edx*4 + 0x78]
cmp eax, ecx
jb 0x4dd5bd
jbe 0x4dd5b8
mov esi, 1
dec edx
test esi, esi
je 0x4dd59e
test esi, esi
je 0x4dd4b8
mov edi, dword [esp + 0x28]
test byte [esp + 0x98], 1
jne 0x4dd67d
test byte [esp + 0x38], 1
jne 0x4dd67d
test ebp, ebp
jle 0x4dd606
lea eax, [esp + 0x98]
mov edx, ebp
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
mov dword [eax - 4], ecx
mov esi, dword [eax]
shl esi, 0x1f
or esi, ecx
dec edx
mov dword [eax - 4], esi
jne 0x4dd5ef
mov ecx, dword [esp + ebp*4 + 0x98]
shr ecx, 1
mov dword [esp + ebp*4 + 0x98], ecx
lea ecx, [edi - 1]
test ecx, ecx
jle 0x4dd638
lea eax, [esp + 0x38]
mov edx, dword [eax]
add eax, 4
shr edx, 1
mov dword [eax - 4], edx
mov esi, dword [eax]
shl esi, 0x1f
or esi, edx
dec ecx
mov dword [eax - 4], esi
jne 0x4dd621
mov eax, dword [esp + edi*4 + 0x34]
mov edx, ebp
shr eax, 1
mov dword [esp + edi*4 + 0x34], eax
xor esi, esi
test edx, edx
jl 0x4dd66c
mov eax, dword [esp + edx*4 + 0x98]
mov ecx, dword [esp + edx*4 + 0x78]
cmp eax, ecx
jb 0x4dd66c
jbe 0x4dd662
mov esi, 1
jmp 0x4dd667
test eax, eax
jne 0x4dd667
dec ebp
dec edx
test esi, esi
je 0x4dd646
test esi, esi
mov dword [esp + 0x10], ebp
jne 0x4dd5c9
jmp 0x4dd4b8
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dd6a0
mov eax, dword [esp + edx*4 + 0x78]
mov ecx, dword [esp + edx*4 + 0x98]
cmp eax, ecx
jb 0x4dd6a0
jbe 0x4dd69b
mov esi, 1
dec edx
test esi, esi
je 0x4dd681
test esi, esi
jne 0x4dd83f
lea eax, [esp + 0x58]
lea edx, [esp + 0x78]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xd8]
neg eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x58]
neg eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0xb8]
neg edx
neg eax
lea ebx, [esp + 0x78]
lea esi, [esp + 0xd8]
lea edi, [esp + 0xb8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], eax
test ebp, ebp
jle 0x4dd728
mov edx, ebx
lea eax, [esi + ebp*4]
sub edx, esi
mov dword [esp + 0x14], ebp
mov ecx, dword [eax + edx]
sub eax, 4
add ecx, ecx
mov dword [eax + 4], ecx
mov ebp, dword [eax + edx]
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ebp
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4dd6ff
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx]
mov eax, dword [esp + 0x28]
shl ecx, 1
mov dword [esi], ecx
lea ecx, [eax - 1]
test ecx, ecx
jle 0x4dd76f
mov edx, dword [esp + 0x18]
lea eax, [edi + ecx*4]
sub edx, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + edx]
sub eax, 4
add ecx, ecx
mov dword [eax + 4], ecx
mov ebp, dword [eax + edx]
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ebp
dec ecx
mov dword [esp + 0x14], ecx
jne 0x4dd746
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
shl eax, 1
mov ecx, dword [esp + 0x30]
mov dword [edi], eax
mov eax, ebx
mov ebx, esi
mov esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x30], edi
mov edi, eax
mov eax, dword [esi + ebp*4]
mov dword [esp + 0x24], edx
test eax, eax
mov dword [esp + 0x34], ecx
jl 0x4dd809
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0
lea eax, [ebx + ebp*4]
jmp 0x4dd7c3
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jl 0x4dd7fd
mov ecx, dword [eax]
lea ebp, [esp + edx + 0x98]
mov ebp, dword [eax + ebp]
cmp ecx, ebp
jb 0x4dd7f9
jbe 0x4dd7e5
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x20]
sub eax, 4
dec ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4dd7bf
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4dd6f0
lea ecx, [esp + 0xd8]
cmp esi, ecx
jne 0x4dd83f
test ebp, ebp
jl 0x4dd828
lea ecx, [ebp + 1]
lea esi, [esp + 0xd8]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x4dd83f
mov ecx, eax
lea esi, [esp + 0xb8]
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x28]
test edi, edi
jle 0x4dd886
mov edx, 1
xor esi, esi
mov eax, dword [esp + esi + 0x58]
mov ebx, dword [esp + esi + 0x38]
add ebx, eax
mov ecx, ebx
mov dword [esp + esi + 0x38], ebx
cmp ecx, eax
jae 0x4dd87b
cmp edx, edi
mov eax, edx
jge 0x4dd87b
lea ecx, [esp + esi + 0x3c]
mov ebx, dword [ecx]
inc ebx
mov dword [ecx], ebx
jne 0x4dd87b
inc eax
add ecx, 4
cmp eax, edi
jl 0x4dd86c
add esi, 4
inc edx
lea eax, [edx - 1]
cmp eax, edi
jl 0x4dd84e
test ebp, ebp
jl 0x4dd8fc
xor ecx, ecx
mov edi, 1
lea ebx, [esp + 0x98]
mov dword [esp + 0x14], ecx
mov eax, dword [ebx]
mov edx, dword [esp + ecx + 0x78]
mov esi, eax
sub esi, edx
cmp esi, eax
jbe 0x4dd8d2
cmp edi, ebp
mov edx, edi
jg 0x4dd8d2
lea eax, [esp + ecx + 0x9c]
mov ecx, dword [eax]
test ecx, ecx
lea ebp, [ecx - 1]
mov dword [eax], ebp
jne 0x4dd8ce
mov ecx, dword [esp + 0x10]
inc edx
add eax, 4
cmp edx, ecx
jle 0x4dd8b7
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc edi
mov dword [ebx], esi
add ecx, 4
lea edx, [edi - 1]
add ebx, 4
cmp edx, ebp
mov dword [esp + 0x14], ecx
jle 0x4dd89c
test ebp, ebp
jne 0x4dd8fc
cmp dword [esp + 0x98], 1
je 0x4ddad1
test ebp, ebp
mov eax, ebp
jl 0x4dd916
lea ecx, [esp + ebp*4 + 0x98]
cmp dword [ecx], 0
jne 0x4dd916
dec eax
sub ecx, 4
test eax, eax
jge 0x4dd909
test eax, eax
jl 0x4ddb3b
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dd941
mov eax, dword [esp + edx*4 + 0x78]
mov ecx, dword [esp + edx*4 + 0x98]
cmp eax, ecx
jb 0x4dd941
jbe 0x4dd93c
mov esi, 1
dec edx
test esi, esi
je 0x4dd922
test esi, esi
je 0x4dd83f
test byte [esp + 0x78], 1
jne 0x4dd2f2
test byte [esp + 0x58], 1
jne 0x4dd2f2
test ebp, ebp
jle 0x4dd980
lea eax, [esp + 0x78]
mov edx, ebp
mov ecx, dword [eax]
add eax, 4
shr ecx, 1
mov dword [eax - 4], ecx
mov esi, dword [eax]
shl esi, 0x1f
or esi, ecx
dec edx
mov dword [eax - 4], esi
jne 0x4dd969
mov ecx, dword [esp + ebp*4 + 0x78]
mov esi, dword [esp + 0x28]
shr ecx, 1
mov dword [esp + ebp*4 + 0x78], ecx
lea ecx, [esi - 1]
test ecx, ecx
jle 0x4dd9b0
lea eax, [esp + 0x58]
mov edx, dword [eax]
add eax, 4
shr edx, 1
mov dword [eax - 4], edx
mov edi, dword [eax]
shl edi, 0x1f
or edi, edx
dec ecx
mov dword [eax - 4], edi
jne 0x4dd999
mov ecx, dword [esp + esi*4 + 0x54]
lea eax, [esp + esi*4 + 0x54]
shr ecx, 1
mov dword [eax], ecx
mov edx, ebp
xor esi, esi
test edx, edx
jl 0x4dd9e6
mov eax, dword [esp + edx*4 + 0x78]
mov ecx, dword [esp + edx*4 + 0x98]
cmp eax, ecx
jb 0x4dd9e6
jbe 0x4dd9dc
mov esi, 1
jmp 0x4dd9e1
test eax, eax
jne 0x4dd9e1
dec ebp
dec edx
test esi, esi
je 0x4dd9c0
test esi, esi
mov dword [esp + 0x10], ebp
jne 0x4dd949
jmp 0x4dd83f
mov eax, dword [esp + 0x128]
xor esi, esi
mov edi, dword [eax]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x4dda38
mov ecx, dword [esp + 0x128]
lea edx, [esp + 0x38]
add ecx, 6
mov esi, eax
xor ebx, ebx
xor ebp, ebp
mov bx, word [ecx]
mov bp, word [ecx - 2]
shl ebx, 0x10
or ebx, ebp
add ecx, 4
mov dword [edx], ebx
add edx, 4
dec eax
jne 0x4dda1d
mov eax, edi
mov ebx, dword [esp + 0x28]
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
je 0x4dda5f
mov eax, dword [esp + 0x128]
xor edx, edx
mov dx, word [eax + esi*4 + 4]
mov dword [esp + esi*4 + 0x38], edx
inc esi
cmp esi, ebx
jge 0x4dda6f
mov ecx, ebx
lea edi, [esp + esi*4 + 0x38]
sub ecx, esi
xor eax, eax
rep stosd dword es:[edi], eax
test ebx, ebx
jle 0x4ddad1
xor ecx, ecx
mov edi, 1
lea ebx, [esp + 0x38]
mov dword [esp + 0x14], ecx
mov eax, dword [ebx]
mov ebp, dword [esp + ecx + 0x58]
mov esi, eax
sub esi, ebp
cmp esi, eax
jbe 0x4ddab5
mov eax, dword [esp + 0x28]
mov edx, edi
cmp edi, eax
jge 0x4ddab5
lea eax, [esp + ecx + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
lea ebp, [ecx - 1]
mov dword [eax], ebp
jne 0x4ddab5
mov ecx, dword [esp + 0x28]
inc edx
add eax, 4
cmp edx, ecx
jl 0x4dda9e
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc edi
mov dword [ebx], esi
add ecx, 4
add ebx, 4
lea edx, [edi - 1]
mov dword [esp + 0x14], ecx
cmp edx, eax
jl 0x4dda82
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x12c]
test edx, edx
jle 0x4ddb00
lea eax, [esp + 0x38]
lea ecx, [esi + 6]
mov di, word [eax]
add eax, 4
mov word [ecx - 2], di
mov edi, dword [eax - 4]
shr edi, 0x10
mov word [ecx], di
add ecx, 4
dec edx
jne 0x4ddae7
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
dec eax
js 0x4ddb1e
lea ecx, [esi + eax*2 + 4]
cmp word [ecx], 0
jne 0x4ddb1e
dec eax
sub ecx, 2
test eax, eax
jge 0x4ddb10
mov edx, dword [esp + 0x130]
inc eax
mov dword [esi], eax
xor eax, eax
mov dword [edx], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x130]
pop edi
pop esi
pop ebp
mov dword [eax], 0
xor eax, eax
pop ebx
add esp, 0x110
ret