Function at 0x41c870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6622f4
mov eax, dword fs:[0]
push eax
sub esp, 0x3f0
push ebx
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x3f8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
mov dword [esp + 0x24], 0
call edx
mov ecx, dword [str.layr]
mov dword [esp + 0x30], eax
lea eax, [ebx + 0xc]
mov edx, 4
sub ecx, eax
lea esp, [esp]
mov bl, byte [eax]
dec edx
mov dword [esp + 0x2c], edx
mov dl, byte [eax + ecx]
inc eax
cmp dl, bl
jne 0x41c905
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x41c8d0
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + 0x2c]
push 1
push 0x800
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], eax
push edi
lea ecx, [esp + 0x5c]
push ecx
xor ebx, ebx
push str.ADBE_Geometry2
mov dword [esp + 0x64], ebx
call fcn.0040ba40
add esp, 0xc
test al, al
je 0x41ce09
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x2c], ebx
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 0x24]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [edi]
push ecx
push edx
call eax
add esp, 0x10
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x41ce09
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41ce09
push 3
push eax
push edi
lea ecx, [esp + 0x358]
call fcn.00406870
mov ecx, dword [esp + 0x2c]
push 4
push ecx
push edi
lea ecx, [esp + 0x100]
mov dword [esp + 0x40c], ebx
call fcn.00406870
fld1
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x354]
mov byte [esp + 0x408], 1
call fcn.00407290
push 1
mov ecx, esi
call fcn.0044d880
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x41cac6
mov edx, dword [eax + 0xc]
mov ecx, edx
sub ecx, ebx
mov dword [esp + 0x30], edx
je 0x41cac6
sub ecx, 1
je 0x41caa8
test edx, edx
jle 0x41cade
jmp 0x41c9e6
mov eax, dword [esp + 0x28]
push ebx
mov ecx, eax
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fd10
fstp qword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fstp qword [esp + 0x4c]
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
fild qword [esp + 0x3c]
fmul qword [esp + 0x34]
call fcn.00640060
mov edx, dword [esi]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], edx
cdq
add ecx, eax
mov eax, dword [esp + 0x48]
adc eax, edx
mov edx, dword [ebp + 8]
push eax
push ecx
push 1
lea ecx, [esp + 0x100]
push ecx
push edx
push edi
lea ecx, [esp + 0xac]
call fcn.0041eaa0
fld qword [esp + 0x4c]
sub esp, 8
lea ecx, [esp + 0x9c]
fstp qword [esp]
mov byte [esp + 0x408], 2
call fcn.0041ed00
lea ecx, [esp + 0x94]
mov byte [esp + 0x400], 1
call fcn.0041ecf0
inc ebx
cmp ebx, dword [esp + 0x30]
jl 0x41c9e2
jmp 0x41cade
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x41cabb
mov eax, dword [eax + 4]
mov ecx, eax
call fcn.0044fcc0
jmp 0x41cacc
xor eax, eax
mov ecx, eax
call fcn.0044fcc0
jmp 0x41cacc
fld qword [0x6fd5a8]
sub esp, 8
lea ecx, [esp + 0xfc]
fstp qword [esp]
call fcn.00407290
push 4
mov ecx, esi
call fcn.0044d880
mov ebx, eax
push 5
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.0044d880
mov dword [esp + 0x24], eax
test ebx, ebx
jne 0x41cb06
test eax, eax
je 0x41cdad
mov eax, dword [esp + 0x2c]
push 2
push eax
push edi
lea ecx, [esp + 0x1f0]
call fcn.00406870
lea ecx, [esp + 0x5c]
mov byte [esp + 0x400], 3
call fcn.00440710
mov dword [esp + 0x5c], vtable.TListValue_double_.0
lea ecx, [esp + 0x5c]
push ebx
push ecx
mov byte [esp + 0x408], 4
call fcn.00450a60
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.00450a60
mov eax, dword [esp + 0x7c]
add esp, 0x10
sub eax, 0
je 0x41cd30
sub eax, 1
lea ecx, [esp + 0x5c]
je 0x41ccb0
call fcn.00440810
mov ebx, eax
test ebx, ebx
je 0x41cd80
fldz
mov ecx, dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
fld qword [ebx]
push ecx
sub esp, 8
fstp qword [esp]
call fcn.00450b10
fstp qword [esp + 0x90]
fldz
mov edx, dword [esp + 0x38]
fstp qword [esp + 0xc]
add esp, 0xc
fld qword [ebx]
push edx
sub esp, 8
fstp qword [esp]
call fcn.00450b10
fild dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
cdq
sub eax, edx
fmul qword [esp + 0x90]
sar eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x18]
fild dword [esp + 0x3c]
cdq
sub eax, edx
sar eax, 1
faddp st(1)
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
fstp qword [esp + 0x90]
add esp, 0x14
mov ecx, esi
fimul dword [ebp + 0x18]
fild dword [esp + 0x28]
faddp st(1)
fstp qword [esp + 0x84]
call edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
fild qword [esp + 0x34]
fmul qword [ebx]
call fcn.00640060
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
mov ecx, esi
call edx
mov ecx, eax
mov eax, dword [esp + 0x28]
mov ebx, edx
cdq
add ecx, eax
adc ebx, edx
push ebx
push ecx
mov ecx, dword [ebp + 8]
push 1
lea eax, [esp + 0x1f0]
push eax
push ecx
push edi
lea ecx, [esp + 0xac]
call fcn.0041eaa0
fldz
sub esp, 0x18
fstp qword [esp + 0x10]
fld qword [esp + 0x9c]
lea ecx, [esp + 0xac]
fstp qword [esp + 8]
mov byte [esp + 0x418], 5
fld qword [esp + 0x94]
fstp qword [esp]
call fcn.0041ed40
mov byte [esp + 0x400], 4
lea ecx, [esp + 0x94]
call fcn.0041ecf0
lea ecx, [esp + 0x5c]
call fcn.00440840
mov ebx, eax
test ebx, ebx
jne 0x41cb81
jmp 0x41cd80
call fcn.00440760
fldz
sub esp, 8
fstp qword [esp]
fld qword [eax]
push ebx
sub esp, 8
fstp qword [esp]
call fcn.00450b10
fstp qword [esp + 0x90]
add esp, 0x14
lea ecx, [esp + 0x5c]
call fcn.00440760
fldz
mov edx, dword [esp + 0x24]
sub esp, 8
fstp qword [esp]
push edx
fld qword [eax]
sub esp, 8
fstp qword [esp]
call fcn.00450b10
mov eax, dword [ebp + 0x14]
fild dword [ebp + 0x14]
cdq
sub eax, edx
fmul qword [esp + 0x90]
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x18]
fild dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
faddp st(1)
mov dword [esp + 0x38], eax
fild dword [ebp + 0x18]
push ecx
fmulp st(2)
fild dword [esp + 0x3c]
faddp st(2)
fldz
jmp 0x41cd67
mov eax, dword [ebp + 0x14]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
fild dword [esp + 0x24]
cdq
fild dword [ebp + 0x14]
sub eax, edx
fldz
sar eax, 1
fmul st(1), st(0)
mov dword [esp + 0x24], eax
fxch st(2)
sub esp, 0x18
faddp st(1)
fild dword [esp + 0x3c]
fild dword [ebp + 0x18]
fmul st(3)
faddp st(1)
fxch st(2)
fstp qword [esp + 0x10]
lea ecx, [esp + 0x1fc]
fxch st(1)
fstp qword [esp + 8]
fstp qword [esp]
call fcn.00406ca0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x400], 3
mov dword [esp + 0x5c], vtable.TListValue_double_.0
call fcn.00440740
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x400], 1
call fcn.00406c30
mov al, byte [esi + 0xe8]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x24], al
mov ecx, dword [esp + 0x24]
push edi
push ecx
push edx
call fcn.0040c860
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0x38]
mov edx, dword [esp + 0x38]
mov eax, dword [ecx + 0x20]
push edx
call eax
add esp, 0x10
lea ecx, [esp + 0xf4]
mov dword [esp + 0x24], eax
mov byte [esp + 0x400], 0
call fcn.00406c30
lea ecx, [esp + 0x34c]
mov dword [esp + 0x400], 0xffffffff
call fcn.00406c30
mov ecx, dword [ebp + 8]
push 8
push ecx
push edi
lea ecx, [esp + 0x268]
call fcn.00406700
push 7
mov ecx, esi
mov dword [esp + 0x404], 6
call fcn.0044d880
mov dword [esp + 0x28], eax
test eax, eax
je 0x41cf6b
mov edx, dword [eax + 0xc]
mov ecx, edx
sub ecx, 0
mov dword [esp + 0x30], edx
je 0x41cf57
sub ecx, 1
je 0x41cf39
xor ebx, ebx
test edx, edx
jle 0x41cf6b
jmp 0x41ce67
mov eax, dword [esp + 0x28]
push ebx
mov ecx, eax
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fd10
fstp qword [esp + 0x34]
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fmul qword [esp + 0x34]
call fcn.00640060
mov edx, dword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
cdq
add ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
adc ecx, edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
push ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fstp qword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [ebp + 8]
push eax
push 1
lea ecx, [esp + 0x268]
push ecx
push edx
push edi
lea ecx, [esp + 0xac]
call fcn.0041eaa0
fld qword [esp + 0x34]
sub esp, 8
lea ecx, [esp + 0x9c]
fstp qword [esp]
mov byte [esp + 0x408], 7
call fcn.0041ed00
lea ecx, [esp + 0x94]
mov byte [esp + 0x400], 6
call fcn.0041ecf0
inc ebx
cmp ebx, dword [esp + 0x30]
jl 0x41ce63
jmp 0x41cf6b
mov eax, dword [eax + 4]
test eax, eax
je 0x41cf4c
mov eax, dword [eax + 4]
mov ecx, eax
call fcn.0044fcc0
jmp 0x41cf59
xor eax, eax
mov ecx, eax
call fcn.0044fcc0
jmp 0x41cf59
fldz
sub esp, 8
lea ecx, [esp + 0x264]
fstp qword [esp]
call fcn.00407290
mov eax, dword [ebp + 8]
push 9
push eax
push edi
lea ecx, [esp + 0x178]
call fcn.00406700
push 8
mov ecx, esi
mov byte [esp + 0x404], 8
call fcn.0044d880
mov dword [esp + 0x28], eax
test eax, eax
je 0x41d0d0
mov edx, dword [eax + 0xc]
mov ecx, edx
sub ecx, 0
mov dword [esp + 0x30], edx
je 0x41d0bc
sub ecx, 1
je 0x41d09a
xor ebx, ebx
test edx, edx
jle 0x41d0d0
jmp 0x41cfc6
mov eax, dword [esp + 0x28]
push ebx
mov ecx, eax
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fd10
fstp qword [esp + 0x34]
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fmul qword [esp + 0x34]
call fcn.00640060
mov edx, dword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
cdq
add ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
adc ecx, edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
push ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fstp qword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [ebp + 8]
push eax
push 1
lea ecx, [esp + 0x178]
push ecx
push edx
push edi
lea ecx, [esp + 0xac]
call fcn.0041eaa0
fld qword [esp + 0x34]
sub esp, 8
fchs
lea ecx, [esp + 0x9c]
fstp qword [esp]
mov byte [esp + 0x408], 9
call fcn.0041ed00
lea ecx, [esp + 0x94]
mov byte [esp + 0x400], 8
call fcn.0041ecf0
inc ebx
cmp ebx, dword [esp + 0x30]
jl 0x41cfc2
jmp 0x41d0d0
mov eax, dword [eax + 4]
test eax, eax
je 0x41d0af
mov eax, dword [eax + 4]
mov ecx, eax
call fcn.0044fcc0
fchs
jmp 0x41d0be
xor eax, eax
mov ecx, eax
call fcn.0044fcc0
fchs
jmp 0x41d0be
fldz
sub esp, 8
lea ecx, [esp + 0x174]
fstp qword [esp]
call fcn.00407290
mov eax, dword [ebp + 8]
push 3
push eax
push edi
lea ecx, [esp + 0x2e0]
call fcn.00406700
push 9
mov ecx, esi
mov byte [esp + 0x404], 0xa
call fcn.0044d880
mov dword [esp + 0x28], eax
test eax, eax
je 0x41d22f
mov edx, dword [eax + 0xc]
mov ecx, edx
sub ecx, 0
mov dword [esp + 0x30], edx
je 0x41d21b
sub ecx, 1
je 0x41d1fd
xor ebx, ebx
test edx, edx
jle 0x41d22f
jmp 0x41d12b
mov eax, dword [esp + 0x28]
push ebx
mov ecx, eax
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fd10
fstp qword [esp + 0x34]
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fmul qword [esp + 0x34]
call fcn.00640060
mov edx, dword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
cdq
add ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
adc ecx, edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
push ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fstp qword [esp + 0x34]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [ebp + 8]
push eax
push 1
lea ecx, [esp + 0x2e0]
push ecx
push edx
push edi
lea ecx, [esp + 0xac]
call fcn.0041eaa0
fld qword [esp + 0x34]
sub esp, 8
lea ecx, [esp + 0x9c]
fstp qword [esp]
mov byte [esp + 0x408], 0xb
call fcn.0041ed00
lea ecx, [esp + 0x94]
mov byte [esp + 0x400], 0xa
call fcn.0041ecf0
inc ebx
cmp ebx, dword [esp + 0x30]
jl 0x41d127
jmp 0x41d22f
mov eax, dword [eax + 4]
test eax, eax
je 0x41d210
mov eax, dword [eax + 4]
mov ecx, eax
call fcn.0044fcc0
jmp 0x41d21d
xor eax, eax
mov ecx, eax
call fcn.0044fcc0
jmp 0x41d21d
fldz
sub esp, 8
lea ecx, [esp + 0x2dc]
fstp qword [esp]
call fcn.00407290
lea ecx, [esp + 0x2d4]
mov byte [esp + 0x400], 8
call fcn.00406c30
lea ecx, [esp + 0x16c]
mov byte [esp + 0x400], 6
call fcn.00406c30
lea ecx, [esp + 0x25c]
mov dword [esp + 0x400], 0xffffffff
call fcn.00406c30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3f8]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret