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

Disassembly:
push 0xffffffffffffffff
push 0x10003b12
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10006108]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x70]
xor edi, edi
mov byte [esi + 0x80c5], 0
mov dword [esp + 0x2c], eax
lea ebp, [edi + 2]
lea ecx, [ecx]
mov ebx, 0x11
lea edx, [ebx - 0x10]
cmp dword [esp + 0x70], edi
je 0x10001f98
mov ecx, dword [esp + 0x6c]
mov al, byte [ecx]
sub dword [esp + 0x70], edx
add ecx, edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 0x38]
cmp ecx, ebx
ja case.default.0x10001e0d
jmp dword [ecx*4 + 0x10002b18]
mov ecx, dword [esi + 0x2c]
mov byte [ecx + esi + 0x18], al
add dword [esi + 0x2c], edx
cmp dword [esi + 0x2c], 6
jne case.default.0x10001e0d
cmp byte [esi + 0x1b], 0x38
jne 0x10001e44
cmp byte [esi + 0x1c], 0x37
jne 0x10001e44
xor eax, eax
mov byte [esi + 0x28], al
mov dword [esi + 0x38], edx
mov dword [esi + 0x2c], edi
jmp case.default.0x10001e0d
mov eax, edx
mov byte [esi + 0x28], al
mov dword [esi + 0x38], edx
mov dword [esi + 0x2c], edi
jmp case.default.0x10001e0d
mov ecx, dword [esi + 0x2c]
mov byte [ecx + esi + 0x18], al
add dword [esi + 0x2c], edx
cmp dword [esi + 0x2c], 7
jne case.default.0x10001e0d
movzx edx, byte [esi + 0x19]
movzx eax, byte [esi + 0x18]
movzx ecx, byte [esi + 0x1b]
shl edx, 8
or edx, eax
mov dword [esi + 0x50], edx
movzx edx, byte [esi + 0x1a]
shl ecx, 8
or ecx, edx
mov dword [esi + 0x54], ecx
mov cl, byte [esi + 0x1c]
mov al, cl
movzx ecx, cl
and ecx, 7
mov edx, ebp
shl edx, cl
shr al, 7
mov byte [esi + 0x7c], al
mov dword [esi + 0x3c], edx
test al, al
je 0x10001eaa
movzx ecx, byte [esi + 0x1d]
jmp 0x10001ead
or ecx, 0xffffffff
mov dword [esi + 0x80], ecx
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x2c], edi
mov dword [esi + 0x44], edx
test al, al
je 0x10001ef8
lea eax, [edx + 1]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], ebp
neg ecx
or ecx, eax
push ecx
call fcn.10002f50
mov ecx, dword [esi + 0x3c]
mov dword [esi + 4], eax
add esp, 4
mov dword [eax + ecx*4], 0xffffff
jmp case.default.0x10001e0d
mov dword [esi + 0x38], 4
jmp case.default.0x10001e0d
mov ecx, dword [esi + 0x2c]
mov byte [ecx + esi + 0x18], al
add dword [esi + 0x2c], edx
mov ecx, 3
cmp dword [esi + 0x2c], ecx
jne case.default.0x10001e0d
movzx eax, byte [esi + 0x18]
movzx ebx, byte [esi + 0x19]
or eax, 0xffffff00
shl eax, 8
or eax, ebx
movzx ebx, byte [esi + 0x1a]
shl eax, 8
or eax, ebx
cmp dword [esi + 0x38], ecx
mov ecx, dword [esi + 0x30]
jne 0x10001f45
cmp ecx, dword [esi + 0x40]
jge 0x10001f4b
mov ebx, dword [esi + 8]
jmp 0x10001f48
mov ebx, dword [esi + 4]
mov dword [ebx + ecx*4], eax
add dword [esi + 0x30], edx
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x44]
jl 0x10001f66
xor edx, edx
cmp dword [esi + 0x38], 3
sete dl
lea edx, [edx + edx + 4]
mov dword [esi + 0x38], edx
mov dword [esi + 0x2c], edi
jmp case.default.0x10001e0d
mov ecx, dword [esi + 0x2c]
mov byte [ecx + esi + 0x18], al
add dword [esi + 0x2c], edx
cmp al, 0x21
je 0x10001fc8
cmp al, 0x2c
je 0x10001fbf
cmp al, 0x3b
je 0x10001fb6
mov dword [esi + 0x38], ebx
mov byte [esi + 0x80c5], 1
cmp byte [esi + 0x80c5], 0
je 0x10001de0
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18
mov dword [esi + 0x38], 0x10
jmp case.default.0x10001e0d
mov dword [esi + 0x38], 5
jmp case.default.0x10001e0d
mov dword [esi + 0x38], 9
jmp case.default.0x10001e0d
mov ecx, dword [esi + 0x2c]
mov byte [ecx + esi + 0x18], al
add dword [esi + 0x2c], edx
cmp dword [esi + 0x2c], 0xa
jne case.default.0x10001e0d
movzx eax, byte [esi + 0x1a]
movzx edx, byte [esi + 0x19]
movzx ecx, byte [esi + 0x1b]
movzx ebx, byte [esi + 0x1e]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 0x1d]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0x1c]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 0x20]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 0x1f]
shl ebx, 8
shl ecx, 8
or ebx, edx
or ecx, eax
cmp ebx, 0xc8
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0xc8
lea edi, [esp + 0x1c]
jl 0x1000203d
lea edi, [esp + 0x24]
mov edx, dword [esi + 0x50]
lea ebp, [esi + 0x50]
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [edi]
jle 0x1000205f
mov dword [ebp], 0xffffffff
cmp ecx, 0xc8
mov dword [esp + 0x24], 0xc8
lea ecx, [esp + 0x24]
jl 0x10002077
lea ecx, [esp + 0x14]
mov edx, dword [esi + 0x54]
lea edi, [esi + 0x54]
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ecx]
jle 0x10002098
mov dword [edi], 0xffffffff
cmp dword [ebp], 0
jg 0x100020a8
mov ecx, dword [esp + 0x20]
lea edx, [ebx + ecx]
mov dword [ebp], edx
cmp dword [edi], 0
jg 0x100020b9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, ecx
mov dword [edi], eax
mov ecx, dword [esp + 0x68]
xor edx, edx
cmp dword [esi + 0x78], edx
setge dl
add edx, 4
mov dword [esp + 0x1c], edx
call dword [sym.imp.QtGui4.dll_public:_bool___thiscall_QImage::isNull_void_const]
test al, al
jne 0x10002114
mov eax, dword [edi]
mov ecx, dword [ebp]
lea edx, [esp + 0x30]
mov dword [esp + 0x34], eax
push edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x6c]
push eax
call dword [sym.imp.QtGui4.dll_public:_class_QSize___thiscall_QImage::size_void_]
push eax
call fcn.10001570
add esp, 8
test al, al
jne 0x10002114
mov ecx, dword [esp + 0x68]
call dword [sym.imp.QtGui4.dll_public:_enum_QImage::Format___thiscall_QImage::format_void_]
cmp eax, dword [esp + 0x1c]
je 0x10002180
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [ebp]
push ecx
push edx
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QImage::constructor_int__int__enum_QImage::Format_]
mov ecx, dword [esp + 0x68]
push eax
mov dword [esp + 0x64], 0
call dword [sym.imp.QtGui4.dll_public:_class_QImage____thiscall_QImage::operator_class_QImage_const__]
lea ecx, [esp + 0x40]
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QImage::destructor_void_]
mov ecx, dword [esp + 0x68]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::numBytes_void_const]
mov ecx, dword [esp + 0x68]
push eax
push 0
call dword [sym.imp.QtGui4.dll_public:_unsigned_char____thiscall_QImage::bits_void_]
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [edi]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x88]
add esp, 0xc
mov dword [edx], ecx
mov dword [edx + 4], eax
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, esi
call fcn.10001890
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x58], ebx
add ebx, eax
mov dword [esi + 0x60], eax
mov byte [esi + 0x74], 0
mov dword [esi + 0x64], edx
mov dword [esi + 0x5c], ecx
cmp ebx, dword [ebp]
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x24]
jl 0x100021b9
mov eax, ebp
mov eax, dword [eax]
dec eax
xor ebx, ebx
mov dword [esp + 0x24], eax
cmp eax, ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x24]
jg 0x100021d2
lea eax, [esp + 0x20]
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, ecx
mov dword [esi + 0x68], edx
cmp eax, dword [edi]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
jl 0x100021ef
mov eax, edi
mov eax, dword [eax]
dec eax
mov dword [esp + 0x24], eax
cmp eax, ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x24]
jg 0x10002206
lea eax, [esp + 0x20]
mov edx, dword [eax]
mov cl, byte [esi + 0x21]
mov al, cl
movzx ecx, cl
mov dword [esi + 0x6c], edx
mov edx, ecx
shr edx, 6
shr al, 7
and edx, 1
mov byte [esi + 0x4c], al
mov dword [esi + 0x84], edx
test al, al
je 0x10002237
and ecx, 7
mov eax, 2
shl eax, cl
jmp 0x10002239
xor eax, eax
mov dword [esi + 0x40], eax
cmp eax, ebx
je 0x10002282
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x10002250
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esi + 0x40]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10002f50
mov ecx, dword [esi + 0x40]
mov dword [esi + 8], eax
mov dword [eax + ecx*4], 0xffffff
mov edx, dword [esi + 0x40]
add esp, 4
mov dword [esi + 0x44], edx
jmp 0x10002288
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x44], eax
add dword [esi + 0x80c0], 1
jne 0x100022f9
cmp dword [esi + 0x60], ebx
jne 0x100022aa
cmp dword [esi + 0x64], ebx
jne 0x100022aa
mov ecx, dword [esi + 0x58]
cmp ecx, dword [ebp]
jl 0x100022aa
mov edx, dword [esi + 0x5c]
cmp edx, dword [edi]
jge 0x100022f9
cmp dword [esi + 0x78], ebx
jl 0x100022cc
movzx eax, byte [esi + 0x78]
push eax
mov ecx, esi
call fcn.100015e0
mov ecx, dword [edi]
mov edx, dword [ebp]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push ebx
push ebx
push eax
jmp 0x100022f2
cmp dword [esi + 0x80], ebx
jl 0x100022f9
movzx ecx, byte [esi + 0x80]
push ecx
mov ecx, esi
call fcn.100015e0
mov edx, dword [edi]
mov ecx, dword [esp + 0x68]
push eax
mov eax, dword [ebp]
push edx
push eax
push ebx
push ebx
push ecx
mov ecx, esi
call fcn.10001590
cmp dword [esi + 0x70], 3
jne 0x10002463
mov eax, dword [esi + 0x50]
lea ecx, [eax - 1]
cmp ecx, dword [esi + 0x60]
lea eax, [esi + 0x60]
mov dword [esp + 0x24], ecx
jge 0x10002319
lea eax, [esp + 0x24]
cmp ecx, dword [esi + 0x68]
mov edi, dword [eax]
lea eax, [esi + 0x68]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ecx
jge 0x1000232f
lea eax, [esp + 0x24]
mov ecx, dword [eax]
mov eax, dword [esi + 0x54]
lea edx, [eax - 1]
cmp edx, dword [esi + 0x64]
lea eax, [esi + 0x64]
mov dword [esp + 0x24], edx
jge 0x10002347
lea eax, [esp + 0x24]
cmp edx, dword [esi + 0x6c]
mov ebp, dword [eax]
lea eax, [esi + 0x6c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], edx
jge 0x1000235d
lea eax, [esp + 0x24]
mov eax, dword [eax]
sub ecx, edi
sub eax, ebp
inc ecx
inc eax
mov edi, ecx
mov ebx, eax
lea ebp, [esi + 0xc]
mov ecx, ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::width_void_const]
cmp eax, edi
jl 0x10002390
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::height_void_const]
cmp eax, ebx
jge 0x10002417
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::height_void_const]
mov ecx, ebp
mov dword [esp + 0x20], eax
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::width_void_const]
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x24]
jl 0x100023b6
lea ecx, [esp + 0x20]
cmp eax, edi
lea eax, [esp + 0x1c]
jl 0x100023c2
lea eax, [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [eax]
push 4
push edx
push eax
lea ecx, [esp + 0x58]
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QImage::constructor_int__int__enum_QImage::Format_]
push eax
mov ecx, ebp
mov dword [esp + 0x64], 1
call dword [sym.imp.QtGui4.dll_public:_class_QImage____thiscall_QImage::operator_class_QImage_const__]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QImage::destructor_void_]
mov edi, dword [esp + 0x68]
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::numBytes_void_const]
push eax
push 0
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_unsigned_char____thiscall_QImage::bits_void_]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x10002463
mov ecx, dword [esp + 0x1c]
lea edx, [ecx*4]
mov dword [esp + 0x24], edx
lea esp, [esp]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
lea edx, [edi + ecx]
mov ecx, dword [esp + 0x68]
push eax
push edx
call dword [sym.imp.QtGui4.dll_public:_unsigned_char____thiscall_QImage::scanLine_int_]
add eax, dword [esp + 0x2c]
mov ecx, ebp
push eax
push edi
call dword [sym.imp.QtGui4.dll_public:_unsigned_char____thiscall_QImage::scanLine_int_]
push eax
call sub.MSVCR90.dll_memcpy
inc edi
add esp, 0xc
cmp edi, ebx
jl 0x10002430
xor edx, edx
mov dword [esi + 0x2c], edx
cmp byte [esi + 0x4c], dl
je 0x10002479
mov dword [esi + 0x30], edx
mov dword [esi + 0x38], 3
jmp 0x10002480
mov dword [esi + 0x38], 6
mov eax, dword [esi + 0x60]
cmp eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x64]
lea edi, [esi + 0x40b0]
mov dword [esi + 0x80b8], eax
mov dword [esi + 0x80bc], ecx
mov dword [esi + 0x88], edx
mov dword [esi + 0x8c], edx
mov dword [esi + 0x80b0], edi
mov dword [esi + 0xa8], edx
mov dword [esi + 0xa4], edx
mov byte [esi + 0x80b4], 1
jge 0x100024c7
cmp ecx, dword [esi + 0x54]
jl 0x100024cc
mov edx, 1
xor edi, edi
mov byte [esi + 0x80c4], dl
lea ebp, [edi + 2]
jmp case.default.0x10001e0d
movzx ecx, al
cmp ecx, 0xc
mov dword [esi + 0x48], ecx
jle 0x100024f2
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], edi
jmp case.default.0x10001e0d
lea eax, [ecx + 1]
mov dword [esi + 0x90], eax
mov eax, edx
shl eax, cl
lea ecx, [eax + 1]
mov dword [esi + 0x98], ecx
lea ecx, [eax + eax]
mov dword [esi + 0x9c], ecx
lea ecx, [eax + 2]
mov dword [esi + 0xa0], ecx
xor ecx, ecx
cmp eax, edi
mov dword [esi + 0x94], eax
jle 0x10002548
lea eax, [esi + 0x20b0]
lea esp, [esp]
xor ebx, ebx
mov word [eax], cx
mov word [eax - 0x2000], bx
add ecx, edx
add eax, ebp
cmp ecx, dword [esi + 0x94]
jl 0x10002530
mov dword [esi + 0x38], 7
mov dword [esi + 0x2c], edi
jmp case.default.0x10001e0d
movzx eax, al
mov dword [esi + 0x34], eax
cmp eax, edi
je 0x1000256d
mov dword [esi + 0x38], 8
jmp case.default.0x10001e0d
mov dword [esi + 0x38], 4
mov byte [esi], 1
jmp case.0x10001e0d.16
add dword [esi + 0x2c], edx
mov ecx, dword [esi + 0x8c]
movzx edx, al
shl edx, cl
lea eax, [ecx + 8]
mov dword [esi + 0x8c], eax
or dword [esi + 0x88], edx
cmp eax, dword [esi + 0x90]
jl 0x10002952
cmp dword [esi + 0x38], 8
jne 0x10002952
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x88]
sub dword [esi + 0x8c], ecx
mov edi, 1
mov eax, edi
shl eax, cl
sub eax, edi
and eax, edx
sar edx, cl
mov ecx, dword [esi + 0x94]
mov dword [esi + 0x88], edx
cmp eax, ecx
jne 0x10002612
cmp byte [esi + 0x80b4], 0
jne 0x10002606
mov eax, dword [esi + 0x48]
add eax, edi
lea edx, [ecx + ecx]
add ecx, 2
mov dword [esi + 0x90], eax
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], ecx
mov byte [esi + 0x80b4], 1
jmp 0x1000293b
cmp eax, dword [esi + 0x98]
jne 0x10002629
mov dword [esi + 0x8c], 0xffff8000
jmp 0x1000293b
cmp byte [esi + 0x80b4], 0
je 0x100026f1
cmp byte [esi + 0x80c4], 0
mov dword [esi + 0xa8], eax
mov dword [esi + 0xa4], eax
jne 0x1000268b
mov ecx, dword [esp + 0x68]
mov ebx, dword [esi + 0x80bc]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::height_void_const]
cmp eax, ebx
jle 0x1000268b
mov eax, dword [esi + 0xa4]
cmp eax, dword [esi + 0x78]
je 0x1000268b
movzx ecx, al
push ecx
mov ecx, esi
call fcn.100015e0
mov ecx, dword [esp + 0x68]
push ebx
mov edi, eax
call dword [sym.imp.QtGui4.dll_public:_unsigned_char____thiscall_QImage::scanLine_int_]
mov edx, dword [esi + 0x80b8]
mov dword [eax + edx*4], edi
inc dword [esi + 0x80b8]
mov ecx, dword [esi + 0x80b8]
mov edx, dword [esi + 0x50]
cmp ecx, edx
jl 0x100026a5
mov byte [esi + 0x80c4], 1
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x58]
add edi, eax
cmp ecx, edi
mov byte [esi + 0x80b4], 0
jl 0x1000293b
cmp eax, edx
mov dword [esi + 0x80b8], eax
jge 0x100026d5
mov eax, dword [esi + 0x80bc]
cmp eax, dword [esi + 0x54]
jge 0x100026d5
xor eax, eax
jmp 0x100026da
mov eax, 1
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, esi
mov byte [esi + 0x80c4], al
call fcn.100019f0
jmp 0x1000293b
cmp eax, dword [esi + 0xa0]
mov dword [esi + 0xac], eax
jl 0x1000271b
mov edx, dword [esi + 0x80b0]
mov ax, word [esi + 0xa4]
mov word [edx], ax
add dword [esi + 0x80b0], ebp
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0x94]
add ecx, ebp
cmp eax, ecx
jl 0x10002783
jmp 0x10002730
mov edx, dword [esi + 0x80b0]
mov cx, word [esi + eax*2 + 0x20b0]
mov word [edx], cx
add dword [esi + 0x80b0], ebp
movsx edx, word [esi + eax*2 + 0xb0]
mov ecx, dword [esi + 0x80b0]
cmp eax, edx
je 0x1000277c
sub ecx, esi
sub ecx, 0x40b0
and ecx, 0xfffffffe
cmp ecx, 0x4000
jge 0x1000277c
mov eax, edx
mov edx, dword [esi + 0x94]
add edx, ebp
cmp eax, edx
jge 0x10002730
jmp 0x10002783
mov dword [esi + 0x38], 0x11
movsx eax, word [esi + eax*2 + 0x20b0]
mov ecx, dword [esi + 0x80b0]
mov dx, ax
mov dword [esi + 0xa4], eax
mov word [ecx], dx
mov eax, dword [esi + 0xa0]
add dword [esi + 0x80b0], ebp
cmp eax, 0x1000
jge 0x100027f9
mov cx, word [esi + 0xa8]
mov word [esi + eax*2 + 0xb0], cx
mov dx, word [esi + 0xa4]
mov word [esi + eax*2 + 0x20b0], dx
add dword [esi + 0xa0], edi
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
cmp ecx, eax
jl 0x100027f9
cmp eax, 0x1000
jge 0x100027f9
add eax, eax
add dword [esi + 0x90], edi
mov dword [esi + 0x9c], eax
mov ecx, dword [esi + 0xac]
mov dword [esi + 0xa8], ecx
mov ecx, dword [esp + 0x68]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QImage::height_void_const]
cmp byte [esi + 0x4c], 0
mov ebx, eax
je 0x1000281c
mov ebp, dword [esi + 8]
jmp 0x1000281f
mov ebp, dword [esi + 4]
xor edi, edi
cmp byte [esi + 0x80c4], 0
mov dword [esp + 0x20], ebp
jne 0x10002845
mov eax, dword [esi + 0x80bc]
cmp ebx, eax
jle 0x10002845
mov ecx, dword [esp + 0x68]
push eax
call dword [sym.imp.QtGui4.dll_public:_unsigned_char____thiscall_QImage::scanLine_int_]
mov edi, eax
lea eax, [esi + 0x40b0]
cmp dword [esi + 0x80b0], eax
jbe 0x1000293b
jmp 0x10002864
mov ebp, dword [esp + 0x20]
add dword [esi + 0x80b0], 0xfffffffe
cmp byte [esi + 0x80c4], 0
mov eax, dword [esi + 0x80b0]
mov al, byte [eax]
jne 0x100028b5
cmp ebx, dword [esi + 0x80bc]
jle 0x100028b5
movzx eax, al
cmp eax, dword [esi + 0x78]
je 0x100028b5
cmp eax, dword [esi + 0x44]
jle 0x100028a0
mov edx, dword [esi + 0x80b8]
mov dword [edi + edx*4], 0xffffff
jmp 0x100028b5
test ebp, ebp
je 0x100028aa
mov eax, dword [ebp + eax*4]
jmp 0x100028ac
xor eax, eax
mov ecx, dword [esi + 0x80b8]
mov dword [edi + ecx*4], eax
inc dword [esi + 0x80b8]
mov ecx, dword [esi + 0x80b8]
mov edx, dword [esi + 0x50]
cmp ecx, edx
jl 0x100028cf
mov byte [esi + 0x80c4], 1
mov eax, dword [esi + 0x60]
mov ebp, dword [esi + 0x58]
add ebp, eax
cmp ecx, ebp
jl 0x10002929
cmp eax, edx
mov dword [esi + 0x80b8], eax
jge 0x100028f4
mov edx, dword [esi + 0x80bc]
cmp edx, dword [esi + 0x54]
jge 0x100028f4
xor eax, eax
jmp 0x100028f9
mov eax, 1
mov ebp, dword [esp + 0x68]
push ebp
mov ecx, esi
mov byte [esi + 0x80c4], al
call fcn.100019f0
cmp byte [esi + 0x80c4], 0
jne 0x10002929
mov eax, dword [esi + 0x80bc]
cmp ebx, eax
jle 0x10002929
push eax
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_unsigned_char____thiscall_QImage::scanLine_int_]
mov edi, eax
lea eax, [esi + 0x40b0]
cmp dword [esi + 0x80b0], eax
ja 0x10002860
mov eax, dword [esi + 0x8c]
xor edi, edi
cmp eax, dword [esi + 0x90]
lea ebp, [edi + 2]
jge 0x100025a5
mov ecx, dword [esi + 0x2c]
mov byte [esi + 1], 1
cmp ecx, dword [esi + 0x34]
jne case.default.0x10001e0d
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], 7
jmp case.default.0x10001e0d
movzx eax, al
sub eax, 0xf9
je 0x1000299e
sub eax, 6
je 0x1000298f
mov dword [esi + 0x38], 0xe
mov dword [esi + 0x2c], edi
jmp case.default.0x10001e0d
mov dword [esi + 0x38], 0xb
mov dword [esi + 0x2c], edi
jmp case.default.0x10001e0d
mov dword [esi + 0x38], 0xa
mov dword [esi + 0x2c], edi
jmp case.default.0x10001e0d
mov ecx, dword [esi + 0x2c]
cmp ecx, 0xb
jge 0x100029b9
mov byte [ecx + esi + 0x18], al
movzx ecx, byte [esi + 0x18]
add dword [esi + 0x2c], edx
mov eax, dword [esi + 0x2c]
add ecx, edx
cmp eax, ecx
jne case.default.0x10001e0d
push 8
lea edx, [esi + 0x19]
push str.NETSCAPE
push edx
call fcn.10001540
add esp, 0xc
neg eax
sbb eax, eax
and eax, ebp
add eax, 0xc
mov dword [esi + 0x38], eax
mov dword [esi + 0x2c], edi
jmp case.default.0x10001e0d
movzx eax, al
mov dword [esi + 0x34], eax
neg eax
sbb eax, eax
and eax, 9
add eax, 4
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], eax
jmp case.default.0x10001e0d
mov ecx, dword [esi + 0x2c]
cmp ecx, 3
jge 0x10002a1b
mov byte [ecx + esi + 0x18], al
add dword [esi + 0x2c], edx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x34]
jne case.default.0x10001e0d
movzx eax, byte [esi + 0x1a]
movzx ecx, byte [esi + 0x19]
mov edx, dword [esp + 0x78]
shl eax, 8
add eax, ecx
mov dword [edx], eax
mov dword [esi + 0x38], 0xe
jmp case.default.0x10001e0d
mov ecx, dword [esi + 0x2c]
cmp ecx, 5
jge 0x10002a55
mov byte [ecx + esi + 0x18], al
movzx ecx, byte [esi + 0x18]
add dword [esi + 0x2c], edx
mov eax, dword [esi + 0x2c]
add ecx, edx
cmp eax, ecx
jne case.default.0x10001e0d
mov edx, dword [esp + 0x68]
push edx
mov ecx, esi
call fcn.10001890
movzx eax, byte [esi + 0x19]
shr eax, 2
and eax, 7
cmp dword [esi + 0x2c], 3
mov dword [esi + 0x70], eax
jle 0x10002a99
movzx eax, byte [esi + 0x1b]
movzx ecx, byte [esi + 0x1a]
shl eax, 8
or eax, ecx
cmp eax, ebp
jge 0x10002a9e
mov eax, 0xa
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x74]
add edx, edx
mov dword [eax], edx
test byte [esi + 0x19], 1
je 0x10002ac5
movzx eax, byte [esi + 0x1c]
mov dword [esi + 0x78], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], 0xe
jmp case.default.0x10001e0d
or eax, 0xffffffff
mov dword [esi + 0x78], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], 0xe
jmp case.default.0x10001e0d
movzx eax, al
mov dword [esi + 0x34], eax
neg eax
sbb eax, eax
and eax, 0xb
add eax, 4
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], eax
jmp case.default.0x10001e0d
add dword [esi + 0x2c], edx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x34]
jne case.default.0x10001e0d
mov dword [esi + 0x38], 0xe
jmp case.default.0x10001e0d
or eax, 0xffffffff
jmp 0x10001fa0