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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x64
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x100b7ed5
cmp dword [esp + 0x88], esi
je 0x100b7ed5
lea ecx, [esp + 0x30]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x100b7bd3
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x64
ret 0x14
mov eax, dword [esp + 0x34]
mov dl, 8
mov byte [esp + 0x70], dl
mov byte [esp + 0x71], dl
mov byte [esp + 0x72], dl
lea edx, [eax + eax*2]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x38]
lea eax, [edx*8 + 0x1f]
push 4
cdq
and edx, 0x1f
push 0x1000
add eax, edx
mov ebx, 1
mov edi, eax
mov dword [esp + 0x50], 0x28
sar edi, 5
shl edi, 2
mov ebp, edi
mov dword [esp + 0x58], ecx
imul ebp, ecx
push ebp
push esi
mov word [esp + 0x64], bx
mov word [esp + 0x66], 0x18
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov byte [esp + 0x83], 0
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x100b7c71
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x64
ret 0x14
push esi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
test esi, esi
jne 0x100b7c9e
push 0x8000
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x64
ret 0x14
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x48]
push 0
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push 0
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
push esi
push 0
jne 0x100b7cee
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x10]
push 0x8000
push 0
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x64
ret 0x14
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
xor dx, dx
mov dl, cl
lea esi, [edx + eax]
sub edx, eax
mov dword [esp + 0x14], edx
xor edx, edx
mov dl, ch
mov dword [esp + 0x80], esi
movzx si, dl
shr ecx, 0x10
movzx cx, cl
lea edx, [esi + eax]
sub esi, eax
mov dword [esp + 0x18], edx
lea edx, [ecx + eax]
sub ecx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
lea edx, [eax + eax*2]
mov al, byte [esp + 0x84]
xor esi, esi
mov dword [esp + 0x24], ecx
test bl, al
mov dword [esp + 0x28], edx
mov dword [esp + 0x78], esi
je 0x100b7e06
xor ecx, ecx
test edx, edx
mov dword [esp + 0x7c], ecx
jle 0x100b7eb6
mov ebx, dword [esp + 0x10]
mov eax, ecx
sub eax, edi
add eax, ebx
add eax, ebp
cmp eax, ebx
jb 0x100b7df2
mov ecx, dword [esp + 0x88]
lea esi, [ecx + esi*2]
movzx bp, byte [eax + 2]
cmp bp, word [esp + 0x80]
movzx dx, byte [eax]
movzx cx, byte [eax + 1]
jg 0x100b7dc7
cmp bp, word [esp + 0x14]
jl 0x100b7dc7
cmp cx, word [esp + 0x18]
jg 0x100b7dc7
cmp cx, word [esp + 0x1c]
jl 0x100b7dc7
cmp dx, word [esp + 0x20]
jg 0x100b7dc7
cmp dx, word [esp + 0x24]
jl 0x100b7dc7
mov word [esi], 0x31
jmp 0x100b7dcc
mov word [esi], 0x30
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x10]
sub eax, edi
inc ebp
add esi, 2
cmp eax, ecx
mov dword [esp + 0x78], ebp
jae 0x100b7d85
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x28]
add ecx, 3
cmp ecx, edx
mov dword [esp + 0x7c], ecx
jl 0x100b7d6b
jmp 0x100b7eb6
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x100b7eb6
mov ecx, edi
imul edi, eax
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
neg ecx
add edi, ebx
mov dword [esp + 0x84], ecx
mov ebx, edi
add ebx, ecx
mov eax, ebx
lea edi, [ebx + edx]
cmp ebx, edi
jae 0x100b7ea7
mov edx, dword [esp + 0x88]
lea esi, [edx + esi*2]
movzx dx, byte [eax]
movzx cx, byte [eax + 1]
inc eax
inc eax
movzx bp, byte [eax]
inc eax
cmp bp, word [esp + 0x80]
jg 0x100b7e85
cmp bp, word [esp + 0x14]
jl 0x100b7e85
cmp cx, word [esp + 0x18]
jg 0x100b7e85
cmp cx, word [esp + 0x1c]
jl 0x100b7e85
cmp dx, word [esp + 0x20]
jg 0x100b7e85
cmp dx, word [esp + 0x24]
jl 0x100b7e85
mov word [esi], 0x31
jmp 0x100b7e8a
mov word [esi], 0x30
mov ebp, dword [esp + 0x78]
add esi, 2
inc ebp
cmp eax, edi
mov dword [esp + 0x78], ebp
jb 0x100b7e41
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x84]
mov esi, ebp
mov eax, dword [esp + 0x7c]
dec eax
mov dword [esp + 0x7c], eax
jne 0x100b7e2c
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x10]
push 0x8000
push 0
push ecx
mov word [eax + esi*2], 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret 0x14