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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4da175
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x52472c]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x52472c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
push dword [ebx + 0x18c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4376f9
xor al, al
jmp 0x437a53
xor esi, esi
cmp dword [ebx + 0x1ac], esi
jne 0x43770b
cmp dword [ebx + 0x1b0], esi
je 0x4376f2
push dword [ebx + 0x18c]
lea eax, [esp + 0x14]
push eax
call fcn.0040bb91
mov dword [esp + 0x90], esi
xor eax, eax
mov dword [esp + 0x34], esi
lea edi, [esp + 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
push dword [ebx + 0x18c]
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [ebx + 0x1e0], 1
lea edi, [ebx + 0x1c0]
mov dword [esp + 0x24], edi
lea esi, [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x437a3f
mov eax, dword [ebx + 0x1dc]
shr eax, 4
test al, 1
je 0x437969
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
lea ecx, [ebx + 0x188]
push eax
call fcn.00437d9b
push dword [ebx + 0x1bc]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0x1dc]
lea esi, [esp + 0x34]
lea edi, [esp + 0x54]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], eax
mov eax, 0x100
and ecx, eax
sub ecx, eax
neg ecx
movsd dword es:[edi], dword [esi]
sbb ecx, ecx
and ecx, 0xfffffff0
movsd dword es:[edi], dword [esi]
add ecx, 0x20
cmp dword [esp + 0x28], 0
mov dword [esp + 0x2c], ecx
movsd dword es:[edi], dword [esi]
je 0x437811
or ecx, 0x400
push ecx
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x38]
push dword [esp + 0x34]
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebx + 0x1b8]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [esp + 0x34]
lea edi, [esp + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [esp + 0x28], esi
je 0x43783d
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
or eax, 0x400
push eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x24]
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebx + 0x1e8], 0xffffffff
jne 0x43794a
cmp dword [esp + 0x18], esi
je 0x43794a
lea eax, [ebx + 0x188]
push eax
call fcn.00437c99
push dword [esp + 0x18]
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.00404357
mov byte [esp + 0x90], 1
mov dword [ebx + 0x1e8], esi
mov esi, 0x4f300c
push esi
call fcn.004b3310
pop ecx
push eax
xor ecx, ecx
push esi
inc ecx
lea eax, [esp + 0x6c]
call fcn.00419ffa
mov edi, eax
cmp edi, 0xffffffff
je 0x437905
push dword [esp + 0xc]
lea eax, [esp + 0x14]
push edi
push dword [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x54]
call fcn.00437b70
test al, al
jne 0x437900
lea eax, [edi + 1]
push eax
mov dword [ebx + 0x1e8], eax
push esi
lea eax, [esp + 0x6c]
push eax
call fcn.00419eb6
mov edi, eax
cmp edi, 0xffffffff
jne 0x4378c1
cmp edi, 0xffffffff
jne 0x437935
push dword [esp + 0xc]
lea eax, [esp + 0x14]
push dword [esp + 0x7c]
lea ecx, [esp + 0x3c]
push dword [esp + 0x20]
lea edx, [esp + 0x50]
push eax
mov eax, dword [esp + 0x3c]
call fcn.00437b70
test al, al
jne 0x437935
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x1e8], eax
mov byte [esp + 0x90], 0
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.004035da
push dword [esp + 0x20]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esp + 0x24]
lea esi, [esp + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x437a3f
mov eax, dword [ebx + 0x1b8]
xor esi, esi
mov dword [esp + 0x1c], esi
cmp eax, esi
je 0x437988
push eax
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x1ac]
cmp eax, esi
jne 0x437998
mov eax, dword [ebx + 0x1b0]
push 0xfffffffffffffff0
push dword [ebx + 0x18c]
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
xor ecx, ecx
and edi, 1
mov dword [esp + 0x20], eax
je 0x4379ba
inc ecx
jmp 0x4379c1
test al, 2
je 0x4379c1
push 2
pop ecx
mov edx, dword [ebx + 0x1dc]
mov eax, 0x100
and edx, eax
sub edx, eax
neg edx
sbb edx, edx
and edx, 0xfffffff0
add edx, 0x20
or ecx, edx
or ecx, 0x400
push ecx
push dword [esp + 0x28]
push 0xffffffffffffffff
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebx + 0x1b8], esi
je 0x437a0d
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp edi, esi
je 0x437a22
mov eax, dword [esp + 0x3c]
sub eax, dword [ebx + 0x1c8]
cdq
sub eax, edx
sar eax, 1
jmp 0x437a33
test byte [esp + 0x20], 2
je 0x437a3f
mov eax, dword [esp + 0x3c]
sub eax, dword [ebx + 0x1c8]
push esi
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_OffsetRect]
or dword [esp + 0x90], 0xffffffff
lea eax, [esp + 0x10]
push eax
call fcn.0040bb53
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004b196e
mov esp, ebp
pop ebp
ret