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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5afbb2
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x614040]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push esi
push edi
mov eax, dword [0x614040]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [ebx + 0x18]
push 1
call fcn.00410198
mov edx, dword [ebx + 0x18]
lea ecx, [esp + 0x140]
mov dword [esp + 0xac], eax
call fcn.0057bc20
mov dword [esp + 0x220], 0
mov eax, dword [esp + 0x140]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x64], edi
cmp dword [eax + 0x110], 0xd0d
jne 0x57e9fc
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0x26a
jge 0x57e9fc
test edi, edi
jle 0x57e9fc
dec edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x220], 1
cmp dword [ebx + 0x1c], 0
mov edx, dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebx + 0x18]
jle 0x57eb79
lea ecx, [esp + 0x1a4]
mov dword [esp + 0x1a4], 0
push ecx
push dword [eax + 0x20]
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0x7d
mov dword [esp + 0x1b8], 0
call edx
mov eax, dword [esp + 0x1ac]
sub eax, dword [esp + 0x1a4]
cmp eax, 0xdc
jge 0x57ea82
mov eax, 0xdc
mov dword [esp + 0x100], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x100]
push eax
call fcn.00404360
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x1c4]
push ecx
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
push dword [eax + 0x20]
mov dword [esp + 0x1d4], 0x91
mov dword [esp + 0x1d8], 0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x1cc]
sub eax, dword [esp + 0x1c4]
cmp eax, 0xff
jge 0x57eaf4
mov eax, 0xff
mov dword [esp + 0xf4], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0xf4]
push eax
call fcn.00404360
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x1e4]
push ecx
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x1ec], 0
push dword [eax + 0x20]
mov dword [esp + 0x1f4], 0x50
mov dword [esp + 0x1f8], 0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x1ec]
sub eax, dword [esp + 0x1e4]
cmp eax, 0x8c
jge 0x57eb66
mov eax, 0x8c
mov dword [esp + 0x104], eax
lea eax, [esp + 0x104]
jmp 0x57edac
test eax, eax
je 0x57ec69
mov ecx, dword [eax + 0x110]
cmp ecx, 0xd0e
jne 0x57ebf8
mov edx, 0xa0
mov ecx, eax
call fcn.00586df0
mov dword [esp + 0xf8], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0xf8]
push eax
call fcn.00404360
mov ecx, dword [ebx + 0x18]
mov edx, 0x17c
call fcn.00586df0
mov dword [esp + 0xd8], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0xd8]
push eax
call fcn.00404360
mov ecx, dword [ebx + 0x18]
mov edx, 0xa
call fcn.00586df0
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xfc]
jmp 0x57edac
cmp ecx, 0xd0d
jne 0x57ec69
mov edx, 0x10e
mov ecx, eax
call fcn.00586df0
mov dword [esp + 0xe8], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0xe8]
push eax
call fcn.00404360
mov ecx, dword [ebx + 0x18]
mov edx, 0x12c
call fcn.00586df0
mov dword [esp + 0xdc], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0xdc]
push eax
call fcn.00404360
mov ecx, dword [ebx + 0x18]
mov edx, 0xc8
call fcn.00586df0
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xd4]
jmp 0x57edac
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x1d4], 0
push ecx
push dword [eax + 0x20]
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x1e4], 0x5b
mov dword [esp + 0x1e8], 0
call edx
mov eax, dword [esp + 0x1dc]
sub eax, dword [esp + 0x1d4]
cmp eax, 0xa0
jge 0x57ecbc
mov eax, 0xa0
mov dword [esp + 0x108], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x108]
push eax
call fcn.00404360
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x184]
push ecx
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
push dword [eax + 0x20]
mov dword [esp + 0x194], 0x66
mov dword [esp + 0x198], 0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x18c]
sub eax, dword [esp + 0x184]
cmp eax, 0xb4
jge 0x57ed2e
mov eax, 0xb4
mov dword [esp + 0xec], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0xec]
push eax
call fcn.00404360
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x194]
push ecx
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
push dword [eax + 0x20]
mov dword [esp + 0x1a4], 0x44
mov dword [esp + 0x1a8], 0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x19c]
sub eax, dword [esp + 0x194]
cmp eax, 0x78
jge 0x57ed9e
mov eax, 0x78
mov dword [esp + 0xf0], eax
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x30]
call fcn.00404360
push edi
push esi
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
lea eax, [esp + 0x13c]
push eax
call fcn.00580020
mov edi, dword [esp + 0x130]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x38], edi
cmp edi, eax
jg 0x57ede4
mov edi, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x130]
mov byte [esp + 0x220], 2
push eax
lea ecx, [esp + 0x58]
call fcn.0040afe0
push dword [esp + 0x64]
lea eax, [esp + 0x30]
push esi
push edi
push eax
call fcn.0057ffb0
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov byte [esp + 0x220], 3
mov edx, dword [ebx + 0x38]
test edx, edx
js 0x57ee6f
add edx, esi
jmp 0x57ee71
neg edx
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x24], edx
test ecx, ecx
js 0x57ee9b
mov eax, dword [esp + 0x64]
add eax, eax
sub eax, dword [esp + 0xac]
add eax, ecx
mov dword [esp + 0x8c], eax
jmp 0x57eea4
neg ecx
mov dword [esp + 0x8c], ecx
mov edi, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x1c], edi
cmp edi, dword [ebx + 4]
je 0x57febd
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x60], eax
jmp 0x57eee0
xor eax, eax
mov dword [esp + 0x78], 0
cmp dword [edi + 0x10], 0xfa0
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
jne 0x57fe1f
mov ecx, dword [edi]
cmp ecx, 0xd57
jne 0x57f28d
mov ebx, dword [esp + 0x2c]
mov eax, esi
mov ecx, dword [edi + 0x1c]
sub eax, ebx
sub ecx, dword [edi + 0x18]
sar ecx, 2
sar eax, 2
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
cmp eax, ecx
jae 0x57ef5b
cmp ecx, 0x3fffffff
ja 0x57fe9c
push ecx
lea ecx, [esp + 0x30]
call fcn.00404c50
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ebx
mov esi, dword [edi + 0x18]
cmp esi, dword [edi + 0x1c]
je 0x57f108
mov eax, dword [esi]
mov dword [esp + 0x28], eax
test eax, eax
js 0x57efed
lea ecx, [eax*4]
mov dword [esp + 0x164], 0
mov eax, 0x92492493
mov dword [esp + 0x168], 0
imul ecx
mov dword [esp + 0x170], 0
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x16c], eax
lea eax, [esp + 0x164]
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_MapDialogRect]
mov ecx, dword [esp + 0x16c]
sub ecx, dword [esp + 0x164]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x57efe7
mov dword [esp + 0x28], eax
jmp 0x57efed
mov eax, ecx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], eax
cmp ecx, ebx
jae 0x57f087
cmp edx, ecx
ja 0x57f087
mov eax, ecx
mov ecx, dword [esp + 0x4c]
sub eax, edx
sar eax, 2
mov dword [esp + 0x20], eax
cmp ebx, ecx
jne 0x57f07e
mov eax, ecx
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x57f07a
sub ebx, edx
mov eax, 0x3fffffff
sar ebx, 2
sub eax, ebx
cmp eax, 1
jb 0x57fe9c
sub ecx, edx
mov eax, 0x3fffffff
sar ecx, 2
inc ebx
mov edx, ecx
shr edx, 1
sub eax, edx
cmp eax, ecx
jae 0x57f058
xor ecx, ecx
jmp 0x57f05a
add ecx, edx
cmp ecx, ebx
jae 0x57f060
mov ecx, ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00404c50
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
test ebx, ebx
je 0x57f0f1
mov eax, dword [edx + eax*4]
jmp 0x57f0ef
mov ecx, dword [esp + 0x4c]
cmp ebx, ecx
jne 0x57f0eb
mov eax, ecx
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x57f0e7
sub ebx, edx
mov eax, 0x3fffffff
sar ebx, 2
sub eax, ebx
cmp eax, 1
jb 0x57fe9c
sub ecx, edx
mov eax, 0x3fffffff
sar ecx, 2
inc ebx
mov edx, ecx
shr edx, 1
sub eax, edx
cmp eax, ecx
jae 0x57f0c9
xor ecx, ecx
jmp 0x57f0cb
add ecx, edx
cmp ecx, ebx
jae 0x57f0d1
mov ecx, ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00404c50
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
test ebx, ebx
je 0x57f0f1
mov dword [ebx], eax
add ebx, 4
add esi, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
cmp esi, dword [edi + 0x1c]
jne 0x57ef67
mov esi, dword [esp + 0x2c]
mov eax, ebx
sub eax, esi
mov dword [esp + 0x6c], 0
mov ecx, eax
mov edx, esi
sar ecx, 2
add eax, 3
dec ecx
shr eax, 2
imul ecx, dword [esp + 0x14]
cmp ebx, esi
sbb esi, esi
not esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x20], ecx
and esi, eax
je 0x57f14f
mov eax, dword [esp + 0x6c]
add ecx, dword [edx]
lea edx, [edx + 4]
inc eax
cmp eax, esi
jne 0x57f141
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x38]
je 0x57f18e
test ecx, ecx
je 0x57f18e
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x6c], 0
test esi, esi
je 0x57f18e
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x38]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
imul eax, ebx
inc edi
cdq
idiv dword [esp + 0x20]
mov dword [ecx - 4], eax
cmp edi, esi
jne 0x57f171
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
xor edx, edx
xor ecx, ecx
test esi, esi
je 0x57f1aa
lea ebx, [ebx]
add edx, dword [eax]
lea eax, [eax + 4]
inc ecx
cmp ecx, esi
jne 0x57f1a0
test edx, edx
jns 0x57f274
lea eax, [esp + 0x1b4]
mov dword [esp + 0x1b4], 0
push eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0
mov eax, dword [eax + 0x18]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x1bc]
xor eax, eax
sub esi, dword [esp + 0x1b4]
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x200], eax
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], eax
mov dword [esp + 0x20c], eax
lea eax, [esp + 0x1f4]
push 0x17
push eax
mov eax, dword [esp + 0x18]
push 1
mov dword [esp + 0x44], esi
mov ecx, dword [eax + 0x18]
call fcn.004100fd
cmp dword [esp + 0x200], 0
jle 0x57fe83
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x38], esi
jmp 0x57fe83
cmp dword [esp + 0x38], edx
jge 0x57fe83
mov eax, dword [esp + 0x68]
add eax, edx
mov dword [esp + 0x38], eax
jmp 0x57fe83
mov esi, dword [esp + 0x90]
mov edx, ebx
sub edx, dword [esp + 0x2c]
xor eax, eax
sar edx, 2
cmp edx, esi
mov dword [esp + 0x68], edx
setle al
dec eax
and eax, esi
cmp edx, eax
jbe 0x57fea6
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
test esi, esi
je 0x57f2cd
lea eax, [edx - 1]
cmp esi, eax
jne 0x57f2f2
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x28]
sar eax, 2
imul eax, dword [esp + 0x14]
neg eax
lea edx, [edx + eax*2]
mov dword [esp + 0x28], edx
jmp 0x57f2f6
mov edx, dword [esp + 0x28]
cmp ecx, 0x339f
jne 0x57f327
mov eax, dword [esp + 0x10]
mov ecx, edi
push dword [eax + 0x20]
lea eax, [esp + 0x150]
push edx
push eax
call fcn.0057b250
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], ecx
jmp 0x57f3dd
cmp ecx, 0xd58
je 0x57f368
cmp ecx, 0xd59
jne 0x57f345
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x18]
and eax, 0xfffffffc
cmp eax, 0x20
je 0x57f368
push dword [esp + 0x50]
lea eax, [esp + 0x160]
mov ecx, edi
push edx
push eax
call fcn.0057b250
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], ecx
jmp 0x57f3dd
push dword [esp + 0x50]
lea eax, [esp + 0x158]
mov ecx, edi
push edx
push eax
call fcn.0057b250
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [eax + 0x50]
call fcn.0052ea70
mov ebx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov esi, dword [edi]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
cmp esi, 0xd70
jne 0x57f400
mov eax, dword [edi + 0x34]
test eax, eax
jle 0x57f400
mov ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x57f46b
cmp edx, dword [esp + 0x28]
jne 0x57f46b
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0x58]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x57f46b
mov esi, dword [esp + 0x10]
cmp dword [eax + 0x10], 0xfa0
je 0x57f434
add eax, 0x58
cmp eax, dword [esi + 4]
jne 0x57f423
mov esi, dword [edi]
cmp eax, ecx
je 0x57f46b
cmp dword [eax], 0xd48
jne 0x57f46b
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x38]
sar eax, 2
imul eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
add eax, eax
sub edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
cmp esi, 0xd69
jne 0x57f829
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x110], 0xd0d
jne 0x57f7d8
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0x26a
jge 0x57f7d4
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
sub eax, ecx
sar eax, 2
cmp eax, 2
jbe 0x57fea6
mov ecx, dword [ecx + 8]
mov dword [esp + 0x20], ecx
cmp ecx, 1
jge 0x57f4ca
mov ecx, 1
mov dword [esp + 0x20], ecx
mov esi, dword [esp + 0x1c]
mov eax, esi
cdq
idiv ecx
mov edx, dword [edi + 0x24]
mov ecx, 0xff
mov dword [esp + 0x6c], eax
mov edx, dword [edx + 0x7c]
neg edx
sbb edx, edx
and edx, 0x1e
sub ecx, edx
cmp eax, ecx
jle 0x57f4fd
mov ecx, dword [esp + 0x20]
mov eax, esi
inc ecx
cdq
idiv ecx
mov esi, eax
jmp 0x57f501
mov esi, dword [esp + 0x6c]
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [esi + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], ecx
mov esi, dword [esp + 0x10]
mov eax, dword [edi]
cmp eax, 0xd59
je 0x57f540
cmp eax, 0xd5b
je 0x57f540
cmp eax, 0xd5c
je 0x57f540
cmp eax, 0xd68
jne 0x57f5e3
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp edi, eax
je 0x57f595
lea esi, [edi - 0x58]
cmp esi, eax
je 0x57f595
mov eax, dword [esi]
cmp eax, 0xd4f
je 0x57f568
cmp eax, 0xd6e
je 0x57f568
cmp eax, 0xd6f
jne 0x57f595
mov ecx, esi
call fcn.0040b1e0
mov ecx, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x88], ecx
mov ecx, esi
call fcn.0040b1e0
mov edx, dword [esp + 0x1c]
sub edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
mov esi, dword [esp + 0x10]
lea ecx, [edi + 0x58]
cmp ecx, dword [esi + 4]
je 0x57f5e3
mov eax, dword [ecx]
cmp eax, 0xd4f
je 0x57f5b8
cmp eax, 0xd6e
je 0x57f5b8
cmp eax, 0xd6f
jne 0x57f5e3
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x18]
sub eax, edx
sar eax, 2
test eax, eax
je 0x57fea6
mov edx, dword [edx]
mov ecx, dword [ecx + 0x2c]
call fcn.00586df0
mov edx, dword [esp + 0x1c]
sub edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
mov eax, dword [esi]
cmp edi, eax
je 0x57f610
cmp dword [edi], 0xd58
je 0x57f610
cmp edi, eax
je 0x57f610
cmp dword [edi - 0x58], 0xd49
jne 0x57f610
mov eax, dword [edi - 0x44]
imul eax, dword [esp + 0x14]
sub edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
cmp dword [edi], 0xd4a
jne 0x57f7b1
xor al, al
xor edx, edx
mov byte [esp + 0x4b], al
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xb8], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
mov edx, dword [esp + 0x10]
mov esi, edi
mov byte [esp + 0x220], 4
cmp edi, dword [edx + 4]
mov edx, dword [esp + 0xb8]
je 0x57f774
mov eax, dword [esp + 0x10]
lea esp, [esp]
cmp dword [esi + 0x10], 0xfa0
jne 0x57f761
mov eax, dword [esi]
cmp eax, 0xd48
je 0x57f8fa
cmp eax, 0xd5a
jne 0x57f6b6
mov byte [esp + 0x4b], 1
xor eax, eax
cmp dword [esp + 0x68], edx
setle al
dec eax
and eax, edx
cmp dword [esp + 0x68], eax
jbe 0x57fea6
cmp dword [esp + 0xb8], 0
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + eax*4]
je 0x57f6eb
mov eax, dword [esp + 0x68]
dec eax
cmp dword [esp + 0xb8], eax
jne 0x57f6ff
sub ecx, dword [esp + 0xc8]
sar ecx, 2
imul ecx, dword [esp + 0x14]
neg ecx
lea edx, [edx + ecx*2]
push dword [esp + 0xc4]
lea eax, [esp + 0xe4]
mov ecx, esi
push edx
push eax
call fcn.0057b250
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0xe0]
cmp eax, ecx
jge 0x57f72d
mov eax, ecx
mov dword [esp + 0xe0], eax
push dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x18]
push dword [esp + 0xec]
push eax
push esi
lea eax, [esp + 0xc4]
push eax
call fcn.00580e80
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x10]
add esi, 0x58
cmp esi, dword [eax + 4]
jne 0x57f690
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
add edx, edx
sub edx, eax
mov eax, dword [esp + 0x10]
sub edx, dword [esp + 0x24]
add edx, dword [eax + 0x38]
add edx, ecx
mov byte [esp + 0x220], 3
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x57f7b5
push eax
call fcn.0040d50c
add esp, 4
mov ecx, dword [esp + 0x38]
mov eax, dword [edi]
cmp eax, 0xd50
je 0x57f91f
cmp eax, 0xd52
je 0x57f91f
xor eax, eax
jmp 0x57f924
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
sub eax, esi
sar eax, 2
cmp eax, 2
jbe 0x57fea6
mov esi, dword [esi + 8]
mov ecx, dword [edi + 0x24]
cmp esi, 1
jge 0x57f7fc
mov esi, 1
mov eax, edx
cdq
idiv esi
mov edx, dword [ecx + 0x7c]
mov ecx, 0xff
neg edx
sbb edx, edx
and edx, 0x1e
sub ecx, edx
cmp eax, ecx
jle 0x57f820
mov eax, dword [esp + 0x1c]
lea ecx, [esi + 1]
cdq
idiv ecx
mov ecx, dword [esp + 0x18]
jmp 0x57f50c
cmp esi, 0xd72
jne 0x57f51a
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x57f847
mov eax, 0x1f4
jmp 0x57f892
lea ecx, [esp + 0x174]
mov dword [esp + 0x174], 0
push ecx
push dword [eax + 0x20]
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 0xca
mov dword [esp + 0x188], 0x11e
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x180]
sub eax, dword [esp + 0x178]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov dword [esp + 0x44], eax
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [0x5ec800]
call fcn.0052ea70
mov ebx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x18], eax
jmp 0x57f51e
mov al, byte [esp + 0x4b]
test al, al
je 0x57f76d
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0xb0], eax
jmp 0x57f778
mov eax, 1
test eax, eax
je 0x57fadb
xor eax, eax
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x20], 0
xor edx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x10]
mov esi, edi
mov byte [esp + 0x220], 5
cmp edi, dword [eax + 4]
je 0x57fa97
lea esp, [esp]
xor eax, eax
cmp dword [esp + 0x68], ecx
setle al
dec eax
and eax, ecx
cmp dword [esp + 0x68], eax
jbe 0x57fea6
cmp dword [esi + 0x10], 0xfa0
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + eax*4]
jne 0x57fa75
mov eax, dword [esi]
cmp eax, 0xd50
je 0x57f9da
cmp eax, 0xd52
jne 0x57f9e5
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x57f9e9
mov ecx, dword [esp + 0x20]
cmp eax, 0xd51
je 0x57f9f7
cmp eax, 0xd53
jne 0x57f9fc
dec ecx
mov dword [esp + 0x20], ecx
cmp eax, 0xd51
je 0x57fa0a
cmp eax, 0xd53
jne 0x57fa0e
test ecx, ecx
je 0x57fa85
push dword [esp + 0x120]
lea eax, [esp + 0x13c]
mov ecx, esi
push edx
push eax
call fcn.0057b250
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
lea eax, [edx + edx*2]
add eax, eax
sub ecx, eax
cmp dword [esp + 0x1c], ecx
jg 0x57fa3e
mov dword [esp + 0x1c], ecx
push dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x110]
push edx
push dword [esp + 0x144]
push dword [esp + 0x144]
push esi
push eax
call fcn.00580e80
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x10]
add esi, 0x58
cmp esi, dword [eax + 4]
jne 0x57f9a0
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x124]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x1c]
sar eax, 2
imul eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
add eax, eax
sub esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
mov byte [esp + 0x220], 3
test edx, edx
je 0x57fadf
push edx
call fcn.0040d50c
add esp, 4
jmp 0x57fadf
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 0x30]
cmp esi, eax
jge 0x57faec
mov esi, eax
mov dword [esp + 0x40], esi
mov edx, dword [edi]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], eax
lea eax, [edx - 0xd4b]
mov dword [esp + 0x78], ecx
cmp eax, 0x25
ja case.0x57fb17.3405
movzx eax, byte [eax + 0x57ff7c]
jmp dword [eax*4 + 0x57ff64]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x14]
sub eax, 2
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp dword [edi], 0xd48
jne 0x57fb58
add eax, eax
sub dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
sub eax, dword [edx + 0x38]
cmp dword [esp + 0x38], eax
jg 0x57fb58
mov dword [esp + 0x38], eax
push dword [esp + 0x64]
lea eax, [esp + 0x8c]
push dword [esp + 0x18]
push ecx
push esi
push edi
push eax
mov ecx, edx
call fcn.00580e80
mov eax, dword [edi]
cmp eax, 0xd5b
je 0x57fb82
cmp eax, 0xd5c
jne 0x57fb89
mov esi, dword [edi + 0x30]
mov dword [esp + 0x40], esi
cmp eax, 0xd50
je 0x57fb9b
cmp eax, 0xd52
jne 0x57fddd
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x54]
cmp eax, ecx
jae 0x57fd53
cmp edx, eax
ja 0x57fd53
mov esi, eax
mov eax, dword [esp + 0x3c]
sub esi, edx
sar esi, 3
cmp ecx, eax
jne 0x57fd33
sub eax, ecx
sar eax, 3
cmp eax, 1
jae 0x57fd33
sub ecx, edx
mov eax, 0x1fffffff
sar ecx, 3
sub eax, ecx
cmp eax, 1
jb 0x57fe9c
mov eax, dword [esp + 0x3c]
lea edx, [ecx + 1]
sub eax, dword [esp + 0x54]
sar eax, 3
mov ecx, eax
mov dword [esp + 0x3c], eax
shr ecx, 1
mov eax, 0x1fffffff
sub eax, ecx
cmp eax, dword [esp + 0x3c]
jae 0x57fd0d
xor eax, eax
jmp 0x57fd13
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
test eax, eax
jle 0x57fc3d
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x10]
jmp 0x57fb35
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
test eax, eax
jle 0x57fc3d
add eax, 0xfffffff7
jmp 0x57fc29
cmp edx, 0xd6e
jne 0x57fc6e
mov eax, dword [esp + 0x28]
sub eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jmp 0x57fc7c
cmp edx, 0xd6f
jne 0x57fc84
mov ecx, dword [esp + 0x28]
sub ecx, esi
add ecx, dword [esp + 0x24]
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
cmp edi, edx
je 0x57fd06
lea eax, [edi - 0x58]
cmp eax, edx
je case.0x57fb17.3405
mov eax, dword [eax]
cmp eax, 0xd59
je 0x57fcbb
cmp eax, 0xd5b
je 0x57fcbb
cmp eax, 0xd5c
je 0x57fcbb
cmp eax, 0xd68
jne case.0x57fb17.3405
mov eax, dword [esp + 0x14]
sub ecx, eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x18]
jmp 0x57fb39
mov edx, dword [esp + 0x10]
lea eax, [edi + 0x58]
cmp eax, dword [edx + 4]
je 0x57fb31
cmp dword [eax], 0xd48
je 0x57fb31
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x88], eax
jmp 0x57fb31
mov edx, eax
jmp 0x57fb31
mov eax, dword [esp + 0x3c]
add eax, ecx
cmp eax, edx
jae 0x57fd19
mov eax, edx
push eax
lea ecx, [esp + 0x58]
call fcn.0040b090
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x57fd43
mov eax, dword [edx + esi*8]
mov dword [ecx], eax
mov eax, dword [edx + esi*8 + 4]
mov dword [ecx + 4], eax
add ecx, 8
mov dword [esp + 0x60], ecx
mov dword [esp + 0x58], ecx
jmp 0x57fde1
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jne 0x57fdc3
sub eax, ecx
sar eax, 3
cmp eax, 1
jae 0x57fdc3
sub ecx, edx
mov eax, 0x1fffffff
sar ecx, 3
sub eax, ecx
cmp eax, 1
jb 0x57fe9c
mov eax, dword [esp + 0x3c]
lea edx, [ecx + 1]
sub eax, dword [esp + 0x54]
sar eax, 3
mov ecx, eax
mov dword [esp + 0x3c], eax
shr ecx, 1
mov eax, 0x1fffffff
sub eax, ecx
cmp eax, dword [esp + 0x3c]
jae 0x57fda1
xor eax, eax
jmp 0x57fda7
mov eax, dword [esp + 0x3c]
add eax, ecx
cmp eax, edx
jae 0x57fdad
mov eax, edx
push eax
lea ecx, [esp + 0x58]
call fcn.0040b090
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x57fdd0
mov eax, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
add ecx, 8
mov dword [esp + 0x60], ecx
mov dword [esp + 0x58], ecx
jmp 0x57fde1
mov ecx, dword [esp + 0x60]
mov eax, dword [edi]
cmp eax, 0xd51
je 0x57fdfe
cmp eax, 0xd53
je 0x57fdfe
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x50], ecx
jmp 0x57fe14
mov eax, dword [esp + 0x9c]
sub ecx, 8
mov dword [esp + 0x60], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x24], eax
cmp dword [edi + 0x24], 0
je 0x57fe3c
lea eax, [esp + 0x40]
mov ecx, edi
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.005797b0
mov esi, dword [esp + 0x7c]
jmp 0x57fe46
and dword [edi + 0x28], 0xfffffffe
xor eax, eax
mov esi, dword [esp + 0x20]
add dword [esp + 0x84], eax
mov ecx, edi
mov eax, dword [esp + 0x10]
sub ecx, dword [eax]
mov eax, 0x2e8ba2e9
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ecx + 0x34]
jne 0x57fe83
mov eax, dword [esp + 0x140]
mov dword [ecx + 0x2c], 0
sub esi, dword [eax + 4]
mov dword [ecx + 0x30], esi
mov esi, dword [esp + 0x10]
add edi, 0x58
mov dword [esp + 0x1c], edi
cmp edi, dword [esi + 4]
je 0x57feb0
mov esi, dword [esp + 0x4c]
jmp 0x57eee0
push str.vector_T__too_long
call fcn.00546d0c
push str.invalid_vector_T__subscript
call fcn.00546d3a
mov ecx, dword [esp + 0x84]
mov ebx, esi
mov esi, dword [esp + 0x14]
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x57fed0
and dword [eax + 0x28], 0xfffffffe
add eax, 0x58
cmp eax, dword [ebx + 4]
jne 0x57fec4
test ecx, ecx
jle 0x57fed8
mov byte [ebx + 0x42], 1
mov eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0x38]
add eax, esi
lea eax, [ecx + eax*2]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0xac]
add eax, dword [ebx + 0x3c]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x57ff0f
push eax
call fcn.0040d50c
add esp, 4
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x57ff20
push ecx
call fcn.0040d50c
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x57ff31
push eax
call fcn.0040d50c
add esp, 4
push dword [esp + 0x140]
call fcn.0040d50c
add esp, 4
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00527e2c
mov esp, ebp
pop ebp
ret