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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4866be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4bc
mov eax, 0xd
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x60], eax
push esi
lea eax, [esp + 0x14]
push edi
push eax
push str.BitsPerCoordinate
mov ecx, ebx
call fcn.00411ad0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
xor edi, edi
cmp eax, edi
je 0x44f892
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], edx
call fcn.00411e80
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push str.BitsPerComponent
call fcn.00411ad0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
cmp eax, edi
je 0x44f892
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], edx
call fcn.00411e80
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], edi
cmp eax, 4
lea eax, [esp + 0x18]
mov dword [esp + 0x84], edi
push eax
jne 0x44f0ed
push str.BitsPerFlag
mov ecx, ebx
call fcn.00411ad0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
cmp eax, edi
je 0x44f892
mov edx, dword [esp + 0x20]
mov dword [esp + 0x84], edx
jmp 0x44f115
push str.VerticesPerRow
mov ecx, ebx
call fcn.00411ad0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
cmp eax, edi
je 0x44f892
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x18]
call fcn.00411e80
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push str.Decode
call fcn.00411ad0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 6
sete cl
mov eax, ecx
cmp eax, edi
je 0x44f892
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0xc], 6
jl 0x44f892
lea edx, [esp + 0x68]
push edx
push edi
call fcn.00412320
cmp dword [eax], 1
jne 0x44f16d
fild dword [eax + 8]
fstp qword [esp + 0x8c]
jmp 0x44f181
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
lea ecx, [esp + 0x68]
call fcn.00411e80
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push 1
call fcn.00412320
cmp dword [eax], 1
jne 0x44f1a8
fild dword [eax + 8]
fstp qword [esp + 0x5c]
jmp 0x44f1b6
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x68]
call fcn.00411e80
fld qword [0x489268]
fild dword [esp + 0x88]
call fcn.00466b60
fsub qword [0x488ba8]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push 2
fstp qword [esp + 0x34]
fld qword [esp + 0x64]
fsub qword [esp + 0x94]
fdiv qword [esp + 0x34]
fstp qword [esp + 0xc4]
call fcn.00412320
cmp dword [eax], 1
jne 0x44f20f
fild dword [eax + 8]
fstp qword [esp + 0x5c]
jmp 0x44f21d
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
lea ecx, [esp + 0x68]
call fcn.00411e80
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push 3
call fcn.00412320
cmp dword [eax], 1
jne 0x44f244
fild dword [eax + 8]
fstp qword [esp + 0xc]
jmp 0x44f252
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x68]
call fcn.00411e80
fld qword [esp + 0xc]
fsub qword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
xor esi, esi
fdiv qword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
cmp eax, 5
fstp qword [esp + 0xb4]
jle 0x44f32a
mov edi, 5
cmp edi, 0x45
jge 0x44f328
lea eax, [esp + 0x68]
lea edx, [edi - 1]
push eax
push edx
call fcn.00412320
cmp dword [eax], 1
jne 0x44f2a6
fild dword [eax + 8]
jmp 0x44f2a9
fld qword [eax + 8]
fst qword [esp + 0x2c]
fstp qword [esp + esi*8 + 0x1c8]
lea ecx, [esp + 0x68]
call fcn.00411e80
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push edi
call fcn.00412320
cmp dword [eax], 1
jne 0x44f2d6
fild dword [eax + 8]
jmp 0x44f2d9
fld qword [eax + 8]
fst qword [esp + 0xc]
fstp qword [esp + esi*8 + 0x3c8]
lea ecx, [esp + 0x68]
call fcn.00411e80
mov ecx, dword [esp + 0x80]
mov edx, 1
fld qword [esp + 0xc]
fsub qword [esp + 0x2c]
shl edx, cl
mov ecx, dword [esp + 0x20]
add edi, 2
mov eax, dword [ecx + 0xc]
dec edx
inc esi
mov dword [esp + 0xc], edx
cmp edi, eax
fild dword [esp + 0xc]
fdivp st(1)
fstp qword [esp + esi*8 + 0x2c0]
jl 0x44f285
xor edi, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], esi
call fcn.00411e80
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push str.Function
call fcn.00411ad0
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 5
sete cl
mov eax, ecx
cmp eax, edi
jne 0x44f41a
cmp dword [esp + 0x18], 6
jne 0x44f3f5
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
cmp eax, 0x20
mov dword [esp + 0x58], eax
jle 0x44f39b
push 0x4bb438
call fcn.00466a1e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
cmp eax, edi
jle 0x44f41e
mov ebx, dword [esp + 0x58]
lea edi, [esp + 0xc8]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push esi
call fcn.00412320
lea ecx, [esp + 0x68]
push ecx
call fcn.00457360
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x44f3e3
lea ecx, [esp + 0x68]
call fcn.00411e80
inc esi
add edi, 4
cmp esi, ebx
jl 0x44f3ac
xor edi, edi
jmp 0x44f41e
lea ecx, [esp + 0x18]
call fcn.00411e80
lea ecx, [esp + 0x68]
jmp 0x44f8a3
lea edx, [esp + 0x18]
mov dword [esp + 0x58], 1
push edx
call fcn.00457360
add esp, 4
cmp eax, edi
mov dword [esp + 0xc8], eax
jne 0x44f41e
jmp 0x44f89f
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x18]
call fcn.00411e80
push 0xc
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x7c], edi
call fcn.0047c2dc
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov dword [esp + 0x4d0], edi
je 0x44f474
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, eax
call fcn.0044ecc0
mov dword [esp + 0x38], eax
jmp 0x44f478
mov dword [esp + 0x38], edi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esp + 0x4d0], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], edi
cmp dword [ebp + 8], 4
jne 0x44f4b8
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x78]
mov ecx, esi
push edx
push eax
call fcn.0044ecf0
test eax, eax
je 0x44f746
jmp 0x44f4bc
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
lea ecx, [esp + 0x94]
push ecx
push edi
mov ecx, esi
call fcn.0044ecf0
test eax, eax
je 0x44f746
lea edx, [esp + 0x98]
mov ecx, esi
push edx
push edi
call fcn.0044ecf0
test eax, eax
je 0x44f746
mov eax, dword [esp + 0x44]
xor edi, edi
test eax, eax
jle 0x44f532
lea esi, [esp + 0x148]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x38]
push esi
push eax
call fcn.0044ecf0
test eax, eax
je 0x44f528
mov eax, dword [esp + 0x44]
inc edi
add esi, 4
cmp edi, eax
jl 0x44f504
jmp 0x44f532
cmp edi, dword [esp + 0x44]
jl 0x44f742
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jne 0x44f56b
test eax, eax
jne 0x44f549
mov eax, 0x10
jmp 0x44f54b
add eax, eax
mov ecx, dword [esp + 0x48]
push 0x90
push eax
push ecx
mov dword [esp + 0x88], eax
call fcn.0041b760
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x44f56f
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x94]
xor esi, esi
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], esi
fild qword [esp + 0x9c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xa8], esi
fmul qword [esp + 0xbc]
fadd qword [esp + 0x8c]
fstp qword [ecx + eax]
mov edx, dword [esp + 0x98]
mov dword [esp + 0xa4], edx
fild qword [esp + 0xa4]
fmul qword [esp + 0xb4]
fadd qword [esp + 0x5c]
fstp qword [ecx + eax + 8]
cmp dword [esp + 0x44], esi
jle 0x44f62d
mov eax, ecx
mov ecx, dword [esp + 0x48]
lea edi, [esp + 0x148]
lea ebx, [eax + ecx + 0x10]
mov edx, dword [edi]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], edx
fild qword [esp + 0xac]
fmul qword [esp + esi*8 + 0x2c8]
fadd qword [esp + esi*8 + 0x1c8]
fmul qword [0x489228]
call fcn.00466b30
mov dword [ebx], eax
mov eax, dword [esp + 0x44]
inc esi
add edi, 4
add ebx, 4
cmp esi, eax
jl 0x44f5e4
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
inc esi
add edx, 0x90
inc ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edx
call fcn.004322e0
cmp dword [ebp + 8], 4
jne 0x44f4b8
mov esi, dword [esp + 0x54]
test esi, esi
je 0x44f738
mov edi, 1
cmp esi, edi
je 0x44f738
cmp esi, 2
je 0x44f68f
mov eax, dword [esp + 0x78]
test eax, eax
ja 0x44f68f
mov dword [esp + 0x54], edi
jmp 0x44f490
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jne 0x44f6c5
test eax, eax
jne 0x44f6a6
mov eax, 0x10
jmp 0x44f6a8
add eax, eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [eax + eax*2]
push 4
push eax
push ecx
call fcn.0041b760
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x44f6c9
mov eax, dword [esp + 0x28]
cmp esi, 2
jne 0x44f6ed
mov edx, dword [esp + 0x40]
mov dword [esp + 0x54], 3
lea ecx, [edx - 1]
lea esi, [ecx - 1]
mov dword [ebx + eax], esi
mov dword [ebx + eax + 4], ecx
mov dword [ebx + eax + 8], edx
jmp 0x44f723
cmp dword [esp + 0x78], edi
jne 0x44f70c
mov edx, dword [ebx + eax - 8]
mov dword [ebx + eax], edx
mov ecx, dword [ebx + eax - 4]
mov edx, dword [esp + 0x40]
mov dword [ebx + eax + 4], ecx
mov dword [ebx + eax + 8], edx
jmp 0x44f723
mov ecx, dword [ebx + eax - 0xc]
mov dword [ebx + eax], ecx
mov edx, dword [ebx + eax - 4]
mov ecx, dword [esp + 0x40]
mov dword [ebx + eax + 4], edx
mov dword [ebx + eax + 8], ecx
mov ecx, dword [esp + 0x34]
inc ecx
add ebx, 0xc
mov dword [esp + 0x34], ecx
mov dword [esp + 0xc], ebx
jmp 0x44f490
inc esi
mov dword [esp + 0x54], esi
jmp 0x44f490
mov esi, dword [esp + 0x38]
test esi, esi
je 0x44f75a
mov ecx, esi
call fcn.0044ece0
push esi
call fcn.0047c305
add esp, 4
cmp dword [ebp + 8], 5
jne 0x44f806
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
cdq
idiv ecx
dec ecx
push 4
mov edi, eax
lea ebx, [edi + edi - 2]
imul ebx, ecx
mov dword [esp + 0x38], ebx
lea edx, [ebx + ebx*2]
push edx
call fcn.0041b6d0
mov dword [esp + 0x30], eax
lea eax, [edi - 1]
add esp, 8
xor esi, esi
test eax, eax
jle 0x44f80a
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], 1
mov dword [esp + 0xc], eax
lea edi, [ecx - 1]
test edi, edi
jle 0x44f7eb
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + esi*2]
mov ebx, edi
lea eax, [eax + edx*4]
lea edx, [ecx - 1]
inc esi
mov dword [eax], edx
lea edx, [edi + ecx]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
add eax, 0xc
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
add eax, 0xc
add edx, ecx
inc esi
mov dword [eax - 4], edx
inc ecx
dec ebx
jne 0x44f7bf
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
jne 0x44f7ab
jmp 0x44f80a
mov ebx, dword [esp + 0x34]
push 0x158
call fcn.0047c2dc
add esp, 4
test eax, eax
je 0x44f847
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x54]
push ebx
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [ebp + 8]
push ecx
push edx
mov ecx, eax
call fcn.0044edb0
mov esi, eax
jmp 0x44f849
xor esi, esi
mov eax, dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0044d280
test eax, eax
jne 0x44f87b
test esi, esi
je 0x44f8a8
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
xor eax, eax
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4bb438
call fcn.00466a1e
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00411e80
mov ecx, dword [esp + 0x4c8]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret