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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x52ad3e
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x59c6b8]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov eax, dword [0x59c6b8]
xor eax, esp
push eax
lea eax, [esp + 0x478]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, 0xd
mov dword [esp + 0x1c], eax
mov dword [esp + 0x64], eax
push 0
lea eax, [esp + 0x20]
push eax
push str.BitsPerCoordinate
mov ecx, ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0xa4], ebx
call fcn.00412200
cmp dword [eax], 1
jne 0x431261
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa0], edi
call fcn.0044ea50
push 0
lea ecx, [esp + 0x20]
push ecx
push str.BitsPerComponent
mov ecx, ebx
call fcn.00412200
cmp dword [eax], 1
jne 0x43125a
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], edx
call fcn.0044ea50
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x94], eax
push eax
mov ecx, ebx
cmp esi, 4
jne 0x430a5b
lea eax, [esp + 0x20]
push eax
push str.BitsPerFlag
call fcn.00412200
cmp dword [eax], 1
jne 0x430a51
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x94], ecx
jmp 0x430a7b
push str.Missing_or_invalid_BitsPerFlag_in_shading_dictionary
jmp 0x431266
lea edx, [esp + 0x20]
push edx
push str.VerticesPerRow
call fcn.00412200
cmp dword [eax], 1
jne 0x431253
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x1c]
call fcn.0044ea50
push 0
lea ecx, [esp + 0x20]
push ecx
push str.Decode
mov ecx, ebx
call fcn.00412200
cmp dword [eax], 6
jne 0x43124c
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0xc], 6
jl 0x43124c
lea edx, [esp + 0x64]
push edx
push 0
call fcn.00408350
cmp dword [eax], 1
jne 0x430ac4
fild dword [eax + 8]
jmp 0x430ac7
fld qword [eax + 8]
lea ecx, [esp + 0x64]
fstp qword [esp + 0xa4]
call fcn.0044ea50
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x64]
push eax
push 1
call fcn.00408350
cmp dword [eax], 1
jne 0x430af1
fild dword [eax + 8]
jmp 0x430af4
fld qword [eax + 8]
lea ecx, [esp + 0x64]
fstp qword [esp + 0x8c]
call fcn.0044ea50
fld qword [0x5312f8]
push edi
sub esp, 8
fstp qword [esp]
call fcn.0042e570
fsub qword [0x531530]
add esp, 0xc
lea ecx, [esp + 0x64]
push ecx
fst qword [esp + 0x80]
mov ecx, dword [esp + 0x28]
fld qword [esp + 0x90]
push 2
fsub qword [esp + 0xac]
fdivrp st(1)
fstp qword [esp + 0xbc]
call fcn.00408350
cmp dword [eax], 1
jne 0x430b57
fild dword [eax + 8]
jmp 0x430b5a
fld qword [eax + 8]
lea ecx, [esp + 0x64]
fstp qword [esp + 0x8c]
call fcn.0044ea50
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x64]
push edx
push 3
call fcn.00408350
cmp dword [eax], 1
jne 0x430b84
fild dword [eax + 8]
jmp 0x430b87
fld qword [eax + 8]
lea ecx, [esp + 0x64]
fstp qword [esp + 0x34]
call fcn.0044ea50
fld qword [esp + 0x34]
fsub qword [esp + 0x8c]
mov ecx, dword [esp + 0x24]
xor esi, esi
cmp dword [ecx + 0xc], 5
fdiv qword [esp + 0x7c]
fstp qword [esp + 0xac]
jle 0x430c5e
mov edi, 5
nop
cmp edi, 0x45
jge 0x430c5e
lea eax, [esp + 0x64]
push eax
lea edx, [edi - 1]
push edx
call fcn.00408350
cmp dword [eax], 1
jne 0x430be1
fild dword [eax + 8]
jmp 0x430be4
fld qword [eax + 8]
fst qword [esp + 0x7c]
lea ecx, [esp + 0x64]
fstp qword [esp + esi*8 + 0x23c]
call fcn.0044ea50
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x64]
push eax
push edi
call fcn.00408350
cmp dword [eax], 1
jne 0x430c11
fild dword [eax + 8]
jmp 0x430c14
fld qword [eax + 8]
fst qword [esp + 0x34]
lea ecx, [esp + 0x64]
fstp qword [esp + esi*8 + 0x33c]
call fcn.0044ea50
mov ecx, dword [esp + 0x40]
fld qword [esp + 0x34]
fsub qword [esp + 0x7c]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x24]
add edi, 2
inc esi
dec edx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fdivp st(1)
fstp qword [esp + esi*8 + 0x134]
cmp edi, dword [ecx + 0xc]
jl 0x430bc0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
call fcn.0044ea50
xor esi, esi
push esi
lea eax, [esp + 0x20]
push eax
push str.Function
mov ecx, ebx
call fcn.00412200
cmp dword [eax], 5
je 0x430d2e
cmp dword [esp + 0x1c], 6
jne 0x430d08
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x60], eax
cmp eax, 0x20
jle 0x430cb7
push str.Invalid_Function_array_in_shading_dictionary
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
call fcn.00412330
add esp, 0x10
jmp 0x43127d
cmp eax, esi
jle 0x430d32
mov edi, eax
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x64]
push edx
push esi
call fcn.00408350
lea eax, [esp + 0x64]
push 0
push eax
call fcn.00415540
add esp, 8
mov dword [esp + esi*4 + 0x33c], eax
test eax, eax
je 0x430cf6
lea ecx, [esp + 0x64]
call fcn.0044ea50
inc esi
cmp esi, edi
jl 0x430cbd
jmp 0x430d32
lea ecx, [esp + 0x1c]
call fcn.0044ea50
lea ecx, [esp + 0x64]
jmp 0x431278
lea ecx, [esp + 0x1c]
push esi
push ecx
mov dword [esp + 0x68], 1
call fcn.00415540
add esp, 8
mov dword [esp + 0x33c], eax
cmp eax, esi
jne 0x430d32
jmp 0x431274
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x1c]
call fcn.0044ea50
xor ebx, ebx
push 0xc
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18], ebx
call fcn.00511699
mov edi, eax
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x480], ebx
cmp edi, ebx
je 0x430d8f
mov ecx, dword [ebp + 0x10]
mov dword [edi], ecx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x30], edi
jmp 0x430d93
mov dword [esp + 0x30], ebx
mov dword [esp + 0x480], 0xffffffff
mov dword [esp + 0x54], ebx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x78], ebx
mov dword [esp + 0x50], ebx
cmp dword [esp + 0x5c], 4
mov esi, dword [esp + 0x30]
jne 0x430dd9
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x14]
push ecx
push edx
mov ecx, esi
call fcn.0042b7c0
test eax, eax
je 0x431128
mov edi, dword [esp + 0xa0]
lea eax, [esp + 0x9c]
push eax
push edi
mov ecx, esi
call fcn.0042b7c0
test eax, eax
je 0x431128
lea ecx, [esp + 0x7c]
push ecx
push edi
mov ecx, esi
call fcn.0042b7c0
test eax, eax
je 0x431128
xor edi, edi
cmp dword [esp + 0x18], edi
jle 0x430e49
lea esi, [esp + 0xbc]
lea esp, [esp]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
push esi
push edx
call fcn.0042b7c0
test eax, eax
je 0x430e3f
inc edi
add esi, 4
cmp edi, dword [esp + 0x18]
jl 0x430e20
jmp 0x430e49
cmp edi, dword [esp + 0x18]
jl 0x431124
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x44], eax
jne 0x430e82
test eax, eax
jne 0x430e61
mov dword [esp + 0x58], 0x10
jmp 0x430e67
add eax, eax
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
push 0x110
push ecx
push edx
call fcn.004a3110
add esp, 0xc
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x9c]
fild dword [esp + 0x9c]
test eax, eax
jns 0x430e9a
fadd qword [0x534300]
fmul qword [esp + 0xb4]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
fadd qword [esp + 0xa4]
fstp qword [eax + ecx]
fild dword [esp + 0x7c]
test edx, edx
jns 0x430ec5
fadd qword [0x534300]
fmul qword [esp + 0xac]
mov esi, dword [esp + 0x18]
fadd qword [esp + 0x8c]
fstp qword [eax + ecx + 8]
xor eax, eax
cmp esi, 4
jl 0x430fb1
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x50]
lea edx, [esi - 3]
lea ecx, [edi + ecx + 0x18]
jmp 0x430f00
mov edi, dword [esp + eax*4 + 0xbc]
fild dword [esp + eax*4 + 0xbc]
test edi, edi
jns 0x430f18
fadd qword [0x534300]
fmul qword [esp + eax*8 + 0x13c]
mov edi, dword [esp + eax*4 + 0xc0]
fadd qword [esp + eax*8 + 0x23c]
fstp qword [ecx - 8]
fild dword [esp + eax*4 + 0xc0]
test edi, edi
jns 0x430f41
fadd qword [0x534300]
fmul qword [esp + eax*8 + 0x144]
mov edi, dword [esp + eax*4 + 0xc4]
fadd qword [esp + eax*8 + 0x244]
fstp qword [ecx]
fild dword [esp + eax*4 + 0xc4]
test edi, edi
jns 0x430f69
fadd qword [0x534300]
fmul qword [esp + eax*8 + 0x14c]
mov edi, dword [esp + eax*4 + 0xc8]
fadd qword [esp + eax*8 + 0x24c]
fstp qword [ecx + 8]
fild dword [esp + eax*4 + 0xc8]
test edi, edi
jns 0x430f92
fadd qword [0x534300]
fmul qword [esp + eax*8 + 0x154]
add eax, 4
add ecx, 0x20
fadd qword [esp + eax*8 + 0x234]
fstp qword [ecx - 0x10]
cmp eax, edx
jl 0x430f00
cmp eax, esi
jge 0x431001
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x2c]
add edx, eax
lea ecx, [ecx + edx*8 + 0x10]
jmp 0x430fd0
mov edx, dword [esp + eax*4 + 0xbc]
fild dword [esp + eax*4 + 0xbc]
test edx, edx
jns 0x430fe8
fadd qword [0x534300]
fmul qword [esp + eax*8 + 0x13c]
inc eax
add ecx, 8
fadd qword [esp + eax*8 + 0x234]
fstp qword [ecx - 8]
cmp eax, esi
jl 0x430fd0
add dword [esp + 0x50], 0x110
add dword [esp + 0x78], 0x22
mov eax, 1
add dword [esp + 0x44], eax
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
xor ecx, ecx
cmp dword [esp + 0x5c], 4
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jne 0x430db2
mov esi, dword [esp + 0x4c]
lea edi, [ecx + 1]
test esi, esi
je 0x431119
cmp esi, edi
je 0x431119
cmp esi, 2
je 0x43105d
cmp dword [esp + 0x14], ecx
ja 0x43105d
mov dword [esp + 0x4c], edi
jmp 0x430db2
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x3c], eax
jne 0x43108f
test eax, eax
jne 0x431075
mov eax, 0x10
jmp 0x431077
add eax, eax
mov dword [esp + 0x88], eax
push 4
lea eax, [eax + eax*2]
push eax
push ebx
call fcn.004a3110
add esp, 0xc
mov ebx, eax
mov ecx, dword [esp + 0x54]
cmp esi, 2
jne 0x4310c5
mov edx, dword [esp + 0x10]
add dword [esp + 0x3c], edi
lea eax, [edx - 1]
lea esi, [eax - 1]
mov dword [ecx + ebx], esi
mov dword [ecx + ebx + 4], eax
mov dword [ecx + ebx + 8], edx
add ecx, 0xc
mov dword [esp + 0x4c], 3
mov dword [esp + 0x54], ecx
jmp 0x430db2
cmp dword [esp + 0x14], edi
jne 0x4310f2
mov edx, dword [ecx + ebx - 8]
mov eax, dword [ecx + ebx - 4]
add dword [esp + 0x3c], edi
mov dword [ecx + ebx], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + ebx + 4], eax
mov dword [ecx + ebx + 8], edx
add ecx, 0xc
mov dword [esp + 0x54], ecx
jmp 0x430db2
mov eax, dword [ecx + ebx - 0xc]
mov edx, dword [ecx + ebx - 4]
add dword [esp + 0x3c], edi
mov dword [ecx + ebx], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + ebx + 4], edx
mov dword [ecx + ebx + 8], eax
add ecx, 0xc
mov dword [esp + 0x54], ecx
jmp 0x430db2
add esi, edi
mov dword [esp + 0x4c], esi
jmp 0x430db2
mov esi, dword [esp + 0x30]
mov dword [esp + 0x10], ebx
test esi, esi
je 0x431142
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push esi
call fcn.0051163f
add esp, 4
cmp dword [esp + 0x5c], 5
jne 0x4311dc
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
cdq
idiv ebx
dec ebx
push 4
mov edi, eax
lea eax, [edi + edi - 2]
imul eax, ebx
lea ecx, [eax + eax*2]
push ecx
mov dword [esp + 0x44], eax
call fcn.004a30a0
mov dword [esp + 0x18], eax
lea eax, [edi - 1]
add esp, 8
xor esi, esi
test eax, eax
jle 0x4311dc
mov dword [esp + 0x14], 1
mov dword [esp + 0x40], eax
lea ecx, [ecx]
test ebx, ebx
jle 0x4311ce
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
lea edx, [esi + esi*2]
lea eax, [eax + edx*4]
dec edi
lea edx, [ecx - 1]
mov dword [eax], edx
lea edx, [ecx + ebx]
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x48]
add edx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], edx
add esi, 2
add eax, 0x18
inc ecx
dec edi
jne 0x4311a7
mov eax, dword [esp + 0x48]
add dword [esp + 0x14], eax
dec dword [esp + 0x40]
jne 0x431190
push 0x158
call fcn.00511699
add esp, 4
test eax, eax
je 0x431223
mov ecx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x340]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x74]
push ecx
push edx
mov ecx, eax
call fcn.0042b890
mov esi, eax
jmp 0x431225
xor esi, esi
mov eax, dword [esp + 0x98]
push eax
mov ecx, esi
call fcn.0042fb00
test eax, eax
jne 0x431248
test esi, esi
je 0x43127d
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
jmp 0x43127d
mov eax, esi
jmp 0x43127f
push str.Missing_or_invalid_Decode_array_in_shading_dictionary
jmp 0x431266
push str.Missing_or_invalid_VerticesPerRow_in_shading_dictionary
jmp 0x431266
push str.Missing_or_invalid_BitsPerComponent_in_shading_dictionary
jmp 0x431266
push str.Missing_or_invalid_BitsPerCoordinate_in_shading_dictionary
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
call fcn.00412330
add esp, 0x10
lea ecx, [esp + 0x1c]
call fcn.0044ea50
xor eax, eax
mov ecx, dword [esp + 0x478]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.00511afd
mov esp, ebp
pop ebp
ret