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

Disassembly:
sub esp, 0x48
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov esi, dword [esp + 0x58]
xor ebp, ebp
mov dword [ebx], ebp
push edi
mov eax, dword [esi]
mov edi, dword [esp + 0x64]
push eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
call fcn.004b2f35
mov ecx, dword [esp + 0x64]
mov dword [edi + 0x64], eax
mov edx, dword [esi]
push ebp
push ecx
push edx
call fcn.004b263c
mov ebp, dword [esp + 0x78]
add esp, 0x10
mov dword [ebp + 0x324], 0
mov eax, dword [esi]
test byte [eax + 0xc], 0x10
jne 0x469c6e
mov ebx, dword [esp + 0x6c]
push eax
push 1
lea eax, [esp + 0x6c]
push 2
push eax
call fcn.004b2c2e
mov ecx, dword [esp + 0x74]
push ecx
call dword [edi + 0x3c]
and eax, 0xffff
lea edx, [eax + eax*2]
shl edx, 2
push edx
push esi
call fcn.00475ec0
mov eax, dword [ebp + 0x324]
mov ecx, dword [ebp + 0x320]
add esp, 0x1c
cmp ecx, eax
lea edx, [eax + 1]
mov dword [ebp + 0x324], edx
jne 0x469c36
test ecx, ecx
jle 0x469c36
mov dword [esp + 0x60], ebx
push esi
call dword [edi + 0x38]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x469c6a
cmp ebx, dword [esi + 4]
jg 0x469c64
mov eax, dword [esi]
push 0
push ebx
push eax
call fcn.004b263c
add esp, 0xc
test eax, eax
jl 0x469c64
mov eax, dword [esi]
test byte [eax + 0xc], 0x10
je 0x469be9
jmp 0x469c6a
dec dword [ebp + 0x324]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [ebp + 0x320]
mov eax, dword [ebp + 0x324]
cmp ecx, eax
jl 0x469c88
mov dword [ebp + 0x320], 0
mov edx, dword [esp + 0x60]
mov eax, dword [esi]
push 0
push edx
push eax
call fcn.004b263c
mov ecx, dword [esi]
lea edx, [esp + 0x70]
push ecx
push 1
push 2
push edx
call fcn.004b2c2e
mov eax, dword [esp + 0x80]
push eax
call dword [edi + 0x3c]
add esp, 0x20
mov dword [esp + 0x64], eax
test ax, ax
je 0x46a180
mov ecx, dword [esi]
lea edx, [esp + 0x48]
push ecx
push 1
push 0xc
push edx
call fcn.004b2c2e
add esp, 0x10
test eax, eax
je 0x46a360
mov eax, dword [esp + 0x4c]
push eax
call dword [edi + 0x40]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4e]
push ecx
call dword [edi + 0x3c]
mov word [esp + 0x52], ax
mov edx, dword [esp + 0x52]
and edx, 0xffff
add esp, 8
lea eax, [edx - 2]
cmp eax, 5
ja case.0x469d0d.6
jmp dword [eax*4 + 0x46a3ec]
cmp dword [esp + 0x4c], 2
ja case.0x469d0d.2
mov eax, dword [esp + 0x50]
push eax
call dword [edi + 0x3c]
mov ecx, dword [esp + 0x56]
mov word [esp + 0x54], ax
push ecx
call dword [edi + 0x3c]
add esp, 8
mov word [esp + 0x52], ax
jmp case.0x469d0d.6
mov edx, dword [esp + 0x50]
push edx
call dword [edi + 0x40]
add esp, 4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
push eax
call dword [edi + 0x3c]
and eax, 0xffff
add esp, 4
cmp eax, 0x10a
jg 0x469e92
je 0x469e84
add eax, 0xffffff00
cmp eax, 6
ja case.0x46a004.312
jmp dword [eax*4 + 0x46a404]
cmp word [esp + 0x4a], 4
jne 0x469d98
mov ecx, dword [esp + 0x50]
and ecx, 0xffff
mov dword [edi], ecx
jmp case.0x46a004.312
mov edx, dword [esp + 0x50]
and edx, 0xffff
mov dword [edi], edx
jmp case.0x46a004.312
cmp word [esp + 0x4a], 4
jne 0x469dc9
mov eax, dword [esp + 0x50]
and eax, 0xffff
mov cx, ax
mov dword [edi + 4], eax
mov word [edi + 0x62], cx
jmp case.0x46a004.312
mov edx, dword [esp + 0x50]
and edx, 0xffff
mov ax, dx
mov dword [edi + 4], edx
mov word [edi + 0x62], ax
jmp case.0x46a004.312
cmp word [esp + 0x4a], 3
jne 0x469e04
mov eax, dword [esp + 0x4c]
cmp eax, 2
jbe 0x469e04
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jmp case.0x46a004.312
mov dx, word [esp + 0x50]
mov word [edi + 8], dx
jmp case.0x46a004.312
mov ax, word [esp + 0x50]
cmp ax, 2
mov word [edi + 0x44], ax
je 0x469e31
cmp ax, 3
je 0x469e31
cmp ax, 4
jne case.0x46a004.312
mov word [edi + 0x48], 0
jmp case.0x46a004.312
mov ax, word [esp + 0x50]
mov word [edi + 0x48], ax
mov eax, dword [esp + 0x50]
and eax, 0xffff
sub eax, 0
je 0x469e61
dec eax
jne case.0x46a004.312
mov eax, str.Black0
jmp 0x469e66
mov eax, str.White0
test eax, eax
je case.0x46a004.312
push 0
push eax
push str.Photometric_Interpretation
push ebp
call fcn.00409300
add esp, 0x10
jmp case.0x46a004.312
mov cx, word [esp + 0x50]
mov word [edi + 0x4a], cx
jmp case.0x46a004.312
cmp eax, 0x128
jg 0x469fdd
je 0x469fcf
add eax, 0xfffffef2
cmp eax, 0x16
ja case.0x46a004.312
xor edx, edx
mov dl, byte [eax + 0x46a450]
jmp dword [edx*4 + 0x46a420]
mov eax, dword [esp + 0x50]
mov dword [edi + 0x4c], eax
jmp case.0x46a004.312
mov cx, word [esp + 0x50]
mov word [edi + 0xc], cx
jmp case.0x46a004.312
mov dx, word [esp + 0x50]
mov word [edi + 0xa], dx
jmp case.0x46a004.312
cmp word [esp + 0x4a], 4
jne 0x469f0f
cmp dword [esp + 0x50], 0xfde8
jbe 0x469f04
mov ax, word [edi + 4]
mov word [edi + 0x62], ax
jmp 0x469f18
mov cx, word [esp + 0x50]
mov word [edi + 0x62], cx
jmp 0x469f18
mov dx, word [esp + 0x50]
mov word [edi + 0x62], dx
mov ax, word [edi + 0x62]
test ax, ax
je 0x469f2b
cmp ax, 0xfde8
jbe case.0x46a004.312
mov ax, word [edi + 4]
mov word [edi + 0x62], ax
jmp case.0x46a004.312
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x50], ecx
jmp case.0x46a004.312
mov edx, dword [esp + 0x50]
mov dword [edi + 0x54], edx
jmp case.0x46a004.312
mov eax, dword [esp + 0x50]
and eax, 0xffff
sub eax, 2
je 0x469f85
dec eax
je 0x469f7a
dec eax
je 0x469f6f
mov word [ebx + 4], 0
jmp case.0x46a004.312
mov word [ebx + 4], 0x10
jmp case.0x46a004.312
mov word [ebx + 4], 0x11
jmp case.0x46a004.312
mov word [ebx + 4], 1
jmp case.0x46a004.312
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
jmp case.0x46a004.312
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], eax
jmp case.0x46a004.312
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], edx
jmp case.0x46a004.312
mov ax, word [esp + 0x50]
mov word [edi + 0x60], ax
jmp case.0x46a004.312
cmp eax, 0x143
jg 0x46a098
je 0x46a08c
add eax, 0xfffffecf
cmp eax, 0x11
ja case.0x46a004.312
xor ecx, ecx
mov cl, byte [eax + 0x46a488]
jmp dword [ecx*4 + 0x46a468]
mov dx, word [esp + 0x50]
mov word [edi + 0x46], dx
jmp case.0x46a004.312
mov eax, dword [esp + 0x50]
mov dword [edi + 0x28], eax
jmp case.0x46a004.312
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x1c], edx
jmp case.0x46a004.312
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x6c], ecx
jmp case.0x46a004.312
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x5c], eax
jmp case.0x46a004.312
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x68], edx
jmp case.0x46a004.312
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ecx
jmp case.0x46a004.312
mov edx, dword [esp + 0x50]
mov dword [edi + 0x2c], edx
jmp case.0x46a004.312
cmp eax, 0x211
jg 0x46a123
je 0x46a11a
sub eax, 0x144
je case.0x469eb9.273
sub eax, 0x17
je 0x46a0cb
sub eax, 0xa6
jne case.0x46a004.312
mov eax, dword [esp + 0x50]
mov dword [edi + 0x90], eax
jmp case.0x46a004.312
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [edi + 0x84], ecx
mov dword [edi + 0x88], edx
jmp case.0x46a004.312
mov eax, dword [esp + 0x4c]
mov cx, word [esp + 0x4a]
cmp eax, 1
mov dword [edi + 0x68], eax
jne 0x46a10d
mov eax, dword [esp + 0x50]
cmp cx, 4
je 0x46a111
and eax, 0xffff
mov word [edi + 0x6c], cx
mov dword [edi + 0x64], eax
jmp case.0x46a004.312
mov eax, dword [esp + 0x50]
mov dword [edi + 0x64], eax
mov word [edi + 0x6c], cx
jmp case.0x46a004.312
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x74], ecx
jmp case.0x46a004.312
cmp eax, 0x212
je 0x46a158
cmp eax, 0x8298
je 0x46a146
cmp eax, 0x10002
jne case.0x46a004.312
mov dx, word [esp + 0x50]
mov word [edi + 0x94], dx
jmp case.0x46a004.312
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], ecx
jmp case.0x46a004.312
mov dx, word [esp + 0x50]
mov ax, word [esp + 0x52]
mov word [edi + 0x6e], dx
mov word [edi + 0x70], ax
mov eax, dword [esp + 0x64]
add eax, 0xffff
test ax, ax
mov dword [esp + 0x64], eax
jne 0x469cc3
test dword [ebp + 0x300], 0x10000
je 0x46a252
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x18]
push str.Artist
push ecx
push edx
push ebp
push esi
call fcn.0046a4a0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
push str.Copyright
push eax
push ecx
push ebp
push esi
call fcn.0046a4a0
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x48]
push str.DateTime
push edx
push eax
push ebp
push esi
call fcn.0046a4a0
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x60]
push str.HostComputer
push ecx
push edx
push ebp
push esi
call fcn.0046a4a0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
add esp, 0x50
push str.ImageDescription
push eax
push ecx
push ebp
push esi
call fcn.0046a4a0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
push str.Make
push edx
push eax
push ebp
push esi
call fcn.0046a4a0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
push str.Model
push ecx
push edx
push ebp
push esi
call fcn.0046a4a0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x70]
push str.Software
push eax
push ecx
push ebp
push esi
call fcn.0046a4a0
add esp, 0x50
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46a272
mov edx, eax
mov eax, dword [esi]
push 0
push edx
push eax
call fcn.004b263c
push esi
call dword [edi + 0x34]
add esp, 0x10
mov word [edi + 8], ax
mov cx, word [edi + 8]
mov eax, 8
cmp cx, 0x10
je 0x46a28d
cmp cx, 0x20
je 0x46a28d
mov word [ebx + 0x1a], cx
jmp 0x46a291
mov word [ebx + 0x1a], ax
mov cx, word [edi + 0x48]
mov esi, 2
cmp cx, si
je 0x46a2de
cmp cx, 5
je 0x46a2de
cmp cx, ax
je 0x46a2de
cmp cx, 6
je 0x46a2de
cmp cx, 0x804d
je 0x46a2de
cmp cx, 0x804c
je 0x46a2de
cmp word [edi + 0xc], si
jne 0x46a2cf
mov edx, 1
mov word [ebx + 0x18], dx
jmp 0x46a342
mov cx, word [edi + 0xa]
mov edx, 1
mov word [ebx + 0x18], cx
jmp 0x46a342
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x46a2fd
mov dx, word [ebx + 0x1a]
imul dx, dx, 3
mov word [ebx + 0x1a], dx
mov edx, 1
mov word [ebx + 0x18], dx
jmp 0x46a32b
mov edx, 1
cmp word [edi + 0xc], dx
jne 0x46a31c
mov cx, word [ebx + 0x1a]
mov word [ebx + 0x18], dx
imul cx, word [esp + 0x14]
mov word [ebx + 0x1a], cx
jmp 0x46a32b
mov cx, word [esp + 0x14]
mov dword [ebx], 4
mov word [ebx + 0x18], cx
mov ecx, 4
cmp word [edi + 0xa], cx
jne 0x46a342
cmp word [edi + 8], cx
jne 0x46a342
mov dword [ebx], 0x200
mov cx, word [ebx + 0x1a]
cmp cx, dx
jne 0x46a34f
mov word [ebx + 0x18], dx
movsx ebp, word [ebx + 0x18]
movsx ecx, cx
imul ecx, ebp
test ecx, ecx
mov dword [edi + 0x10], ecx
jg 0x46a36a
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x48
ret
cmp word [edi + 8], ax
jne 0x46a384
cmp word [edi + 0xa], si
jne 0x46a384
mov dword [ebx], 0
mov word [ebx + 0x1a], ax
mov word [ebx + 0x18], dx
mov ecx, dword [edi + 0x10]
cmp ecx, eax
jg 0x46a3d2
cmp word [ebx + 0x18], dx
je 0x46a3ac
mov edx, dword [edi]
pop edi
add edx, 0xf
pop esi
sar edx, 3
and edx, 0x1ffe
pop ebp
mov dword [ebx + 0x1c], edx
mov al, 1
pop ebx
add esp, 0x48
ret
cmp ecx, eax
jg 0x46a3d2
cdq
idiv ecx
mov ecx, eax
mov eax, dword [edi]
pop edi
pop esi
lea edx, [ecx - 1]
lea eax, [ecx + eax - 1]
not edx
and eax, edx
pop ebp
cdq
idiv ecx
mov dword [ebx + 0x1c], eax
mov al, 1
pop ebx
add esp, 0x48
ret
movsx eax, word [ebx + 0x1a]
add eax, 7
sar eax, 3
imul eax, dword [edi]
pop edi
pop esi
mov dword [ebx + 0x1c], eax
pop ebp
mov al, 1
pop ebx
add esp, 0x48
ret