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

Disassembly:
sub esp, 0x94
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0xa4]
push esi
push edi
mov edi, dword [ebx + 0x52]
push ebp
push ebx
mov dword [esp + 0x1c], edi
call fcn.10bfbc10
mov eax, dword [ebp]
add esp, 8
cmp eax, 0x40ae
jne 0x10bfc25a
test dword [ebp + 0x10], 0x8000000
mov eax, dword [ebp + 0xb0]
je 0x10bfc24e
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
jmp 0x10bfc269
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
jmp 0x10bfc269
mov eax, dword [ebp + 0xb0]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x10], ecx
test esi, esi
je 0x10bfc44c
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
test edx, edx
mov dword [esp + 0x50], edx
je 0x10bfc44c
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
mov edx, dword [ecx + 0xd0]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jne 0x10bfc311
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
lea edx, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebp], 0x40ae
jne 0x10bfc2f3
push 0xfffffffffffffffd
lea ecx, [esp + 0x70]
push 0xfffffffffffffffd
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
sub edx, edi
sub eax, ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
jmp 0x10bfc319
mov dword [esp + 0x30], 0x20000000
mov eax, dword [esp + 0x30]
mov edi, esi
or eax, 0x4000000
or ecx, 0xffffffff
mov dword [esp + 0x30], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + esi - 1]
mov cl, byte [ecx + esi - 1]
cmp cl, 0x20
jne 0x10bfc348
mov cl, byte [eax - 1]
dec eax
cmp cl, 0x20
je 0x10bfc33f
cmp byte [eax], 0x21
jne 0x10bfc427
mov ecx, dword [ebp + 0x18]
push esi
push ecx
push ebx
call sym.PBVM90.dll_FN_ResCreateBitmap
mov edi, eax
test edi, edi
jne 0x10bfc378
mov edx, dword [ebp + 0x18]
push eax
push esi
push edx
push ebx
call sym.PBVM90.dll_FN_ResCreateBitmapFromIcon
mov edi, eax
test edi, edi
je 0x10bfc427
lea eax, [esp + 0x54]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10bfc39e
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 0
push eax
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_CopyImage]
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x18]
push edx
push 0x56
push eax
call sym.PBVM90.dll_pbstg_alc
mov edx, eax
mov ecx, 0x15
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [esp + 0x18]
mov dword [edx], ecx
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x34]
mov dword [edx + 0xc], eax
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0x10], ecx
mov eax, dword [esp + 0x40]
mov dword [edx + 0x14], eax
mov ecx, dword [esp + 0x44]
mov dword [edx + 0x18], ecx
mov eax, dword [esp + 0x48]
mov dword [edx + 0x1c], eax
mov ecx, dword [esp + 0x58]
mov dword [edx + 0x20], ecx
mov eax, dword [esp + 0x5c]
mov dword [edx + 0x24], eax
mov dword [edx + 0x30], esi
mov ecx, dword [ebp + 0xb4]
mov dword [ecx], edx
jmp 0x10bfc439
lea edx, [esp + 0x18]
push edx
call sym.PBVM90.dll_osImageCreate
mov ecx, dword [ebp + 0xb4]
mov dword [ecx], eax
mov edx, dword [esp + 0x50]
mov eax, dword [ebp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x14]
cmp dword [ebp], 0x40af
jne 0x10bfc470
mov ecx, dword [ebp + 0xb0]
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x10bfc470
cmp byte [eax], 0
je 0x10bfc470
mov edx, dword [ebp + 0xb4]
mov dword [edx + 4], eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10bfc55d
mov eax, dword [ebp + 0xb0]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x10bfc55d
cmp byte [eax], 0
je 0x10bfc55d
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
mov esi, eax
test esi, esi
je 0x10bfc4d4
push esi
call fcn.10c3ce00
add esp, 4
test eax, eax
je 0x10bfc4cb
cmp dword [eax], 0x4074
je 0x10bfc4d4
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x10bfc4b6
mov ecx, dword [edi + 0x9c]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xb0]
mov dword [esp + 0x7c], 0x28
mov dword [esp + 0x80], 0x11
mov dword [esp + 0x84], esi
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x88], edx
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x5c]
push eax
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x64]
push 0
push 0x404
push esi
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
call fcn.10c12971
add esp, 4
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret