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

Disassembly:
sub esp, 0xdc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x54]
test eax, eax
je 0x10b92a39
push eax
call sym.PBVM90.dll_PBImageList_Destroy
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x34]
push 0
push 0xd
push 1
push eax
push ecx
call sym.PBVM90.dll_PBImageList_Create
mov edx, dword [esi]
mov dword [esi + 0x54], eax
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov eax, dword [esi + 0x64]
push eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x38], edi
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
push edx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
push edi
mov dword [esp + 0x40], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call ebx
mov dword [esp + 0x2c], eax
mov eax, dword [0x10e2cda0]
neg eax
sbb eax, eax
and eax, 0xa
add eax, 6
push eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0
push 0
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push ebp
call ebx
push 0xff00ff
mov dword [esp + 0x4c], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push ebp
mov dword [esp + 0x40], edi
call ebx
mov ecx, dword [esi + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x34]
push ecx
lea ecx, [esp + 0xe0]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
push eax
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetRect]
lea edx, [esp + 0xdc]
push edi
push edx
push ebp
call dword [sym.imp.USER32.dll_FillRect]
mov edi, dword [esi + 0x40]
cmp edi, 2
mov edx, edi
jg 0x10b92b13
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x64]
add edx, 0xfffffffe
lea ecx, [eax + 1]
cmp edx, ecx
jge 0x10b92b2d
cmp edi, 2
mov ecx, edi
jg 0x10b92b2a
mov ecx, dword [esi + 0x38]
add ecx, 0xfffffffe
cdq
sub eax, edx
mov dword [esp + 0x1c], ecx
mov ecx, eax
sar ecx, 1
cmp edi, 2
mov dword [esp + 0x14], ecx
jg 0x10b92b44
mov edi, dword [esi + 0x38]
lea eax, [edi - 2]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
xor ebx, ebx
cmp ebx, 0xc
je 0x10b92b8d
mov eax, dword [esi + 0x34]
mov dword [esp + 0x10], edi
cmp edi, eax
jge 0x10b92b8d
mov edx, dword [esp + 0x18]
push edx
push ecx
mov ecx, ebx
imul ecx, eax
add ecx, dword [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SetPixel]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x34]
add ecx, 2
mov dword [esp + 0x10], ecx
cmp ecx, eax
mov ecx, dword [esp + 0x14]
jl 0x10b92b60
test bl, 1
jne 0x10b92b97
cmp ebx, 0xc
jne 0x10b92bca
test ecx, ecx
mov dword [esp + 0x10], ecx
jl 0x10b92bca
mov ecx, ebx
mov edx, dword [esp + 0x18]
imul ecx, dword [esi + 0x34]
mov eax, dword [esp + 0x10]
push edx
add ecx, edi
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x10]
sub eax, 2
mov dword [esp + 0x10], eax
jns 0x10b92b9f
mov ecx, dword [esp + 0x14]
test bl, 2
jne 0x10b92bd4
cmp ebx, 0xc
jne 0x10b92c14
mov edx, dword [esi + 0x64]
lea eax, [ecx + 2]
cmp eax, edx
mov dword [esp + 0x10], eax
jge 0x10b92c14
jmp 0x10b92be8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push edx
push eax
mov eax, ebx
imul eax, dword [esi + 0x34]
add eax, edi
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x64]
add eax, 2
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x10b92be4
mov ecx, dword [esp + 0x14]
test bl, 8
jne 0x10b92c5d
mov edx, dword [esp + 0x1c]
mov eax, 0x3e0f83e1
shl edx, 3
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
imul eax, dword [esi + 0x34]
lea ecx, [ecx + edx + 1]
push ecx
lea ecx, [edi + edx]
lea ecx, [ecx + eax + 1]
push ecx
mov ecx, dword [esp + 0x1c]
sub ecx, edx
push ecx
mov ecx, edi
sub ecx, edx
add ecx, eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [esp + 0x14]
inc ebx
cmp ebx, 0xd
jl 0x10b92b50
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push ebp
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x1c]
mov eax, 0x3e0f83e1
imul ebx
sar edx, 3
mov eax, edx
mov dword [esp + 0x18], 4
shr eax, 0x1f
add edx, eax
mov eax, 0x3e0f83e1
mov ecx, edx
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea edx, [ebx + ebx*4]
imul edx
mov ebx, dword [esp + 0x14]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ebx, ecx
mov dword [esp + 0x10], edx
jmp 0x10b92cde
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, edi
imul eax, dword [esi + 0x34]
sub ecx, edx
add edx, edi
add ecx, eax
add eax, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
push 5
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x50], ecx
push eax
push ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
call dword [sym.imp.GDI32.dll_Polyline]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 8
mov dword [esp + 0x18], eax
jl 0x10b92cda
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, edx
mov dword [esp + 0x18], 0
sub eax, ecx
add edx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], edx
jmp 0x10b92d5c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, edi
imul eax, dword [esi + 0x34]
sub edx, ecx
push 0xd
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], ebx
lea ecx, [edx + eax]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x78], ecx
mov ecx, edi
mov dword [esp + 0x9c], ebx
sub ecx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x20]
add edx, edi
add ecx, eax
add edx, eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x14]
add edx, edi
mov dword [esp + 0xc0], ecx
add eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x34]
push eax
push ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], ebx
call dword [sym.imp.GDI32.dll_Polyline]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jl 0x10b92d58
mov ecx, dword [esp + 0x28]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push ebp
call ebx
mov edx, dword [esp + 0x38]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call edi
mov eax, dword [esp + 0x48]
push eax
push ebp
call ebx
mov ecx, dword [esp + 0x40]
push ecx
call edi
mov edx, dword [esp + 0x2c]
push edx
push ebp
call ebx
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x34]
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esi + 0x54]
push 0xff00ff
push ebx
push edx
call sym.PBVM90.dll_PBImageList_AddMasked
push ebx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret