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

Disassembly:
push 0xffffffffffffffff
push 0x1018e586
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.100ad0d0
mov eax, dword [esp + 0x10]
mov esi, 5
cmp eax, esi
jne 0x100dd26b
lea ecx, [esp + 0x10]
call fcn.100986a0
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push 0x101c28d0
call fcn.100ad0d0
mov eax, dword [esp + 0x10]
mov ebp, 1
cmp eax, ebp
jne 0x100ddbc1
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], eax
call fcn.100986a0
lea ecx, [esp + 0x10]
push ecx
push str.Height
mov ecx, edi
call fcn.100ad0d0
cmp dword [esp + 0x10], esi
jne 0x100dd2be
lea ecx, [esp + 0x10]
call fcn.100986a0
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push 0x101c2ff8
call fcn.100ad0d0
cmp dword [esp + 0x10], ebp
jne 0x100ddbc1
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], ebp
call fcn.100986a0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push str.ImageMask
call fcn.100ad0d0
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x100dd310
lea ecx, [esp + 0x10]
call fcn.100986a0
lea ecx, [esp + 0x10]
push ecx
push 0x101e2330
mov ecx, edi
call fcn.100ad0d0
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jne 0x100dd31c
mov esi, dword [esp + 0x18]
jmp 0x100dd325
cmp eax, 5
jne 0x100ddbc1
lea ecx, [esp + 0x10]
call fcn.100986a0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x100dd394
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push str.BitsPerComponent
call fcn.100ad0d0
cmp dword [esp + 0x10], 5
jne 0x100dd368
lea ecx, [esp + 0x10]
call fcn.100986a0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push 0x101e232c
call fcn.100ad0d0
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
jne 0x100dd37f
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
jmp 0x100dd38b
test esi, esi
je 0x100ddbc1
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
call fcn.100986a0
test esi, esi
je 0x100dd458
cmp dword [esp + 0x24], 1
jne 0x100ddbca
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push str.Decode
xor esi, esi
call fcn.100ad0d0
mov eax, dword [esp + 0x10]
cmp eax, 5
jne 0x100dd3e1
lea ecx, [esp + 0x10]
call fcn.100986a0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push 0x101c31b4
call fcn.100ad0d0
mov eax, dword [esp + 0x10]
cmp eax, 6
jne 0x100dd416
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x1c]
push 0
call fcn.100b2f80
mov ecx, dword [esp + 0x30]
mov eax, 1
cmp ecx, eax
jne 0x100dd40b
cmp dword [esp + 0x38], eax
jne 0x100dd40b
mov esi, eax
lea ecx, [esp + 0x30]
call fcn.100986a0
jmp 0x100dd41f
cmp eax, 5
jne 0x100ddbc1
lea ecx, [esp + 0x10]
call fcn.100986a0
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 0x100dd9c6
lea ecx, [esp + 0x10]
push ecx
push str.ColorSpace
mov ecx, edi
call fcn.100ad0d0
mov eax, dword [esp + 0x10]
mov ebp, 5
cmp eax, ebp
jne 0x100dd490
lea ecx, [esp + 0x10]
call fcn.100986a0
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push 0x101e1cb8
call fcn.100ad0d0
cmp dword [esp + 0x10], 4
jne 0x100dd4e7
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.100d3990
cmp dword [esp + 0x30], ebp
je 0x100dd4de
lea ecx, [esp + 0x10]
call fcn.100986a0
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 0x100dd4e7
lea ecx, [esp + 0x30]
call fcn.100986a0
mov eax, dword [esp + 0x10]
or ebx, 0xffffffff
cmp eax, ebp
je 0x100dd506
lea ecx, [esp + 0x10]
push ecx
call fcn.100b3050
add esp, 4
mov esi, eax
jmp 0x100dd5b5
mov eax, dword [esp + 0x4c]
cmp eax, 1
jne 0x100dd54b
push 4
call fcn.1005473e
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x17c], 0
je 0x100dd53e
mov ecx, eax
call fcn.100b3940
mov dword [esp + 0x17c], ebx
mov esi, eax
jmp 0x100dd5b5
xor eax, eax
mov dword [esp + 0x17c], ebx
mov esi, eax
jmp 0x100dd5b5
cmp eax, 2
jne 0x100dd57f
push 4
call fcn.1005473e
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x17c], 1
je 0x100dd53e
mov ecx, eax
call fcn.100b3e90
mov dword [esp + 0x17c], ebx
mov esi, eax
jmp 0x100dd5b5
cmp eax, 3
jne 0x100dd5b3
push 4
call fcn.1005473e
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x17c], 2
je 0x100dd53e
mov ecx, eax
call fcn.100b46a0
mov dword [esp + 0x17c], ebx
mov esi, eax
jmp 0x100dd5b5
xor esi, esi
lea ecx, [esp + 0x10]
call fcn.100986a0
test esi, esi
je 0x100ddbca
lea edx, [esp + 0x10]
mov ecx, edi
push edx
push str.Decode
call fcn.100ad0d0
cmp dword [esp + 0x10], ebp
jne 0x100dd5f7
lea ecx, [esp + 0x10]
call fcn.100986a0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push 0x101c31b4
call fcn.100ad0d0
push 0x2a0
call fcn.1005473e
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x17c], 3
je 0x100dd62d
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push esi
push ecx
push edx
mov ecx, eax
call fcn.100bc5f0
mov ebp, eax
jmp 0x100dd62f
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x17c], ebx
call fcn.100986a0
mov eax, dword [ebp + 0x298]
test eax, eax
jne 0x100dd66a
test ebp, ebp
je 0x100ddbca
mov ecx, ebp
call fcn.100bcc60
push ebp
call fcn.10054626
add esp, 4
jmp 0x100ddbca
lea eax, [esp + 0x50]
mov ecx, edi
push eax
push str.Mask
xor esi, esi
call fcn.100ad0d0
lea ecx, [esp + 0x60]
push ecx
push str.SMask
mov ecx, edi
call fcn.100ad0d0
cmp dword [esp + 0x60], 8
jne 0x100dd904
mov eax, dword [esp + 0x18c]
test eax, eax
jne 0x100ddbca
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.100ad0d0
mov eax, dword [esp + 0x10]
mov edi, 5
cmp eax, edi
jne 0x100dd6ef
lea ecx, [esp + 0x10]
call fcn.100986a0
lea ecx, [esp + 0x10]
push ecx
push 0x101c28d0
mov ecx, esi
call fcn.100ad0d0
mov eax, dword [esp + 0x10]
mov ebx, 1
cmp eax, ebx
jne 0x100ddbc1
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edx
call fcn.100986a0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push str.Height
call fcn.100ad0d0
cmp dword [esp + 0x10], edi
jne 0x100dd742
lea ecx, [esp + 0x10]
call fcn.100986a0
lea ecx, [esp + 0x10]
push ecx
push 0x101c2ff8
mov ecx, esi
call fcn.100ad0d0
cmp dword [esp + 0x10], ebx
jne 0x100ddbc1
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.100986a0
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push str.BitsPerComponent
call fcn.100ad0d0
cmp dword [esp + 0x10], edi
jne 0x100dd78a
lea ecx, [esp + 0x10]
call fcn.100986a0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 0x101e232c
call fcn.100ad0d0
cmp dword [esp + 0x10], ebx
jne 0x100ddbc1
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.100986a0
lea ecx, [esp + 0x10]
push ecx
push str.ColorSpace
mov ecx, esi
call fcn.100ad0d0
mov eax, dword [esp + 0x10]
mov edi, 5
cmp eax, edi
jne 0x100dd7d9
lea ecx, [esp + 0x10]
call fcn.100986a0
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push 0x101e1cb8
call fcn.100ad0d0
cmp dword [esp + 0x10], 4
jne 0x100dd830
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.100d3990
cmp dword [esp + 0x30], edi
je 0x100dd827
lea ecx, [esp + 0x10]
call fcn.100986a0
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 0x100dd830
lea ecx, [esp + 0x30]
call fcn.100986a0
lea ecx, [esp + 0x10]
push ecx
call fcn.100b3050
add esp, 4
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.100986a0
test edi, edi
je 0x100ddbca
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
jne 0x100ddbca
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push str.Decode
call fcn.100ad0d0
cmp dword [esp + 0x10], 5
jne 0x100dd891
lea ecx, [esp + 0x10]
call fcn.100986a0
lea ecx, [esp + 0x10]
push ecx
push 0x101c31b4
mov ecx, esi
call fcn.100ad0d0
push 0x2a0
call fcn.1005473e
add esp, 4
mov dword [esp + 0x70], eax
test eax, eax
mov dword [esp + 0x17c], 4
je 0x100dd8c3
lea edx, [esp + 0x10]
push edi
push edx
push ebx
mov ecx, eax
call fcn.100bc5f0
mov esi, eax
jmp 0x100dd8c5
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x17c], 0xffffffff
call fcn.100986a0
mov eax, dword [esi + 0x298]
test eax, eax
jne 0x100ddbe6
test esi, esi
je 0x100ddbca
mov ecx, esi
call fcn.100bcc60
push esi
call fcn.10054626
add esp, 4
jmp 0x100ddbca
mov eax, dword [esp + 0x50]
cmp eax, 6
jne 0x100dd9f7
mov ecx, dword [esp + 0x58]
xor esi, esi
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x100dd94e
lea edi, [esp + 0x74]
cmp esi, 0x40
jge 0x100dd94e
lea eax, [esp + 0x10]
push eax
push esi
call fcn.100b2f80
mov ecx, dword [esp + 0x18]
mov dword [edi], ecx
lea ecx, [esp + 0x10]
call fcn.100986a0
mov ecx, dword [esp + 0x58]
inc esi
add edi, 4
cmp esi, dword [ecx + 0xc]
jl 0x100dd922
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 0x100dd9ac
mov ecx, esi
call fcn.100bcc60
push esi
call fcn.10054626
add esp, 4
lea ecx, [esp + 0x50]
call fcn.100986a0
lea ecx, [esp + 0x60]
call fcn.100986a0
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
imul ebp, dword [esp + 0x28]
mov eax, ebp
cmp eax, 0x3e8
jle 0x100dd9d9
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 0x100dd953
mov eax, dword [esp + 0x18c]
test eax, eax
jne 0x100ddbca
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.100ad0d0
cmp dword [esp + 0x10], 5
jne 0x100dda50
lea ecx, [esp + 0x10]
call fcn.100986a0
lea ecx, [esp + 0x10]
push ecx
push 0x101c28d0
mov ecx, esi
call fcn.100ad0d0
cmp dword [esp + 0x10], 1
jne 0x100ddbc1
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.100986a0
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push str.Height
call fcn.100ad0d0
cmp dword [esp + 0x10], 5
jne 0x100dda9a
lea ecx, [esp + 0x10]
call fcn.100986a0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 0x101c2ff8
call fcn.100ad0d0
cmp dword [esp + 0x10], 1
jne 0x100ddbc1
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.100986a0
lea ecx, [esp + 0x10]
push ecx
push str.ImageMask
mov ecx, esi
call fcn.100ad0d0
cmp dword [esp + 0x10], 5
jne 0x100ddae4
lea ecx, [esp + 0x10]
call fcn.100986a0
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push 0x101e2330
call fcn.100ad0d0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100ddbc1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100ddbc1
lea ecx, [esp + 0x10]
call fcn.100986a0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push str.Decode
xor edi, edi
call fcn.100ad0d0
mov eax, dword [esp + 0x10]
cmp eax, 5
jne 0x100ddb3f
lea ecx, [esp + 0x10]
call fcn.100986a0
lea ecx, [esp + 0x10]
push ecx
push 0x101c31b4
mov ecx, esi
call fcn.100ad0d0
mov eax, dword [esp + 0x10]
cmp eax, 6
jne 0x100ddb74
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
push 0
call fcn.100b2f80
mov ecx, dword [esp + 0x30]
mov eax, 1
cmp ecx, eax
jne 0x100ddb69
cmp dword [esp + 0x38], eax
jne 0x100ddb69
mov edi, eax
lea ecx, [esp + 0x30]
call fcn.100986a0
jmp 0x100ddb79
cmp eax, 5
jne 0x100ddbc1
lea ecx, [esp + 0x10]
call fcn.100986a0
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 0x100dd994
lea ecx, [esp + 0x10]
call fcn.100986a0
mov ecx, dword [esp + 0x20]
push str.Bad_image_parameters
call fcn.100d47f0
push eax
call fcn.100912b0
add esp, 8
jmp 0x100dd9dc
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 0x100dd994
mov ecx, esi
call fcn.100bcc60
push esi
call fcn.10054626
add esp, 4
jmp 0x100dd994