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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d4edc
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x51f714]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x51f714]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
push dword [ebx + 0xf8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x434c69
xor al, al
jmp 0x434fc3
xor esi, esi
cmp dword [ebx + 0x118], esi
jne 0x434c7b
cmp dword [ebx + 0x11c], esi
je 0x434c62
push dword [ebx + 0xf8]
lea eax, [esp + 0x14]
push eax
call fcn.0040b305
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 + 0xf8]
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [ebx + 0x14c], 1
lea edi, [ebx + 0x12c]
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 0x434faf
mov eax, dword [ebx + 0x148]
shr eax, 4
test al, 1
je 0x434ed9
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 + 0xf4]
push eax
call fcn.0043530b
push dword [ebx + 0x128]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0x148]
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 0x434d81
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 + 0x124]
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 0x434dad
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 + 0x154], 0xffffffff
jne 0x434eba
cmp dword [esp + 0x18], esi
je 0x434eba
lea eax, [ebx + 0xf4]
push eax
call fcn.00435209
push dword [esp + 0x18]
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.0040417e
mov byte [esp + 0x90], 1
mov dword [ebx + 0x154], esi
mov esi, 0x4eed30
push esi
call fcn.004af01d
pop ecx
push eax
xor ecx, ecx
push esi
inc ecx
lea eax, [esp + 0x6c]
call fcn.00418dce
mov edi, eax
cmp edi, 0xffffffff
je 0x434e75
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.004350e0
test al, al
jne 0x434e70
lea eax, [edi + 1]
push eax
mov dword [ebx + 0x154], eax
push esi
lea eax, [esp + 0x6c]
push eax
call fcn.00418c3a
mov edi, eax
cmp edi, 0xffffffff
jne 0x434e31
cmp edi, 0xffffffff
jne 0x434ea5
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.004350e0
test al, al
jne 0x434ea5
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x154], eax
mov byte [esp + 0x90], 0
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.00403537
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 0x434faf
mov eax, dword [ebx + 0x124]
xor esi, esi
mov dword [esp + 0x1c], esi
cmp eax, esi
je 0x434ef8
push eax
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x118]
cmp eax, esi
jne 0x434f08
mov eax, dword [ebx + 0x11c]
push 0xfffffffffffffff0
push dword [ebx + 0xf8]
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 0x434f2a
inc ecx
jmp 0x434f31
test al, 2
je 0x434f31
push 2
pop ecx
mov edx, dword [ebx + 0x148]
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 + 0x124], esi
je 0x434f7d
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp edi, esi
je 0x434f92
mov eax, dword [esp + 0x3c]
sub eax, dword [ebx + 0x134]
cdq
sub eax, edx
sar eax, 1
jmp 0x434fa3
test byte [esp + 0x20], 2
je 0x434faf
mov eax, dword [esp + 0x3c]
sub eax, dword [ebx + 0x134]
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.0040b2c7
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.004ad67b
mov esp, ebp
pop ebp
ret