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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b2210
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x616040]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x616040]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov ecx, dword [ebx + 0x18]
push 1
call fcn.0041027a
mov edx, dword [ebx + 0x18]
lea ecx, [esp + 0x150]
mov dword [esp + 0xb0], eax
call fcn.0057cba0
mov dword [esp + 0x230], 0
mov eax, dword [esp + 0x150]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x78], edi
cmp dword [eax + 0x110], 0xd0d
jne 0x57fc3c
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0x26a
jge 0x57fc3c
test edi, edi
jle 0x57fc3c
dec edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x230], 1
cmp dword [ebx + 0x1c], 0
mov edx, dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [ebx + 0x18]
jle 0x57fdb9
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x1b4], 0
push ecx
push dword [eax + 0x20]
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0x7d
mov dword [esp + 0x1c8], 0
call edx
mov eax, dword [esp + 0x1bc]
sub eax, dword [esp + 0x1b4]
cmp eax, 0xdc
jge 0x57fcc2
mov eax, 0xdc
mov dword [esp + 0xec], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0xec]
push eax
call fcn.004043b0
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x1d4]
push ecx
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 0
push dword [eax + 0x20]
mov dword [esp + 0x1e4], 0x91
mov dword [esp + 0x1e8], 0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x1dc]
sub eax, dword [esp + 0x1d4]
cmp eax, 0xff
jge 0x57fd34
mov eax, 0xff
mov dword [esp + 0x10c], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x10c]
push eax
call fcn.004043b0
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x1f4]
push ecx
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x1fc], 0
push dword [eax + 0x20]
mov dword [esp + 0x204], 0x50
mov dword [esp + 0x208], 0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x1fc]
sub eax, dword [esp + 0x1f4]
cmp eax, 0x8c
jge 0x57fda6
mov eax, 0x8c
mov dword [esp + 0x104], eax
lea eax, [esp + 0x104]
jmp 0x57ffec
test eax, eax
je 0x57fea9
mov ecx, dword [eax + 0x110]
cmp ecx, 0xd0e
jne 0x57fe38
mov edx, 0xa0
mov ecx, eax
call fcn.00588d30
mov dword [esp + 0x100], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x100]
push eax
call fcn.004043b0
mov ecx, dword [ebx + 0x18]
mov edx, 0x17c
call fcn.00588d30
mov dword [esp + 0xdc], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0xdc]
push eax
call fcn.004043b0
mov ecx, dword [ebx + 0x18]
mov edx, 0xa
call fcn.00588d30
mov dword [esp + 0x114], eax
lea eax, [esp + 0x114]
jmp 0x57ffec
cmp ecx, 0xd0d
jne 0x57fea9
mov edx, 0x10e
mov ecx, eax
call fcn.00588d30
mov dword [esp + 0xf8], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0xf8]
push eax
call fcn.004043b0
mov ecx, dword [ebx + 0x18]
mov edx, 0x12c
call fcn.00588d30
mov dword [esp + 0x108], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x108]
push eax
call fcn.004043b0
mov ecx, dword [ebx + 0x18]
mov edx, 0xc8
call fcn.00588d30
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xd8]
jmp 0x57ffec
lea ecx, [esp + 0x1e4]
mov dword [esp + 0x1e4], 0
push ecx
push dword [eax + 0x20]
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], 0x5b
mov dword [esp + 0x1f8], 0
call edx
mov eax, dword [esp + 0x1ec]
sub eax, dword [esp + 0x1e4]
cmp eax, 0xa0
jge 0x57fefc
mov eax, 0xa0
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x110]
push eax
call fcn.004043b0
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], 0x66
mov dword [esp + 0x1a8], 0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x19c]
sub eax, dword [esp + 0x194]
cmp eax, 0xb4
jge 0x57ff6e
mov eax, 0xb4
mov dword [esp + 0x118], eax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x118]
push eax
call fcn.004043b0
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x1a4]
push ecx
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
push dword [eax + 0x20]
mov dword [esp + 0x1b4], 0x44
mov dword [esp + 0x1b8], 0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x1ac]
sub eax, dword [esp + 0x1a4]
cmp eax, 0x78
jge 0x57ffde
mov eax, 0x78
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x30]
call fcn.004043b0
push edi
push esi
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
lea eax, [esp + 0x154]
push eax
call fcn.00581310
mov edi, dword [esp + 0x148]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x38], edi
cmp edi, eax
jg 0x580024
mov edi, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x148]
mov byte [esp + 0x230], 2
push eax
lea ecx, [esp + 0x64]
call fcn.0040afe0
push dword [esp + 0x78]
lea eax, [esp + 0x30]
push esi
push edi
push eax
call fcn.005812a0
xor eax, eax
xor edx, edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov byte [esp + 0x230], 3
mov ecx, dword [ebx + 0x38]
test ecx, ecx
js 0x5800b1
add ecx, esi
jmp 0x5800b3
neg ecx
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x28], ecx
test eax, eax
js 0x5800e1
mov ecx, dword [esp + 0x78]
add ecx, ecx
sub ecx, dword [esp + 0xb0]
add ecx, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x90], ecx
jmp 0x5800ee
neg eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x90], eax
mov edi, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x48], edi
cmp edi, dword [ebx + 4]
je 0x5811b7
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x7c], 0
cmp dword [edi + 0x10], 0xfa0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
jne 0x58110c
mov ecx, dword [edi]
cmp ecx, 0xd57
jne 0x5804dd
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 + 0x24], ebx
mov dword [esp + 0x30], ebx
cmp eax, ecx
jae 0x5801a0
cmp ecx, 0x3fffffff
ja 0x58118f
push ecx
lea ecx, [esp + 0x30]
call fcn.00404ca0
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], ebx
mov esi, dword [edi + 0x18]
cmp esi, dword [edi + 0x1c]
je 0x580355
lea esp, [esp]
mov eax, dword [esi]
mov dword [esp + 0x24], eax
test eax, eax
js 0x58023a
lea ecx, [eax*4]
mov dword [esp + 0x174], 0
mov eax, 0x92492493
mov dword [esp + 0x178], 0
imul ecx
mov dword [esp + 0x180], 0
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x17c], eax
lea eax, [esp + 0x174]
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x18]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_MapDialogRect]
mov ecx, dword [esp + 0x17c]
sub ecx, dword [esp + 0x174]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jle 0x580234
mov dword [esp + 0x24], eax
jmp 0x58023a
mov eax, ecx
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], eax
cmp ecx, ebx
jae 0x5802d4
cmp edx, ecx
ja 0x5802d4
mov eax, ecx
mov ecx, dword [esp + 0x5c]
sub eax, edx
sar eax, 2
mov dword [esp + 0x54], eax
cmp ebx, ecx
jne 0x5802cb
mov eax, ecx
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x5802c7
sub ebx, edx
mov eax, 0x3fffffff
sar ebx, 2
sub eax, ebx
cmp eax, 1
jb 0x58118f
sub ecx, edx
mov eax, 0x3fffffff
sar ecx, 2
inc ebx
mov edx, ecx
shr edx, 1
sub eax, edx
cmp eax, ecx
jae 0x5802a5
xor ecx, ecx
jmp 0x5802a7
add ecx, edx
cmp ecx, ebx
jae 0x5802ad
mov ecx, ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00404ca0
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
test ebx, ebx
je 0x58033e
mov eax, dword [edx + eax*4]
jmp 0x58033c
mov ecx, dword [esp + 0x5c]
cmp ebx, ecx
jne 0x580338
mov eax, ecx
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x580334
sub ebx, edx
mov eax, 0x3fffffff
sar ebx, 2
sub eax, ebx
cmp eax, 1
jb 0x58118f
sub ecx, edx
mov eax, 0x3fffffff
sar ecx, 2
inc ebx
mov edx, ecx
shr edx, 1
sub eax, edx
cmp eax, ecx
jae 0x580316
xor ecx, ecx
jmp 0x580318
add ecx, edx
cmp ecx, ebx
jae 0x58031e
mov ecx, ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.00404ca0
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
test ebx, ebx
je 0x58033e
mov dword [ebx], eax
add ebx, 4
add esi, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
cmp esi, dword [edi + 0x1c]
jne 0x5801b0
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 + 0x18]
cmp ebx, esi
sbb esi, esi
not esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x54], ecx
and esi, eax
je 0x58039e
mov eax, dword [esp + 0x6c]
mov edi, edi
add ecx, dword [edx]
lea edx, [edx + 4]
inc eax
cmp eax, esi
jne 0x580390
mov dword [esp + 0x54], ecx
cmp ecx, dword [esp + 0x38]
je 0x5803dd
test ecx, ecx
je 0x5803dd
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x6c], 0
test esi, esi
je 0x5803dd
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 + 0x54]
mov dword [ecx - 4], eax
cmp edi, esi
jne 0x5803c0
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
xor edx, edx
xor ecx, ecx
test esi, esi
je 0x5803fa
lea esp, [esp]
add edx, dword [eax]
lea eax, [eax + 4]
inc ecx
cmp ecx, esi
jne 0x5803f0
test edx, edx
jns 0x5804c4
lea eax, [esp + 0x1c4]
mov dword [esp + 0x1c4], 0
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1d4], 0
mov eax, dword [eax + 0x18]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x1cc]
xor eax, eax
sub esi, dword [esp + 0x1c4]
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], eax
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], eax
mov dword [esp + 0x218], eax
mov dword [esp + 0x21c], eax
lea eax, [esp + 0x204]
push 0x17
push eax
mov eax, dword [esp + 0x1c]
push 1
mov dword [esp + 0x44], esi
mov ecx, dword [eax + 0x18]
call fcn.004101df
cmp dword [esp + 0x210], 0
jle 0x581176
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x38], esi
jmp 0x581176
cmp dword [esp + 0x38], edx
jge 0x581176
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x38], eax
jmp 0x581176
mov esi, dword [esp + 0x94]
mov edx, ebx
sub edx, dword [esp + 0x2c]
xor eax, eax
sar edx, 2
cmp edx, esi
mov dword [esp + 0x54], edx
setle al
dec eax
and eax, esi
cmp edx, eax
jbe 0x581199
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x24], eax
test esi, esi
je 0x58051d
lea eax, [edx - 1]
cmp esi, eax
jne 0x580542
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x24]
sar eax, 2
imul eax, dword [esp + 0x18]
neg eax
lea edx, [edx + eax*2]
mov dword [esp + 0x24], edx
jmp 0x580546
mov edx, dword [esp + 0x24]
cmp ecx, 0x339f
jne 0x580577
mov eax, dword [esp + 0x14]
mov ecx, edi
push dword [eax + 0x20]
lea eax, [esp + 0x168]
push edx
push eax
call fcn.0057c1d0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], ecx
jmp 0x58063b
cmp ecx, 0xd58
je 0x5805bb
cmp ecx, 0xd59
jne 0x580595
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x18]
and eax, 0xfffffffc
cmp eax, 0x20
je 0x5805bb
push dword [esp + 0x58]
lea eax, [esp + 0x160]
mov ecx, edi
push edx
push eax
call fcn.0057c1d0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], ecx
jmp 0x58063b
push dword [esp + 0x58]
lea eax, [esp + 0x170]
mov ecx, edi
push edx
push eax
call fcn.0057c1d0
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 + 0x14]
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [eax + 0x50]
call fcn.0052eaa0
mov ebx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov esi, dword [edi]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
cmp esi, 0xd70
jne 0x58065e
mov eax, dword [edi + 0x34]
test eax, eax
jle 0x58065e
mov ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x5806c9
cmp edx, dword [esp + 0x24]
jne 0x5806c9
mov ecx, dword [esp + 0x14]
lea eax, [edi + 0x58]
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x5806c9
mov esi, dword [esp + 0x14]
cmp dword [eax + 0x10], 0xfa0
je 0x580692
add eax, 0x58
cmp eax, dword [esi + 4]
jne 0x580681
mov esi, dword [edi]
cmp eax, ecx
je 0x5806c9
cmp dword [eax], 0xd48
jne 0x5806c9
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x38]
sar eax, 2
imul eax, dword [esp + 0x18]
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 0x580a46
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x110], 0xd0d
jne 0x58072f
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0x26a
jge 0x58072b
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
sub eax, ecx
sar eax, 2
cmp eax, 2
jbe 0x581199
push dword [ecx + 8]
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [edi + 0x24]
call fcn.00571b80
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], ecx
jmp 0x580797
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 0x581199
mov esi, dword [esi + 8]
mov ecx, dword [edi + 0x24]
cmp esi, 1
jge 0x580753
mov esi, 1
mov eax, edx
mov ecx, dword [ecx + 0x7c]
cdq
idiv esi
neg ecx
mov edx, 0xff
sbb ecx, ecx
and ecx, 0x1e
sub edx, ecx
cmp eax, edx
jle 0x580781
mov ecx, dword [esp + 0x1c]
mov edi, edx
mov eax, ecx
inc esi
cdq
idiv esi
cmp eax, edi
jg 0x580773
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], ecx
mov esi, dword [esp + 0x14]
mov eax, dword [edi]
cmp eax, 0xd59
je 0x5807b9
cmp eax, 0xd5b
je 0x5807b9
cmp eax, 0xd5c
je 0x5807b9
cmp eax, 0xd68
jne 0x58085c
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp edi, eax
je 0x58080e
lea esi, [edi - 0x58]
cmp esi, eax
je 0x58080e
mov eax, dword [esi]
cmp eax, 0xd4f
je 0x5807e1
cmp eax, 0xd6e
je 0x5807e1
cmp eax, 0xd6f
jne 0x58080e
mov ecx, esi
call fcn.0040b1e0
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x8c], 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 + 0x14]
lea ecx, [edi + 0x58]
cmp ecx, dword [esi + 4]
je 0x58085c
mov eax, dword [ecx]
cmp eax, 0xd4f
je 0x580831
cmp eax, 0xd6e
je 0x580831
cmp eax, 0xd6f
jne 0x58085c
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x18]
sub eax, edx
sar eax, 2
test eax, eax
je 0x581199
mov edx, dword [edx]
mov ecx, dword [ecx + 0x2c]
call fcn.00588d30
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 0x580889
cmp dword [edi], 0xd58
je 0x580889
cmp edi, eax
je 0x580889
cmp dword [edi - 0x58], 0xd49
jne 0x580889
mov eax, dword [edi - 0x44]
imul eax, dword [esp + 0x18]
sub edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
cmp dword [edi], 0xd4a
jne 0x580a23
xor al, al
xor edx, edx
mov byte [esp + 0x4f], al
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
mov edx, dword [esp + 0x14]
mov esi, edi
mov byte [esp + 0x230], 4
cmp edi, dword [edx + 4]
mov edx, dword [esp + 0xbc]
je 0x5809e6
mov eax, dword [esp + 0x14]
cmp dword [esi + 0x10], 0xfa0
jne 0x5809d3
mov eax, dword [esi]
cmp eax, 0xd48
je 0x580b22
cmp eax, 0xd5a
jne 0x580928
mov byte [esp + 0x4f], 1
xor eax, eax
cmp dword [esp + 0x54], edx
setle al
dec eax
and eax, edx
cmp dword [esp + 0x54], eax
jbe 0x581199
cmp dword [esp + 0xbc], 0
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + eax*4]
je 0x58095d
mov eax, dword [esp + 0x54]
dec eax
cmp dword [esp + 0xbc], eax
jne 0x580971
sub ecx, dword [esp + 0xcc]
sar ecx, 2
imul ecx, dword [esp + 0x18]
neg ecx
lea edx, [edx + ecx*2]
push dword [esp + 0xc8]
lea eax, [esp + 0xf4]
mov ecx, esi
push edx
push eax
call fcn.0057c1d0
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0xf0]
cmp eax, ecx
jge 0x58099f
mov eax, ecx
mov dword [esp + 0xf0], eax
push dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x1c]
push dword [esp + 0xfc]
push eax
push esi
lea eax, [esp + 0xc8]
push eax
call fcn.005823b0
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x14]
add esi, 0x58
cmp esi, dword [eax + 4]
jne 0x580902
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
add edx, edx
sub edx, eax
mov eax, dword [esp + 0x14]
sub edx, dword [esp + 0x28]
add edx, dword [eax + 0x38]
add edx, ecx
mov byte [esp + 0x230], 3
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
test eax, eax
je 0x580a27
push eax
call fcn.0040d533
add esp, 4
mov ecx, dword [esp + 0x38]
mov eax, dword [edi]
cmp eax, 0xd50
je 0x580b47
cmp eax, 0xd52
je 0x580b47
xor eax, eax
jmp 0x580b4c
cmp esi, 0xd72
jne 0x580793
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x580a64
mov eax, 0x1f4
jmp 0x580aaf
lea ecx, [esp + 0x184]
mov dword [esp + 0x184], 0
push ecx
push dword [eax + 0x20]
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0xca
mov dword [esp + 0x198], 0x11e
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [esp + 0x190]
sub eax, dword [esp + 0x188]
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
mov dword [esp + 0x44], eax
fstp qword [esp + 0x6c]
fld qword [esp + 0x6c]
fmul qword [0x5eea00]
call fcn.0052eaa0
mov ebx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], eax
jmp 0x580797
mov al, byte [esp + 0x4f]
test al, al
je 0x5809df
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0xb4], eax
jmp 0x5809ea
mov eax, 1
test eax, eax
je 0x580d03
xor eax, eax
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x48], 0
xor edx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x14]
mov esi, edi
mov byte [esp + 0x230], 5
cmp edi, dword [eax + 4]
je 0x580cbf
xor eax, eax
cmp dword [esp + 0x54], ecx
setle al
dec eax
and eax, ecx
cmp dword [esp + 0x54], eax
jbe 0x581199
cmp dword [esi + 0x10], 0xfa0
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + eax*4]
jne 0x580c9d
mov eax, dword [esi]
cmp eax, 0xd50
je 0x580bfe
cmp eax, 0xd52
jne 0x580c09
mov ecx, dword [esp + 0x48]
inc ecx
mov dword [esp + 0x48], ecx
jmp 0x580c0d
mov ecx, dword [esp + 0x48]
cmp eax, 0xd51
je 0x580c1b
cmp eax, 0xd53
jne 0x580c20
dec ecx
mov dword [esp + 0x48], ecx
cmp eax, 0xd51
je 0x580c2e
cmp eax, 0xd53
jne 0x580c36
test ecx, ecx
je 0x580cad
push dword [esp + 0x130]
lea eax, [esp + 0x144]
mov ecx, esi
push edx
push eax
call fcn.0057c1d0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
lea eax, [edx + edx*2]
add eax, eax
sub ecx, eax
cmp dword [esp + 0x1c], ecx
jg 0x580c66
mov dword [esp + 0x1c], ecx
push dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x120]
push edx
push dword [esp + 0x14c]
push dword [esp + 0x14c]
push esi
push eax
call fcn.005823b0
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
add esi, 0x58
cmp esi, dword [eax + 4]
jne 0x580bc4
mov eax, dword [esp + 0x120]
mov edx, dword [esp + 0x134]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xa4]
mov esi, dword [esp + 0x1c]
sar eax, 2
imul eax, dword [esp + 0x18]
lea eax, [eax + eax*2]
add eax, eax
sub esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
mov byte [esp + 0x230], 3
test edx, edx
je 0x580d07
push edx
call fcn.0040d533
add esp, 4
jmp 0x580d07
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 0x30]
cmp esi, eax
jge 0x580d14
mov esi, eax
mov dword [esp + 0x40], esi
mov edx, dword [edi]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x80], eax
lea eax, [edx - 0xd4b]
mov dword [esp + 0x7c], ecx
cmp eax, 0x25
ja case.0x580d3f.3405
movzx eax, byte [eax + 0x581270]
jmp dword [eax*4 + 0x581258]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x18]
sub eax, 2
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp dword [edi], 0xd48
jne 0x580d80
add eax, eax
sub dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
sub eax, dword [edx + 0x38]
cmp dword [esp + 0x38], eax
jg 0x580d80
mov dword [esp + 0x38], eax
push dword [esp + 0x78]
lea eax, [esp + 0x90]
push dword [esp + 0x1c]
push ecx
push esi
push edi
push eax
mov ecx, edx
call fcn.005823b0
mov eax, dword [edi]
cmp eax, 0xd5b
je 0x580daa
cmp eax, 0xd5c
jne 0x580db1
mov esi, dword [edi + 0x30]
mov dword [esp + 0x40], esi
cmp eax, 0xd50
je 0x580dc3
cmp eax, 0xd52
jne 0x5810b4
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x60]
cmp eax, ecx
jae 0x58102a
cmp edx, eax
ja 0x58102a
mov esi, eax
mov eax, dword [esp + 0x3c]
sub esi, edx
sar esi, 3
cmp ecx, eax
jne 0x58100a
sub eax, ecx
sar eax, 3
cmp eax, 1
jae 0x58100a
sub ecx, edx
mov eax, 0x1fffffff
sar ecx, 3
sub eax, ecx
cmp eax, 1
jb 0x58118f
mov eax, dword [esp + 0x3c]
lea edx, [ecx + 1]
sub eax, dword [esp + 0x60]
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 0x580fe4
xor eax, eax
jmp 0x580fea
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
test eax, eax
jle 0x580e65
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x80], eax
mov edx, dword [esp + 0x14]
jmp 0x580d5d
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
test eax, eax
jle 0x580e65
add eax, 0xfffffff7
jmp 0x580e51
cmp edx, 0xd6e
jne 0x580f84
mov eax, dword [esp + 0x24]
sub eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esp + 0x28]
cmp dword [edi + 4], 0x1f40
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], ecx
jne 0x580f32
lea eax, [edi + 0x18]
push eax
lea ecx, [esp + 0xe4]
call fcn.0040a670
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe0]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x580edf
mov eax, dword [ecx]
sub eax, 9
jmp 0x580ee4
mov eax, 9
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x80], eax
mov byte [esp + 0x230], 3
test ecx, ecx
je 0x580f2e
push ecx
call fcn.0040d533
add esp, 4
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
cmp edi, edx
je 0x580fdd
lea eax, [edi - 0x58]
cmp eax, edx
je case.0x580d3f.3405
mov eax, dword [eax]
cmp eax, 0xd59
je 0x580f6d
cmp eax, 0xd5b
je 0x580f6d
cmp eax, 0xd5c
je 0x580f6d
cmp eax, 0xd68
jne case.0x580d3f.3405
mov eax, dword [esp + 0x18]
sub ecx, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x20]
jmp 0x580d61
cmp edx, 0xd6f
jne 0x580f32
mov ecx, dword [esp + 0x24]
sub ecx, esi
add ecx, dword [esp + 0x28]
mov dword [esp + 0x7c], ecx
jmp 0x580f32
mov edx, dword [esp + 0x14]
lea eax, [edi + 0x58]
cmp eax, dword [edx + 4]
je 0x580d59
cmp dword [eax], 0xd48
je 0x580d59
cmp dword [eax + 0x10], 0xfa0
jne 0x580d59
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x8c], eax
jmp 0x580d59
mov edx, eax
jmp 0x580d59
mov eax, dword [esp + 0x3c]
add eax, ecx
cmp eax, edx
jae 0x580ff0
mov eax, edx
push eax
lea ecx, [esp + 0x64]
call fcn.0040b090
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x58101a
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 + 0x74], ecx
mov dword [esp + 0x64], ecx
jmp 0x5810b8
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jne 0x58109a
sub eax, ecx
sar eax, 3
cmp eax, 1
jae 0x58109a
sub ecx, edx
mov eax, 0x1fffffff
sar ecx, 3
sub eax, ecx
cmp eax, 1
jb 0x58118f
mov eax, dword [esp + 0x3c]
lea edx, [ecx + 1]
sub eax, dword [esp + 0x60]
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 0x581078
xor eax, eax
jmp 0x58107e
mov eax, dword [esp + 0x3c]
add eax, ecx
cmp eax, edx
jae 0x581084
mov eax, edx
push eax
lea ecx, [esp + 0x64]
call fcn.0040b090
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x5810a7
mov eax, dword [esp + 0x20]
mov dword [ecx], esi
mov dword [ecx + 4], eax
add ecx, 8
mov dword [esp + 0x74], ecx
mov dword [esp + 0x64], ecx
jmp 0x5810b8
mov ecx, dword [esp + 0x74]
mov eax, dword [edi]
cmp eax, 0xd51
je 0x5810e0
cmp eax, 0xd53
je 0x5810e0
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], ecx
jmp 0x581101
mov eax, dword [esp + 0xa0]
sub ecx, 8
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x24], 0
je 0x58112f
lea eax, [esp + 0x40]
mov ecx, edi
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0057a730
mov esi, dword [esp + 0x80]
jmp 0x581139
and dword [edi + 0x28], 0xfffffffe
xor eax, eax
mov esi, dword [esp + 0x1c]
add dword [esp + 0x88], eax
mov ecx, edi
mov eax, dword [esp + 0x14]
sub ecx, dword [eax]
mov eax, 0x2e8ba2e9
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ecx + 0x34]
jne 0x581176
mov eax, dword [esp + 0x150]
mov dword [ecx + 0x2c], 0
sub esi, dword [eax + 4]
mov dword [ecx + 0x30], esi
mov esi, dword [esp + 0x14]
add edi, 0x58
mov dword [esp + 0x48], edi
cmp edi, dword [esi + 4]
je 0x5811a3
mov esi, dword [esp + 0x5c]
jmp 0x580122
push str.vector_T__too_long
call fcn.00546d3a
push str.invalid_vector_T__subscript
call fcn.00546d68
mov edx, dword [esp + 0xa4]
mov ebx, esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x88]
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x5811cc
mov edi, edi
and dword [eax + 0x28], 0xfffffffe
add eax, 0x58
cmp eax, dword [ebx + 4]
jne 0x5811c0
test ecx, ecx
jle 0x5811d4
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 + 0x50]
add eax, dword [esp + 0xb0]
add eax, dword [ebx + 0x3c]
mov dword [ebx + 0x28], eax
test edx, edx
je 0x581201
push edx
call fcn.0040d533
add esp, 4
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x581212
push ecx
call fcn.0040d533
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x581223
push eax
call fcn.0040d533
add esp, 4
push dword [esp + 0x150]
call fcn.0040d533
add esp, 4
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00527e5c
mov esp, ebp
pop ebp
ret