Function at 0x1103af80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111db21b
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov esi, ecx
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x60]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xbc], ecx
mov ecx, dword [edx + 0x48]
mov eax, dword [ecx + 0x28]
mov edi, dword [eax + ebx*8]
lea eax, [eax + ebx*8]
mov eax, dword [eax + 4]
mov dword [ebp - 0xfc], edi
lea edi, [ebx*8]
sub edi, ebx
mov dword [ebp - 0xf8], eax
mov eax, dword [edx + 0x54]
mov dword [ebp - 0xb8], edx
mov edx, dword [edx + 0x58]
add edi, edi
mov dword [ebp - 0xd8], eax
mov eax, dword [ecx + 0x24]
add edi, edi
test byte [eax + edi + 8], 8
mov dword [ebp - 0xc4], edx
mov edx, dword [eax + edi + 0xc]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xf4], edx
je 0x1103b0ce
mov eax, dword [ebp - 0xb8]
test dword [eax + 0xc], 0x100
je 0x1103b0ce
mov ecx, dword [ecx + 0x24]
mov eax, dword [ecx + edi + 4]
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov dword [ebp - 0xc8], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0xc8]
push 2
lea edx, [ebp - 0x20]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x18]
mov edx, dword [ebp - 0xcc]
lea ecx, [ebp - 0x20]
push ecx
inc eax
push edx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_RectVisible]
test eax, eax
je 0x1103b9bf
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0xcc]
mov eax, dword [esi]
push edx
mov edx, dword [eax + 0x20c]
push ebx
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x24]
or dword [ecx + edi + 0x18], 1
lea eax, [ecx + edi + 0x18]
jmp 0x1103b9bf
mov edx, dword [ecx + 0x24]
mov eax, dword [edx + edi + 4]
cmp eax, 0xffffffff
je 0x1103b98f
push ebx
mov ecx, esi
cmp eax, 0xfffffffe
jne 0x1103b1ce
call fcn.110da760
test al, 0x20
jne 0x1103b9bf
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xf8]
mov edx, dword [esi + 0x74]
add eax, 0xfffffffe
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x78]
sub ecx, eax
add ecx, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xb8]
test dword [eax + 0xc], 0x100
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
jne 0x1103b135
sub ecx, dword [esi + 0x78]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0xd4]
push ecx
mov dword [ebp - 0xd4], 0
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [ebp - 0xd0], eax
mov edi, 1
call fcn.111bbe50
test eax, eax
je 0x1103b179
mov edi, dword [esi + 0x14]
mov edx, dword [edi + 4]
push 4
push edx
call sub.gdiplus.dll_GdipImageRotateFlip
test eax, eax
je 0x1103b174
mov dword [edi + 8], eax
mov edi, 2
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x74]
push 0
push 0
push 0
push 2
push ecx
mov ecx, dword [esi + 0x70]
push eax
imul eax, edi
push 0
push eax
mov eax, dword [esi + 0x14]
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.1102a820
call fcn.111bbe50
test eax, eax
je 0x1103b1bd
mov esi, dword [esi + 0x14]
mov ecx, dword [esi + 4]
push 4
push ecx
call sub.gdiplus.dll_GdipImageRotateFlip
test eax, eax
je 0x1103b1bd
mov dword [esi + 8], eax
mov edx, dword [ebp - 0xd4]
push edx
call sub.gdiplus.dll_GdipDisposeImageAttributes
jmp 0x1103b9bf
call fcn.110da7c0
test al, 3
je 0x1103b21d
mov eax, dword [ebp - 0xb8]
test dword [eax + 0xc], 0x400
jne 0x1103b21d
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x24]
mov ecx, dword [ecx + edi + 0xc]
mov eax, dword [eax + 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 0x264]
push ecx
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx + 0x44]
sub ecx, 2
push ecx
mov ecx, dword [eax + ebx*8]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push eax
push ecx
push ebx
mov ecx, esi
call edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x24]
mov eax, dword [edi + ecx]
mov dword [ebp - 0xf0], eax
test eax, eax
js 0x1103b7c6
push ebx
mov ecx, esi
call fcn.110da7c0
test al, al
jns 0x1103b266
test byte [ebp - 0xf4], 2
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x24]
je 0x1103b25c
movzx ecx, word [eax + edi + 2]
jmp 0x1103b260
movzx ecx, word [eax + edi]
mov dword [ebp - 0xf0], ecx
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xf0]
imul eax, ecx
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xfc]
sub eax, ecx
mov dword [ebp - 0xc8], eax
cdq
sub eax, edx
mov edx, dword [ebp + 0x14]
sar eax, 1
mov dword [ebp - 0x104], eax
add eax, edx
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x18]
inc eax
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xb8]
test dword [eax + 0xc], 0x2400
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xdc], ecx
je 0x1103b40f
mov eax, dword [ebp - 0xf8]
sub eax, ecx
mov dword [ebp - 0xe8], edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0x18]
mov dword [ebp - 0xe4], eax
call fcn.111bbe50
test eax, eax
je 0x1103b310
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp + 0x14]
lea eax, [ecx + edx - 2]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x24]
mov eax, dword [edx + edi + 0xc]
mov ecx, eax
and ecx, 4
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x100], ecx
jne 0x1103b3cf
cmp ebx, dword [esi + 0x58]
je 0x1103b341
test al, 2
je 0x1103b3cf
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], ecx
call fcn.111bbe50
test eax, eax
je 0x1103b378
add dword [ebp - 0x20], 5
mov eax, dword [ebp - 0xfc]
dec dword [ebp - 0x1c]
add dword [ebp - 0x14], 2
add eax, 0xfffffffb
test byte [ebp - 0xc8], 2
mov dword [ebp - 0x18], eax
je 0x1103b3be
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx + 0x24]
mov ecx, dword [ecx + edi + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x264]
push ecx
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push ecx
push ebx
mov ecx, esi
call edx
jmp 0x1103b3cf
mov eax, dword [esi]
mov edx, dword [eax + 0x268]
lea ecx, [ebp - 0x20]
push ecx
push ebx
mov ecx, esi
call edx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx + 0x2c]
cmp dword [edx + ebx*4], 0
lea eax, [edx + ebx*4]
je 0x1103b3ec
mov eax, dword [eax]
cmp word [eax], 0
jne 0x1103b3f8
mov ecx, dword [ebp - 0x104]
add dword [ebp - 0xe8], ecx
cmp dword [ebp - 0x100], 0
je 0x1103b469
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xec], edx
jmp 0x1103b469
mov al, byte [ebp - 0xf4]
test al, 4
je 0x1103b41f
mov dword [ebp - 0xec], ecx
test al, 1
je 0x1103b469
cmp byte [0x1126dd04], 0
je 0x1103b469
mov eax, dword [ebp - 0xec]
lea ecx, [eax + ecx*2]
mov eax, 1
add dword [ebp - 0xe8], eax
add dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], ecx
push ebx
mov ecx, esi
call fcn.110da7c0
test al, 3
je 0x1103b469
mov eax, 1
add dword [ebp - 0xe8], eax
add dword [ebp - 0xe4], eax
xor eax, eax
lea edx, [ebp - 0xd4]
push edx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd4], eax
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [ebp - 0xd0], eax
cmp dword [esi + 0x78], 0
mov dword [ebp - 4], 0
je 0x1103b507
cmp ebx, dword [esi + 0x58]
jne 0x1103b507
mov eax, dword [esi]
mov edx, dword [eax + 0x26c]
mov ecx, esi
call edx
test eax, eax
je 0x1103b507
push ebx
mov ecx, esi
call fcn.110da760
test al, 4
jne 0x1103b507
xor eax, eax
test byte [ebp - 0xf4], 1
je 0x1103b4d0
cmp byte [0x1126dd04], al
je 0x1103b4d0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xd8]
push 0
push 0
push 0
push 2
push ecx
push edx
mov edx, dword [esi + 0x78]
push eax
mov eax, dword [ebp - 0xcc]
push eax
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, dword [eax + 0x70]
push edx
jmp 0x1103b743
test byte [ebp - 0xf4], 4
je 0x1103b64c
cmp byte [esi + 0x80], 0
je 0x1103b64c
cmp byte [esi + 0x81], 0
je 0x1103b5a9
fld dword [0x111fb2d0]
mov edx, dword [ebp - 0xd4]
fst dword [ebp - 0x84]
push 0
fst dword [ebp - 0x80]
push 0
fstp dword [ebp - 0x7c]
lea ecx, [ebp - 0x84]
fldz
push ecx
fst dword [ebp - 0x78]
push 1
fst dword [ebp - 0x74]
push 1
fld dword [0x111fb2cc]
push edx
fst dword [ebp - 0x70]
fst dword [ebp - 0x6c]
fstp dword [ebp - 0x68]
fst dword [ebp - 0x64]
fst dword [ebp - 0x60]
fld dword [0x111fb2c8]
fst dword [ebp - 0x5c]
fst dword [ebp - 0x58]
fstp dword [ebp - 0x54]
fst dword [ebp - 0x50]
fst dword [ebp - 0x4c]
fst dword [ebp - 0x48]
fst dword [ebp - 0x44]
fst dword [ebp - 0x40]
fld dword [0x111fb2c4]
fstp dword [ebp - 0x3c]
fst dword [ebp - 0x38]
fst dword [ebp - 0x34]
fst dword [ebp - 0x30]
fst dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fld1
jmp 0x1103b618
fld1
mov ecx, dword [ebp - 0xd4]
fst dword [ebp - 0x84]
push 0
fldz
push 0
fst dword [ebp - 0x80]
lea eax, [ebp - 0x84]
fst dword [ebp - 0x7c]
push eax
fst dword [ebp - 0x78]
push 1
fst dword [ebp - 0x74]
push 1
fst dword [ebp - 0x70]
push ecx
fst dword [ebp - 0x68]
fst dword [ebp - 0x64]
fst dword [ebp - 0x60]
fst dword [ebp - 0x5c]
fst dword [ebp - 0x58]
fst dword [ebp - 0x50]
fst dword [ebp - 0x4c]
fst dword [ebp - 0x48]
fst dword [ebp - 0x44]
fst dword [ebp - 0x40]
fxch st(1)
fst dword [ebp - 0x6c]
fst dword [ebp - 0x54]
fld dword [0x111fb2c0]
fstp dword [ebp - 0x3c]
fxch st(1)
fst dword [ebp - 0x38]
fst dword [ebp - 0x34]
fst dword [ebp - 0x30]
fst dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
fstp dword [ebp - 0x24]
call sub.gdiplus.dll_GdipSetImageAttributesColorMatrix
test eax, eax
je 0x1103b62a
mov dword [ebp - 0xd0], eax
push 0
push 0
lea edx, [ebp - 0xd4]
push edx
mov edx, dword [ebp - 0xc4]
push 2
push edx
mov edx, dword [ebp - 0xd8]
push edx
push 0
jmp 0x1103b728
cmp ebx, dword [esi + 0x58]
jne 0x1103b706
mov eax, dword [esi]
mov edx, dword [eax + 0x26c]
mov ecx, esi
call edx
test eax, eax
je 0x1103b706
push ebx
mov ecx, esi
call fcn.110da760
test al, 4
jne 0x1103b706
fld1
mov ecx, dword [ebp - 0xd4]
fst dword [ebp - 0x84]
push 0
fldz
push 0
fst dword [ebp - 0x80]
lea eax, [ebp - 0x84]
fst dword [ebp - 0x7c]
push eax
fst dword [ebp - 0x78]
push 1
fst dword [ebp - 0x74]
push 1
fst dword [ebp - 0x70]
push ecx
fst dword [ebp - 0x68]
fst dword [ebp - 0x64]
fst dword [ebp - 0x60]
fst dword [ebp - 0x5c]
fst dword [ebp - 0x58]
fst dword [ebp - 0x50]
fst dword [ebp - 0x4c]
fst dword [ebp - 0x48]
fst dword [ebp - 0x44]
fst dword [ebp - 0x40]
fst dword [ebp - 0x38]
fxch st(1)
fst dword [ebp - 0x6c]
fst dword [ebp - 0x54]
fst dword [ebp - 0x3c]
fld dword [0x111fb2bc]
fst dword [ebp - 0x34]
fst dword [ebp - 0x30]
fstp dword [ebp - 0x2c]
fxch st(1)
fstp dword [ebp - 0x28]
fstp dword [ebp - 0x24]
call sub.gdiplus.dll_GdipSetImageAttributesColorMatrix
test eax, eax
je 0x1103b6fa
mov dword [ebp - 0xd0], eax
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xc8], edx
mov edx, dword [ebp - 0xc8]
push 0
push 0
push edx
mov edx, dword [ebp - 0xc4]
push 2
push edx
mov edx, dword [ebp - 0xd8]
push edx
mov edx, dword [ebp - 0xec]
push edx
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0x70]
push edx
lea edx, [ebp - 0xe8]
push edx
push eax
call fcn.1102a820
push ebx
mov ecx, esi
call fcn.110da7c0
test eax, 0x100010
je 0x1103b7b3
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x74]
sub edx, eax
add edx, dword [ebp + 0x18]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], eax
call fcn.111bbe50
test eax, eax
je 0x1103b798
mov edx, dword [ebp + 0x14]
add edx, 0xfffffffc
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0xbc]
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [edx + 0x70]
mov edx, dword [eax + 0x25c]
push ebx
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp - 0xd4]
push eax
mov dword [ebp - 4], 0xffffffff
call sub.gdiplus.dll_GdipDisposeImageAttributes
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x24]
test dword [edx + edi + 8], 0x400
je 0x1103b94d
push 0x30
lea eax, [ebp - 0xb4]
push 0
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ecx + 0x48]
mov edx, dword [eax + 0x24]
mov ecx, dword [edx + edi + 4]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], ebx
mov edx, dword [eax + 0x24]
mov ecx, dword [edx + edi + 8]
mov dword [ebp - 0xa8], ecx
mov edx, dword [eax + 0x24]
mov eax, dword [edx + edi + 0xc]
mov edx, dword [ebp - 0xbc]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xa4], eax
mov eax, dword [edx + 0x70]
add esp, 0xc
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x18]
lea edx, [ecx + eax - 1]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp - 0xfc]
lea edx, [edx + ecx - 1]
push edx
push eax
push ecx
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx + 0x24]
mov ecx, dword [edx + edi + 0x14]
mov dword [ebp - 0x88], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea edi, [ebp - 0xb4]
push edi
push eax
push 0x673
call edx
cmp dword [ebp - 0xf0], 0
jge 0x1103b94d
push ebx
mov ecx, esi
call fcn.110da7c0
mov edi, dword [ebp + 0x18]
test eax, 0x100010
je 0x1103b925
mov eax, dword [ebp - 0x98]
add eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x78]
mov edx, dword [edx + 0x74]
sub ecx, eax
add ecx, edi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], eax
call fcn.111bbe50
test eax, eax
je 0x1103b907
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffc
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [esi]
mov edx, dword [edx + 0x25c]
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ecx + 0x70]
push ebx
push eax
mov ecx, esi
call edx
mov eax, dword [ebp - 0xb8]
test dword [eax + 0xc], 0x6400
je 0x1103b948
call fcn.111bbe50
test eax, eax
jne 0x1103b950
mov eax, dword [ebp - 0xb8]
add edi, dword [eax + 0x54]
jmp 0x1103b950
add edi, dword [eax + 0x58]
jmp 0x1103b950
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx + 0x2c]
cmp dword [edx + ebx*4], 0
je 0x1103b9bf
test dword [eax + 0xc], 0x500
jne 0x1103b977
push ebx
mov ecx, esi
call fcn.110da7c0
test al, 0x20
je 0x1103b9bf
mov ecx, dword [esi + 0x74]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi]
mov eax, dword [eax + 0x260]
push ecx
push edi
push edx
push ebx
mov ecx, esi
call eax
jmp 0x1103b9bf
mov eax, dword [esi + 0x34]
mov edi, dword [esi]
cdq
sub eax, edx
mov edx, dword [ebp + 0x14]
sar eax, 1
lea eax, [eax + edx - 1]
push eax
add ecx, 0x14
push ecx
push ebx
mov ecx, esi
call fcn.110da7c0
mov ecx, dword [ebp - 0xcc]
mov edx, dword [edi + 0x258]
push eax
push ecx
mov ecx, esi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 0x14