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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0xc940a0]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x2c], eax
xor eax, eax
push ebx
push esi
push edi
lea edi, [esp + 0x3c]
mov esi, dword [ebp + 0x28]
stosd dword es:[edi], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx]
xor edi, edi
test eax, eax
je 0xbd83e0
mov edx, dword [eax]
mov dword [esp + 0x28], edx
jmp 0xbd83e6
mov edx, edi
mov dword [esp + 0x28], edi
cmp dword [ebx + 0x244], edi
je 0xbd83f6
mov eax, dword [ebx + 0x24c]
jmp 0xbd83f8
mov eax, edi
mov ecx, dword [ebp + 0xc]
sub ecx, eax
mov dword [ebp + 0xc], ecx
js 0xbd881b
cmp ecx, edx
jge 0xbd881b
lea eax, [ebx + 0x40]
push eax
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_IsRectEmpty]
test eax, eax
jne 0xbd881b
mov dword [esp + 0x1c], edi
mov eax, edi
mov dword [esp + 0x20], edi
mov esi, dword [ebx + 0x244]
test esi, esi
je 0xbd844b
cmp dword [ebx + 0x210], edi
je 0xbd844b
mov ecx, ebx
call fcn.00bd8314
mov edx, eax
add edx, dword [esp + 0x20]
jmp 0xbd844d
mov edx, eax
mov eax, dword [esp + 0x2c]
mov ecx, ebx
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x18], edx
call fcn.00bda13d
test eax, eax
je 0xbd84b4
mov esi, dword [esp + 0x14]
mov ecx, ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov eax, dword [esi]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x70]
push eax
push edx
call fcn.00bd7426
test eax, eax
js 0xbd84ad
mov esi, dword [esp + 0x94]
sub esi, dword [esp + 0x8c]
jmp 0xbd8576
mov esi, dword [esi]
jmp 0xbd8576
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov eax, dword [ecx]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x88], eax
test esi, esi
jne 0xbd850a
lea eax, [esp + 0x9c]
mov ecx, ebx
push eax
lea eax, [esp + 0x80]
push eax
push edx
call fcn.00bd7426
test eax, eax
js 0xbd8506
mov ecx, dword [esp + 0xa8]
sub ecx, dword [esp + 0xa0]
jmp 0xbd850d
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], ecx
cmp dword [ebp + 0x14], edi
je 0xbd8548
mov edx, dword [ebx + 0x1a8]
cmp dword [ebx + 0x244], edi
je 0xbd853a
mov esi, dword [ebx + 0x190]
mov dword [esp + 0x10], esi
cmp edx, esi
jle 0xbd854c
mov esi, edx
mov dword [esp + 0x10], esi
jmp 0xbd854c
mov eax, dword [ebx + 0x1a4]
add eax, edx
add ecx, eax
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x10]
cmp dword [ebx + 0x244], edi
je 0xbd8563
push dword [esp + 0x18]
mov ecx, ebx
call fcn.00bda371
test eax, eax
jmp 0xbd8566
cmp dword [ebp + 0x18], edi
je 0xbd857a
mov eax, dword [ebx + 0x1a0]
add eax, dword [ebx + 0x148]
add esi, eax
mov dword [esp + 0x10], esi
mov ecx, ebx
call fcn.00bda13d
test eax, eax
je 0xbd85b7
mov eax, dword [ebx + 0x140]
mov ecx, ebx
add eax, dword [ebx + 0x13c]
push dword [esp + 0x18]
add esi, eax
mov dword [esp + 0x14], esi
call fcn.00bd813d
cmp esi, eax
jg 0xbd85d1
push dword [esp + 0x18]
mov ecx, ebx
call fcn.00bd813d
mov dword [esp + 0x10], eax
jmp 0xbd85d1
cmp dword [ebx + 0x244], edi
jne 0xbd85d1
mov eax, dword [ebx + 0x148]
add eax, dword [ebx + 0x144]
add esi, eax
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov esi, dword [eax + 0x7c]
lea eax, [esp + 0x24]
push eax
push 0x23
push ecx
mov ecx, esi
call dword [0xc99200]
call esi
test eax, eax
jne 0xbd861a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov esi, dword [eax + 0x7c]
lea eax, [esp + 0x24]
push eax
push 0x24
push ecx
mov ecx, esi
call dword [0xc99200]
call esi
test eax, eax
jne 0xbd861a
mov eax, 0x3e8
mov dword [esp + 0x24], eax
jmp 0xbd861e
mov eax, dword [esp + 0x24]
push 0x3e8
push dword [esp + 0x14]
push eax
call dword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
mov esi, eax
mov ecx, ebx
mov eax, dword [esp + 0x20]
cmp eax, dword [ebp + 0xc]
jge 0xbd8663
mov edx, dword [esp + 0x1c]
add edx, esi
call fcn.00bda13d
test eax, eax
je 0xbd8652
mov eax, dword [ebx + 0x174]
jmp 0xbd8658
mov eax, dword [ebx + 0x178]
add edx, eax
mov dword [esp + 0x1c], edx
jmp 0xbd86f4
call fcn.00bda13d
test eax, eax
je 0xbd86bc
cmp dword [ebp + 0x14], edi
je 0xbd867f
mov edx, dword [ebx + 0x1a8]
add edx, dword [ebx + 0x1a4]
jmp 0xbd8681
mov edx, edi
cmp dword [ebp + 0x18], edi
je 0xbd8694
mov ecx, dword [ebx + 0x1b0]
add ecx, dword [ebx + 0x1a0]
jmp 0xbd8696
mov ecx, edi
mov eax, dword [ebx + 0x148]
add eax, dword [ebx + 0x144]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x14]
push edi
push dword [esp + 0x20]
add eax, dword [esi + 4]
add eax, ecx
add eax, edx
mov dword [esp + 0x50], eax
jmp 0xbd86e9
lea ecx, [ebx + 0x250]
cmp dword [ebx + 0x244], edi
jne 0xbd86ce
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x140]
add eax, dword [ebx + 0x13c]
add eax, dword [ecx]
push dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
push edi
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_OffsetRect]
mov eax, dword [esp + 0x20]
mov esi, dword [ebp + 0xc]
inc eax
mov dword [esp + 0x20], eax
cmp eax, esi
jle 0xbd842a
test byte [ebp + 0x1c], 2
je 0xbd873a
mov ecx, ebx
call fcn.00bda13d
mov ecx, eax
mov eax, dword [esp + 0x28]
dec eax
cmp esi, eax
jge 0xbd873a
test ecx, ecx
je 0xbd8730
mov eax, dword [ebx + 0x140]
add dword [esp + 0x44], eax
jmp 0xbd873a
mov eax, dword [ebx + 0x178]
add dword [esp + 0x68], eax
test dword [ebp + 0x1c], 0x10000
je 0xbd8765
push dword [ebx + 0x44]
lea eax, [esp + 0x40]
push dword [ebx + 0x40]
push eax
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_OffsetRect]
push 2
lea eax, [esp + 0x40]
push eax
push edi
push dword [ebx + 0x28]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_MapWindowPoints]
cmp dword [ebx + 0x244], edi
je 0xbd8791
mov ecx, ebx
call fcn.00bda33f
test eax, eax
je 0xbd8791
mov eax, dword [ebx + 0x25c]
add eax, dword [ebx + 0x178]
push eax
push edi
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_OffsetRect]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_CopyRect]
mov ecx, dword [ebx + 0x244]
test ecx, ecx
jne 0xbd87c4
mov eax, dword [ebx + 0x144]
add dword [esp + 0x50], eax
cmp dword [ebp + 0x18], edi
jne 0xbd87c4
mov eax, dword [ebx + 0x148]
sub dword [esp + 0x58], eax
mov eax, dword [ebx + 0x13c]
add dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x140]
sub dword [esp + 0x54], eax
test ecx, ecx
jne 0xbd8814
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_CopyRect]
mov ecx, dword [esp + 0x60]
cmp dword [ebp + 0x14], edi
je 0xbd8807
mov eax, dword [ebx + 0x1a8]
add eax, dword [ebx + 0x1a4]
add ecx, eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
add eax, ecx
mov dword [esp + 0x68], eax
mov esi, dword [esp + 0x30]
xor edi, edi
inc edi
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x38]
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_CopyRect]
mov eax, dword [esp + 0x38]
test eax, eax
je 0xbd883e
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_CopyRect]
test esi, esi
je 0xbd884e
lea eax, [esp + 0x5c]
push eax
push esi
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_CopyRect]
mov ecx, dword [esp + 0xac]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00ab3c50
mov esp, ebp
pop ebp
ret 0x24