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

Disassembly:
push 0xffffffffffffffff
push 0x4861c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
mov eax, 0xd
push ebx
mov ebx, dword [esp + 0x17c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov dword [esp + 4], eax
mov dword [esp + 0x24], eax
push ebp
xor eax, eax
push esi
lea ecx, [esp + 0x48]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebx]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x40]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x38]
lea ecx, [esp + 0x10]
mov edi, eax
push ecx
push str.Width
mov ecx, edi
call fcn.00411ac0
mov eax, dword [esp + 0x10]
mov esi, 5
cmp eax, esi
jne 0x44751b
lea ecx, [esp + 0x10]
call fcn.00411e70
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push 0x4976c0
call fcn.00411ac0
mov eax, dword [esp + 0x10]
mov ebp, 1
cmp eax, ebp
jne 0x447e90
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], eax
call fcn.00411e70
lea ecx, [esp + 0x10]
push ecx
push str.Height
mov ecx, edi
call fcn.00411ac0
cmp dword [esp + 0x10], esi
jne 0x44756e
lea ecx, [esp + 0x10]
call fcn.00411e70
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push 0x49d9ec
call fcn.00411ac0
cmp dword [esp + 0x10], ebp
jne 0x447e90
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], ebp
call fcn.00411e70
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push str.ImageMask
call fcn.00411ac0
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x4475c0
lea ecx, [esp + 0x10]
call fcn.00411e70
lea ecx, [esp + 0x10]
push ecx
push 0x4b4974
mov ecx, edi
call fcn.00411ac0
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jne 0x4475cc
mov esi, dword [esp + 0x18]
jmp 0x4475d5
cmp eax, 5
jne 0x447e90
lea ecx, [esp + 0x10]
call fcn.00411e70
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x447644
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push str.BitsPerComponent
call fcn.00411ac0
cmp dword [esp + 0x10], 5
jne 0x447618
lea ecx, [esp + 0x10]
call fcn.00411e70
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push 0x4b4970
call fcn.00411ac0
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
jne 0x44762f
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
jmp 0x44763b
test esi, esi
je 0x447e90
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
call fcn.00411e70
test esi, esi
je 0x447708
cmp dword [esp + 0x24], 1
jne 0x447e99
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push str.Decode
xor esi, esi
call fcn.00411ac0
mov eax, dword [esp + 0x10]
cmp eax, 5
jne 0x447691
lea ecx, [esp + 0x10]
call fcn.00411e70
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push 0x49dba8
call fcn.00411ac0
mov eax, dword [esp + 0x10]
cmp eax, 6
jne 0x4476c6
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x1c]
push 0
call fcn.00412310
mov ecx, dword [esp + 0x30]
mov eax, 1
cmp ecx, eax
jne 0x4476bb
cmp dword [esp + 0x38], eax
jne 0x4476bb
mov esi, eax
lea ecx, [esp + 0x30]
call fcn.00411e70
jmp 0x4476cf
cmp eax, 5
jne 0x447e90
lea ecx, [esp + 0x10]
call fcn.00411e70
mov eax, dword [esp + 0x18c]
mov edi, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 4]
push esi
push ebp
push eax
mov eax, dword [esp + 0x194]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edi + 0x18]
push eax
call dword [edx + 0x100]
jmp 0x447c90
lea ecx, [esp + 0x10]
push ecx
push str.ColorSpace
mov ecx, edi
call fcn.00411ac0
mov eax, dword [esp + 0x10]
mov ebp, 5
cmp eax, ebp
jne 0x447740
lea ecx, [esp + 0x10]
call fcn.00411e70
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push 0x4b4840
call fcn.00411ac0
cmp dword [esp + 0x10], 4
jne 0x447797
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, dword [edx + 0x10]
call fcn.0043e400
cmp dword [esp + 0x30], ebp
je 0x44778e
lea ecx, [esp + 0x10]
call fcn.00411e70
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x447797
lea ecx, [esp + 0x30]
call fcn.00411e70
mov eax, dword [esp + 0x10]
or ebx, 0xffffffff
cmp eax, ebp
je 0x4477b6
lea ecx, [esp + 0x10]
push ecx
call fcn.00448c20
add esp, 4
mov esi, eax
jmp 0x447865
mov eax, dword [esp + 0x4c]
cmp eax, 1
jne 0x4477fb
push 4
call fcn.0047c2bc
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x17c], 0
je 0x4477ee
mov ecx, eax
call fcn.004494d0
mov dword [esp + 0x17c], ebx
mov esi, eax
jmp 0x447865
xor eax, eax
mov dword [esp + 0x17c], ebx
mov esi, eax
jmp 0x447865
cmp eax, 2
jne 0x44782f
push 4
call fcn.0047c2bc
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x17c], 1
je 0x4477ee
mov ecx, eax
call fcn.00449910
mov dword [esp + 0x17c], ebx
mov esi, eax
jmp 0x447865
cmp eax, 3
jne 0x447863
push 4
call fcn.0047c2bc
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x17c], 2
je 0x4477ee
mov ecx, eax
call fcn.00449fd0
mov dword [esp + 0x17c], ebx
mov esi, eax
jmp 0x447865
xor esi, esi
lea ecx, [esp + 0x10]
call fcn.00411e70
test esi, esi
je 0x447e99
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push str.Decode
call fcn.00411ac0
cmp dword [esp + 0x10], ebp
jne 0x4478a7
lea ecx, [esp + 0x10]
call fcn.00411e70
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push 0x49dba8
call fcn.00411ac0
push 0x2a0
call fcn.0047c2bc
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x17c], 3
je 0x4478dd
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push esi
push ecx
push edx
mov ecx, eax
call fcn.00451d50
mov ebp, eax
jmp 0x4478df
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x17c], ebx
call fcn.00411e70
mov eax, dword [ebp + 0x298]
test eax, eax
jne 0x447927
test ebp, ebp
je 0x447e99
mov ecx, ebp
call fcn.004521a0
push ebp
call fcn.0047c2e5
add esp, 4
push 0x4bb438
call fcn.00466a0e
add esp, 4
jmp 0x447ca6
lea eax, [esp + 0x50]
mov ecx, edi
push eax
push str.Mask
xor esi, esi
call fcn.00411ac0
lea ecx, [esp + 0x60]
push ecx
push str.SMask
mov ecx, edi
call fcn.00411ac0
cmp dword [esp + 0x60], 8
jne 0x447bce
mov eax, dword [esp + 0x18c]
test eax, eax
jne 0x447e99
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], ecx
mov edx, dword [ecx]
call dword [edx + 0x38]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push str.Width
mov ecx, esi
call fcn.00411ac0
mov eax, dword [esp + 0x10]
mov edi, 5
cmp eax, edi
jne 0x4479ac
lea ecx, [esp + 0x10]
call fcn.00411e70
lea ecx, [esp + 0x10]
push ecx
push 0x4976c0
mov ecx, esi
call fcn.00411ac0
mov eax, dword [esp + 0x10]
mov ebx, 1
cmp eax, ebx
jne 0x447e90
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edx
call fcn.00411e70
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push str.Height
call fcn.00411ac0
cmp dword [esp + 0x10], edi
jne 0x4479ff
lea ecx, [esp + 0x10]
call fcn.00411e70
lea ecx, [esp + 0x10]
push ecx
push 0x49d9ec
mov ecx, esi
call fcn.00411ac0
cmp dword [esp + 0x10], ebx
jne 0x447e90
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.00411e70
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push str.BitsPerComponent
call fcn.00411ac0
cmp dword [esp + 0x10], edi
jne 0x447a47
lea ecx, [esp + 0x10]
call fcn.00411e70
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 0x4b4970
call fcn.00411ac0
cmp dword [esp + 0x10], ebx
jne 0x447e90
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.00411e70
lea ecx, [esp + 0x10]
push ecx
push str.ColorSpace
mov ecx, esi
call fcn.00411ac0
mov eax, dword [esp + 0x10]
mov edi, 5
cmp eax, edi
jne 0x447a96
lea ecx, [esp + 0x10]
call fcn.00411e70
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push 0x4b4840
call fcn.00411ac0
cmp dword [esp + 0x10], 4
jne 0x447aed
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, dword [edx + 0x10]
call fcn.0043e400
cmp dword [esp + 0x30], edi
je 0x447ae4
lea ecx, [esp + 0x10]
call fcn.00411e70
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x447aed
lea ecx, [esp + 0x30]
call fcn.00411e70
lea ecx, [esp + 0x10]
push ecx
call fcn.00448c20
add esp, 4
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00411e70
test edi, edi
je 0x447e99
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
jne 0x447e99
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push str.Decode
call fcn.00411ac0
cmp dword [esp + 0x10], 5
jne 0x447b4e
lea ecx, [esp + 0x10]
call fcn.00411e70
lea ecx, [esp + 0x10]
push ecx
push 0x49dba8
mov ecx, esi
call fcn.00411ac0
push 0x2a0
call fcn.0047c2bc
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
mov dword [esp + 0x17c], 4
je 0x447b80
lea edx, [esp + 0x10]
push edi
push edx
push ebx
mov ecx, eax
call fcn.00451d50
mov esi, eax
jmp 0x447b82
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x17c], 0xffffffff
call fcn.00411e70
mov eax, dword [esi + 0x298]
test eax, eax
jne 0x447eab
test esi, esi
je 0x447e99
mov ecx, esi
call fcn.004521a0
push esi
call fcn.0047c2e5
add esp, 4
push 0x4bb438
call fcn.00466a0e
add esp, 4
jmp 0x447ca6
mov eax, dword [esp + 0x50]
cmp eax, 6
jne 0x447cc1
mov ecx, dword [esp + 0x58]
xor esi, esi
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x447c18
lea edi, [esp + 0x74]
cmp esi, 0x40
jge 0x447c18
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00412310
mov ecx, dword [esp + 0x18]
mov dword [edi], ecx
lea ecx, [esp + 0x10]
call fcn.00411e70
mov ecx, dword [esp + 0x58]
inc esi
add edi, 4
cmp esi, dword [ecx + 0xc]
jl 0x447bec
mov esi, 1
mov edi, dword [esp + 0x18c]
mov eax, dword [esp + 0x20]
neg esi
push edi
lea edi, [esp + 0x78]
sbb esi, esi
mov ecx, dword [eax + 4]
and esi, edi
mov eax, dword [eax + 0x18]
push esi
mov esi, dword [esp + 0x48]
push ebp
push esi
mov esi, dword [esp + 0x38]
mov edx, dword [ecx]
push esi
mov esi, dword [esp + 0x19c]
push esi
mov esi, dword [esp + 0x19c]
push esi
push eax
call dword [edx + 0x104]
mov esi, dword [esp + 0x44]
test esi, esi
je 0x447c76
mov ecx, esi
call fcn.004521a0
push esi
call fcn.0047c2e5
add esp, 4
lea ecx, [esp + 0x50]
call fcn.00411e70
lea ecx, [esp + 0x60]
call fcn.00411e70
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
imul ebp, dword [esp + 0x28]
mov eax, ebp
cmp eax, 0x3e8
jle 0x447ca3
mov eax, 0x3e8
add dword [edi + 0x14], eax
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x170
ret 0xc
cmp eax, 8
jne 0x447c1d
mov eax, dword [esp + 0x18c]
test eax, eax
jne 0x447e99
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x48], ecx
mov edx, dword [ecx]
call dword [edx + 0x38]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push str.Width
mov ecx, esi
call fcn.00411ac0
cmp dword [esp + 0x10], 5
jne 0x447d1a
lea ecx, [esp + 0x10]
call fcn.00411e70
lea ecx, [esp + 0x10]
push ecx
push 0x4976c0
mov ecx, esi
call fcn.00411ac0
cmp dword [esp + 0x10], 1
jne 0x447e90
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.00411e70
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push str.Height
call fcn.00411ac0
mov eax, dword [esp + 0x10]
mov edi, 5
cmp eax, edi
jne 0x447d6a
lea ecx, [esp + 0x10]
call fcn.00411e70
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 0x49d9ec
call fcn.00411ac0
cmp dword [esp + 0x10], 1
jne 0x447e90
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.00411e70
lea ecx, [esp + 0x10]
push ecx
push str.ImageMask
mov ecx, esi
call fcn.00411ac0
cmp dword [esp + 0x10], edi
jne 0x447db3
lea ecx, [esp + 0x10]
call fcn.00411e70
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push 0x4b4974
call fcn.00411ac0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x447e90
mov eax, dword [esp + 0x18]
test eax, eax
je 0x447e90
lea ecx, [esp + 0x10]
call fcn.00411e70
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push str.Decode
xor edi, edi
call fcn.00411ac0
mov eax, dword [esp + 0x10]
cmp eax, 5
jne 0x447e0e
lea ecx, [esp + 0x10]
call fcn.00411e70
lea ecx, [esp + 0x10]
push ecx
push 0x49dba8
mov ecx, esi
call fcn.00411ac0
mov eax, dword [esp + 0x10]
cmp eax, 6
jne 0x447e43
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
push 0
call fcn.00412310
mov ecx, dword [esp + 0x30]
mov eax, 1
cmp ecx, eax
jne 0x447e38
cmp dword [esp + 0x38], eax
jne 0x447e38
mov edi, eax
lea ecx, [esp + 0x30]
call fcn.00411e70
jmp 0x447e48
cmp eax, 5
jne 0x447e90
lea ecx, [esp + 0x10]
call fcn.00411e70
mov esi, dword [esp + 0x48]
push edi
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x54]
mov ecx, dword [eax + 4]
push esi
mov esi, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
mov edx, dword [ecx]
push esi
mov esi, dword [esp + 0x1a4]
push esi
mov esi, dword [esp + 0x1a4]
push esi
push eax
call dword [edx + 0x108]
jmp 0x447c5e
lea ecx, [esp + 0x10]
call fcn.00411e70
push 0x4bb438
call fcn.00466a0e
add esp, 4
jmp 0x447ca6
mov edi, dword [esp + 0x2c]
push esi
push ebp
push edi
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x54]
push edi
mov edi, dword [esp + 0x54]
mov ecx, dword [eax + 4]
push edi
mov edi, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
mov edx, dword [ecx]
push edi
mov edi, dword [esp + 0x1a4]
push edi
mov edi, dword [esp + 0x1a4]
push edi
push eax
call dword [edx + 0x10c]
test esi, esi
je 0x447c5e
mov ecx, esi
call fcn.004521a0
push esi
call fcn.0047c2e5
add esp, 4
jmp 0x447c5e