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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x103440b4]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [0x103504e8]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], edi
test al, 1
jne 0x100a72bf
push str.AlphaBlend
or eax, 1
push str.msimg32.dll
mov dword [0x103504e8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x100a72c4
mov eax, dword [0x103504ec]
test eax, eax
mov ecx, 0x100a65c6
cmove eax, ecx
cmp dword [esp + 0x2c], 0
mov dword [0x103504ec], eax
je 0x100a8566
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x2c]
mov dword [esp + 0x18], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 3
push edi
mov dword [esp + 0x60], eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
xor eax, eax
lea edi, [esp + 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
cmp dword [0x103504ec], 0
lea edi, [esp + 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
je 0x100a7c3f
cmp byte [ebp + 0x20], 0
mov cl, byte [ebp + 0x24]
jne 0x100a7334
cmp cl, 0xff
jae 0x100a7c3f
xor eax, eax
mov byte [esp + 0x3e], cl
mov word [esp + 0x3c], ax
mov byte [esp + 0x3f], 1
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
cmp byte [ebp + 0x28], al
jne 0x100a7434
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
add eax, dword [ecx]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0xc]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov edi, dword [esp + 0xc]
test eax, eax
je 0x100a7438
cmp byte [ebp + 0x2c], 0
jne 0x100a7a30
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
sub ecx, edx
mov dword [esp + 0x28], edx
sub ecx, dword [ebx + 4]
sub ecx, dword [ebx + 0xc]
cmp byte [ebp + 0x30], 0
mov dword [esp + 0x34], ecx
jne 0x100a796e
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
sub edi, dword [esp + 0x60]
mov edx, dword [eax]
mov eax, dword [esp + 0xc]
sub ebx, dword [esp + 0x5c]
push esi
push dword [esp + 0x38]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x28]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edi
sub eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
add eax, dword [esp + 0x34]
push eax
mov eax, dword [esi]
add eax, ecx
push eax
push dword [esp + 0x28]
push edi
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [0x103504ec]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
mov edx, dword [ebx]
test edx, edx
jle 0x100a74c2
mov eax, dword [ebx + 4]
test eax, eax
jle 0x100a74c2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x5c], eax
add eax, edx
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a74c2
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x5c]
push esi
push dword [ebx + 4]
mov dword [esp + 0x6c], ecx
push dword [ebx]
mov dword [esp + 0x74], eax
push dword [edi + 4]
push dword [edi]
push dword [esp + 0x28]
push eax
push ecx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [0x103504ec]
mov edx, dword [ebx + 4]
mov edi, dword [esp + 0x18]
test edx, edx
jle 0x100a7579
mov eax, dword [ebx]
add eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
lea eax, [ecx + edx]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
mov dword [esp + 0x68], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a7579
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x24]
push dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov eax, dword [eax + 8]
sub edi, dword [esp + 0x68]
sub eax, ecx
sub ebx, dword [esp + 0x64]
sub eax, edx
sub eax, dword [esi + 8]
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edi
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x28]
push edi
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [0x103504ec]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
cmp dword [ebx + 8], 0
jle 0x100a760e
mov edx, dword [ebx + 4]
test edx, edx
jle 0x100a760e
mov ecx, dword [edi + 8]
mov eax, ecx
sub eax, dword [ebx + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x60], eax
add eax, edx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a760e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
sub edx, dword [esp + 0x5c]
push esi
push dword [ebx + 4]
mov dword [esp + 0x6c], edx
push dword [ebx + 8]
mov dword [esp + 0x74], ecx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x28]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [0x103504ec]
mov edx, dword [ebx]
test edx, edx
jle 0x100a76bb
mov ecx, dword [edi]
mov eax, dword [edi + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x60], eax
lea eax, [ecx + edx]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a76bb
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x6c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x68]
sub edi, dword [esp + 0x64]
sub ebx, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x68], ebx
sub eax, edx
mov dword [esp + 0x6c], edi
sub eax, dword [esi + 0xc]
push eax
mov eax, esi
push dword [eax]
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
push dword [esp + 0x28]
push edi
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [0x103504ec]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
cmp dword [ebx + 8], 0
mov edi, dword [esp + 0x18]
jle 0x100a777b
mov ecx, dword [edi + 8]
mov eax, ecx
sub eax, dword [ebx + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a777b
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x6c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x68]
sub edi, dword [esp + 0x64]
sub ebx, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x68], ebx
sub eax, edx
mov dword [esp + 0x6c], edi
sub eax, dword [esi + 0xc]
push eax
mov eax, esi
push dword [eax + 8]
lea eax, [ecx + edx]
mov ecx, esi
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
sub eax, dword [ecx + 8]
push eax
push dword [esp + 0x28]
push edi
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [0x103504ec]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx]
test eax, eax
jle 0x100a780e
cmp dword [ebx + 0xc], 0
jle 0x100a78c6
mov edx, dword [edi + 0xc]
mov eax, edx
sub eax, dword [ebx + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
add eax, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a780e
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
sub edx, dword [esp + 0x5c]
push esi
push dword [ebx + 0xc]
mov dword [esp + 0x6c], edx
push dword [ebx]
mov dword [esp + 0x74], ecx
push eax
push dword [edi]
push dword [esp + 0x28]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [0x103504ec]
cmp dword [ebx + 0xc], 0
jle 0x100a78c6
mov edi, dword [esp + 0x18]
mov eax, dword [ebx]
add eax, dword [edi]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x5c], eax
mov eax, ecx
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a78ca
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x24]
push dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov eax, dword [eax + 8]
sub edi, dword [esp + 0x68]
sub eax, ecx
sub ebx, dword [esp + 0x64]
sub eax, edx
sub eax, dword [esi + 8]
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edi
mov eax, dword [eax + 0xc]
sub eax, dword [esi + 0xc]
push eax
lea eax, [ecx + edx]
push eax
push dword [esp + 0x28]
push edi
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [0x103504ec]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
cmp dword [ebx + 8], 0
jle 0x100a854e
cmp dword [ebx + 0xc], 0
jle 0x100a854e
mov edx, dword [edi + 8]
mov eax, edx
sub eax, dword [ebx + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x5c], eax
mov eax, ecx
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], edx
push eax
mov dword [esp + 0x74], ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a854e
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
sub edx, dword [esp + 0x5c]
push esi
push dword [ebx + 0xc]
mov esi, dword [esp + 0x14]
push dword [ebx + 8]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 0xc]
push eax
mov eax, dword [esi + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x28]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [0x103504ec]
jmp 0x100a854e
mov edx, dword [esp + 0x68]
mov eax, ecx
sub eax, dword [esp + 0x60]
dec edx
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x100a7438
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
lea edi, [eax + edx]
add eax, ecx
mov ecx, eax
mov dword [esp + 0x28], edi
add edx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], eax
cmp edx, ecx
jle 0x100a79c3
sub eax, edx
mov dword [esp + 0x48], ecx
add eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
mov edx, dword [ebx]
mov edi, dword [esp + 0x64]
sub edi, dword [esp + 0x5c]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
push esi
push dword [esp + 0x30]
mov esi, dword [esp + 0x14]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x6c], edi
sub eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
add eax, dword [esi + 4]
push eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x38]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x60]
sub eax, ecx
push eax
push edi
push ecx
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [0x103504ec]
sub dword [esp + 0x4c], 1
mov esi, dword [esp + 0x3c]
je 0x100a7434
mov ecx, dword [esp + 0x34]
jmp 0x100a798a
mov ecx, dword [edi + 8]
sub ecx, dword [ebx + 8]
sub ecx, dword [ebx]
mov edx, dword [esp + 0x64]
sub ecx, dword [edi]
dec edx
cmp byte [ebp + 0x30], 0
mov dword [esp + 0x2c], ecx
je 0x100a7b85
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [edi + 4]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
mov eax, ecx
sub eax, dword [esp + 0x5c]
add eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x60]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x24]
mov dword [esp + 0x28], eax
test eax, eax
jle 0x100a7438
mov ecx, dword [esp + 0x68]
xor edx, edx
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x60]
add edx, eax
mov edi, dword [esp + 0x48]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x24]
add edi, edx
add eax, edi
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x30], edx
cmp eax, ecx
jle 0x100a7ac6
sub edx, eax
mov eax, ecx
add edx, ecx
mov dword [esp + 0x30], edx
cmp dword [esp + 0x4c], 0
jle 0x100a7b6d
sub eax, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x5c]
lea eax, [esi + ecx]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
add esi, eax
add ecx, esi
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x34], ecx
mov ecx, eax
cmp dword [esp + 0x34], esi
mov esi, dword [esp + 0x3c]
jle 0x100a7b1c
sub ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x64]
add ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 4]
add eax, dword [edi + 4]
push esi
push edx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x6c]
sub eax, ecx
push eax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x80]
push eax
push ecx
push dword [esp + 0x38]
call dword [0x103504ec]
sub dword [esp + 0x38], 1
je 0x100a7b69
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
jmp 0x100a7ae3
mov ecx, dword [esp + 0x68]
sub dword [esp + 0x28], 1
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
jne 0x100a7a96
jmp 0x100a7438
mov eax, ecx
sub eax, dword [esp + 0x5c]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x38], eax
test eax, eax
jle 0x100a7438
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
lea edi, [eax + edx]
add eax, ecx
mov ecx, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], eax
cmp ecx, edx
jle 0x100a7bd6
sub eax, ecx
mov dword [esp + 0x30], edx
add eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 4]
mov edi, dword [esp + 0x68]
sub edi, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x68], edi
push esi
sub eax, edx
sub eax, dword [ebx + 0xc]
push eax
push dword [esp + 0x30]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [ebx]
add eax, dword [ecx]
mov ecx, dword [esp + 0x50]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x48]
push edi
sub eax, ecx
push eax
push dword [esp + 0x80]
push ecx
push dword [esp + 0x38]
call dword [0x103504ec]
sub dword [esp + 0x38], 1
je 0x100a7434
mov ecx, dword [esp + 0x2c]
jmp 0x100a7b9c
mov edi, dword [esp + 0xc]
xor edx, edx
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov dword [esp + 0x24], edx
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp ecx, eax
jne 0x100a7cf2
mov ecx, dword [edi + 0xc]
mov eax, dword [esi + 0xc]
sub ecx, dword [edi + 4]
sub eax, dword [esi + 4]
cmp eax, ecx
jne 0x100a7cf2
cmp dword [ebx], edx
jne 0x100a7cf2
cmp dword [ebx + 8], edx
jne 0x100a7cf2
cmp dword [ebx + 4], edx
jne 0x100a7cf2
cmp dword [ebx + 0xc], edx
jne 0x100a7cf2
push esi
push dword [esp + 0x20]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a854e
mov eax, dword [edi + 4]
sub eax, dword [esi + 4]
add eax, dword [esp + 0x70]
push 0xcc0020
push eax
mov eax, dword [edi]
sub eax, dword [esi]
add eax, dword [esp + 0x74]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
push eax
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x100a854e
cmp byte [ebp + 0x28], dl
jne 0x100a7dc6
mov eax, dword [ebx]
add eax, dword [esi]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a7dc6
cmp byte [ebp + 0x2c], 0
jne 0x100a7f0d
mov ecx, dword [edi + 0xc]
sub ecx, dword [ebx + 4]
sub ecx, dword [ebx + 0xc]
mov edx, dword [edi + 4]
sub ecx, edx
cmp byte [ebp + 0x30], 0
mov dword [esp + 0x2c], ecx
jne 0x100a7e5e
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
sub esi, dword [esp + 0x60]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub edi, dword [esp + 0x5c]
sub eax, ecx
sub eax, dword [ebx]
sub eax, dword [ebx + 8]
push 0xcc0020
push dword [esp + 0x30]
mov dword [esp + 0x6c], edi
push eax
mov eax, dword [ebx + 4]
add eax, edx
mov dword [esp + 0x74], esi
push eax
mov eax, dword [ebx]
add eax, ecx
push eax
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov edx, dword [ebx]
test edx, edx
jle 0x100a80dc
mov eax, dword [ebx + 4]
test eax, eax
jle 0x100a80dc
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x5c], eax
add eax, edx
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a80dc
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x5c]
push 0xcc0020
push dword [ebx + 4]
mov dword [esp + 0x6c], ecx
push dword [ebx]
mov dword [esp + 0x74], eax
push dword [edi + 4]
push dword [edi]
mov edi, dword [esp + 0x24]
push dword [esp + 0x28]
push eax
push ecx
push dword [esp + 0x80]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x100a80e0
mov edx, dword [esp + 0x68]
mov eax, ecx
sub eax, dword [esp + 0x60]
dec edx
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x30], eax
test eax, eax
jle 0x100a7dc6
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
lea esi, [eax + edx]
add eax, ecx
mov ecx, eax
mov dword [esp + 0x44], esi
add edx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
cmp edx, ecx
jle 0x100a7eab
sub eax, edx
mov dword [esp + 0x28], ecx
add eax, ecx
mov ecx, dword [edi]
mov edx, dword [ebx]
mov esi, dword [esp + 0x64]
sub esi, dword [esp + 0x5c]
push 0xcc0020
push eax
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [esp + 0x6c], esi
sub eax, edx
sub eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
add eax, dword [edi + 4]
push eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x54]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x40]
sub eax, ecx
push eax
push esi
push ecx
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x30], 1
je 0x100a7dc2
mov ecx, dword [esp + 0x2c]
jmp 0x100a7e7a
mov ecx, dword [edi + 8]
sub ecx, dword [ebx]
sub ecx, dword [edi]
mov edx, dword [esp + 0x64]
sub ecx, dword [ebx + 8]
dec edx
cmp byte [ebp + 0x30], 0
mov dword [esp + 0x2c], ecx
je 0x100a8027
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [edi + 4]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
mov eax, ecx
sub eax, dword [esp + 0x5c]
add eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x60]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x24]
mov dword [esp + 0x38], eax
test eax, eax
jle 0x100a7dc6
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x60]
lea edi, [ecx + eax]
add ecx, edx
add eax, ecx
mov dword [esp + 0x50], ecx
cmp eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
cmovg eax, dword [esp + 0x68]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0xc]
test ecx, ecx
jle 0x100a800f
sub eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x20]
push 0xcc0020
lea edx, [eax + ecx]
mov eax, dword [esp + 0x30]
add dword [esp + 0x38], eax
add ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x68]
mov eax, dword [ebx + 4]
cmovg ecx, dword [esp + 0x68]
add eax, dword [edi + 4]
sub ecx, edx
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x3c]
push esi
push dword [esp + 0x54]
push ecx
push eax
push edx
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
sub dword [esp + 0x28], 1
je 0x100a800b
mov eax, dword [esp + 0x34]
jmp 0x100a7fb1
mov edx, dword [esp + 0x24]
sub dword [esp + 0x38], 1
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x30], ecx
jne 0x100a7f77
jmp 0x100a7dc2
mov eax, ecx
sub eax, dword [esp + 0x5c]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x38], eax
test eax, eax
jle 0x100a7dc6
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
lea esi, [eax + edx]
add eax, ecx
mov ecx, eax
mov dword [esp + 0x40], esi
add edx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], eax
cmp edx, ecx
jle 0x100a8077
sub eax, edx
mov dword [esp + 0x30], ecx
add eax, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [ebx + 4]
sub eax, ecx
mov esi, dword [esp + 0x68]
sub eax, edx
sub eax, dword [ebx + 0xc]
sub esi, dword [esp + 0x60]
push 0xcc0020
push eax
push dword [esp + 0x30]
lea eax, [ecx + edx]
mov dword [esp + 0x74], esi
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x48]
push esi
sub eax, ecx
push eax
push dword [esp + 0x80]
push ecx
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x38], 1
je 0x100a7dc2
mov ecx, dword [esp + 0x2c]
jmp 0x100a803e
mov edi, dword [esp + 0x10]
mov edx, dword [ebx + 4]
test edx, edx
jle 0x100a8180
mov eax, dword [ebx]
add eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
lea eax, [ecx + edx]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
mov dword [esp + 0x68], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a8180
mov eax, dword [esp + 0xc]
mov edx, dword [ebx]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub esi, dword [esp + 0x60]
sub eax, ecx
sub edi, dword [esp + 0x5c]
sub eax, edx
sub eax, dword [ebx + 8]
push 0xcc0020
push dword [ebx + 4]
mov dword [esp + 0x6c], edi
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], esi
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x80]
mov edi, dword [esp + 0x34]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
cmp dword [ebx + 8], 0
mov esi, dword [esp + 0x18]
jle 0x100a821a
mov edx, dword [ebx + 4]
test edx, edx
jle 0x100a821a
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, dword [ebx + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x60], eax
add eax, edx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a821a
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
sub edx, dword [esp + 0x5c]
push 0xcc0020
push dword [ebx + 4]
mov dword [esp + 0x6c], edx
push dword [ebx + 8]
mov dword [esp + 0x74], ecx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x28]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [ebx]
test edx, edx
jle 0x100a82ba
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x60], eax
lea eax, [ecx + edx]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 0xc]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push esi
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a82be
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 4]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub esi, dword [esp + 0x60]
sub eax, ecx
sub edi, dword [esp + 0x5c]
sub eax, edx
sub eax, dword [ebx + 0xc]
push 0xcc0020
push eax
push dword [ebx]
lea eax, [ecx + edx]
mov dword [esp + 0x70], edi
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], esi
push dword [eax]
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov esi, dword [esp + 0x1c]
cmp dword [ebx + 8], 0
mov edi, dword [esp + 0x18]
jle 0x100a836b
mov ecx, dword [edi + 8]
mov eax, ecx
sub eax, dword [ebx + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push esi
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a836b
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 4]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub esi, dword [esp + 0x60]
sub eax, ecx
sub edi, dword [esp + 0x5c]
sub eax, edx
sub eax, dword [ebx + 0xc]
push 0xcc0020
push eax
push dword [ebx + 8]
lea eax, [ecx + edx]
mov dword [esp + 0x70], edi
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], esi
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edi, dword [esp + 0x18]
mov esi, dword [ebx]
test esi, esi
jle 0x100a8402
cmp dword [ebx + 0xc], 0
jle 0x100a8402
mov edx, dword [edi + 0xc]
mov eax, edx
mov ecx, dword [edi]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
lea eax, [ecx + esi]
mov dword [esp + 0x68], edx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push esi
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a8406
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 0xc]
sub edx, dword [esp + 0x5c]
push 0xcc0020
push dword [ebx + 0xc]
mov dword [esp + 0x6c], edx
push dword [ebx]
mov dword [esp + 0x74], ecx
push eax
push dword [esi]
push dword [esp + 0x28]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov esi, dword [esp + 0x1c]
cmp dword [ebx + 0xc], 0
jle 0x100a84aa
mov eax, dword [ebx]
add eax, dword [edi]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x5c], eax
mov eax, ecx
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push esi
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a84aa
mov eax, dword [esp + 0xc]
mov edx, dword [ebx]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub esi, dword [esp + 0x60]
sub eax, ecx
sub edi, dword [esp + 0x5c]
sub eax, edx
sub eax, dword [ebx + 8]
push 0xcc0020
push dword [ebx + 0xc]
mov dword [esp + 0x6c], edi
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], esi
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
push eax
lea eax, [ecx + edx]
push eax
push dword [esp + 0x28]
push esi
push edi
push dword [esp + 0x80]
mov edi, dword [esp + 0x34]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x100a84ae
mov edi, dword [esp + 0x10]
cmp dword [ebx + 8], 0
jle 0x100a854e
cmp dword [ebx + 0xc], 0
jle 0x100a854e
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov eax, edx
sub eax, dword [ebx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x5c], eax
mov eax, ecx
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], edx
push eax
mov dword [esp + 0x74], ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100a854e
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 0xc]
sub edx, dword [esp + 0x5c]
push 0xcc0020
push dword [ebx + 0xc]
mov dword [esp + 0x6c], edx
push dword [ebx + 8]
mov dword [esp + 0x74], ecx
push eax
mov eax, dword [esi + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x28]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [esp + 0x58]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret