Function at 0x527b50
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x188
mov eax, dword [0x6f1550]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x198]
mov dword [esi + 0x7a3818], ecx
mov edx, dword [str.DVD2AVIProjectFile]
mov ecx, dword [0x634540]
mov dword [esp + 0x64], edx
mov edx, dword [0x634544]
mov dword [esp + 0x68], ecx
mov ecx, dword [0x634548]
mov dword [esp + 0x6c], edx
mov dx, word [0x63454c]
mov dword [esp + 0x70], ecx
mov cl, byte [0x63454e]
push 0x634538
mov ebx, 1
push eax
mov word [esp + 0x7c], dx
mov byte [esp + 0x7e], cl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], 0x100
call fcn.005c248b
add esp, 8
test eax, eax
mov dword [esi + 0x7a37f0], eax
jne 0x527bea
xor eax, eax
jmp 0x52896c
push eax
lea edx, [esp + 0x7c]
push 0x13
push edx
call fcn.005c8d66
add esp, 0xc
test eax, eax
je 0x527be3
lea ecx, [esp + 0x64]
lea eax, [esp + 0x78]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x527c26
test dl, dl
je 0x527c22
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x527c26
add eax, 2
add ecx, 2
test dl, dl
jne 0x527c06
xor eax, eax
jmp 0x527c2b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x527be3
lea eax, [esp + 0x3c]
push eax
push 0xf003f
push 0
push str.SoftwareVFPlugin
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x527c9e
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x50]
push eax
push 0
push str.DVD2AVI
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x8c]
push 0x5c
push edx
call fcn.005bf2b0
add eax, 1
push str.OpenDVD.dll
push eax
call fcn.005c18e6
mov eax, dword [esp + 0x4c]
add esp, 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x7a37ec], eax
je 0x527cc8
push str.BufferOp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x848], eax
mov dword [esp + 8], 0
push 0x104
call fcn.0059b05a
mov edx, dword [esp + 0xc]
mov dword [esi + edx*4 + 0xc4c], eax
mov eax, dword [esp + 0xc]
add eax, ebx
add esp, 4
cmp eax, 0x100
mov dword [esp + 8], eax
jb 0x527cd0
mov eax, dword [esi + 0x7a37f0]
push edi
lea edi, [esi + 0x824]
push edi
push 0x619b20
push eax
call fcn.005c91b6
add esp, 0xc
cmp eax, ebx
jne 0x527e18
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0xc], eax
je 0x527db6
jmp 0x527d30
mov edx, dword [esi + 0x7a37f0]
lea ecx, [esp + 0x10]
push ecx
push 0x634500
push edx
call fcn.005c91b6
add esp, 0xc
cmp eax, ebx
jne 0x527e18
mov eax, dword [esi + 0x7a37f0]
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
sub edx, dword [esp + 0xc]
push eax
mov eax, dword [esi + edx*4 + 0xc4c]
add ecx, ebx
push ecx
push eax
call fcn.005c8d66
mov ecx, dword [edi]
sub ecx, dword [esp + 0x18]
push 0
mov edx, dword [esi + ecx*4 + 0xc4c]
push 0x8000
push edx
call fcn.005c904e
mov ecx, dword [edi]
sub ecx, dword [esp + 0x24]
add esp, 0x18
mov dword [esi + ecx*4 + 0x84c], eax
mov edx, dword [edi]
sub edx, dword [esp + 0xc]
cmp dword [esi + edx*4 + 0x84c], 0xffffffff
je 0x527e18
sub dword [esp + 0xc], ebx
jne 0x527d30
mov ebx, dword [esi + 0x7a37f0]
push ebp
lea eax, [esi + 0x844]
push eax
lea ebp, [esi + 0x840]
push ebp
lea eax, [esi + 0x830]
push eax
push str._nStream_Type_d__X__X_n
push 0x100
lea edi, [esp + 0xa8]
call fcn.00525560
add esp, 4
push eax
call fcn.005c3555
add esp, 0x14
cmp eax, 3
jne 0x5284ac
cmp dword [ebp], 0
jne 0x527e1f
cmp dword [esi + 0x844], 0
jne 0x527e1f
mov dword [esi + 0x83c], 0
jmp 0x527e29
xor eax, eax
jmp 0x52896b
mov dword [esi + 0x83c], 1
mov ebx, dword [esi + 0x7a37f0]
lea ebp, [esi + 0x82c]
push ebp
push str.iDCT_Algorithm_d_n
push 0x100
lea edi, [esp + 0xa0]
call fcn.00525560
add esp, 4
push eax
call fcn.005c3555
add esp, 0xc
cmp eax, 1
jne 0x5284ac
mov eax, dword [ebp]
sub eax, 2
je 0x527e81
sub eax, 1
je 0x527e7a
sub eax, 1
jne 0x527e91
call fcn.00540600
jmp 0x527e91
call fcn.00540ab0
jmp 0x527e91
cmp dword [0x6fc570], 0
jne 0x527e91
mov dword [ebp], 1
mov ecx, dword [esi + 0x84c]
xor ebx, ebx
push ebx
push ebx
push ebx
push ecx
mov dword [esi + 0x820], ebx
call fcn.005c8c4d
add esp, 0x10
mov ecx, esi
call fcn.00525e00
mov ecx, esi
call fcn.00526010
push 0x20
mov ecx, esi
call fcn.00525f90
cmp eax, 0x1b3
jne 0x527eb2
mov ecx, esi
call fcn.00527800
mov eax, dword [esi + 0x1594]
add eax, 0xf
cdq
and edx, 0xf
add eax, edx
mov ecx, eax
mov eax, dword [esi + 0x1598]
sar ecx, 4
cmp dword [esi + 0x15a4], ebx
mov dword [esi + 0x159c], ecx
je 0x527f06
add eax, 0xf
cdq
and edx, 0xf
add eax, edx
sar eax, 4
jmp 0x527f14
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, eax
mov edx, dword [esi + 0x15a8]
mov dword [esi + 0x15a0], eax
shl ecx, 4
shl eax, 4
cmp edx, 3
mov dword [esi + 0x157c], ecx
mov dword [esi + 0x1580], eax
je 0x527f39
sar ecx, 1
cmp edx, 1
mov dword [esi + 0x1584], ecx
jne 0x527f46
sar eax, 1
mov dword [esi + 0x1588], eax
mov edx, dword [edx*4 + 0x6343f8]
mov dword [esi + 0x158c], edx
mov dword [esp + 0x10], ebx
lea ecx, [ecx]
push 0xc0
call fcn.0059b05a
mov ecx, dword [esp + 0x14]
mov dword [esi + ecx*4 + 0x1490], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + ecx*4 + 0x1490]
mov edx, eax
add esp, 4
and edx, 0x8000003f
jns 0x527f92
dec edx
or edx, 0xffffffc0
inc edx
sub eax, edx
add eax, 0x40
mov dword [esi + ecx*4 + 0x1470], eax
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 8
mov dword [esp + 0x10], eax
jb 0x527f60
push 0x240
call fcn.0059b05a
mov ecx, eax
add esp, 4
and ecx, 0x8000003f
mov dword [esi + 0x146c], eax
jns 0x527fd0
dec ecx
or ecx, 0xffffffc0
inc ecx
sub eax, ecx
add eax, 0x40
mov dword [esi + 0x1468], eax
xor eax, eax
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x527ff4
mov edi, dword [esi + 0x1580]
imul edi, dword [esi + 0x157c]
jmp 0x528001
mov edi, dword [esi + 0x1588]
imul edi, dword [esi + 0x1584]
push edi
call fcn.0059b05a
mov edx, dword [esp + 0x14]
push edi
mov dword [esi + edx*4 + 0x14bc], eax
call fcn.0059b05a
mov ecx, dword [esp + 0x18]
push edi
mov dword [esi + ecx*4 + 0x14c8], eax
call fcn.0059b05a
mov edx, dword [esp + 0x1c]
mov dword [esi + edx*4 + 0x14d4], eax
mov eax, dword [esp + 0x1c]
add eax, 1
add esp, 0xc
cmp eax, 3
mov dword [esp + 0x10], eax
jb 0x527fe1
mov ebx, dword [esi + 0x7a37f0]
lea eax, [esp + 0x10]
push eax
push str.YUVRGB_Scale_d_n
push 0x100
lea edi, [esp + 0xa0]
call fcn.00525560
add esp, 4
push eax
call fcn.005c3555
add esp, 0xc
cmp eax, 1
jne 0x5284ac
xor eax, eax
cmp dword [esp + 0x10], eax
je 0x5280d0
mov eax, 0x10002543
mov dword [esi + 0x1508], eax
mov dword [esi + 0x150c], eax
mov eax, 0x100010
mov dword [esi + 0x1510], eax
mov dword [esi + 0x1514], eax
mov eax, 0x408d
mov dword [esi + 0x1520], eax
mov dword [esi + 0x1524], eax
mov eax, 0xf377e5fc
mov dword [esi + 0x1528], eax
mov dword [esi + 0x152c], eax
mov eax, 0x3313
jmp 0x528114
mov dword [esi + 0x1510], eax
mov dword [esi + 0x1514], eax
mov eax, 0x38b4
mov dword [esi + 0x1520], eax
mov dword [esi + 0x1524], eax
mov eax, 0xf4fde926
mov ecx, 0x10002000
mov dword [esi + 0x1528], eax
mov dword [esi + 0x152c], eax
mov dword [esi + 0x1508], ecx
mov dword [esi + 0x150c], ecx
mov eax, 0x2cdd
mov ebx, dword [esi + 0x7a37f0]
push 0x100
lea edi, [esp + 0x98]
mov dword [esi + 0x151c], eax
mov dword [esi + 0x1518], eax
call fcn.00525560
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov edi, eax
push str.Luminance_d__d_n
push edi
call fcn.005c3555
add esp, 0x14
cmp eax, 2
je 0x528193
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.Luminance_Filter_d__d_n
push edi
call fcn.005c3555
add esp, 0x10
cmp eax, 2
jne 0x5284ac
mov dword [esp + 0x10], 0x80
mov dword [esp + 0x14], 0
mov dword [esi + 0x834], 0
jmp 0x528210
mov eax, dword [esp + 0x10]
cmp eax, 0x80
mov edi, dword [esp + 0x14]
jne 0x5281ae
test edi, edi
jne 0x5281ae
mov dword [esi + 0x834], edi
jmp 0x528210
push 0x10001
push 0x10001
push 0
push eax
mov dword [esi + 0x834], 1
call fcn.005bf960
push 0x10001
push 0x10001
push 0
push edi
mov dword [esi + 0x1538], eax
mov dword [esi + 0x153c], edx
call fcn.005bf960
mov dword [esi + 0x1534], edx
mov edx, dword [esi + 0x1580]
imul edx, dword [esi + 0x157c]
push edx
mov dword [esi + 0x1530], eax
call fcn.0059b05a
add esp, 4
mov dword [esi + 0x14fc], eax
mov ebx, dword [esi + 0x7a37f0]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x78]
push edx
push str.Picture_Size_d__d__d__d__d__d_n
push 0x100
lea edi, [esp + 0xb4]
call fcn.00525560
add esp, 4
push eax
call fcn.005c3555
add esp, 0x20
cmp eax, 6
jne 0x5284ac
mov edx, dword [esi + 0x157c]
mov eax, dword [esi + 0x1580]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
xor ecx, ecx
cmp ebx, ecx
mov dword [esi + 0x838], ecx
mov dword [esi + 0x156c], edx
mov dword [esi + 0x1574], edx
mov dword [esi + 0x1570], eax
mov dword [esi + 0x1578], eax
mov dword [esi + 0x1560], ecx
mov dword [esi + 0x155c], ecx
mov dword [esi + 0x1558], ecx
jne 0x5282bb
cmp dword [esp + 0x48], ecx
jne 0x5282bb
cmp ebp, ecx
jne 0x5282bb
cmp edi, ecx
je 0x528303
mov ecx, edx
sub ecx, ebp
sub ecx, edi
mov edi, eax
sub edi, ebx
sub edi, dword [esp + 0x48]
mov dword [esi + 0x156c], ecx
mov dword [esi + 0x1574], ecx
mov dword [esi + 0x1570], edi
mov dword [esi + 0x1578], edi
mov ecx, edx
imul ecx, ebx
mov edi, edx
sar edi, 1
imul edi, ebx
mov dword [esi + 0x1558], ecx
add ecx, ebp
mov dword [esi + 0x1560], ecx
mov dword [esi + 0x155c], edi
xor ecx, ecx
mov edi, dword [esp + 0x54]
cmp edi, ecx
mov ebx, dword [esp + 0x5c]
jne 0x528313
cmp ebx, ecx
je 0x528329
sub dword [esi + 0x1574], edi
sub dword [esi + 0x1578], ebx
mov dword [esi + 0x838], 1
mov ecx, dword [esi + 0x7a3818]
neg ecx
sbb ecx, ecx
add ecx, 3
imul ecx, dword [esi + 0x156c]
mov dword [esi + 0x1564], ecx
add ecx, ecx
mov dword [esi + 0x1568], ecx
mov ecx, dword [esi + 0x1570]
imul ecx, edx
mov dword [esi + 0x1554], ecx
mov ecx, eax
sar ecx, 1
sub ecx, 2
mov dword [esi + 0x1544], ecx
mov ecx, eax
imul eax, edx
sar ecx, 2
sub ecx, 2
mov dword [esi + 0x1548], ecx
mov ecx, edx
sar ecx, 1
mov dword [esi + 0x1540], ecx
add ecx, 0xfffffff8
mov dword [esi + 0x1550], ecx
lea ecx, [edx + edx]
cdq
sub eax, edx
sar eax, 1
push eax
mov dword [esi + 0x154c], ecx
call fcn.0059b05a
mov dword [esi + 0x14ec], eax
mov eax, dword [esi + 0x1580]
imul eax, dword [esi + 0x157c]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.0059b05a
mov edx, dword [esi + 0x1580]
imul edx, dword [esi + 0x157c]
push edx
mov dword [esi + 0x14f0], eax
call fcn.0059b05a
mov dword [esi + 0x14f4], eax
mov eax, dword [esi + 0x1580]
imul eax, dword [esi + 0x157c]
push eax
call fcn.0059b05a
mov ecx, dword [esi + 0x1570]
imul ecx, dword [esi + 0x156c]
add ecx, ecx
add ecx, ecx
push ecx
mov dword [esi + 0x14f8], eax
call fcn.0059b05a
mov ebx, dword [esi + 0x7a37f0]
add esp, 0x14
mov dword [esi + 0x1500], eax
lea eax, [esi + 0x828]
push eax
push str.Field_Operation_d_n
push 0x100
lea edi, [esp + 0xa0]
call fcn.00525560
add esp, 4
push eax
call fcn.005c3555
add esp, 0xc
cmp eax, 1
jne 0x5284ac
mov ebx, dword [esi + 0x7a37f0]
lea edx, [esi + 0x7a37f4]
push edx
push str.Frame_Rate_d_n
push 0x100
call fcn.00525560
add esp, 4
push eax
call fcn.005c3555
add esp, 0xc
cmp eax, 1
jne 0x5284ac
mov ebx, dword [esi + 0x7a37f0]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
push edx
mov eax, ecx
push eax
push str.Location_d__X__d__X_n
push 0x100
call fcn.00525560
add esp, 4
push eax
call fcn.005c3555
add esp, 0x18
cmp eax, 4
je 0x5284b3
xor eax, eax
jmp 0x52896a
mov edx, dword [esi + 0x7a37f0]
xor edi, edi
lea ecx, [esp + 0x4c]
push ecx
push 0x619b20
push edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], edi
call fcn.005c91b6
add esp, 0xc
cmp eax, 1
jne 0x528795
lea ebp, [esi + 0x3d1ee4]
lea eax, [esi + 0x15e4]
mov ebx, ebp
mov dword [esp + 0x30], eax
lea esp, [esp]
mov eax, dword [esp + 0x4c]
cmp eax, 9
jae 0x528795
cmp eax, 7
jne 0x5285b3
push 0x10
push 1
call fcn.005c034a
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov dword [eax], edi
mov eax, dword [ecx]
mov ecx, dword [esi + 0x7a37f0]
lea edx, [esp + 0x1c]
push edx
add eax, 4
push eax
push str._d__X
push ecx
call fcn.005c91b6
add esp, 0x18
cmp eax, 2
jne 0x528795
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
add dword [esp + 0x34], 1
add dword [esp + 0x30], 4
mov edx, 0x800
mul edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov eax, dword [esi + 0x7a37f0]
lea edx, [esp + 0x14]
push edx
push 0x619b20
push eax
call fcn.005c91b6
add esp, 0xc
cmp eax, 1
jne 0x528795
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, 1
shr ecx, 1
and eax, edx
jmp 0x5285bf
mov ecx, eax
shr ecx, 1
and eax, 1
mov edx, 1
mov dword [esp + 0x40], eax
xor eax, eax
cmp edi, eax
mov dword [esp + 0x3c], ecx
jne 0x5285da
test ecx, ecx
setne al
mov dword [esi + 0x7a37e4], eax
xor eax, eax
cmp dword [esi + 0x828], edx
jne 0x5286b8
cmp dword [esp + 0x40], eax
je 0x5285f2
add dword [esp + 0x1c], edx
jmp 0x5285f6
add dword [esp + 0x20], edx
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x1c]
cmp dword [esp + 0x38], eax
je 0x528643
cmp ecx, 5
jne 0x528613
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
jmp 0x528630
push 0xc
push 1
call fcn.005c034a
add dword [esp + 0x2c], 1
mov dword [ebx], eax
mov dword [eax + 4], edi
mov edx, dword [ebx]
add esp, 8
mov dword [edx], edi
add ebx, 4
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
cmp eax, 5
jne 0x528770
jmp 0x52868c
cmp ecx, 3
jne 0x528656
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edx
jmp 0x528673
push 0xc
push 1
call fcn.005c034a
add dword [esp + 0x2c], 1
mov dword [ebx], eax
mov dword [eax + 4], edi
mov edx, dword [ebx]
add esp, 8
mov dword [edx], edi
add ebx, 4
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
cmp eax, 3
jne 0x528770
mov dword [esp + 0x38], 1
xor eax, eax
push 0xc
push 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.005c034a
add dword [esp + 0x2c], 1
mov dword [ebx], eax
mov dword [eax + 4], edi
mov ecx, dword [ebx]
add esp, 8
mov dword [ecx], edi
add ebx, 4
jmp 0x528770
cmp dword [esp + 0x2c], eax
push 0xc
push 1
je 0x5286df
mov edx, dword [ebp]
add dword [esp + 0x20], 1
mov dword [edx + 4], edi
add ebp, 4
call fcn.005c034a
mov dword [ebp], eax
add esp, 8
mov dword [eax], edi
jmp 0x52871d
cmp dword [esp + 0x30], eax
je 0x528702
mov eax, dword [ebp]
add dword [esp + 0x20], 1
mov dword [eax], edi
add ebp, 4
call fcn.005c034a
mov dword [ebp], eax
add esp, 8
mov dword [eax + 4], edi
jmp 0x52871d
call fcn.005c034a
add dword [esp + 0x20], 1
mov dword [ebp], eax
mov dword [eax], edi
mov ecx, dword [ebp]
add esp, 8
mov dword [ecx + 4], edi
add ebp, 4
cmp dword [esp + 0x40], 0
je 0x528770
cmp dword [esp + 0x2c], 0
jne 0x528741
cmp dword [esp + 0x28], 0
jne 0x528741
push 0xc
push 1
call fcn.005c034a
add esp, 8
mov dword [ebp], eax
xor ecx, ecx
cmp dword [esp + 0x3c], ecx
je 0x5287d8
mov edx, dword [ebp]
cmp dword [esp + 0x28], ecx
mov eax, 1
mov dword [edx], edi
mov dword [esp + 0x2c], eax
je 0x528770
add dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
add ebp, 4
mov edx, dword [esi + 0x7a37f0]
lea ecx, [esp + 0x4c]
push ecx
push 0x619b20
push edx
add edi, 1
call fcn.005c91b6
add esp, 0xc
cmp eax, 1
je 0x528510
mov eax, dword [esi + 0x828]
mov dword [esi + 0x7a37fc], edi
sub edi, 2
cmp eax, 1
jne 0x5287f0
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + ecx*4 + 0x3d1ee0]
cmp dword [edx], edi
lea eax, [esi + ecx*4 + 0x3d1ee0]
jb 0x5287cd
nop
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 1
cmp dword [edx], edi
jae 0x5287c0
mov dword [esi + 0x7a37f8], ecx
jmp 0x5288f3
mov eax, dword [ebp]
cmp dword [esp + 0x2c], ecx
mov dword [eax + 4], edi
mov eax, 1
mov dword [esp + 0x28], eax
jmp 0x52875f
cmp eax, 2
mov edx, dword [esp + 0x18]
jne 0x528871
xor eax, eax
cmp dword [esi + 0x7a37e4], eax
lea ecx, [edx - 1]
sete al
test eax, eax
mov dword [esi + 0x7a37e4], eax
je 0x528845
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x528871
nop
mov ebx, dword [esi + eax*4 + 0x3d1ee8]
mov eax, dword [esi + eax*4 + 0x3d1ee4]
mov ebx, dword [ebx + 4]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x528820
jmp 0x528871
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x528871
nop
mov ebx, dword [esi + eax*4 + 0x3d1ee8]
mov eax, dword [esi + eax*4 + 0x3d1ee4]
mov ebx, dword [ebx]
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x528850
lea ecx, [esi + edx*4 + 0x3d1ee0]
mov eax, dword [ecx]
cmp dword [eax], edi
jae 0x528883
cmp dword [eax + 4], edi
jb 0x52888b
sub edx, 1
sub ecx, 4
jmp 0x528878
xor ecx, ecx
mov dword [esi + 0x7a37f8], edx
add edx, 0xffffffff
mov dword [esp + 0x10], ecx
je 0x5288f3
lea esp, [esp]
mov eax, dword [esi + ecx*4 + 0x3d1ee4]
mov edi, dword [esi + ecx*4 + 0x3d1ee8]
mov edx, dword [eax]
mov ebx, dword [edi]
cmp edx, ebx
je 0x5288c8
mov edi, dword [edi + 4]
cmp edx, edi
je 0x5288c8
mov edx, dword [eax + 4]
cmp edx, ebx
je 0x5288c8
cmp edx, edi
jne 0x5288df
mov byte [eax + 8], 1
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + ecx*4 + 0x3d1ee8]
mov byte [edx + 9], 1
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x7a37f8]
add ecx, 1
sub eax, 1
cmp ecx, eax
mov dword [esp + 0x10], ecx
jb 0x5288a0
mov edx, dword [esi + 0x7a37f8]
xor eax, eax
test edx, edx
mov dword [esi + 0x7a37e8], 1
mov dword [esp + 0x10], eax
jbe 0x528939
lea ecx, [ecx]
mov ecx, dword [esi + eax*4 + 0x3d1ee4]
mov edi, dword [ecx]
cmp edi, dword [ecx + 4]
jne 0x52892f
add eax, 1
cmp eax, dword [esi + 0x7a37f8]
mov dword [esp + 0x10], eax
jb 0x528910
jmp 0x528939
mov dword [esi + 0x7a37e8], 0
mov eax, dword [esp + 0x34]
mov dword [esi + 0x7a3800], eax
mov dword [esi + 0x7a3804], eax
mov eax, dword [esi + 0x1570]
imul eax, dword [esi + 0x156c]
lea ecx, [eax + eax*2]
mov dword [esi + 0x7a3810], edx
mov dword [esi + 0x7a380c], ecx
mov eax, 1
pop ebp
pop edi
mov ecx, dword [esp + 0x18c]
pop esi
pop ebx
xor ecx, esp
call fcn.005bf6a4
add esp, 0x188
ret 8