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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0xd08954]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 8], esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], ecx
cmp ebx, 0x4e
ja 0xb56ecb
je 0xbdfc78
cmp ebx, 0xf
jbe 0xb56e4f
cmp ebx, 0x14
je 0xb56f52
cmp ebx, 0x1a
je 0xb56fd3
cmp ebx, 0x21
je 0xbdfc54
cmp ebx, 0x3d
je 0xbdfc32
cmp ebx, 0x47
je 0xb56f5a
cmp ebx, 0x400
jae 0xb5705b
push esi
push dword [ebp + 0x10]
push ebx
push dword [esp + 0x20]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_DefWindowProcW]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00bc0ea0
mov esp, ebp
pop ebp
ret 0x10
jne 0xb56f1d
lea eax, [esp + 0x40]
push eax
push dword [edi + 4]
call dword [sym.imp.ext_ms_win_ntuser_draw_l1_1_0.dll_BeginPaint]
test eax, eax
je 0xb56ec4
lea ecx, [esp + 0x10]
push ecx
push 0
push 2
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.UxTheme.dll_BeginBufferedPaint]
mov ebx, eax
test ebx, ebx
je 0xb56eb6
push 0
push dword [esp + 0x14]
push dword [edi + 4]
call dword [sym.imp.UxTheme.dll_DrawThemeParentBackground]
mov ecx, dword [edi]
push dword [esp + 0x10]
mov esi, dword [ecx + 0x54]
cmp esi, fcn.00b57380
jne 0xb570a6
mov ecx, edi
call fcn.00b57380
push 1
push ebx
call dword [sym.imp.UxTheme.dll_EndBufferedPaint]
lea eax, [esp + 0x40]
push eax
push dword [edi + 4]
call dword [sym.imp.ext_ms_win_ntuser_draw_l1_1_0.dll_EndPaint]
xor eax, eax
jmp 0xb56e38
mov eax, 0x200
cmp ebx, eax
ja 0xb56fea
je 0xbdfd4b
mov eax, ebx
sub eax, 0x7b
je 0xbdfcc6
sub eax, 9
je 0xbdfcaa
sub eax, 0x7c
je 0xbdfc92
sub eax, 1
je 0xbdfc85
sub eax, 0x12
jne 0xb56e1d
mov eax, dword [ebp + 0x10]
mov ecx, edi
push eax
call fcn.00b575f5
jmp 0xb56e29
mov eax, ebx
sub eax, 1
je 0xb5709a
sub eax, 1
je 0xbdfbfe
sub eax, 3
je 0xb5702b
dec eax
sub eax, 1
je 0xbdfbe8
sub eax, 1
jne 0xb56e1d
jmp 0xbdfbe8
xor eax, eax
inc eax
jmp 0xb56e38
xor ecx, ecx
cmp dword [edi + 0x3c], ecx
je 0xb56e29
mov eax, dword [esi + 0x18]
and eax, 3
cmp al, 3
je 0xb56e29
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ecx
push eax
push dword [edi + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetWindowRect]
test eax, eax
je 0xbdfc1b
mov edi, dword [edi + 0x3c]
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], eax
cmp eax, fcn.00ba92c0
je 0xb57089
cmp eax, fcn.00b9a6b0
je 0xb570be
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call dword [0xd0cffc]
mov ecx, edi
call dword [esp + 0x10]
jmp 0xb56e29
push 0x1a
mov edx, esi
pop ecx
call fcn.00b542bc
test al, al
je 0xb56ec4
jmp 0xbdfc66
cmp ebx, 0x201
je 0xbdfdfa
cmp ebx, 0x202
je 0xbdfddc
cmp ebx, 0x244
jbe 0xb56e1d
cmp ebx, 0x247
jbe 0xbdfd64
cmp ebx, 0x2a3
jne 0xb56e1d
jmp 0xbdfd58
mov ecx, dword [edi]
mov eax, esi
shr eax, 0x10
push eax
mov eax, dword [ebp + 0x10]
movzx edx, si
mov esi, dword [ecx + 0x7c]
mov ecx, esi
push edx
push eax
call dword [0xd0cffc]
mov ecx, edi
call esi
test al, al
jne 0xb56ec4
mov esi, dword [esp + 0xc]
jmp 0xb56e29
cmp ebx, 0x7fff
ja 0xb56e29
mov eax, dword [edi]
push esi
push dword [ebp + 0x10]
mov eax, dword [eax + 0x74]
mov dword [esp + 0x14], eax
push ebx
push ecx
cmp eax, fcn.00b9a530
jne 0xb570cf
mov ecx, edi
call fcn.00b9a530
jmp 0xb56e38
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00ba92c0
jmp 0xb56e29
mov ecx, edi
call fcn.00ba77bf
jmp 0xb56ec4
cmp esi, fcn.00b9c7a0
jne 0xbdfc0a
mov ecx, edi
call fcn.00b9c7a0
jmp 0xb56ead
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00b9a6b0
jmp 0xb56e29
mov ecx, eax
call dword [0xd0cffc]
mov ecx, edi
call dword [esp + 0x1c]
jmp 0xb56e38
cmp ebx, 7
mov ecx, edi
sete al
movzx eax, al
push eax
call fcn.00c3a18f
jmp 0xb56ec4
mov ecx, edi
call fcn.00c39c19
jmp 0xb56e29
mov ecx, esi
call dword [0xd0cffc]
mov ecx, edi
call esi
jmp 0xb56ead
mov ecx, dword [ebp + 4]
mov edx, 0x467
push 0xb2f8e4
call fcn.00c2616d
jmp 0xb56e29
cmp esi, 0xfffffffc
jne 0xb56e29
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0xd0cffc]
mov ecx, edi
call esi
jmp 0xb56e38
test byte [edi + 0xc], 1
je 0xb56e29
push 3
pop eax
jmp 0xb56e38
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.ext_ms_win_ntuser_draw_l1_1_0.dll_InvalidateRect]
jmp 0xb56ec4
push esi
mov ecx, edi
call fcn.00c3a10c
jmp 0xb56e38
mov eax, dword [ebp + 0x10]
mov ecx, edi
push eax
call fcn.00c39d5d
jmp 0xbdfc9d
mov eax, dword [ebp + 0x10]
mov ecx, edi
push eax
call fcn.00c39c43
test eax, eax
js 0xb56e29
jmp 0xb56ec4
push dword [edi + 0x48]
mov edx, dword [edi + 0x24]
push esi
call fcn.00c711bb
test al, al
je 0xb56e29
or eax, 0xffffffff
jmp 0xb56e38
movsx eax, si
mov dword [esp + 0x18], eax
mov eax, esi
shr eax, 0x10
cwde
mov dword [esp + 0x10], eax
cmp esi, 0xffffffff
jne 0xbdfd1e
lea eax, [esp + 0x30]
mov dword [esp + 0xc], 1
push eax
push dword [edi + 4]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetWindowRect]
test eax, eax
je 0xbdfd27
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x34]
jmp 0xbdfd2b
call fcn.00c39aec
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
push eax
push dword [esp + 0x1c]
mov ecx, edi
push dword [esp + 0x14]
call fcn.00c39b93
cmp eax, 0x80004001
je 0xb56e29
jmp 0xb56ec4
push esi
mov ecx, edi
call fcn.00c39ffc
jmp 0xb56ec4
mov ecx, edi
call fcn.00c39f21
jmp 0xb56ec4
test byte [edi + 0xc], 4
je 0xb56e1d
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
movzx eax, ax
push eax
call dword [sym.imp.api_ms_win_rtcore_ntuser_wmpointer_l1_1_0.dll_GetPointerType]
test eax, eax
je 0xbdfdf1
cmp dword [esp + 0xc], 2
jne 0xbdfdf1
cmp ebx, 0x246
jne 0xbdfd97
push 3
jmp 0xbdfe00
cmp ebx, 0x247
jne 0xb56ec4
movsx eax, si
mov dword [esp + 0x18], eax
shr esi, 0x10
movsx eax, si
push 1
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push dword [edi + 4]
push 0
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_MapWindowPoints]
movzx ecx, word [esp + 0x1c]
movzx eax, word [esp + 0x18]
push 0
shl ecx, 0x10
push 3
or ecx, eax
push ecx
jmp 0xbdfde5
push 0
call fcn.00c39aec
push eax
push esi
mov ecx, edi
call fcn.00c39e73
jmp 0xb56ec4
mov ecx, dword [esp + 0x14]
jmp 0xb56e1d
call fcn.00c39aec
push eax
mov ecx, edi
call fcn.00c39e06
jmp 0xb56ec4