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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48661e
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.00410f90
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
xor edi, edi
cmp eax, edi
je 0x44f802
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
mov dword [esp + 0x88], edx
call fcn.00411340
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push str.BitsPerComponent
call fcn.00410f90
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
cmp eax, edi
je 0x44f802
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], edx
call fcn.00411340
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 0x44f05d
push str.BitsPerFlag
mov ecx, ebx
call fcn.00410f90
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
cmp eax, edi
je 0x44f802
mov edx, dword [esp + 0x20]
mov dword [esp + 0x84], edx
jmp 0x44f085
push str.VerticesPerRow
mov ecx, ebx
call fcn.00410f90
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
cmp eax, edi
je 0x44f802
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x18]
call fcn.00411340
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push str.Decode
call fcn.00410f90
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 6
sete cl
mov eax, ecx
cmp eax, edi
je 0x44f802
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0xc], 6
jl 0x44f802
lea edx, [esp + 0x68]
push edx
push edi
call fcn.004117c0
cmp dword [eax], 1
jne 0x44f0dd
fild dword [eax + 8]
fstp qword [esp + 0x8c]
jmp 0x44f0f1
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.00411340
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push 1
call fcn.004117c0
cmp dword [eax], 1
jne 0x44f118
fild dword [eax + 8]
fstp qword [esp + 0x5c]
jmp 0x44f126
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.00411340
fld qword [0x489268]
fild dword [esp + 0x88]
call fcn.00466ad0
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.004117c0
cmp dword [eax], 1
jne 0x44f17f
fild dword [eax + 8]
fstp qword [esp + 0x5c]
jmp 0x44f18d
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.00411340
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push 3
call fcn.004117c0
cmp dword [eax], 1
jne 0x44f1b4
fild dword [eax + 8]
fstp qword [esp + 0xc]
jmp 0x44f1c2
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.00411340
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 0x44f29a
mov edi, 5
cmp edi, 0x45
jge 0x44f298
lea eax, [esp + 0x68]
lea edx, [edi - 1]
push eax
push edx
call fcn.004117c0
cmp dword [eax], 1
jne 0x44f216
fild dword [eax + 8]
jmp 0x44f219
fld qword [eax + 8]
fst qword [esp + 0x2c]
fstp qword [esp + esi*8 + 0x1c8]
lea ecx, [esp + 0x68]
call fcn.00411340
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push edi
call fcn.004117c0
cmp dword [eax], 1
jne 0x44f246
fild dword [eax + 8]
jmp 0x44f249
fld qword [eax + 8]
fst qword [esp + 0xc]
fstp qword [esp + esi*8 + 0x3c8]
lea ecx, [esp + 0x68]
call fcn.00411340
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 0x44f1f5
xor edi, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], esi
call fcn.00411340
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
push str.Function
call fcn.00410f90
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 5
sete cl
mov eax, ecx
cmp eax, edi
jne 0x44f38a
cmp dword [esp + 0x18], 6
jne 0x44f365
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
cmp eax, 0x20
mov dword [esp + 0x58], eax
jle 0x44f30b
push 0x4bb418
call fcn.0046698e
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 0x44f38e
mov ebx, dword [esp + 0x58]
lea edi, [esp + 0xc8]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
push esi
call fcn.004117c0
lea ecx, [esp + 0x68]
push ecx
call fcn.004572d0
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x44f353
lea ecx, [esp + 0x68]
call fcn.00411340
inc esi
add edi, 4
cmp esi, ebx
jl 0x44f31c
xor edi, edi
jmp 0x44f38e
lea ecx, [esp + 0x18]
call fcn.00411340
lea ecx, [esp + 0x68]
jmp 0x44f813
lea edx, [esp + 0x18]
mov dword [esp + 0x58], 1
push edx
call fcn.004572d0
add esp, 4
cmp eax, edi
mov dword [esp + 0xc8], eax
jne 0x44f38e
jmp 0x44f80f
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x18]
call fcn.00411340
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.0047c23c
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov dword [esp + 0x4d0], edi
je 0x44f3e4
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, eax
call fcn.0044ec30
mov dword [esp + 0x38], eax
jmp 0x44f3e8
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 0x44f428
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x78]
mov ecx, esi
push edx
push eax
call fcn.0044ec60
test eax, eax
je 0x44f6b6
jmp 0x44f42c
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
lea ecx, [esp + 0x94]
push ecx
push edi
mov ecx, esi
call fcn.0044ec60
test eax, eax
je 0x44f6b6
lea edx, [esp + 0x98]
mov ecx, esi
push edx
push edi
call fcn.0044ec60
test eax, eax
je 0x44f6b6
mov eax, dword [esp + 0x44]
xor edi, edi
test eax, eax
jle 0x44f4a2
lea esi, [esp + 0x148]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x38]
push esi
push eax
call fcn.0044ec60
test eax, eax
je 0x44f498
mov eax, dword [esp + 0x44]
inc edi
add esi, 4
cmp edi, eax
jl 0x44f474
jmp 0x44f4a2
cmp edi, dword [esp + 0x44]
jl 0x44f6b2
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jne 0x44f4db
test eax, eax
jne 0x44f4b9
mov eax, 0x10
jmp 0x44f4bb
add eax, eax
mov ecx, dword [esp + 0x48]
push 0x90
push eax
push ecx
mov dword [esp + 0x88], eax
call fcn.0041abe0
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x44f4df
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 0x44f59d
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.00466aa0
mov dword [ebx], eax
mov eax, dword [esp + 0x44]
inc esi
add edi, 4
add ebx, 4
cmp esi, eax
jl 0x44f554
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.00432250
cmp dword [ebp + 8], 4
jne 0x44f428
mov esi, dword [esp + 0x54]
test esi, esi
je 0x44f6a8
mov edi, 1
cmp esi, edi
je 0x44f6a8
cmp esi, 2
je 0x44f5ff
mov eax, dword [esp + 0x78]
test eax, eax
ja 0x44f5ff
mov dword [esp + 0x54], edi
jmp 0x44f400
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jne 0x44f635
test eax, eax
jne 0x44f616
mov eax, 0x10
jmp 0x44f618
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.0041abe0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x44f639
mov eax, dword [esp + 0x28]
cmp esi, 2
jne 0x44f65d
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 0x44f693
cmp dword [esp + 0x78], edi
jne 0x44f67c
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 0x44f693
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 0x44f400
inc esi
mov dword [esp + 0x54], esi
jmp 0x44f400
mov esi, dword [esp + 0x38]
test esi, esi
je 0x44f6ca
mov ecx, esi
call fcn.0044ec50
push esi
call fcn.0047c265
add esp, 4
cmp dword [ebp + 8], 5
jne 0x44f776
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.0041ab50
mov dword [esp + 0x30], eax
lea eax, [edi - 1]
add esp, 8
xor esi, esi
test eax, eax
jle 0x44f77a
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], 1
mov dword [esp + 0xc], eax
lea edi, [ecx - 1]
test edi, edi
jle 0x44f75b
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 0x44f72f
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 0x44f71b
jmp 0x44f77a
mov ebx, dword [esp + 0x34]
push 0x158
call fcn.0047c23c
add esp, 4
test eax, eax
je 0x44f7b7
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.0044ed20
mov esi, eax
jmp 0x44f7b9
xor esi, esi
mov eax, dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0044d1f0
test eax, eax
jne 0x44f7eb
test esi, esi
je 0x44f818
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 0x4bb418
call fcn.0046698e
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00411340
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